Forum

Code to close all buy/sell by group

Hello, I cannot find best way to close all buy/sell trade by group (string comment or magic). I use this code to open trades...someone could suggest the solution please? Many thanks! //+==================================================================================================+ //| FILTER BUY

How to calculate from ID1

Hello, I'm using an indicator IXO but using it in EA give serious fast problem in BackTest (is very slow). The indi calculate in Tick and ID0 ...someone can suggest the modification to calculate every candle starting from ID1 (no ID0). The code is easy, I try but I get error. Many thanks. THE CODE