Thanks, I read it. But I need the Expert Advisor to close a trade after exceeding the specified number of X orders, each time it returns to the level of the previous order.
Let's say I want to use no more than 10 on one currency pair, and as soon as the EA takes the 11th order and returns to the opening level of the 10th order, the 11th order should close.
Sorry, this is the third time I'm writing. This time I am writing for the last time:
Thanks, I read it. But I need the Expert Advisor to close a trade after exceeding the specified number of X orders, each time it returns to the level of the previous order.
Let's say I want to use no more than 10 on one currency pair, and as soon as the EA takes the 11th order and returns to the opening level of the 10th order , the 11th order should close .
An order can only be deleted, but not closed - it is not a position.
Этот советник я писал исходя из собственного опыта торговли, понимая, что рынок и цена — это хаос, в котором нет законов и нельзя гарантировать, что через минуту будет падение или рост. Но зато в этом хаосе есть один железный закон, который никогда не изменится: в хаосе не появится закономерных постоянных последовательностей, то есть, хаос и...
Would add more fixation of the loss in the percentage of drawdown from the balance, the drawdown reached a certain value, all orders are closed, similar to the profit.
We would add more fixation of the loss in the percentage of drawdown from the balance, the drawdown reached a certain value, all orders are closed, similarly to the profit.
Your suggestion cannot be implemented, as a pending order cannot be closed, a pending order can only be deleted.
And most importantly: this EA does not work with pending orders.
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.
Thanks, I read it. But I need the Expert Advisor to close a trade after exceeding the specified number of X orders, each time it returns to the level of the previous order.
Let's say I want to use no more than 10 on one currency pair, and as soon as the EA takes the 11th order and returns to the opening level of the 10th order, the 11th order should close.
Sorry, this is the third time I'm writing. This time I am writing for the last time:
Forum on trading, automated trading systems and testing trading strategies
Expert Advisors: VR---SETKA---3
Vladimir Karputov, 2018.12.24 08:55 AM
This code does not work with pending orders and was never intended to work with pending orders.
Thanks, I read it. But I need the Expert Advisor to close a trade after exceeding the specified number of X orders, each time it returns to the level of the previous order.
Let's say I want to use no more than 10 on one currency pair, and as soon as the EA takes the 11th order and returns to the opening level of the 10th order , the 11th order should close .
An order can only be deleted, but not closed - it is not a position.
An order can only be deleted, but not closed - it is not a position.
Got it. I wrote it wrong. This is what Vladimir wanted to tell me about pending orders...
by the word order I meant a position
thank you .. your experts are very helpful.
but how to add the value of Stop Lost S / L to minimize losses if the movement of the graph leads to the opposite ... thanks
thank you .. your experts are very helpful.
but how to add the value of Stop Lost S / L to minimize losses if the movement of the graph leads to the opposite ... thanks
It is recommended to enable martingale in the settings.
Good evening. Is it possible to add a function to the Expert Advisor to stop it when Take Profit is reached ?
I think it is possible.
Added: VR---SETKA---3_v2
Added in version 1: VR---SETKA---3
Added in version 2:
I think it's possible.
Added: VR---SETKA---3_v2
Would add more fixation of the loss in the percentage of drawdown from the balance, the drawdown reached a certain value, all orders are closed, similar to the profit.
We would add more fixation of the loss in the percentage of drawdown from the balance, the drawdown reached a certain value, all orders are closed, similarly to the profit.
Your suggestion cannot be implemented, as a pending order cannot be closed, a pending order can only be deleted.
And most importantly: this EA does not work with pending orders.