67192569 / Publications
Forum
"static" -unexpected token, 'iMA' -some operator expected
#include <Trade/Trade.mqh> CTrade trade; int rsiHandle; ulong posTicket; int handleSlowMA; int handleFastMA; int OnInit () { int rsiHandle = iRSI ( _Symbol , PERIOD_CURRENT , 6 , PRICE_CLOSE ); int handleSlowMA = iMA ( _Symbol , PERIOD_H1 , 200 , 0 , MODE_EMA , PRICE_CLOSE ); int