How many candles above RSI 50 level at last 20 bar?
-
Hi,
I want to calculate how many candles are above/bellow RSI 50 level at last 20 candles. When I was select "Candle" section I'm seeing only Candle Id. There is no candle period. İn the "Market Properties" secticon there are " Highest Candle Period" and "Lowest Candle Period". But I don't use highest or lowest price. I need only "Candle Period". I need this:
Start Candle ID: 1
End Candle ID: 20Result: There is 5 candle is above RSI 50 Level, 10 candle is below RSI 50 level at last 20 candle.
How can I do this.
Thanks for help
-
check my history replies, somewhere I did examples for similiar answer, try search "array" or "arrays" or "loop" or "loop array" .. something like that

-
Thanks your help miro1360 . The problem is solved.
Thanks.