This is an improved version of previous Martingale strategy . We have fixed the Stop Loss function to be able to calculate drawdown of cumulative all positions. Normally we do not use SL for BTC/USD trading, but for Altcoins, we strongly advise to use SL function. This pine script is actually meant for Strategy Backtester , although you can use it with API bot + tradeadapter . Once you get the best setting, apply it into Binance , Kucoin, or Bitget bot. Personally, i find Kucoin has the most user friendly bot. However, u can find the best Spot Martingale bots selection in BitGet . Strategy Description: It places BUY order and double down (according to the multiplier) when the price got lower. TP and SL as per your setting. This strategy works best during bearish period with recovery pattern. Recommended Setting: Pair: BTCUSDT (Binance/Kucoin/Bitget) Time frame: 5min *At the moment, I am using TradingView Premium version, so TF5min will automatically give ...