@ambrogio Yes with the intention to open another similar trade.
Posts made by OD
-
RE: Why is this EA not taking trades when it is supposed toposted in Questions & Answers
-
RE: Why is this EA not taking trades when it is supposed toposted in Questions & Answers
@ambrogio https://fxdreema.com/shared/6l20hEhSb This is the same EA with the close partially strategy blocks. When back testing this strategy I find that after closing partially no new partial trade opens. With the same block arrangements, once closed partially it is totally closed. What could be the reason for the partial trade not to open after closing partially ?
-
RE: Why is this EA not taking trades when it is supposed toposted in Questions & Answers
@ambrogio Plus I've tried making the trades close partially with no success . Kindly if you can try it out please do as you say maybe it is my platform or historical with issues I don't know.
-
RE: Why is this EA not taking trades when it is supposed toposted in Questions & Answers
@ambrogio Did you use every tick to backtest?
-
RE: Why is this EA not taking trades when it is supposed toposted in Questions & Answers
@youngtreptrader can u create another thread ? someone who can will from there..
-
RE: Why is this EA not taking trades when it is supposed toposted in Questions & Answers
@ambrogio It is just a screenshot , it works well up to a point then stops. Do you have a complete results which I can compare .
-
RE: Why is this EA not taking trades when it is supposed toposted in Questions & Answers
@ambrogio Do you think there may be a bug in the OCO
-
RE: Why is this EA not taking trades when it is supposed toposted in Questions & Answers
@ambrogio Just using the current spreads not fixed
-
RE: Why is this EA not taking trades when it is supposed toposted in Questions & Answers
@ambrogiohttps I have done that still the issue of not deleting some trades is still there. I don't see the bid and ask price as the issue since the two pending order blocks should be opening opposite trades at the same price.https://fxdreema.com/shared/aJc6IRtid

This is from a backtest after changing all open prices to ask. Still as you can see order number 45 wasn't deleted. -
RE: Why is this EA not taking trades when it is supposed toposted in Questions & Answers
@ambrogio Am not using mid price it is changed
-
RE: Why is this EA not taking trades when it is supposed toposted in Questions & Answers
@ambrogio Again if you could, is there a way you can show me how to close partially these trades after 20 pips while maintaining the stop loss level of the parent trade.
-
RE: Why is this EA not taking trades when it is supposed toposted in Questions & Answers
@ambrogio I was using the mid price since each of the two pending orders can open a buy or sell. After changing as said it now takes the trades even if with spreads but sometimes the other order is not cancelled.

For example the orders highlighted above should both be deleted when the sell stop and buy limit orders (86&87) open trades. But order 85 is not deleted and it ends up opening a trade when it should not.https://fxdreema.com/shared/L2dT0Ck4 -
RE: Why is this EA not taking trades when it is supposed toposted in Questions & Answers
@ambrogio Yes that is how it should work. The buy stop order (5) and sell limit order (8) have the same open price at the same time but the sell limit order (8) does not open. Some times the OCO works sometimes it does not. Orders like order number (7) above should have been deleted if only order (8) could have opened. Choosing the OCO order is the whole strategy mechanism but it works flawlessly sometimes only. What could be making it skip some trades?
-
Why is this EA not taking trades when it is supposed toposted in Questions & Answers
Order number 8 should open when order number 5 opens in the backtest result above because they have the same open price and were placed at the same time. It does not open and gets deleted .

This is the same backtest when the EA takes the trades as it should . -
RE: How can the trades in the EA below have common stoploss as the parent trades after closing partiallyposted in Questions & Answers
@jstap The block 5 below should not work like this but as it is it solves my current issue.https://fxdreema.com/shared/UvXXV6X5c
-
RE: How can the trades in the EA below have common stoploss as the parent trades after closing partiallyposted in Questions & Answers
@jstap I've added blocks 9-11 which delete block 1-3 but still it does not close partially. What could be wrong.
-
RE: How can the trades in the EA below have common stoploss as the parent trades after closing partiallyposted in Questions & Answers
@jstap Must we use groups since the full ea has many other trades and orders. Is there another way possible?
-
RE: How can the trades in the EA below have common stoploss as the parent trades after closing partiallyposted in Questions & Answers
@jstap I thought it should open the other trades automatically. But what sort of conditions are these after the close partially block.
-
RE: How can the trades in the EA below have common stoploss as the parent trades after closing partiallyposted in Questions & Answers
@jstap ive removed the stop loss and take profit right now it only closes trades but not opening new ones.https://fxdreema.com/shared/gol6TL8eb