OPEN-SOURCE SCRIPT
SuperTrade ST1 Strategy

Overview
The SuperTrade ST1 Strategy is a long-only trend-following strategy that combines a Supertrend indicator with a 200-period EMA filter to isolate high-probability bullish trade setups. It is designed to operate in trending markets, using volatility-based exits with a strict 1:4 Risk-to-Reward (R:R) ratio, meaning that each trade targets a profit 4× the size of its predefined risk.
This strategy is ideal for traders looking to align with medium- to long-term trends, while maintaining disciplined risk control and minimal trade frequency.
How It Works
This strategy leverages three key components:
Supertrend Indicator
200-period Exponential Moving Average (EMA) Filter
ATR-Based Stop Loss and Take Profit
Entry Conditions
A long trade is triggered when:
Exit Logic
Once a long position is entered:
Backtest Settings
This strategy is configured for realistic backtesting, including:
These settings aim to simulate real-world conditions and avoid overly optimistic results.
How to Use
Important Notes
The SuperTrade ST1 Strategy is a long-only trend-following strategy that combines a Supertrend indicator with a 200-period EMA filter to isolate high-probability bullish trade setups. It is designed to operate in trending markets, using volatility-based exits with a strict 1:4 Risk-to-Reward (R:R) ratio, meaning that each trade targets a profit 4× the size of its predefined risk.
This strategy is ideal for traders looking to align with medium- to long-term trends, while maintaining disciplined risk control and minimal trade frequency.
How It Works
This strategy leverages three key components:
Supertrend Indicator
- A trend-following indicator based on Average True Range (ATR).
- Identifies bullish/bearish trend direction by plotting a trailing stop line that moves with price volatility.
200-period Exponential Moving Average (EMA) Filter
- Trades are only taken when the price is above the EMA, ensuring participation only during confirmed uptrends.
- Helps filter out counter-trend entries during market pullbacks or ranges.
ATR-Based Stop Loss and Take Profit
- Each trade uses the ATR to calculate volatility-adjusted exit levels.
- Stop Loss: 1× ATR below entry.
- Take Profit: 4× ATR above entry (1:4 R:R).
- This asymmetry ensures that even with a lower win rate, the strategy can remain profitable.
Entry Conditions
A long trade is triggered when:
- Supertrend flips from bearish to bullish (trend reversal).
- Price closes above the Supertrend line.
- Price is above the 200 EMA (bullish market bias).
Exit Logic
Once a long position is entered:
- Stop loss is set 1 ATR below entry.
- Take profit is set 4 ATR above entry.
- The strategy automatically exits the position on either target.
Backtest Settings
This strategy is configured for realistic backtesting, including:
- $10,000 account size
- 2% equity risk per trade
- 0.1% commission
- 1 tick slippage
These settings aim to simulate real-world conditions and avoid overly optimistic results.
How to Use
- Apply the script to any timeframe, though higher timeframes (1H, 4H, Daily) often yield more reliable signals.
- Works best in clearly trending markets (especially in crypto, stocks, indices).
- Can be paired with alerts for live trading or analysis.
Important Notes
- This version is long-only by design. No short positions are executed.
- Ideal for swing traders or position traders seeking asymmetric returns.
- Users can modify the ATR period, Supertrend factor, or EMA filter length based on asset behavior.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
Trade forex, indices, stocks and metals with up to US$100.000 in company's funding.
Complete a challenge to access funding or go for instant deposit.
Trading involves substantial risk. Not financial advice
Complete a challenge to access funding or go for instant deposit.
Trading involves substantial risk. Not financial advice
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
Trade forex, indices, stocks and metals with up to US$100.000 in company's funding.
Complete a challenge to access funding or go for instant deposit.
Trading involves substantial risk. Not financial advice
Complete a challenge to access funding or go for instant deposit.
Trading involves substantial risk. Not financial advice
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.