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 4 Indicator | PriceHistogram OnClick Event

This indicator shows four price histograms when a click event is fired.

Personally, I made it for the check at the time of development, but it was shared.

Updates (30/07/2015):

v 1.01

  • Eliminated bugs due to the InpCalcTime does not work.
  • Changed the BinRangeScale from 6 to 4.

v 1.02

  • A large bug was found. Please use here.
before:
   calc_histgram(lt_vh,lt_vhZO,m30high,m30low,m30vol,offset,limit,InpBinRange*8,lt_period);
   calc_histgram(mt_vh,mt_vhZO,m30high,m30low,m30vol,offset,limit,InpBinRange*8,mt_period);

after:
   calc_histgram(lt_vh,lt_vhZO,m30high,m30low,m30vol,offset,limit,InpBinRange*BinRangeScale,lt_period);
   calc_histgram(mt_vh,mt_vhZO,m30high,m30low,m30vol,offset,limit,InpBinRange*BinRangeScale,mt_period);

...it is my stupid error.

Display:

  • Red — 1-day histogram (use M5 timeframe).
  • Gold — short term histogram (use M5 timeframe).
  • Pink — medium term histogram (use M30 timeframe).
  • Blue — long term histogram (use M30 timeframe).

This is new version (v1.02)

MetaTrader Experts, Indicators, Scripts and Libraries

This is old version (v1.00)

MetaTrader Experts, Indicators, Scripts and Libraries

Settings:

MetaTrader Experts, Indicators, Scripts and Libraries

13540

Best MetaTrader Indicators + Profitable Expert Advisors