Question about line colors

 
Hey there !

I have a question on how to boost a bit the looks of an oscillator line that I coded - I was wondering if changing line colors based on price levels is possible - meaning the further it gets from 0 - the more it's color changes.


Anyone tried to do that with MQL4 without creating infinite nrs of buffers?

Cheers!
Files:
Screen01.jpg  168 kb
 
Krzysztof Jan Debski: Anyone tried to do that with MQL4 without creating infinite nrs of buffers?

N buffers, n colors.