Not logged in
Viewing 2 posts - 1 through 2 (of 2 total)
  • #200778 |
    6 Posts

    Hi, I’ve made an EA strategy having MA crossovers as the main order action. But the problem is that it opens order even on touch and when the market is variable sometimes, faster MA touches the slower MA but then the candle goes on the opposite direction so the crossover doesn’t happen. I want to place the order on successful crossover, means when the same candle closes after having crossover.


    1823 Posts


    you need to add “IsBarOpen is TRUE” condition into your EA. This will force EA to evaluate crossover only once per bar when bar closes. You also have to set Shift = 1 for both moving averages (not 0). Let me know if you need any help with this

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

You must be logged in to reply to this topic.