Termos de Referência
Dear Developer,
4 different conditions to select to place pending order
Previous candle high break buy and low break sell
Previous candle high break sell and low break buy
Previous candle high break sell and low break sell
Previous candle high break buy and low break buy
Target and stoploss – input
(Below L means Loss and W means Win)
Lot increment method
1. Fixed lot size
2. increase 1 lot after 1 loss trade – 1L-2L-3L -4L-5L………
3. increase 1 lot after 2 consecutive losses – 1L-1L-2L-2L-3L-3L-4L-4L………
4. increase 1 lot after 3 consecutive losses – 1L-1L-1L-2L-2L-2L-3L-4L-4L-4L
above both the side highlighted will be custom, we can select 1 or 2 or 3….
Lot decrease method:
1. fixed lot
2. decrease 1 lot after each 1 winning trade like- 1L-2L-3L-4W-3W-2L-3W-2W-1W-1W-1W-1L-2L
3. decrease 1 lot after 2 winning trades after like- 1L-2L-3L-4W-4W-3W-2L-3W-3W-2W-1L-2W
4. start from 1 lot directly after any winning trade like – 1L-2L-3L-4L-5W-1W-1W-1L-2L-3W-1L
here winning trade means the trade wins after loses, trade wins at first order, its not winning trade, then the above method will apply, when initial trade wins we continue with 1 lot only and the above method will start after lose trade only and winning trade after loss trade.
Place pending order once close previous candle,
Pending order also will be modified according to the lot size increment and decrease
Delete opposite order – true/false
Minimum pip size of the candle to take order - input
Magic number
Target and stoploss- input
Close maximum loss and maximum profit of account – input
Start and end time – input
Only one open position at a time.
Only previous candle pending order will be open all the time, before previous candle pending order will be closed when new candle opens.
i have the ea already, i want to maodify according to my above requirnment, i have attached the ea below , you can run and check