samjesse:
Try single quotes not like yours 'xxx,xxx,xxx', I think yours indicate string not colour
The code line below gives warning (I would like to get ride of) how?
Stanislav Ivanov:
Try single quotes not like yours 'xxx,xxx,xxx', I think yours indicate string not colour
Try single quotes not like yours 'xxx,xxx,xxx', I think yours indicate string not colour
samjesse:
The code line below gives warning (I would like to get ride of) how?
https://www.mql5.com/en/docs/basis/types/integer/color
So, it should be:
color mColor; mColor = C'0,88,117';
![Documentation on MQL5: Language Basics / Data Types / Integer Types / Color Type Documentation on MQL5: Language Basics / Data Types / Integer Types / Color Type](https://c.mql5.com/36/19/documentation-on-mql5-language__4.png)
Documentation on MQL5: Language Basics / Data Types / Integer Types / Color Type
- www.mql5.com
type is intended for storing information about color and occupies 4 bytes in memory. The first byte is ignored, the remaining 3 bytes contain the RGB-components. Literal representation consists of three parts representing numerical rate values of the three main color components: red, green, blue. The constant starts with C and is enclosed in...
Imran Bat:
Do not just quote other people's posts. It is extremely annoying.
If you have something useful to add to a topic, then please post, but if you have nothing useful to add, don't post at all.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
The code line below gives warning (I would like to get ride of) how?