Error in my code "possible loss of data due to type conversion"
Hello,
When compiling I have the error "possible loss of data due to type conversion" i suspect it is because of the variable type which the price is being stored in. Any help is greatly appreciated.
Here's the code: (by the way I know it doesn't do anything I'm just looking for a solution to the error)
That's not an error, that's a warning. iOpen/iClose return a double not a float.
- 2014.03.25
- MetaQuotes Software Corp.
- www.mql5.com
That's not an error, that's a warning. iOpen/iClose return a double not a float.
Hello,
When compiling I have the error "possible loss of data due to type conversion" i suspect it is because of the variable type which the price is being stored in. Any help is greatly appreciated.
Here's the code: (by the way I know it doesn't do anything I'm just looking for a solution to the error)