Cast the datetime to the double.
William Roeder:
Cast the datetime to the double.
Cast the datetime to the double.
double GetTime;
GetTime = Time[1];
Compile result : possible loss of data due to type conversion
Documentation on MQL5: Language Basics / Data Types / Typecasting
- www.mql5.com
Typecasting - Data Types - Language Basics - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Sit2020: Compile result : possible loss of data due to type conversion
Of course. Now go back and re-read #1. Your question was answered. Stop asking.
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
Compile result : possible loss of data due to type conversion
Time[1] = datetime , High[1] & Low[1] = double