search codbase. there are several free indicators and eas that do that.
First you need to calculate the Breakeven price:
BE price = (price1*lot1 + price2*lot2 + ....) / (lot1 + lot2 + ....)
Add the TP to BE for Buy martingale or deduct the TP from the BE for Sell martingale.
Martingale is not a strategy. It's a betting system.
Hedging, grid trading, same as Martingale.
Martingale, Hedging and Grid : MHG - General - MQL5 programming forum (2016)
Martingale, guaranteed to blow your account eventually. If your strategy is not profitable without, it is definitely not profitable with.
Martingale vs. Non Martingale (Simplified RoR vs Profit and the Illusions) - MQL5 programming forum (2015)
Why it won't work:
Calculate Loss from Lot Pips - MQL5 programming forum (2017)
THIS Trading Strategy is a LIE... I took 100,000 TRADES with the Martingale Strategy - YouTube (2020)
Does a safe Martingale exist ? - Trading Systems - MQL5 programming forum (2010)

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi, sorry I need a courtesy. I need to find the TP scripts for pending orders in martingale. The TP equal to all orders that is recalculated when a new operation is opened based on the lot, drag and reposition the TP. If you can direct me. Thank you for your attention