How to identify a particular trade and its Hedge trade in a Grid and Hedge ea
-
if i was to create an ea that opens buy and sell and it hedges the loosing trade how to make the ea identify a trade and its hedged trade
-
What do you exactly mean? What conditions are to be applied to the hedged trade?
-
@l-andorrà said in How to identify a particular trade and its Hedge trade in a Grid and Hedge ea:
What do you exactly mean? What conditions are to be applied to the hedged trade?
i mean the ea opens buy and sell trades at the same time and the likelihood it will hedge different trades at the same time how can it identify the trade its hedging so that when that trade goes back to breakeven the hedge trade closes

-
Well, considering there can be infinite open trades at the same time hedging against all the other, you will definitely need am array to group them accordingly. Sadly, there is not fxDreema block doing that. You will need some custom code to create that array and then import it into your fxDreema project. You'll need a programmer doing that. and I'm afraid I cannot be helpful on that.