Errors, bugs, questions - page 2141

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
What about events from a chart? To be honest, I haven't worked with OBJ_CHART scripts
A script (especially a looped one) cannot catch events.
A script (especially a looped one) cannot catch events.
Compilation error
Compilation error
It looks like a dynamic constant object cannot be created.
How does this differ in meaning from
?And how is this different in meaning from
?When there is no const_cast, nothing.
How does this differ in meaning from
?There is an error in the template when substituting
Indicators do not always return ACCOUNT_LOGIN when starting the terminal
0 11:00:01.880 Custom indicator tester EURUSD,H1: loaded successfully
0 11:00:01.887 tester EURUSD,H1: OnInit 0 < ---- AccountInfoInteger(ACCOUNT_LOGIN) returned 0
0 11:00:01.887 tester EURUSD,H1: initialized
0 11:00:01.887 tester EURUSD,H1: OnCalculate 0 < ---- AccountInfoInteger(ACCOUNT_LOGIN) returned 0
0 11:00:05.980 tester EURUSD,H1: OnCalculate 0 < ---- AccountInfoInteger(ACCOUNT_LOGIN) returned 0
0 11:00:06.654 tester EURUSD,H1: OnCalculate 0 < ---- AccountInfoInteger(ACCOUNT_LOGIN) returned 0
0 11:00:07.030 tester EURUSD,H1: OnCalculate 442394 < ---- AccountInfoInteger(ACCOUNT_LOGIN) returned account number
0 11:00:07.040 tester EURUSD,H1: OnCalculate 442394 < ---- AccountInfoInteger(ACCOUNT_LOGIN) returned account number
Source code
I may be wrong but in my opinion no program can work if account number is not known.....
10 years almost as posted https://www.mql5.com/ru/code/8007
There is an error in the template when substituting
Yeah, I didn't get to the template. I've never used such a construction before, I was stupid. I wonder where it could have a practical application.
An error occurs in the template when substituting