You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.