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 Indicator | Directional Breakout

Informational indicator. It displays a histogram in different colors, depending on the ratio between the candlestick prices and the moving average.

There are three adjustable parameters:

  • MA Period - MA calculation period;
  • MA Method - Moving Average calculation method;
  • Applied price - price used for calculations.

Calculation:

If Low > MA:  MA > PrevMA = color 1  MA < PrevMA = color 2  If High < MA:  MA < PrevMA = color 3  MA > PrevMA = color 4  
Otherwise = color 5

where:

MA is the moving average with the Period, by Method, and at Applied price  PrevMA - moving average on the previous bar  

MetaTrader Experts, Indicators, Scripts and Libraries

21036

Best MetaTrader Indicators + Profitable Expert Advisors