Hanh Tran / Profile
I am Hanh Tran, I love coding by MQL4
Hanh Tran
Added topic An EA with more than magic numbers and trading on 01 screen.
I want an EA with more than magic numbers? May you help with big thanks

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!
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!

: