Market leaders in any targeted sector are this scanner function. Most retail traders have no idea how to gather and sort through all the different stocks to find the most active one(s) with early volume accumulation, rotation energy and capital deployment cycles.
Save one scanner for 15 minute, and one for 1 hr.
Save one scanner for 15 minute, and one for 1 hr.
Code:
# =========================
# CARBON STATION SCAN ELITE
# AdeodatusTravalLink Series 4/2026
# =========================
# ---------- SECTOR DOMINANCE ----------
def xle = close("XLE");
def spy = close("SPY");
def sectorRS = xle / spy;
def sectorHot = sectorRS > Average(sectorRS, 20);
# ---------- INTERNAL ROTATION ----------
def stockRS = close / xle;
def leader = stockRS > Average(stockRS, 20);
# ---------- ACCUMULATION (SMART MONEY PROXY) ----------
def upVol = if close > close[1] then volume else 0;
def downVol = if close < close[1] then volume else 0;
def accDist = Sum(upVol - downVol, 20);
def accumulation = accDist > 0;
# ---------- ZANGER-STYLE VOLUME EXPANSION ----------
def volAvg = Average(volume, 30);
def zvr = volume / volAvg;
def volumeIgnition = zvr > 1.5;
# ---------- RANGE EXPANSION ----------
def tr = TrueRange(high, close, low);
def trAvg = Average(tr, 14);
def expansion = tr > trAvg * 1.2;
# ---------- EARLY TREND (NOT EXTENDED) ----------
def trend = close > Average(close, 20);
def notExtended = close < Average(close, 50) * 1.12;
# ---------- MOMENTUM WINDOW ----------
def rsi = RSI(14);
def momentum = rsi > 50 and rsi < 70;
# ---------- LIQUIDITY ----------
def priceOK = close > 10;
# ---------- IGNITION SCORE ----------
def score =
(if sectorHot then 1 else 0) +
(if leader then 1 else 0) +
(if accumulation then 1 else 0) +
(if volumeIgnition then 1 else 0) +
(if expansion then 1 else 0) +
(if trend then 1 else 0);
# ---------- FINAL SCAN ----------
plot scan =
score >= 4 and
momentum and
notExtended and
priceOK;
Last edited by a moderator: