I am doing a backtest run of my EA together with my indicator,
the indicator alone runs properly,
however, when i call the custom indicator function in the EA and backtest it
an error occur for my indicator: "invalid integer number as parameter 1 for TimeToNumber function"
the following is the only structure in both my indicator and EA which the code TimeToStr is used
Thanks a lot
lmyyyks
the indicator alone runs properly,
however, when i call the custom indicator function in the EA and backtest it
an error occur for my indicator: "invalid integer number as parameter 1 for TimeToNumber function"
the following is the only structure in both my indicator and EA which the code TimeToStr is used
Inserted Code
datetime Date; string BOTime; datetime ExactTime = StrToTime(TimeToStr(Date, TIME_DATE) + " " + BOTime
lmyyyks