Download MetaTrader 5

how to use custom colors in MQL5

To add comments, please log in or register
Grzegorz Korycki
62167
Grzegorz Korycki  
how to replace named colors with custom collors? Using a loop for() makes it difficult to put crlBlue clrRed and so on for different lines of the graph. Is there a possibility of using hex definition of color like 0x00FF00 for green and so on?
Alain Verleyen
Moderator
33816
Alain Verleyen  
See documentation and example.
Documentation on MQL5: Language Basics / Data Types / Integer Types / Color Type
Documentation on MQL5: Language Basics / Data Types / Integer Types / Color Type
  • www.mql5.com
Language Basics / Data Types / Integer Types / Color Type - Documentation on MQL5
To add comments, please log in or register