Zone Recovery...
-
Hello!!!...I'm working on a project...But i need help!, in the aspect of "Zone Recovery"...I need to know how to fix in pending orders from initial open trade in the EA and be able to control the pending orders, like placing an opposite pending order once it gets opened and also deleting all once all trades get closed on an accumulated profit...
-
Anyone???...
-
@ben-romewel Not sure I fully get it. Do you mean programming a pending order BEFORE a previous one was triggered?
-
@l-andorrà i mean placing a pending oder in opposite direction e.g (SELL) when a trade has been opened (BUY) after my indicator conditions have been meet...Then place another pending order(BUY) after the first pending order(SELL) has been been triggered...
-
@ben-romewel Then you need to do this on the 'on chart' tab:

In this example, an open buy will immediately program a pending sell. You nned to add those conditions you need, of course.
-
@l-andorrà that's the on trade tab...
-
@l-andorrà please its not working, the EA places multiple orders...Is there no way u could help me through this project...at least a picture of how i can go about it...I want a zone recovery EA.... i want the initial trade (pip away from pending order) to be 20pips then once order gets triggered EA should place another pending oder 25pips away from triggered order...something like that...
E.G
(1) 1st trade (a buy), 20 pips away EA should place a sell pending order
(2) If sell pending order gets hit, EA should place a buy pending order 25 pips away from order trigger point
(3) if buy pending order gets hit, EA should place a sell pending order 25 pips away from order trigger point...
(4) And so on...(5) till it gets to an accumulated profit and all trade should close and all pending order not triggered deleted!....
The only trade that should have a different pips away (pending order placement) should be the initial position...
Thats what im trying to do... -
@l-andorrà???
-
@ben-romewel Can you share your project so we can have a starting point?
-
-
What's your entry criteria? Your two conditions for buy make no sense.
-
@tpt it does to me...i need it to open after the close of a 1min candlestick...and also my account to be less than a certain amount before trades coud be placed so i could manage my money...its kind of a hedging and range recovery EA so i really do not need to rely on an indicator for my oder placement...
-
@tpt also, the hedging part of the EA works perfectly well it's just the pending orders placement(range recovery) im having an issue with...
-
@ben-romewel You can use Check Positions & Orders Count Blocks to place zone-recovery pending orders.
For example:
If Check Positions == 1 (Buy)
If Check Pending Orders == 0
Place Sell Pending OrderIf Check Positions == 2 (Buy and Sell)
If Check Pending Orders == 0
Place Buy Pending Orderand so on...
-
@tpt sounds like a nice approach...
https://fxdreema.com/shared/MVwPiFQ5d
This was what i came up with...but i need a continuous something...I need the EA to keep placing more orders in that manner every time an orders gets triggered
Only the first pending order should be different pips away...the rest should be d same -
@tpt ????
-
I think you can use some variables to count each execution of your trees. At the end of the execution, add '+1' or '+2' to keep your numbers in the variable odd or even.
Here's an example on how to count things: http://fxdreema.com/forum/topic/11152/count-objects-on-chart/4