Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1782

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
Guys, no matter how you want to go about it, if you don't remember the value of the loop index on the last check, then you have a loop running through all the available history. And the more of it, the longer the loop.
not sure.
I have 2 other EAs with similar design of checking profitability and both of them pass the entire history in the tester within 15-20 min.
I am not sure.
I have 2 other EAs with the same design of lot check and they both pass the entire story in the tester in 15-20 minutes
Well, it's up to you. I'm not going to argue.
change the order override
similarly
Yeah, any pair.
I use M15 for AUD/USD.
I had the same problem with your indicator (attached)
I found out by elimination method that this thing slows down the process:
Cache the results (in variables). And the cache should be updated if the list of orders has changed. And if nothing has changed, then just return the values from the cache.
Guys, no matter how you want to go about it, if you don't remember the value of the loop index on the last check, then you have a loop running through all the available history. And the more there is, the longer the loop takes.
You should always think that there will be a power outage and so on.
An EA from the history should be configured and running at any time.
Always have to think about power cuts and so on...
The advisor from the story should be configured and working at any time.
There is a VPS to keep the lights on.
I understand roughly why there are problems.
Now I want to do the following:
clean up void OnTick
the signal to make it like this:
whereopenPrice tries to express it this way, but it gives out an error:
possible loss of data due to type conversion
am I using void function correctly ?
Made a line follow the mouse cursor after pressing a button through draw and delete
Maybe there is another way? The processor cooler is starting to get noisy :)
Always have to think about power cuts and so on...
An advisor from history should be configured and working at any time.