maximum value of indicator
-
How can I use the maximum or minimum value of an indicator (e.g. stochastic) over a period of 10 candles in a condition-block?
I try to do this: buy only if the stochastic over 10 candles has been 25 or below, sell only if the stochastic over 10 candles has been 75 or above...)
Thank you !
-
use block Indicator moves within limits:

-
@miro1360 thank you! to find overbought and oversold conditions i now use the range between 0 to 80 or 20 to 100 with the condition block that the indicator does NOT stay within these limits. this works.