untested, uncompiled, just considering the logic:
if (vol_bar_0>vol_bar_1) color=green; if (vol_bar_0<vol_bar_1) color=red;
wemersonrv: How can I get the Volume color ? Using Volume[0], or iVolume() function I can get only the amount, not if it is on High/Low value.
Volume dosn't have color so of course you can't use Volume[] or iVolume.
Your custom indicator has colors, so you have to get the values via iCustom. Histograms have two buffers, and color depends on the sign of buffer1[i] - buffer2[i].
Ah ok... Thanks.
Thanks a lot! Very helpful
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi all.
How can I get the Volume color ? Using Volume[0], or iVolume() function I can get only the amount, not if it is on High/Low value.
See the Volumes indicator properties:
How