
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
It was created at the same time as the article. But there is no sense in it without trading functions!
I made (posted in kodobase) MQL4 tradingfunctions that work simultaneously with MQL5 trading functions.
Therefore, the emulator may still make sense.
I have made (uploaded to kodobase) MQL4 tradingfunctions that work simultaneously with MQL5 trading functions.
Therefore, there may still be a sense in the emulator.
More on the topic.
I realised that this issue has already been brought up and I need to read another article:) My posts can be deleted
Please tell me what you have realised, what article to read and how to fix the above error?
Here I understand that it is for adding an indicator by the user - that's why I commented...https://www.mql5.com/en/code/16006
Examples
I'm assuming everything
should be changed to
please correct
bool IsTesting()
Returns TRUE if an Expert Advisor is running in the testing mode, otherwise returns FALSE.
MQLInfoInteger
bool IsTesting()
MQLInfoInteger(MQL_TESTER)
Returns TRUE if an Expert Advisor is running in the testing mode, otherwise returns FALSE.
MQLInfoInteger
MQL5_TESTING dont work please change it to MQL_TESTER.
iBarShift is not working.
My execution - not quite sure, but it works correctly and seems to make sense
I can't understand how to use the function
The compiler warns
'OBJPROP_TIME1' - undeclared identifier TZ_Sky_and_Ground_V_04.mq5 2891 12
'OBJPROP_TIME1' - constant expression required TZ_Sky_and_Ground_V_04.mq5 2891 12
'OBJPROP_PRICE1' - undeclared identifier TZ_Sky_and_Ground_V_04.mq5 2893 12
'OBJPROP_PRICE1' - constant expression required TZ_Sky_and_Ground_V_04.mq5 2893 12
'OBJPROP_TIME2' - undeclared identifier TZ_Sky_and_Ground_V_04.mq5 2895 12
'OBJPROP_TIME2' - constant expression required TZ_Sky_and_Ground_V_04.mq5 2895 12
'OBJPROP_PRICE2' - undeclared identifier TZ_Sky_and_Ground_V_04.mq5 2897 12
'OBJPROP_PRICE2' - constant expression required TZ_Sky_and_Ground_V_04.mq5 2897 12
'OBJPROP_TIME3' - undeclared identifier TZ_Sky_and_Ground_V_04.mq5 2899 12
'OBJPROP_TIME3' - constant expression required TZ_Sky_and_Ground_V_04.mq5 2899 12
'OBJPROP_PRICE3' - undeclared identifier TZ_Sky_and_Ground_V_04.mq5 2901 12
'OBJPROP_PRICE3' - constant expression required TZ_Sky_and_Ground_V_04.mq5 2901 12