Add these lines . . . might not be enough though . . .
IndicatorBuffers(3); SetIndexBuffer(0,Upval); SetIndexBuffer(1,Dnval); SetIndexBuffer(2,trend); SetIndexStyle(0,DRAW_HISTOGRAM); // add these lines SetIndexStyle(1,DRAW_HISTOGRAM); // add these lines SetIndexStyle(2,DRAW_HISTOGRAM); // add these lines SetLevelValue(0,0);
Thank you RaptorUK - That was exactly what was needed!

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,
Normally to replace squiggly lines on indicators to histogram bars I simply replace the text in the code DRAW_LINE with DRAW_HISTOGRAM.
In the attached code, DRAW_LINE is missing so I was hoping that someone could explain how I can amend it to display bars instead. I've been searching for reading material that will help but to no avail.
Any help you can provide will be greatly appreciated.
Kind regards,
Silver Gerbil.