DRAW_HISTOGRAM not rendering correctly. Help Please:)

 

Hi hope someone might be able to help.

Can you suggest a fix for the attached indicator please.

 

I want it to draw a Histogram for:

SetIndexBuffer(6,HeikenAshi_tenkansen);

SetIndexStyle(6,DRAW_HISTOGRAM);

It will not do this. However if I set it to draw and arrow with extra setindexarrow function it works correctly.

 Any suggestions would be appreciated.....

Regards Mickey 

Files: