Before OrderModify(), print the values of the opening price and the new stop price.
And keep your disrespectful "no?" to yourself if you want help. However, I have posted a fully working template for any trawl right in this thread - you can look it up.
disrespectful "didn't?" - sorry, didn't put anything into it.
Please advise! What function should be added to replace SELL with numbers that go in order. If there is an open deal then put 1. As soon as this deal is opened it will give 2 and so on. If there are no deals then this number will be reset.
Hello, I have a Color levels indicator, I have a problem when I try to apply 2 parts of this indicator to one chart, namely the window of the 1st indicator disappears and only the window of the 2nd indicator is displayed, and when I click to create an object - rectangle, 2 objects are created, one from one indicator and another from another one. Please advise how to fix it, so that several parts of this indicator can be used in the chart, and objects can be created correctly? Can I change something in the code or vice versa?
Assembled the indicator as best I could Need help to highlight bars, for example a rectangle, when indexes are in +/- 0.4% zone Or at least the code itself My indicator code
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.
Before OrderModify(), print the values of the opening price and the new stop price.
And keep your disrespectful "no?" to yourself if you want help. However, I have posted a fully working template for any trawl right in this thread - you can look it up.
disrespectful "didn't?" - sorry, didn't put anything into it.
Please advise! What function should be added to replace SELL with numbers that go in order. If there is an open deal then put 1. As soon as this deal is opened it will give 2 and so on. If there are no deals then this number will be reset.
Before OrderModify(), print the values of the opening price and the new stop price.
It prints the same values. Why does it check for != then, can you tell me?
Writes the same values. Why does it check for != then, can you tell me?
Read about comparing real numbers.
Read about comparing real numbers.
I'm off to read. Thanks
Don't just compare, but check for "isn't it time to move?", i.e. isn't it less than necessary "n>=p"
Don't just compare, but check for "isn't it time to move?", i.e. isn't "n>=p" less than necessary
Assembled the indicator as best I could
Need help to highlight bars, for example a rectangle, when indexes are in +/- 0.4% zone
Or at least the code itself
My indicator code
The code was recommended to me, but I don't know how to attach it:
Thank you in advance.