Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1781
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
Once again, I emphasise the difference
1 variant
2 variant.
Yes. Thank you. I got it.
Try to understand what you are coding rather than blindly copyingOrdersTotal,OrdersHistoryTotal,
OrderSelect
I will try.
redid the void OnTick() part
so that when a certain lot is reached (LotControl), a specified number of points (Deviation parameter) is added to the signal
As a result, it works with problems:
firstly testing on history started to almost stop after 500 trades (1-2 trades per min).
(it starts with a normal speed, and then goes slower and slower)
Secondly, Deviation connects not after (LotControl) but in one or two steps after the specified lot.
redid the void OnTick() part
so that when a certain lot is reached (LotControl), a specified number of points is added to the signal (the Deviation parameter)
As a result, it works with problems:
firstly testing on history started to almost stop after 500 trades (1-2 trades per min).
(it starts with a normal speed, and then goes slower and slower)
Secondly, Deviation connects not after (LotControl), but one or two steps after the specified lot size.
Try it this way:
remove from void OnTick()
and put here
Try it this way:
remove from void OnTick()
and put here
the result will be the same.
It's not about the signal. I have two other EAs similar to this one, and there are no brakes
Try it this way:
remove from void OnTick()
and put it here
at first i was worried about this thing:
but the other two owls work fine with it on the tester
at first I thought it was this thing:
There's nothing wrong with this thing.
I'll look at your code later, write what timeframe you're using in the tester and which pair. I'll check to see if it's slowing down for me.
There is nothing wrong with this thing.
I'll look at your code later, post what timeframe you're using in the tester and what pair. I'll check to see if I'm slowing down.
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 it's this thing that slows me down:
Yeah, any pair.
I use M15 for AUD/USD.
I had the same problem with your indicator (attached)
i found out by elimination that it's this thing that slows down the process:
Change the order override
Change the overshoot of the orders
Guys, as much as you can, if you don't remember the index value of the loop at the last check, then you have a loop running through all the available history. And the more of it, the longer the cycle.