Highest Value of RSI
-
Hi Pros!.
I wanted to get the Highest Value of RSI from Candle 20 to Candle 1. What block should I use?
Appreciate your assistance.
Thank you.
Regards,
Marvin
-
Basically, I want to compare the value of of RSI of Candle 1 versus the highest value of Candles 2-20, then do something.
Thanks again.
Cheers
-
@marvinm this loop saves the highest value in variable "highest"
https://fxdreema.com/shared/3Kmz0vlxb
-
@roar thank you so much
-
@roar, how can i put in a condition that iif RSI(1) > RSI(2-20) , "buy"
-
@marvinm In a condition block, candle 1 rsi > highest variable->buy
-
@roar Would it be possible to get the candle ID of the highest RSI value using this loop?
-
@BravoOne
Try add a Condition Block below:
Check if the current RSI value == found maximum value (val). Also in the variable list of this block, if condition was true: save the value of the id variable (id) to another variable, say, max_id. -
How do I save the value of the ID to another variable?
-
thank you..