Questions from Beginners MQL5 MT5 MetaTrader 5 - page 761

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
I have a question about signals. When connected, are already existing trades that are in drawdown and pending signal orders already placed at the time of purchase copied?
I have a question about signals. When connecting, are already existing trades that are in a drawdown and pending signal orders already set at the time of purchase copied?
The pending orders are never copied at all - only buy and sell trades are copied. Help:How to set up a trading platform to use signals.
During synchronization, all positions that are on the provider's trading account will be copied.
Hello 2017.07.18_18:26 GMT+3. Forum connoisseurs, advise which type of programming to use in order to complete an EA -- procedural or OOP ? I asked the question on page 760. It looks like the standard Moving Average.mq5 Expert Advisor but it is not working. The article https://www.mql5.com/ru/articles/367 calls it "simple rules". What kind of programming should I choose so that my code does not contradict those "simple rules"? So I don't have to write another year of Expert Advisor, I think it could be finished in a month or a year and a half. I hope to get an answer. If you have any questions, please do ask. That is all for now. 18:39 GMT+3. Posted at 18:42 GMT+3.
Use the type of programming that you personally understand.
Can you tell me how to retrieve the ticket from the history that was there when it was opened. In the screenshot it is "63214735"
Report file
From terminal from history
Use the type of programming that you personally understand.
+100
Report file
From the terminal from the history
This code is not found
Please advise how to retrieve the ticket from the history, which was at the time of the trade. In the screenshot it is "63214735".
....
This code does not find
I think you should be looking for Position, not Deal
https://www.mql5.com/ru/docs/trading/historyselectbyposition
I think you should look for Position, not Deal
https://www.mql5.com/ru/docs/trading/historyselectbyposition
Possibly, but so far I can't find anything. You can get those tickets that you don't need
Right now there is an active position, and once it is in the history, you need to find its ticket "63228260"
This is the data I got in the tester
01.01.2017-01.06.2017
2017.07.20 00:08:35.127 Core 1 Si-9.17,M1: 46437 ticks, 19260 bars generated. Environment synchronized in 0:00:00.031. Test passed in 0:00:42.151.
2017.07.20 00:08:35.127 Core 1 Si-9.17,M1: total time from login to stop testing 0:00:42.182 (including 0:00:00.031 for history data synchronization)
2017.07.20 00:08:35.127 Core 1 368 Mb memory used including 30 Mb of history data, 64 Mb of tick data
01.06.2017-01.07.2017
2017.07.20 00:13:20.957 Core 1 Si-9.17,M1: 61072 ticks, 16125 bars generated. Test passed in 0:02:12.101 (including ticks preprocessing 0:00:00.016).
2017.07.20 00:13:20.957 Core 1 348 Mb memory used including 32 Mb of history data, 64 Mb of tick data
1. why first period with message "total time from login to stop testing"?
2. the first period contains fewer ticks but more bars, while i am testing with OHLC - the ticks should not affect the testing time?
I am confused by the fact that more time is spent for testing in June - why is that?