Martingale after Drawdown %

 

Hello y'll.

By any chance, does anyone here have an EA that increase the lot not after a lose trade, but  after a drawdown% (balance / equity).

Any help would be much appreciated. Thanks in advance.

 
Drake:

Hello y'll.

By any chance, does anyone here have an EA that increase the lot not after a lose trade, but  after a drawdown% (balance / equity).

Any help would be much appreciated. Thanks in advance.

Recommendations about commercial solutions are not allowed in this forum, you should make your own search in the Market.

 
Eleni Anna Branou:

Recommendations about commercial solutions are not allowed in this forum, you should make your own search in the Market.

Hi Eleni.

Thanks for replying.

I'm not looking / recommending a commercial solution.

I already looked into the code base and found nothing similar to what I'm searching.

Let me guess, now is the moment you say "Go to the freelance"...

 
Drake:

Hello y'll.

By any chance, does anyone here have an EA that increase the lot not after a lose trade, but  after a drawdown% (balance / equity).

Any help would be much appreciated. Thanks in advance.

calculate balance and equity value

if(equity == balance/x)
        {
        orderlots*=2;
        OrderModify(); //is not completed
        }