Indicator value multiple timeframes

Forums ProRealTime English forum ProOrder support Indicator value multiple timeframes

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

    Hi,

    I’m trying out the possibilites for automatic trading in PRT. I have a question that is related to this since i cannot find any solutions in the manuals.

    1. In a ProOrder program, is it possible to read the values of indicator of different timeframes than the one that the system is executing on?

    Let’s say that for example I want to buy a security if the RSI < 30 on th 4Hour 1Hour and 30 Min chart.

    Thanks

    #18551

    This is a common question on forums here 🙂

    Until the multitimeframe capabilities is not available in the platform (soon to be released), the best you can do is to multiply your indicators’ periods with the quantity of the actual timeframe bar the superior timeframe has. For example:

    Let’s say you want the RSI[14] of the 1 hour timeframe on your 5 minutes chart, you need to multiply the 14 periods by 12, because there are 12 bars of 5 minutes in 1 hour, so the 1 hour RSI 14 periods on your 5 minutes chart should be coded like this:

    Of course, the value would not be as precise as the real 1 hour RSI, but that’s a workaround that already made its proof.

    Hope it helps you, please let us know more if you need more assistance.

     

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