Termos de Referência
Grid Duplicator EA, adds pending and open position to all positions and re-opens them on take profit.
Grid trader will set take profit of all pending orders to nearest Take profit level; if not to the nearest pending order in basket as the Take profit level. Once grid order is open and hits take profit it will open up another position right after at the same level as the original trade. So for every Position in a basket the grid duplicator will mimic it on another Magic number with the first order in the grid at the original TP but the rest will be at the next order price. Lot size will always mimic the original trade. Copies ALL Stop Loss and TAKE PROFIT automatically.
Inputs
trade magic number
order comment
1. look at example I corrected it
A)Original EA will start a grid at price 83.7xx with TP 89.9xx and trade duplicator will open same trade with same TP
B) if price stays above 83.7xx with one grid position open from Original EA there should should only be one duplicate EA position and they will close at the same time when it hits 89.9xx
C) If price drops down to 82.7xx the original EA will open up another position aswell as the Duplicator EA. The duplicator will set its TP at 83.7xx ( same price as the first position). The first Duplicated position will keep the same TP as the Original EA.
D) When price goes back up and hits 83.7xx the 2nd duplicated position will close and reopening a pending order at 82.7xx with the TP set to 83.7xx.
Example
Original positions grid from another EA
@ opened buy EURUSD 83.7xx TP 89.9xx
@ Pending EURUSD 82.7xx TP 89.9xx
Grid positions duplicator
@ opened buy EURUSD 83.7xx TP 89.9xx
@ Pending EURUSD 82.7xx TP 83.7xx
E) This process will continue to repeat itself so if the grid is stuck it in a range it can constantly generate profit within its own grid. So every duplicated position after the first position will set a TP at the nearest trade price from the original in that grid.
Price drops below 81 and triggers all pending trades then moves up to 82.9xx closes one order from grid duplicator in profit past the second pending trade then opens a pending buy position once more.
Original positions
@ opened buy EURUSD 83.7xx TP 89.9xx
@ opened buy EURUSD 82.7xx TP 89.9xx
@ opened buy EURUSD 81.7xx TP 89.9xx
Grid positions duplicator
@ opened buy EURUSD 83.7xx TP 89.9xx
@ opened buy EURUSD 82.7xx TP 83.7xx
@ Pending EURUSD 81.7xx TP 82.7xx
D) When price goes back up and hits 83.7xx the 2nd duplicated position will close and reopening a pending order at 82.7xx with the TP set to 83.7xx.
Example
Original positions grid from another EA
@ opened buy EURUSD 83.7xx TP 89.9xx
@ opened EURUSD 82.7xx TP 89.9xx ** correction again sorry for making this confusing
Grid positions duplicator
@ opened buy EURUSD 83.7xx TP 89.9xx
@ Pending EURUSD 82.7xx TP 83.7xx