Freunde

Fügen Sie Freunde über ihre Profile oder über die Suche hinzu, und Sie können mit ihnen kommunizieren und ihre Aktivität auf der Webseite verfolgen.

HeatherMartin66
HeatherMartin66
Hi could I just get your help on what the error is here and how to amend it. I just can't work out the 2 errors chatgpt isn’t picking it up right

// Intraday filter - uses TimeCurrent() inline (no t_now variable)bool IsIntradayAllowed(){ int hour = TimeHour (TimeCurrent()); // inline TimeCurrent()),no intermediate variable
bool allowed = false; if(Inp_IntradayStartHour <= Inp_IntradayEndHour) { if(hour >= Inp_IntradayStartHour && hour <= Inp_IntradayEndHour) allowed = true; }

What needs to be amended I cannot see what there error is can you help here is what it is highlighting - bold line

undeclared identifier Trend Duration EA.mq5 61 15'TimeCurrent' - some operator expected Trend Duration EA.mq5 61 25possible loss of data due to type conversion from 'double' to 'datetime' Trend Duration EA.mq5 265 53possible loss of data due to type conversion from 'double' to 'datetime' Trend Duration EA.mq5 278 542 errors, 2 warnings 2 2
HeatherMartin66
Hat sich auf MQL5.community registriert