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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.