programming multiple signals in multiple bars

Forums ProRealTime English forum ProOrder support programming multiple signals in multiple bars

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

    Hello,

    I was wondering if someone could help me.

    What I want to achieve is a program that looks for two signals over multiple bars.

    Yhe idea is that when the ATR on the dow 5 minutechart crosses over the value of 25 and a few bars (not more then 7) later the price crosses under the EMA10 a buy setup is triggered.

    If you look at the picture below you see that the trade is triggered also to early.

    Hope someone can help me.

    Many thanks in advance.

    Kind Regards,

    Jaldidee

    #166512

    There you go:

     

    #166539

    Hello Roberto,

     

    Thank you very much. It works perfectly…

    However I have a followup question. Next step is to set an entry, exit and target when both conditions are met.

    How would you program that? Because I tried it with the indicator, highest[10] .

    I set the entry at highest[10] and i want to ext at higest[10] minus 1* ATR and want to take profit at 2 * ATR.

    This works for the entry, but not to set a exit and target, because the program keeps recalculating the value of higest[10] and thus contnually changing the exit and target.

    Kind regards,

    Jaldidee

     

     

    #166560

    There you go:

     

    1 user thanked author for this post.
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