Indicator timeframe on chart with other timeframe

Forums ProRealTime English forum ProOrder support Indicator timeframe on chart with other timeframe

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

    Hi,

    I wish to use a MA which takes data from the 1H chart, but I want to run it on 1M chart, how  do I code it?

    I also wonder how to limit a code so it only takes one buy- and one sellshort-position per day?

    Thanks in advance!

    #5569

    “I also wonder how to limit a code so it only takes one buy- and one sellshort-position per day?”

    I am also interested in this, using this code for example?

     

    #5586

    It’s easy, just count how many times your conditions to open a position is met in a variables ‘opensell’ and ‘openbuy’. Add a conditional request on this variables on your conditions to open trades and reset them on each new day.

     

    #5606

    Thanks!

    #28727

    Hello,

    the original question was not answered, is it possible to trade in the M30, but use indicator from the H1 or H4?

    One way would be for example of course to calculate indicator or oszilator on your own based out of the smaller timeframe, but then once you run out of bars. 🙂

    Is there a function or code, like for example MovingAverage(H1, xy, xx,…) or something like this:)

    Best regards

    Wolfgang

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