Indicator shall return value just on certain bars

Forums ProRealTime English forum ProBuilder support Indicator shall return value just on certain bars

Viewing 2 posts - 1 through 2 (of 2 total)
  • #38452

    I programmed this simple indicator to show buy/sell triggers after an inside bar. But i want this lines to show only for say 4 bars after the inside bar occurred. After this the lines shall disappear and the indicator shall not display anything until it detects the next inside bar.

    I hade this problem before that i want an indicator to stop returning a value but i do not know how. Setting the returned value to zero makes the lines disappear but distorts the whole chart (no good solution).

     

    #38465

    Setting the returned value to zero should not distort the chart if you set your horizontal price scale to use price only (look into the price settings).

    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login