guys, I don't understand what's wrong... when crossing, touching the price line, Alert does not shut up and works for every tick, so how do I fix it? how do I make it beep for a set time, or the number of times?
Good afternoon! Please help me to solve this problem. I put a 5-minute timeframe on the MA to watch it on the 1-minute chart, it is drawn one-to-one without considering the scale. Thank you!
LRA: Added string ResultSymbols="12345"; Compiled without error. Try splitting into parts
thanks, found the reason, in the fifth MT you can't enter calculations into theStringTrimLeft() function, i.e. first you have to declare a string, then assign calculations to it and then pass this string to the StringTrimLeft() function
Is that OK? if (OrderCloseTime() > iTime(Symbol(), PERIOD_D1, 0) ...
But before midnight, the orders of the day will be thick, and immediately after midnight, they will be empty
RequiredInterval=36000; // 10 hours
Is it better like this? if ((TimeCurrent()-OrderCloseTime()) < RequiredInterval) ...
Will this do? if (OrderCloseTime() > iTime(Symbol(), PERIOD_D1, 0) ...
But before midnight, today's orders will be dense, and right after midnight, they will be empty.
RequiredInterval=36000; // 10 hours
Is it better like this? if ((TimeCurrent()-OrderCloseTime()) < RequiredInterval) ...
Help who can, there is an error in the line below. Code in mt5.
StringTrimLeft( StringSubstr(ResultSymbols,1,StringLen(StringSubstr(ResultSymbols,0,1))- 1));
Added string ResultSymbols="12345"; Compiled without error. Try splitting into parts
What is the correct way to deal with the error : array out of range in '... in this situation when switching to #property strict ?