OPEN-SOURCE SCRIPT

BTC Breakout Bot (TP/SL + Alerts) ๐Ÿš€

119
This strategy targets Bitcoin (BTC/USDT) breakout trades by detecting price moves beyond recent highs and lows, with built-in risk management and alerts.

How it works:
๐Ÿ“ˆ Long Entry: When price breaks above the highest high of the last N candles (default 20)
๐Ÿ“‰ Short Entry: When price breaks below the lowest low of the last N candles
๐ŸŽฏ Take Profit: Automatically set at a percentage from entry price (default 5%)
โš ๏ธ Stop Loss: Automatically set at a percentage from entry price (default 2%)
๐Ÿ”” Alerts: Triggered on every long and short breakout trade, compatible with Telegram/webhook notifications
Parameters:
โณ Breakout Lookback: Number of candles used to identify breakout levels (default 20)
๐Ÿ’ฐ Take Profit (%): Profit target as % from entry (default 5%)
๐Ÿ›‘ Stop Loss (%): Maximum allowed loss as % from entry (default 2%)

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.