Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Expert Advisor | GO

MetaTrader Experts, Indicators, Scripts and Libraries

Author of the idea — Victor Chebotariovauthor of the MQL5 code — barabashkakvn.

Signals based on four iMA (MA) indicators, by PRICE_OPEN, PRICE_HIGH, PRICE_LOW, PRICE_CLOSE prices. Trades only on hedge accounts.

Block for determining the signal direction:

   double open =iMAGet(handle_iMA_open,0);
   double high =iMAGet(handle_iMA_high,0);
   double low  =iMAGet(handle_iMA_low,0);
   double close=iMAGet(handle_iMA_close,0);
   double GO=((close-open)+(high-open)+(low-open)+(close-low)+(close-high))*iTickVolume(0);

The number of positions is limited by the parameter 

input int               MaxPositions   =5;
16968

Best MetaTrader Indicators + Profitable Expert Advisors