How to fix EA with higher timeframe moving average
-
So I have an EA I'm working on, it trades on the 1min TF and uses a 1hour higher timeframe moving average.

Now this works just fine in strategy tester on mt5 as it automatically opens the 1hr chart and applies the moving average, however on live market when I drag the EA to the 1min timeframe it self terminates. Clearly I'm missing something.
-
@shingi94 Can you please share the link to your project? I'll take a look at it.
-
@l-andorrà Hi, sorry for late reply https://fxdreema.com/shared/cUnoZ4bkd
-
@shingi94 Some suggestions:
- You can remove blocks 64, 72 and 74. They are redundant.
- In case of blocks 57, you can also remove it and then connect the three blocks below it one to another.
In both suggestions please remember that you will be modifying the order of execution of each block tree. You will need to check if the new numbers are correct.
Other tha that I see no reason for the EA to self termnate. Is this the whole structure or just part of it?
-
@l-andorrà Hi, this is only part of the structure, but you're suggestion worked! I guess it was the redundant passing blocks, I only started fxdreema a few days ago. Thanks!
-
@shingi94 You're welcome.