File which allows to calculate the size of the batch at each loss thanks to TP and SL

 

Hello, I'm looking for a file that allows you to calculate the size of the lot after a loss thanks to TP and SL

It's for a martingale strategy

 
Martingale, guaranteed to blow your account eventually. If it's not profitable without, it is definitely not profitable with.
          Martingale vs. Non Martingale (Simplified RoR vs Profit and the Illusions) - MQL5 programming forum
Why it won't work: Calculate Loss from Lot Pips - MQL5 programming forum
Reason: