The PriceHistogram OnClick Event indicator is a handy tool for traders using MetaTrader 4. This nifty little indicator showcases four distinct price histograms whenever you trigger a click event.
I originally developed this indicator for personal use during testing, but I decided to share it with the trading community. Let’s dive into what’s new and improved!
Latest Updates (30/07/2015):
Version 1.01
- Fixed bugs related to InpCalcTime not functioning correctly.
- Adjusted the BinRangeScale from 6 to 4 for better accuracy.
Version 1.02
- A significant bug was identified, and this version is crucial. Make sure to update!
Code Correction:
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);
Oops! That was my oversight.
Histogram Displays:
- Red: 1-day histogram (Best viewed on M5 timeframe).
- Gold: Short-term histogram (Best viewed on M5 timeframe).
- Pink: Medium-term histogram (Best viewed on M30 timeframe).
- Blue: Long-term histogram (Best viewed on M30 timeframe).
Here’s what’s new in version 1.02:

And here’s the older version (v1.00):

Settings Overview:

Related Posts
- Unlocking the Power of Master Tools for MetaTrader 4
- Unlocking MetaCOT 2: Your Ultimate CFTC Indicator Toolkit for MT4
- Unlock Trading Insights with Volume Profile + Range v6.0 for MetaTrader 5
- Mastering the MACD Candle Indicator for MetaTrader 4
- Visualize Current Trends Across All Time Frames with This MetaTrader 4 Indicator