Over RSI for a set period

Forums ProRealTime English forum ProOrder support Over RSI for a set period

Viewing 4 posts - 1 through 4 (of 4 total)
  • #220429

    In commodities like oil and gas the market loves to squeeze users who enter a short or long because RSI passes a certain threshold, because as an indicator it leads to many jumping the gun, while MACD is too much of a lag.

    Is there a way to code to not just measure RSI going above a level, but put an optimised condition of how long above that level it stays before entering a short or long. (Not the frequency it hits the level)

    #220430
    JS

    Hi,

    You can indeed introduce an extra condition to determine and optimize the number of bars above a certain level…

     

    #220434

    This example will make sure that RSI has always been in OverBought in the last 10 bars:

    add myCond to your conditions to enter a trade.

     

    #220439

    THanks both! Will give it a go

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

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