[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 598

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
Take apart the logic of the indicator completely.
Replace it first.
at
Also,
Without else the first block is executed first, then the second. With else - either the first or the second.
I have no trades, although the bars to the 3rd seem to be enough for everything to work, what's the problem?
And as for the logic of the indicator, I'm a bit confused. I know how the indicator works, I just need the algorithm to ensure that ifractals is not equal to zero, and you offer me to remove this condition, it is superfluous? Why do I write it twice?
Take apart the logic of the indicator completely.
Replace it first.
at
In addition,
Without else the first block is executed first, then the second. With else - either the first or the second.
It is possible to fight, and the work of the EA can be interrupted. We just need to change the approach.
How?
At the beginning of the code, go through all open orders, find and assign ticket values to orders, or is there some other way?
At the beginning of the code, go through all open orders, find and assign ticket values to orders, or is there some other way?
You can do this if the EA opens one or two positions.
You can do this, as long as the advisor opens one or two positions.
The EA is multi-currency, so simple operations do not always seem to be solved at once ((. And there is no experience.
My Expert Advisor is multicurrency, and simple operations do not always seem to be solved at once ((. And there is no experience.
You just have to do the order accounting correctly. There are a lot of examples.
And experience. Experience comes with the territory. It will not go anywhere.
You just have to make sure that the orders are recorded correctly. There are plenty of examples.
And experience. Experience comes with the territory. It's not going anywhere.
Thanks for the answers, I will dig through the archives.
Good evening, I'm asking for help with a multicurrency MACD Expert Advisor. The EA follows the position opening criteria correctly, but closing "on condition" does not work. I have certainly started to use a trailing stop, but the correct close does not give me a break.
This is what the main part looks like
And this is a close block. Please help me to find the error!
Sorry to repeat myself, but no matter how much I struggle, I can't find the error!
I replaced everything, but it's still skipping the same way for some reason...((((((