Техническое задание
I need an EA, it is for recovery my lose trade. It’s works to any trade in the terminal close with lose money, including manual orders or EA orders, as long the trade are close with lose money, this function will start operate.
The recovery trade has 3 types.
First Type:
- A trade close with lose (signal trade), the recovery trade will open an opposite trade, and use 50% of the signal trade losing pips as SL.
- Start martingale for the First Type. (adjustable)
- The open trade lot size start with the signal trade’s lot size martingale.
- TP = 1:2 ratio (adjustable)
- If the recovery trade is close with lose too, continue open an opposite for the First Type, that mean it open with opposite and martingale, if lose again turn back direction again and again…
- Until the trade close with win trade, then the First Type end.
Second Type:
- After the First Type end, open a trade same direction with the last winning trade of the First Type. That mean continue the winning direction.
- The open trade start with the minimum lot size, 0.01 lot.
- Start martingale for the Second Type. (adjustable)
- TP = 1:1 ratio (adjustable)
- If the trade is close with lose too, continue open an opposite for the Second Type, that mean it open with opposite and martingale, if lose again turn back direction again and again…
- Until the trade close with win trade, then the Second Type end.
- Enable/Unenable (allow me choosing use or not use Second Type).
Third Type:
- After the Second Type end, open a trade same direction with the last winning trade of the Second Type. That mean continue the winning direction.
- The open trade start with the minimum lot size, 0.01 lot.
- Start martingale for the Third Type. (adjustable)
- TP = 1:0.5 ratio (adjustable)
- If the trade is close with lose too, continue open an opposite for the Third Type, that mean it open with opposite and martingale, if lose again turn back direction again and again…
- Until the trade close with win trade, then the Third Type end.
- Enable/Unenable (allow me choosing use or not use Third Type).
Requirement:
- The minimum SL = 10 pips (adjustable)
- Because of martingale, the lot size might be hit the maximum lot size of the brokerage, so when the lot size hit the max lot size, it needs to split to few orders.
· Example:
The brokerage max lot is 50 lot, but martingale goes to 130 lot, so it will become to 2 orders with 50 lot + 1 orders with 30 lot, total is 130 lot.
- 3 types recovery trade, 3 type martingale.
- 3 types recovery trade, 3 type TP ratio.
Setting:
- Martingale
· First Type
· Second Type
· Third Type
- TP Ratio
· First Type
· Second Type
· Third Type
- The minimum SL pips
- Enable/Unenable
· Second Type
· Third type