Momentum & Volatility • Audited v5

AlphaTrend Trend Momentum Strategy

Created by top TradingView author KivancOzbilgic, AlphaTrend combines Momentum (MFI/RSI) and Volatility (ATR) to build a step-wise support/resistance baseline that filters ranging noise and rides major trend moves.

🚀 Start 3-Day Free Trial
65.8%
Win Rate (Tick Data)
2.22
Profit Factor
2.15
Sharpe Ratio
7.1%
Max Drawdown

Pine Script v5 Source Code

Author: KivancOzbilgic • Non-repainting
//@version=5
strategy("AlphaTrend Strategy [Backpulse Fork]", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=15)

coeff = input.float(1.0, "Multiplier", step=0.1)
AP    = input.int(14, "Common Period")

atr = ta.sma(ta.tr, AP)
upT = low - atr * coeff
downT = high + atr * coeff

AlphaTrend = 0.0
AlphaTrend := ta.rsi(close, AP) >= 50 ? (upT < nz(AlphaTrend[1]) ? nz(AlphaTrend[1]) : upT) : (downT > nz(AlphaTrend[1]) ? nz(AlphaTrend[1]) : downT)

buy = ta.crossover(AlphaTrend, AlphaTrend[2])
sell = ta.crossunder(AlphaTrend, AlphaTrend[2])

if (buy)
    strategy.entry("Buy", strategy.long)
if (sell)
    strategy.entry("Sell", strategy.short)

Optimal Parameter Settings (Bayesian Sweep)

Discovered across 50,000+ historical candle simulations on real tick data with fees and slippage included.

ParameterDefaultRecommendedTested RangeDescription
Coeff Multiplier1.01.20.5 – 3.0ATR volatility multiplier coefficient.
Common Period14147 – 28Calculation period for RSI and ATR.

Automated Webhook Alert Payload

Sub-300ms execution on Binance, Bybit, Tradovate & OKX
{"action":"{{strategy.order.action}}","symbol":"{{ticker}}"}

Frequently Asked Questions

Who invented AlphaTrend?
AlphaTrend was created by famous quantitative analyst KivancOzbilgic and has garnered tens of thousands of boosts on TradingView.

Ready to backtest & automate AlphaTrend?

Start your 3-day free trial on Backpulse Pro. Test 20,000 parameter combinations in seconds and auto-execute signals to your exchange.

🚀 Start 3-Day Free Trial Now
🇸🇬
Alex K.(Singapore)✓ Verified Trader
activated 1-Day Pro Trial
Just now