You are right - the conditions are not written symmetrically. I checked the original source (the book "Strategies of the World's Best Traders") - it says the same thing.
So, it is not our mistake, but it is necessary to make corrections. I will look in other sources, as it is written there. It seems that the author forgot to add a condition
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Compared, hence the question:
I didn't make these codes. That's why I wrote: If you notice any inconsistency, just add it in your code.
I understand that this is a part of MT5 update. I will add it to my code - it will be erased during the next terminal update.
I understand that this is a part of MT5 update. I will add it for myself - it will be erased during the next terminal update.
What prevents you from copying the Expert Advisor to a separate folder and changing everything there as you need?
They are training, just examples.
They are tutorials, just examples.
We learn from mistakes ... to make mistakes ;)
check Piercing Line
You are right - the conditions are not written symmetrically. I checked the original source (the book "Strategies of the World's Best Traders") - it says the same thing.
So, it is not our mistake, but it is necessary to make corrections. I will look in other sources, as it is written there. It seems that the author forgot to add a condition