![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Maybe you should not multiply the starting lot by two to the power of X, but find out the lot of the triggered pending order and double it? The code would probably be smaller.
I think there are usually no more than 4-5 steps.
))) It's strange - on the demo he could not open a deal now - the zigzag would not give!!!
i put it on m1 so i could see it working quicker) but it didn't put a pause immediately this is not what i was talking about
Maybe you should not multiply the starting lot by two to the power of X, but find out the lot of the triggered pending order and double it? The code would probably be smaller.
I think there are usually no more than 4 or 5 steps.
Hm, for effect I will try to combine both, but the drawdown will be catastrophic I think...
Especially since the tester runs at least 15 times
It gets a one way trade and they want to go on with a fixed lot)) you made it very complicated and not what I asked for (((((((((
.
Don't jump to conclusions, what you asked for is ready but still green.
We are currently trying to reduce the drawdown, so far not effective, but if it works, it will be even better than you asked.
????Why to one side?
On the run in the tester I looked, indeed all initial orders are in buy.
The zigzag should be opened without anything, as Edik suggested in the beginning...
The zigzag simply helps to open trades not "out of thin air", which reduces the drawdown.
The fact that Zig Zag occasionally gives false signals is good, because it is a good opportunity to confirm Edik's strategy.