Download MetaTrader 5

Truncation of constant value

To add comments, please log in or register
Dimitar Pavlov
1218
Dimitar Pavlov  
Dimitar Pavlov
1218
Dimitar Pavlov  
Just 1 note : when i open the custom indicator i cant change to 0.1/-0.1, only to whole numbers 1,2,3 etc.,
Osama Shaban
1522
Osama Shaban  

Replace int in line 17 and 18  with double and 99% the problem will be solved.

Good luck 

Dimitar Pavlov
1218
Dimitar Pavlov  
Osama Shaban:

Replace int in line 17 and 18  with double and 99% the problem will be solved.

Good luck 

Thanks , now is ok :)
To add comments, please log in or register