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 | MA or Price Histogram

The idea of the indicator

Two iMA (Moving Average, MA) indicators ('Fast' and 'Sloe') are displayed in the main window. A color histogram (DRAW_COLOR_HISTOGRAM2 style) can be drawn between:

  1. Price <-> Fast
  2. Price <-> Slow
  3. Fast <-> Slow

Price type (if option 'Price <-> Fast' and 'Price <-> Slow' is selected) is set in 'Price: '). You can turn on/off the display of informational Labels - they show the price of two indicators, "Fast' and 'Slow'.

MetaTrader Experts, Indicators, Scripts and Libraries

Rice. 1. MA or Price Histogram

39372