Help with trendindicator

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #212662 quote
    Marpat
    Participant
    New

    Hello,

    Could somebody help me with the code for a trendindictor based on the Stochastic indicator (20, 3, 3)?

    In the following way:

    The Stochastic indicator is used to reflect the up and down cycle. It takes in account the highest closingprice when it went above 80 and the lowest closingprice when it went below 20

    If in a cycle from below 20 to above 80 the closing price is higher than the previous cycle that the stochastic rose above 80, I want a green signal until the moment that in a cycle from 80 down to below 20 the closing price is lower than the closing price in the previous cycle when the stochastic fell below 20.

    I would be very grateful.

    #212677 quote
    Marpat
    Participant
    New

    When the signa doesn’t meet the criteria voor green anymore it has to be red.

    #213311 quote
    robertogozzi
    Moderator
    Master

    Can you post a screenshot with some details?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Help with trendindicator


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Marpat @marpat Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by robertogozzi
2 years, 10 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 04/02/2023
Status: Active
Attachments: No files
Logo Logo
Loading...