Replacing squiggly lines with histogram bars
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!
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.