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 | Elli

Author of idea — Iurii Tokman, author of the MQL5 code — barabashkakvn. 

The Expert Advisor is based on the ADX Wilder and Ichimoku Kinko Hyo indicators. Lot is calculated based on risk percentage of margin.

MetaTrader Experts, Indicators, Scripts and Libraries

Regarding the choice of the timeframe:

The ADX indicator is provided with a separate setting "adx_timeframe". Its default value is PEROID_M1.

The Ichimoku indicator does not have timeframe settings — the PERIOD_H1 timeframe is hard coded for it.

Also, in the trend direction detecting module, the bar Close price of the PERIOD_H1 timeframe is used:

   double sb = iIchimokuGet(CHIKOUSPAN_LINE,0);
   double close=iClose(0,m_symbol.Name(),PERIOD_H1);
   double cf=MathAbs(ts-ks)/m_symbol.Point();
17762

Best MetaTrader Indicators + Profitable Expert Advisors