Hanh Tran
Hanh Tran
I am Hanh Tran, I love coding by MQL4
친구 1
Hanh Tran
Hanh Tran
My problem:

double LcSoNenTrongNgay = 0;

LcSoNenTrongNgay = MathRound(LcHourOfDay/4) + 1;
LcSoNenTrongNgay = MathRound(LcHourOfDay/4);
int LcSoNenTinh = 5+ LcSoNenTrongNgay;

=>possible loss of data due to type conversion

May you help this, pls? Big thanks!
Hanh Tran
Hanh Tran
I want to convert the server time to GMT time?
Hanh Tran
MQL5.커뮤니티에 등록됨