Making indicator color variable

 

Hi,

how can I make the color of my indicator-buffer variable??

Normally I program the color in that way:

#property indicator_color1 Aqua


Is there any possibility to make the color variable with "extern color ..."??

 
Isn't it variable anyway from the Indicator Properties Color tab ?
 
sunshineh:
how can I make the color of my indicator-buffer variable??
You don't. You use two buffers of two different colors. set one with the value and the other with EMPTY_VALUE
Reason: