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.
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.
| Parameter | Default | Recommended | Tested Range | Description |
|---|---|---|---|---|
| Coeff Multiplier | 1.0 | 1.2 | 0.5 – 3.0 | ATR volatility multiplier coefficient. |
| Common Period | 14 | 14 | 7 – 28 | Calculation 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.