And while they are retargeting you can write in your event log.
For example: attempt #;price;price_requote;date_time
;)
Of course. But an EA usually closes an order if there are any conditions, crossing of lines or time, so it is difficult for the EA to calculate the best price to close an order. If it closes when the price reaches it, then it may be done so that it stands to the death.
Absolutely. But usually the EA closes an order if any conditions are met, crossing lines or time, so it is difficult for the EA to tell which price is better to close. If it closes when the price is reached, we can make it freeze to death.
So, I see. Perhaps, this problem does not bother anybody.
I think I know how to do it. >> I will write it down and post it.
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.
Increase the slippage to 50, you have 5 digits, so 0.3 pips is not good enough.
But then the orders will be closed by the worse price offer.
I want them to close only at better price, otherwise they won't close.
If he is artificially requalified, it won't help.
If it is artificially requalified, it won't help.
Well, sooner or later they will do it anyway...
And while they requote, you can write in your log according to the event.
For example: Attempt #;price;price_requote;date_time
;)
Well, sooner or later they will do it anyway...
And while they are retargeting you can write in your event log.
For example: attempt #;price;price_requote;date_time
;)
Of course. But an EA usually closes an order if there are any conditions, crossing of lines or time, so it is difficult for the EA to calculate the best price to close an order. If it closes when the price reaches it, then it may be done so that it stands to the death.
Help fix the code to open a deal every hour. PLEASE HELP someone!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Absolutely. But usually the EA closes an order if any conditions are met, crossing lines or time, so it is difficult for the EA to tell which price is better to close. If it closes when the price is reached, we can make it freeze to death.
So, I see. Perhaps, this problem does not bother anybody.
I think I know how to do it. >> I will write it down and post it.
Please tell me algorithm to find maximal (minimal) of Close[i]/Close[i+1] ratio on N bar interval.
Write all values of Close[i]/Close[i+1] into array double num_array[N] and then use function ArrayMaximum/ArrayMinimum