Store the current value of the RSI indicator into a variable
-
I have an RSI indicator and i want to store the current value of the RSI indicator into a variable .
(https://fxdreema.com/shared/LAi3xmD8b)I want to set the variable in MQL to the value of the indicator
-

-
josecortesllobat, is there a way to compare this to the value of candle 2? I ask because I understand that you cannot create a condition where the candle IDs are NOT the same, but that is exactly what I am trying to do, but cannot find a way....
I tried using a variable and then comparing the variable to the indicator, and I tried using the variable to compare to a second variable, and it still does not back test....I was wondering if you could suggest...
Thanks