
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
All the answers are in the post above.
Forum on trading, automated trading systems and strategy testing
Please explain what can be wrong with this function?
Karputov Vladimir, 2016.06.23 20:42
Since the author is unwilling, I'll try:
...
It remains to decide, what structure "mqlDateTime" is and where to declare variables "oldDay" and "oldHour"...
What's the problem? The code compiles.
https://www.mql5.com/ru/forum/89213#comment_2597888
Sorry, in the code the line
has been changed to.
21 was put to check at the moment, not working with a value of 0.
What's the problem? The code compiles.
https://www.mql5.com/ru/forum/89213#comment_2597888
Didn't notice... Two posts at once one after the other. It happens.
What does "#property strict" have to do with it? Could you please post the mql5 code? With name and extension. Respect the forum members. No one should speculate.
1. Does "#property strict" harm code performance? In what cases should it be present?
2. Well, everyone may give a name to a test Expert Advisor at his own discretion. But I will not argue.
Can you find out which server and access point was connected to up to this point?
PM 1 02:13:39.422 Network '3265046': connection to MetaQuotes-Demo lost GF 2 02:13:39.582 MQL5.community authorization failed DO 2 02:13:39.682 MQL5.community authorization failed IP 2 02:13:40.052 MQL5.community authorization failed PK 0 02:13:43.252 Network '3265046': authorized on MetaQuotes-Demo through Access Point RU Moscow (ping: 117.48 ms) DI 0 02:13:43.252 Network '3265046': previous successful authorization performed from 31.173.80.184 on 2016.06.21 14:55:11
?
Can you find out which server and access point was connected to up to this point?
?
Apparently this
This is what I am currently observing...
At 0:00 EA was on EURUSD and USDJPY orders did not open. After removal of the EA and resetting it on the charts the orders opened.
Around 10:00 I left only one EA on my account with orders opening at 10:00... The orders opened.
Then I started experimenting with the test EA I posted here. I placed it on EURUSD and USDJPY opening at 11:00 and got results.
EURUSD didn't work...
My question is: WHY?
Now I've changed the opening time to 12:00 and let's see what will happen.
I'm going to delete Expert Advisors from charts and rebuild them to make my experiment clean.
This is what I am currently observing...
At 0:00 EA was on EURUSD and USDJPY orders did not open. After removal of the EA and resetting it on the charts the orders opened.
Around 10:00 I left only one EA on my account with orders opening at 10:00... The orders opened.
Then I started experimenting with the test EA I posted here. I placed it on EURUSD and USDJPY opening at 11:00 and got results.
EURUSD didn't work...
My question is: WHY?
Now I've changed the opening time to 12:00 and let's see what will happen.
I'm going to delete Expert Advisors from charts and rebuild them to make my experiment clean.