Download MetaTrader 5

invalid property value

To add comments, please log in or register
chris
48
chris  

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
18004
Simon Gniadkowski  
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  

thanks

worked perfect.

To add comments, please log in or register