Download MetaTrader 5
To add comments, please log in or register
Do you know that MQL5 can create custom graphical tools?
chris
48
chris 2014.03.02 18:23 

Hi

Since build 600 I cant compile many of my indicators.

for example

#property indicator_width7 0.01

gives me the error

'0.01' - invalid property value

Any idea how to fix this?

Thanks


Simon Gniadkowski
Moderator
17994
Simon Gniadkowski 2014.03.02 18:32  
kraziekris:

Hi

Since build 600 I cant compile many of my indicators.

for example

#property indicator_width7 0.01

gives me the error

'0.01' - invalid property value

Any idea how to fix this?

Thanks


Please read the documentation

indicator_widthN

int

Line thickness in graphic series, where N - number of graphic series, numbering starts from 1

. . . it's expecting an int not a double

chris
48
chris 2014.03.02 19:15  

thanks

worked perfect.

/
To add comments, please log in or register