Set Color in COde of MT3 Indicator

 
Hello,

Can I change the color of an indicator in the code?

For example I have an indicator that goes from 1 to -1 and I would
like it to be blue for == 1 and red for == -1

Thanks
EK
 
You cannot draw the same line with different colors in MQLII.
It is possible in MQL4. Please learn "Three_Color.mq4" example at "Indicators"
 
Thank you for your Time
Reason: