recovery after loss
-
Hi, im trying to add a martingale recovery system to an ea.
I want to add x % of initial position size after a loosing trade on all following orders until the balance is more or equal to the balance before the loosing trade.
I want the ea to only open orders based on the entry conditions, so no grids or opening orders at random places.
The initial lot size is based on percentage of balance/equity, so i cant use the inbuilt martingale function in the "buy/sell now" block
(the idea is to implement this recovery mode on a high win-rate system, but with much larger stops than take-profits)For example:
We set the order size multiplier to 100%
Order 1 opens with 1 standard lot size. The trade hits stop loss at 100 pips from opening price and the account goes down by 1%.
Order 2 opens with 2 standard lots (+ 100% of initial position size) - the trade hits tp at 10 pips from entry price. The account balance is now down by 0.8%
All following orders will open with 2 standard lots (+100% of initial lot size) until balance is recovered .If the ea hits a loosing trade while the lot size was already increased due to a loosing trade, the same rules will apply. If we take the example above. If the ea was in recovery mode and was placing orders with 2 standard lots and hits another stop loss for an order, then the next orders will open with the multiplier (100%) until the balance is break-even or above..
I know its probably a lot to ask for. Dont know if there is an easy way to build this..
Thanks
-
@piptheripper You're right. It's a very ambitious project. Certainly it os not easy to do, or at least it is not fast to do. Do you have any initial project to begin with?
-
同样的问题,我也想这么干,可惜这里没有解决方法
-
I'm afraid we cannot understand you. Could you please try in English? I also speak Catalan and Spanish if that can help.