Need help with indicator programming

 

Hi,

I am a newbie when it comes to programming in mql4.  I have taken an existing indicator, "cci-t3-divergence-indicator" and have tried to modify it to print a coloured histogram rather than a line (such as in CCI woodies).  The attached mq4 file compiles with no errors, but when I add it to a chart, a new window is created but it is as blank as Joe Biden's brain.

In the attached file, I used an existing indicator_color (6) and added 3 more on lines 15 - 18.  I added new variables on line 77, new lines 108 to 124, and 190 to 212.

Could it be a problem with a buffer?

<Deleted>

Thanks,

Russ


PS - I would also like to print a line for CCI2 over top of the histogram bars.


 
Your program has no CCI2 buffer.
 
Since you are new, I would recommend you to start directly with mql5.