comparing indicator values from x candles ago

Forums ProRealTime English forum ProOrder support comparing indicator values from x candles ago

Viewing 2 posts - 1 through 2 (of 2 total)
  • #79483

    Hi All,

    Thanks for all the support.

    This is a quick question. I was just wondering if they was a command to compare values [n] candles ago so for example;

    How would I compare if  Bolinger bands were higher than the RSI for the previous two candles.

    Thanks in Advance,

     

     

    #79494

    Comparing BB with RSI is impossible, since the first one refers to prices, while the latter to a range (0-100).

    But for other indicators, yes it is easy, let’s say you want to know whether there’s been a CROSSOVER in anyone of the last 3 bars:

    If you want to test specifically the 2nd previous bar you can write:

    or (it works the same):

     

     

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

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