Lindor Morina / Publications
Forum
"HELP"How to Place Only One Trade Per signal EVEN IF TP-SL TOUCHE
[MQL4] int TotalOrdersCount() { int signal= 0 ; for ( int i= 0 ;i< OrdersTotal ();i++) { OrderSelect (i,SELECT_BY_POS ,MODE_TRADES); if (OrderMagicNumber()==MagicNumber) signal++; } return (signal); }