I have only one small thing to worry about. All orders are closing now and then (i.e. all and always!), but sometimes, if i open 3-4 orders, only 2 or 1 of them might close. I think there is a special i-check for this, may be you can hint.
I have only one small thing to worry about. All orders are closing now and then (i.e. all and always!), but sometimes, if i open 3-4 orders, only 2 or 1 of them might close. I think there is a special i-check, may be you have a clue.
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.
hello!
Decided to make owls a bit more complicated.
I want to do something like trailing, but with a single / double action
idea:
price passed 75% to take - stop decreased (for example) by 20 pips and take increased by 20 pips.
price passed 90% to take- stop decreased (for example) by 30 pips and take increased by 10 pips.
Thank you. it's interesting. I'll try to figure it out!
it turns out thatif(Bid is the current price parameter - which is not called in any way - you can just compare certain values with it?
and the unit ofBid is ticks? (it's not expressed in money)
I have only one small thing to worry about. All orders are closing now and then (i.e. all and always!), but sometimes, if i open 3-4 orders, only 2 or 1 of them might close. I think there is a special i-check for this, may be you can hint.
Thank you. it's interesting. I'll try to figure it out!
it turns out thatif(Bid is the current price parameter - which is not called in any way - you can just compare certain values with it?
and the unit ofBid is ticks? (it's not expressed in money)
Bid is current price, so compare with the opening price +/- condition
As for ticks, neither Bid nor Ask is measured in ticks. The ticks are the arrival of a new price.
Bid is current price so we have to compare it with the opening price +/- condition
As for ticks, neither Bid nor Ask is measured in ticks. The ticks are the arrival of a new price.
I see. Then what is it measured in? pips/pips?
I see. How is it measured then? in points/pips?
MarketInfo(_Symbol,MODE_TICKSIZE);I see. Thank you.
I have only one small thing to worry about. All orders are closing now and then (i.e. all and always!), but sometimes, if i open 3-4 orders, only 2 or 1 of them might close. I think there is a special i-check, may be you have a clue.
Do not neglect brackets, try this
How to get extremes of ZZ in D' format 2021.01.05