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

The author of the idea is Peter, and the author of the mq5 code is barabashkakvn.

The trend is determined on the zero bar based on two Moving Averages (fast and slow). They also generate preliminary signals:

if fast MA < slow MA

//--- Buying AND Selling 
   if(ema_fast<ema_slow)
     {
...
      sell=true;
      buy=false;
     }

i.e. it a signal to open a SELL position;

if fast MA > slow MA

   if(ema_fast>ema_slow)
     {
...
      sell=false;
      buy=true;
     }

it is a signal to open a BUY position.

Signals are confirmed using the WPR indicator (on the zero or first bar) and by comparing the values of the CCI indicator to the "CCI sell level" or "CCI buy level".

Each profitable position is subject to the following check: Is its profit greater than the threshold value "Positive profit in the deposit currency"? If it is, the next position will be opened with the volume increased by "Volume step".

Testing results on EURUSD:

MetaTrader Experts, Indicators, Scripts and Libraries

MetaTrader Experts, Indicators, Scripts and Libraries

MetaTrader Experts, Indicators, Scripts and Libraries

18663

Best MetaTrader Indicators + Profitable Expert Advisors