Dan Cole / Publications
Forum
MQL4 Trailing Stop issue
void TrailStops() { for ( int i = 0 ; i < OrdersTotal (); i++) { if (! OrderSelect (i, SELECT_BY_POS, MODE_TRADES)) { continue ; } if (OrderSymbol() != Symbol ()) { continue ; } // trailing stop on Long Positions if
Ask on the Charts do not match whats Printing
Hello. I am working on a script And i noticed something very strange i was wondering if someone could help me out. The Ask Price on the chart is not matching he Ask price when, I print See below Code is running through a onTick() Example void OnTick() { Print(Ask); } Any ideas please