You need for 2 indicator buffers to draw histogram on the main chart.
First buffer for open, second buffer for close prices
See Heiken Ashi custom indicator. 'Heiken Ashi' 2 histograms are drawn.
You need for 2indicator buffers to draw histogram on the main chart.
First buffer for open, second buffer for close prices
Hello Brother, is it the same way to use it when its on expert advisor not indicator?
A lot. For example:
-
Can't have dots in variable names
-
Data Structure in MetaTrader 4 Build 600 and Higher - MQL4 Articles 2014.02.03
-
New/delete/class/char/etc. are keywords since build 600 and Higher — 2014.02.03
-
There has been zero proof that any ex4/5 can be decompiled since Build 600+ 2014.02.03
Upcoming MetaTrader 4 and MQL4 Upgrades - Big Changes Are Underway (MetaQuotes Software Corp.) - MQL4 programming forum 2013.07.24
Code Protection: New MQL4 language(Build 600+) decompilation protection and other crack techniques. (Macos Silva) - MQL4 programming forum - Page 2 2014.02.19

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I was wondering how we can draw a histogram on the chart or rather cover the candles with a specific colour. For example I'm trying to cover white candles with green when the white candle is longer than 15 pips. Here is the code I've written and I don't know what's wrong with it. Any ideas?
Thanks in advance