This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community

Set Color in COde of MT3 Indicator


Back to topics list
avatar
60
EmeraldKing 2005.04.11 16:34 
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
avatar
unknown 2005.04.12 12:23 
You cannot draw the same line with different colors in MQLII.
It is possible in MQL4. Please learn "Three_Color.mq4" example at "Indicators"
avatar
60
EmeraldKing 2005.04.13 03:49 
Thank you for your Time
Back to topics list  
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets