Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

PriceHistogram OnClick Event - MetaTrader 4 Script - MT4/MT5 Resources

author EAcpu | 5 reads | 0 comments |

PriceHistogram OnClick Event - indicator for MetaTrader 4

PriceHistogram OnClick Event - indicator for MetaTrader 4

PriceHistogram OnClick Event - indicator for MetaTrader 4

When a click event is triggered, the indicator displays four price histograms.

Personally, I made it for review while developing, but it's shared.

Update (July 30, 2015):

 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);

…This was my stupid mistake.

exhibit:

This is the new version (v1.02)

PriceHistogram OnClick Event - indicator for MetaTrader 4

This is the old version (v1.00)

PriceHistogram OnClick Event - indicator for MetaTrader 4

PriceHistogram OnClick Event - indicator for MetaTrader 4


Attachment download

📎 pricehistgram_onclick.mq4 (11.44 KB)

Source: MQL5 #13540

Verification code Refresh