Forum

MQL5 Ea code, no errors, but not compiling

This code doesn't compile any EA, can somebody help me? //+------------------------------------------------------------------+ //| Expert settings | //+------------------------------------------------------------------+ input string EAName

Help me with fixing the syntax error (unexpected end of program / unbalanced parentheses (Meta editor MQL4 EA) Void OnTick()

void OnTick () { int ticket = - 1 ; double price; double SL; double TP; double CheckNews= 0 ; if (AfterNewsStop> 0 ) { if ( TimeCurrent ()-LastUpd>=Upd){ Comment ( "News Loading..." ); Print ( "News Loading..." );UpdateNews();LastUpd= TimeCurrent (); Comment ( "" );}