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 | RobotPowerM5 meta4V12

The Expert Advisor is based on analyzing iBullsPower and iBearsPower indicator readings on the first bar:

//+------------------------------------------------------------------+
//|  Calculate indicators' value                                     |
//+------------------------------------------------------------------+
void calculateIndicators()
  {
   bull = iBullsPowerGet(1);
   bear = iBearsPowerGet(1);
   Comment("bull+bear= ",bull+bear);
//b = 1 * Point() + iATRGet(1)*1.5;
//s = 1 * Point() + iATRGet(1)*1.5;
   isBuying  = (bull+bear > 0);
   isSelling = (bull+bear < 0);
   isClosing = false;
  }

Testing on EURUSD M5, deposit $100, 2016.06.01-2016.10.31, default parameters:

MetaTrader Experts, Indicators, Scripts and Libraries 

16741

Best MetaTrader Indicators + Profitable Expert Advisors