OPEN-SOURCE SCRIPT
Multi-Timeframe Supertrend Strategy with TP Levels

Multi-Timeframe Supertrend Scaling Strategy
Core Engine: Trend-following using Supertrend indicator across multiple timeframes.
Entry Logic:
Enter long on Supertrend bullish flip (red → green)
Enter short on Supertrend bearish flip (green → red)
Smart Scaling Exits (in order of priority):
3-Tier Take Profit Scaling:
TP1: Close 33% at +1.5% profit
TP2: Close 33% at +3% profit
TP3: Close 34% at +5% profit
(All percentages adjustable)
Trailing Stop: Protects remaining position once activated
Supertrend Flip Exit: Exits any remaining position when trend reverses
Key Features:
Multi-timeframe analysis: Use higher timeframe signals on lower timeframe charts
Confirmation filters: RSI, EMA, ADX (optional)
Profit scaling: Systematic partial exits at predetermined levels
Risk management: Trailing stop activates after price moves in your favor
Direction control: Long/short trades can be toggled independently
In essence: A scaling trend-following strategy that systematically takes profits while letting winners run, using Supertrend as its primary directional engine across timeframes. The 3-tier TP system allows locking in gains at multiple levels while the trailing stop protects capital and captures extended trends.
Core Engine: Trend-following using Supertrend indicator across multiple timeframes.
Entry Logic:
Enter long on Supertrend bullish flip (red → green)
Enter short on Supertrend bearish flip (green → red)
Smart Scaling Exits (in order of priority):
3-Tier Take Profit Scaling:
TP1: Close 33% at +1.5% profit
TP2: Close 33% at +3% profit
TP3: Close 34% at +5% profit
(All percentages adjustable)
Trailing Stop: Protects remaining position once activated
Supertrend Flip Exit: Exits any remaining position when trend reverses
Key Features:
Multi-timeframe analysis: Use higher timeframe signals on lower timeframe charts
Confirmation filters: RSI, EMA, ADX (optional)
Profit scaling: Systematic partial exits at predetermined levels
Risk management: Trailing stop activates after price moves in your favor
Direction control: Long/short trades can be toggled independently
In essence: A scaling trend-following strategy that systematically takes profits while letting winners run, using Supertrend as its primary directional engine across timeframes. The 3-tier TP system allows locking in gains at multiple levels while the trailing stop protects capital and captures extended trends.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.