Where am I going wrong? Hedging EA
-
I can't figure out where I'm going wrong here. I am trying to create a simple hedging EA that calculates the lot sizing for each subsequent pending order to ensure profit if it gets to the TP. It is only supposed to make one initial trade (hence the "No Trade or Order" block, however it keeps making more and more trades and adding more and more pending orders to each one.
https://fxdreema.com/shared/aPZ53w4Yc
An thoughts would be appreciated.
-
As you have should only trades once, try and recreate from scratch and see what happens.
-
Agreed. Try simpler structures one by one and once confirmed they work separately you can find where the problem is.