RSI condition

Viewing 5 posts - 1 through 5 (of 5 total)
  • #34879

    Hi guys,

    Trying to get my head round how to get a condition when RSI has been above 75 and is breaking below 70. I can create them independently but can’t see how I can get the RSI above 75 for last x candles…

    Thanks!

    #34887

    Hi Fredrik! Maybe try with rsi open or high above 75 and then crossing under. The condition is only valid for the last candle.

    #34905

    Hi, thanks, ok wanna guide me? 🙂

     

     

    #34910

    The number in your RSI[14] is referring to the amount of periods used to calculate the RSI value for the LATEST CLOSED candle. As far as I know you can’t use the RSI value from three bars back on your latest bar. However, if you use a very short period to calculate RSI, lets say 2 periods, then you have a greater chance of having the same candle crossing through both the value 75 and 70 at the same time.

    I was thinking like this:

    Try this code on EURUSD 1 H and you will see. OBS there is no stop loss in place!

    Lycka till!

    2 users thanked author for this post.
    #34923

    Ahh, thanks alot Victor!

Viewing 5 posts - 1 through 5 (of 5 total)

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