AI Oversold Swing - Screener//@version=5
indicator("AI Oversold Swing - Screener", overlay=false)
// ─────────────────────────
// USER INPUTS
// ─────────────────────────
maxPrice = input.float(75.0, "Max Price ($)")
rsiLen = input.int(14, "RSI Length")
rsiOversold = input.float(35.0, "RSI Oversold Level")
bbLen = input.int(20, "BB Length")
bbMult = input.float(2.0, "BB StdDev")
supportLen = input.int(20, "Support Lookback (days)")
nearSupportPct = input.float(1.5, "Near Support %")
undercutPct = input.float(0.5, "Allowed Undercut %")
atrLen = input.int(14, "ATR Length")
maxATRfromSup = input.float(1.0, "Max ATR From Support")
minDollarVol = input.float(75000000.0, "Min Dollar Volume", step=1000000)
requireTrigger = input.bool(false, "Require Reversal Trigger")
// ─────────────────────────
// DAILY DATA (screener uses indicator outputs)
// ─────────────────────────
dClose = request.security(syminfo.tickerid, "D", close)
dLow = request.security(syminfo.tickerid, "D", low)
dVol = request.security(syminfo.tickerid, "D", volume)
dPrevC = request.security(syminfo.tickerid, "D", close )
// ─────────────────────────
// INDICATORS
// ─────────────────────────
rsi = ta.rsi(dClose, rsiLen)
basis = ta.sma(dClose, bbLen)
dev = bbMult * ta.stdev(dClose, bbLen)
bbLow = basis - dev
atr = request.security(syminfo.tickerid, "D", ta.atr(atrLen))
support = ta.lowest(dLow, supportLen)
distPct = support > 0 ? (dClose - support) / support * 100.0 : na
distATR = atr > 0 ? (dClose - support) / atr : na
dollarVol = dClose * dVol
// ─────────────────────────
// CONDITIONS
// ─────────────────────────
priceOK = dClose > 0 and dClose <= maxPrice
liqOK = dollarVol >= minDollarVol
oversold = (rsi <= rsiOversold) and (dClose <= bbLow)
nearSup =
support > 0 and
dClose <= support * (1 + nearSupportPct / 100.0) and
dClose >= support * (1 - undercutPct / 100.0) and
distATR <= maxATRfromSup
setup = priceOK and liqOK and oversold and nearSup
// Optional reversal confirmation
rsiReversal = ta.crossover(rsi, rsiOversold)
greenCandle = dClose > dPrevC
trigger = rsiReversal or greenCandle
signal = requireTrigger ? (setup and trigger) : setup
// ─────────────────────────
// SCREENER OUTPUTS
// ─────────────────────────
plot(signal ? 1 : 0, title="Signal (1 = YES)")
plot(rsi, title="RSI (Daily)")
plot(distPct, title="Dist to Support % (Daily)")
plot(distATR, title="Dist to Support ATR (Daily)")
plot(dollarVol, title="Dollar Volume (Daily)")
指标和策略
ACHT EMA Cross Pullback Strategy with HTF Filter, RSI SignalsADVANCED INDICATOR FOR TRADING USING EMA CROSS PULLBACK STRATEGY
✨ MAIN FEATURES:
• 📈 Signals on pullback after EMA9/EMA20 crossover
• 🔍 Multi-level signal filtering
• 🕒 Multi-timeframe analysis (HTF filter)
• 🛡️ Trend indicator protection
• 📊 Compact information panel
🎯 MAIN SIGNALS:
1️⃣ EMA CROSS + PULLBACK
• EMA9 crosses EMA20 up/down
• Price pullback to EMA9 after crossover
• EMA200 filter (bullish/bearish trend)
2️⃣ RSI SIGNALS IN HTF ZONES
• RSI crossing its SMA
• Works only in HTF zones
• "First signal only" option in zone
🛡️ INDICATOR FILTERS:
• ✅ SuperTrend - main trend identification
• ✅ MACD - additional trend confirmation
• ✅ RSI - overbought/oversold filter
• ✅ HTF filter - higher timeframe analysis
⚙️ CUSTOMIZATION OPTIONS:
• Adjustable periods for all indicators
• Enable/disable each filter
• RSI level settings
• HTF filter timeframe selection
• Signal visualization options
📱 INFORMATION PANEL:
• Compact table with key metrics
• Status of all filters and indicators
• Visual HTF zone indicators
• Emoji for quick perception
🚨 ALERT SYSTEM:
• Alerts on main signals
• Alerts on HTF zone entry
• Alerts on RSI signals
• Customizable trigger conditions
📈 USAGE RECOMMENDATIONS:
1. Wait for EMA9 and EMA20 crossover
2. Look for price pullback to EMA9
3. Check all filter compliance
4. Ensure HTF zone presence
5. Use RSI signals as supplement
⚠️ RISKS AND LIMITATIONS:
• Indicator doesn't guarantee profit
• Always use stop-losses
• Test strategy on demo account
• Adapt parameters to your trading style
Trader Checklist Panel EditableTrader Checklist Panel — Editable
Trader Checklist Panel is a lightweight visual checklist designed to help traders execute their edge with discipline and consistency.
This indicator provides a clean, non-intrusive panel where you can manually confirm each condition of your trading plan before entering a trade — without coloring the chart background or interfering with price action.
MFI/RSI Divergence Lower하단 지표 구성 및 활용법
MFI (Aqua Line): 거래량이 가중된 자금 흐름입니다. 지지선 근처에서 이 선이 저점을 높이면(다이버전스) 강력한 매수 신호입니다.
RSI (Yellow Line): 가격의 상대적 강도입니다. MFI와 함께 움직임을 비교하여 보조적으로 활용합니다.
리페인팅 방지 핵심: offset=-lb_r 설정을 통해, 지표가 확정되는 시점(피벗 완성 시점)에 정확히 신호가 표시되도록 구현했습니다. 이는 과거 백테스트 결과와 실시간 매매 결과가 일치하도록 보장합니다.
실전 응용
지지/저항 필터: 이 지표 단독으로 사용하기보다, 차트 상의 주요 지지선에 가격이 위치했을 때 발생하는 BULL DIV 신호만 골라 매수하면 승률이 극대화됩니다.
손절/익절 최적화: 현재 1.5% 손절, 3% 익절로 설정되어 있습니다. 종목의 변동성(ATR)에 따라 group_risk에서 수치를 조정하며 최적의 수익 곡선을 찾아보십시오.
//@version=6
strategy("Hybrid MFI/RSI Divergence Lower",
overlay=false, // 하단 지표 설정을 위해 false
initial_capital=10000,
default_qty_type=strategy.percent_of_equity,
default_qty_value=10,
commission_type=strategy.commission.percent,
commission_value=0.05,
slippage=1)
// --- ---
group_date = "1. 백테스트 기간"
start_time = input.time(timestamp("2024-01-01 00:00:00"), "시작일", group=group_date)
end_time = input.time(timestamp("2026-12-31 23:59:59"), "종료일", group=group_date)
within_window() => time >= start_time and time <= end_time
group_osc = "2. 오실레이터 설정"
mfi_len = input.int(14, "MFI 기간", group=group_osc)
rsi_len = input.int(14, "RSI 기간", group=group_osc)
ob_level = input.int(80, "과매수 기준", group=group_osc)
os_level = input.int(20, "과매도 기준", group=group_osc)
group_div = "3. 다이버전스 감도"
lb_l = input.int(5, "피벗 왼쪽 범위", group=group_div)
lb_r = input.int(5, "피벗 오른쪽 범위", group=group_div)
group_risk = "4. 리스크 관리"
tp_pct = input.float(3.0, "익절 (%)", step=0.1, group=group_risk) / 100
sl_pct = input.float(1.5, "손절 (%)", step=0.1, group=group_risk) / 100
// --- ---
mfi_val = ta.mfi(close, mfi_len)
rsi_val = ta.rsi(close, rsi_len)
avg_val = (mfi_val + rsi_val) / 2 // MFI와 RSI의 평균값으로 부드러운 흐름 파악
// --- ---
// 저점 피벗 탐지 (MFI 기준)
pl = ta.pivotlow(mfi_val, lb_l, lb_r)
ph = ta.pivothigh(mfi_val, lb_l, lb_r)
// Bullish Divergence (상승 다이버전스)
var float last_pl_mfi = na
var float last_pl_price = na
bool is_bull_div = false
if not na(pl)
last_pl_mfi := mfi_val
last_pl_price := low
// 이전 저점 탐색
float prev_pl_mfi = ta.valuewhen(not na(pl), mfi_val , 1)
float prev_pl_price = ta.valuewhen(not na(pl), low , 1)
if low < prev_pl_price and mfi_val > prev_pl_mfi
is_bull_div := true
// Bearish Divergence (하락 다이버전스)
var float last_ph_mfi = na
var float last_ph_price = na
bool is_bear_div = false
if not na(ph)
last_ph_mfi := mfi_val
last_ph_price := high
float prev_ph_mfi = ta.valuewhen(not na(ph), mfi_val , 1)
float prev_ph_price = ta.valuewhen(not na(ph), high , 1)
if high > prev_ph_price and mfi_val < prev_ph_mfi
is_bear_div := true
// --- ---
if within_window()
if is_bull_div
strategy.entry("Bull", strategy.long, comment="Bull Div")
if is_bear_div
strategy.entry("Bear", strategy.short, comment="Bear Div")
strategy.exit("ExB", "Bull", limit=strategy.position_avg_price * (1 + tp_pct), stop=strategy.position_avg_price * (1 - sl_pct))
strategy.exit("ExS", "Bear", limit=strategy.position_avg_price * (1 - tp_pct), stop=strategy.position_avg_price * (1 + sl_pct))
// --- ---
// 배경 레이아웃
hline(ob_level, "Overbought", color=color.new(color.red, 50), linestyle=hline.style_dashed)
hline(50, "Middle", color=color.new(color.gray, 70))
hline(os_level, "Oversold", color=color.new(color.green, 50), linestyle=hline.style_dashed)
// 메인 지표 플롯
plot(mfi_val, "MFI (Money Flow)", color=color.new(color.aqua, 0), linewidth=2)
plot(rsi_val, "RSI (Momentum)", color=color.new(color.yellow, 50), linewidth=1)
// 다이버전스 발생 시 하단 지표 영역에 선 그리기
plotshape(is_bull_div ? mfi_val : na, "Bull Div Circle", shape.circle, location.absolute, color.green, size=size.tiny, offset=-lb_r)
plotshape(is_bear_div ? mfi_val : na, "Bear Div Circle", shape.circle, location.absolute, color.red, size=size.tiny, offset=-lb_r)
// 과매수/과매도 배경색
fill(hline(ob_level), hline(100), color.new(color.red, 90))
fill(hline(0), hline(os_level), color.new(color.green, 90))
Accumulation/Distribution Oscillator [MarkitTick]💡 This script presents a statistically normalized evolution of the classic Accumulation/Distribution (A/D) indicator, designed to transform unbounded volume flow into a bounded, actionable oscillator. By integrating Relative Volume (RVOL) weighting and Z-Score standardization, this tool isolates genuine institutional buying and selling pressure from market noise, offering a clear view of volume momentum regimes.
✨ Originality and Utility
The standard Accumulation/Distribution line is a cumulative total of volume flow, which often results in an unbounded line that drifts indefinitely with price trends. This makes it difficult for traders to identify overextended conditions or specific turning points.
This script solves that problem through a three-stage quantitative process:
Smart Volume Weighting: Instead of treating all volume equally, this indicator amplifies the impact of high-volume nodes using a Relative Volume (RVOL) filter. This ensures that significant institutional activity carries more weight than low-liquidity chopping.
Detrending: It subtracts a smoothed average (using ALMA, EMA, or others) from the raw A/D line to create a raw oscillator.
Normalization: Finally, it applies a Z-Score calculation to normalize the data. This bounds the oscillator around a zero mean, allowing for the application of Bollinger Bands to detect statistical extremes (2 or 3 standard deviations).
🔬 Methodology and Concepts
The calculation logic follows a strict quantitative pipeline:
● Money Flow Multiplier (MFM)
The core engine is the classic MFM calculation, which determines the location of the Close relative to the High-Low range. A Close near the High results in +1, while a Close near the Low results in -1.
● Advanced Volume Filtering
Before accumulation, the volume is processed through two filters:
RVOL Multiplier: If the current bar's volume exceeds its simple moving average (`rvol_len`), the volume is multiplied by a user-defined factor (`rvol_mult`). This emphasizes breakout candles.
Candle Strength (Optional): If enabled, weight is increased based on how close the price closes to the absolute high or low, rewarding decisive candle shapes.
● Z-Score Standardization
The script calculates the "Raw Oscillator" by subtracting a moving average (Signal Line) from the cumulative A/D Line. It then calculates the Z-Score of this raw value over a lookback period (`z_len`).
Formula: Z = (Value - Mean) / Standard Deviation
🎨 Visual Guide
The indicator renders a complex data set into an easy-to-read interface:
• The Oscillator (Line & Histogram)
The primary output is the Z-Score value.
Teal Histogram/Line: Represents Bullish momentum (Accumulation). Darker Teal indicates accelerating momentum (`osc > previous`), while lighter Teal indicates decaying momentum.
Red Histogram/Line: Represents Bearish momentum (Distribution). Darker Red indicates accelerating selling pressure, while lighter Red indicates exhaustion.
Gray: If the Trend Filter (200 EMA) or VWAP Filter is enabled and the signal opposes the trend, the histogram turns Gray to indicate a low-probability counter-trend signal.
• Bollinger Bands (Blue Bands)
These bands wrap around the oscillator line.
Upper Band: Usually set to +2 Standard Deviations. When the oscillator pierces this band, accumulation is statistically extreme (potential mean reversion or strong breakout).
Lower Band: Usually set to -2 Standard Deviations. Indicates statistically extreme distribution.
• Divergences
The script automatically detects and plots structural divergences:
Green Lines/Labels: Bullish Divergence. Price makes a Lower Low while the Oscillator makes a Higher Low.
Red Lines/Labels: Bearish Divergence. Price makes a Higher High while the Oscillator makes a Lower High.
• Multi-Timeframe (MTF) Dashboard
Located in the top right, this table displays the momentum status (BULL/BEAR) of the oscillator across three user-defined timeframes (default: 60min, 240min, Daily), allowing for fractal trend analysis.
📖 How to Use
This tool is best used for identifying trend exhaustion and hidden volume strength.
1. Trend Continuation
In a strong uptrend, look for the Histogram to remain Teal and above the Zero line. A pullback to the Zero line that bounces back up suggests buyers are stepping in to defend the trend.
2. Statistical Extremes
When the oscillator line breaks outside the Bollinger Bands, volume flow is significantly deviated from the norm.
If price is ranging, this often signals a reversal (Reversion to Mean).
If price is breaking out, this confirms strong impulse participation.
3. Divergence Reversals
A divergence is a leading signal. If price is pushing new highs but the A/D Oscillator fails to make a new high (Red Divergence Line), it indicates that the volume supporting the move is drying up, often preceding a correction.
⚙️ Inputs and Settings
● Oscillator Settings
Smoothing Type/Length: Choose between ALMA, EMA, SMA, etc., to smooth the A/D line. ALMA is default for its zero-lag properties.
ALMA Offset/Sigma: Fine-tune the responsiveness of the Arnaud Legoux Moving Average.
● Quant Filters
RVOL Lookback & Multiplier: Determines the threshold for "High Volume." Default is 1.5x average volume.
Z-Score Lookback: The period used to establish statistical significance (Default: 100).
Use VWAP/Trend Filter: Logical switches to gray out signals that contradict the macro trend (200 EMA) or the intraday mean (VWAP).
● Dashboard
Customize the three timeframes displayed in the MTF table to match your trading horizon (e.g., Scalpers might use 5m, 15m, 1h).
🔍 Deconstruction of the Underlying Scientific and Academic Framework
This indicator relies on the Law of Supply and Demand quantified through Standard Score (Z-Score) Statistics .
Standard Accumulation/Distribution is derived from the work of Marc Chaikin, positing that the proximity of the close to the high/low on high volume indicates the "smart money" flow. However, raw cumulative data suffers from heteroscedasticity (varying variance).
By applying Z-Score normalization:
Z = (x - μ) / σ
We transform the data into a standard normal distribution. This allows us to apply probability theory to volume analysis. A value of +2.0 is not merely "high"; it represents a volume flow intensity that falls within the top 2.2% of the data set (assuming normal distribution), providing a mathematically robust definition of "Overbought" or "Oversold" volume conditions.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
MFI-RSI Convergence Strategy거래량(Volume)과 가격 모멘텀을 동시에 고려하는 **MFI(Money Flow Index)**는 지지선에서의 '진짜 반등'을 포착하는 데 가장 강력한 도구입니다. 여기에 RSI를 결합하여 모멘텀의 강도까지 확인하는 'Hybrid Volume-Momentum Oscillator' 전략을 작성해 드립니다.
하이브리드 지표의 핵심 메커니즘
MFI(Money Flow Index)의 역할:
MFI는 단순히 가격이 낮아졌는가만 보는 것이 아니라, **'낮은 가격에서 거래량이 터졌는가'**를 계산합니다.
지지선에서 MFI가 20 이하로 떨어진다는 것은 "스마트 머니"가 매집을 준비하는 단계이거나, 투매가 정점에 달해 거래량이 실린 반등이 임박했음을 뜻합니다.
RSI와의 컨버전스(Convergence):
RSI는 가격의 속도를 측정합니다. MFI가 과매도인데 RSI가 아직 높다면, 거래량은 들어오지만 가격의 하락 관성이 여전히 강하다는 뜻입니다.
이 코드의 핵심은 mfi_val <= mfi_low와 rsi_val <= rsi_low가 동시에 만족될 때만 진입하는 것입니다. 이는 거래량 유입 + 하락 관성 둔화가 일치하는 고확률 타점입니다.
리페인팅 차단 및 현실적 시뮬레이션:
ta.mfi와 ta.rsi는 기본적으로 현재 봉의 종가를 기준으로 계산되므로 리페인팅이 발생하지 않습니다.
commission_value=0.05를 통해 거래소 수수료를 반영하여, 잦은 매매로 인한 손실 가능성을 미리 확인할 수 있게 설계했습니다.
//@version=6
strategy("MFI-RSI Convergence Strategy",
overlay=false, // 하단 지표 형태 확인을 위해 false 설정 (차트 위 신호는 별도 plotshape 사용)
initial_capital=10000,
default_qty_type=strategy.percent_of_equity,
default_qty_value=10,
commission_type=strategy.commission.percent,
commission_value=0.05,
slippage=1)
// --- ---
group_date = "1. 백테스트 기간"
start_time = input.time(timestamp("2024-01-01 00:00:00"), "시작일", group=group_date)
end_time = input.time(timestamp("2026-12-31 23:59:59"), "종료일", group=group_date)
within_window() => time >= start_time and time <= end_time
group_mfi = "2. MFI (Volume) 설정"
mfi_length = input.int(14, "MFI 기간", minval=1, group=group_mfi)
mfi_low = input.int(20, "MFI 과매도 (매수세 유입 대기)", group=group_mfi)
mfi_high = input.int(80, "MFI 과매수 (매도세 유입 대기)", group=group_mfi)
group_rsi = "3. RSI (Momentum) 설정"
rsi_length = input.int(14, "RSI 기간", minval=1, group=group_rsi)
rsi_low = input.int(30, "RSI 과매도", group=group_rsi)
rsi_high = input.int(70, "RSI 과매수", group=group_rsi)
group_risk = "4. 리스크 관리"
tp_pct = input.float(3.0, "익절 (%)", step=0.1, group=group_risk) / 100
sl_pct = input.float(1.5, "손절 (%)", step=0.1, group=group_risk) / 100
// --- ---
// MFI (가격 + 거래량 가중)
mfi_val = ta.mfi(close, mfi_length)
// RSI (가격 변동 강도)
rsi_val = ta.rsi(close, rsi_length)
// --- ---
// 매수 조건: MFI와 RSI가 모두 과매도 구간일 때 (강력한 반등 예상 지점)
long_condition = (mfi_val <= mfi_low) and (rsi_val <= rsi_low)
// 매도 조건: MFI와 RSI가 모두 과매수 구간일 때
short_condition = (mfi_val >= mfi_high) and (rsi_val >= rsi_high)
// --- ---
if within_window()
if long_condition
strategy.entry("Long", strategy.long, comment="VLM+MOM Bottom")
if short_condition
strategy.entry("Short", strategy.short, comment="VLM+MOM Top")
// 익절 및 손절 설정
strategy.exit("Ex Long", "Long", limit=strategy.position_avg_price * (1 + tp_pct), stop=strategy.position_avg_price * (1 - sl_pct))
strategy.exit("Ex Short", "Short", limit=strategy.position_avg_price * (1 - tp_pct), stop=strategy.position_avg_price * (1 + sl_pct))
// --- ---
// 배경 가이드라인
hline(mfi_high, "Upper Boundary", color=color.gray, linestyle=hline.style_dashed)
hline(50, "Middle", color=color.new(color.gray, 50))
hline(mfi_low, "Lower Boundary", color=color.gray, linestyle=hline.style_dashed)
// 지표 플롯
plot(mfi_val, "MFI (Volume Flow)", color=color.aqua, linewidth=2)
plot(rsi_val, "RSI (Momentum)", color=color.yellow, linewidth=1)
// 중첩 구간 강조 (Convergence)
fill_color = (mfi_val <= mfi_low and rsi_val <= rsi_low) ? color.new(color.green, 70) :
(mfi_val >= mfi_high and rsi_val >= rsi_high) ? color.new(color.red, 70) : na
bgcolor(fill_color)
// 신호 발생 시 하단에 아이콘 표시
plotshape(long_condition, title="Buy Signal", location=location.bottom, color=color.green, style=shape.triangleup, size=size.small)
plotshape(short_condition, title="Sell Signal", location=location.top, color=color.red, style=shape.triangledown, size=size.small)
RADAR_V67_TESTThis V67 indicator is a comprehensive trend-following strategy designed to filter out market noise and identify high-probability entries in the cryptocurrency market.
The system is built on three major technical pillars:
Hull Moving Average (HMA): Provides superior reactivity to trend reversals compared to standard moving averages.
Supertrend: Acts as a primary trend filter to ensure we only trade in a confirmed bullish environment.
Volume Analysis (POC): The script identifies the Point of Control (POC) to ensure that buy signals occur above institutional congestion zones.
The buy signal (Screener_Signal = 1) is triggered only when the price crosses above the Hull MA while remaining above the Supertrend and the volume POC. This is a robust tool for both swing trading and day trading, focusing on momentum and institutional support.
Le Supertrend : Il sert de filtre de sécurité pour s'assurer que nous sommes dans une dynamique haussière confirmée.
L'analyse du Volume (POC) : Le script identifie le prix où le volume a été le plus important (Point of Control) pour s'assurer que l'achat se fait au-dessus des zones de congestion institutionnelles.
Le signal d'achat (Screener_Signal = 1) est déclenché uniquement lorsque le prix croise la Hull MA à la hausse, tout en restant au-dessus du Supertrend et du POC de volume. C'est un outil robuste pour le swing trading et le day trading.
SelfContained Momentum Screener (TT+Momentum+Vol+VCP)This script is a self-contained Pine Screener indicator that does not rely on indexes or external symbols. It uses Minervini’s Trend Template to confirm a strong uptrend structure, then evaluates mid-term momentum (6–12 months) and short-term momentum (about 1 month). Optional volume spikes and volatility contraction (simple VCP) can be toggled on or off. The screener filters for stocks that have risen strongly, maintain recent momentum, and show tight consolidation near highs, making it suitable for efficiently identifying high-quality momentum candidates.
このスクリプトは、指数や外部データを使わず自己完結で動作するPineスクリーナー用インジケーターです。ミネルビニのTrend Templateで上昇トレンドの構造を確認し、中長期モメンタム(6〜12か月)と短期モメンタム(約1か月)で勢いを判定します。必要に応じて出来高スパイクと高値圏でのボラティリティ収縮(VCP簡易)をON/OFFでき、条件を満たした銘柄のみを抽出します。強く上昇してきており、直近も勢いがあり、かつ高値圏で締まっている銘柄を効率的に見つけるためのスクリーナーです。
Clean SMC: Filtered OB + FVGHow does this indicator work?
Fair Value Gaps (FVG): It identifies price imbalances (gaps between the wick of candle 1 and candle 3). They appear as small, light-colored rectangles.
Order Blocks (OB): It marks "Smart Money" candles that precede a strong impulse. These areas are extended to the right because they often act as future support or resistance.
Signals (BUY/SELL): The indicator displays a signal when it detects a confluence (for example, a bullish OB appearing right after an FVG).
Some friendly trading tips:
Timeframe: This indicator works best on higher timeframes (15m, 1h, 4h) to avoid market "noise."
Confirmation: Don't take a "BUY" signal on its own. Check if the overall trend (on a higher timeframe) is also bullish.
Risk management: Always place your Stop Loss just below the identified Order Block.
Micha Stocks Buyers Breakout RatingMicha Stocks Buyers Breakout Rating (ByBr)
========================================
This indicator is a custom rating system designed to identify high-probability "Buy" setups by analyzing Volume Conviction, Price Action, and Seller Exhaustion. It assigns a rating from 4 to 10 for every valid signal, helping traders filter out weak breakouts and focus on high-conviction moves.
How it Works The script uses a multi-tiered logic system to grade every green candle:
1. Volume Tiers (The Engine)
--Extreme Conviction (Rating 10): Volume is 2.5x higher than the short-term average.
--High Conviction (Rating 7-8): Volume is 1.5x higher than the short-term average.
2. Sustained Accumulation (Rating 5-6) Identifies persistent buying pressure where the last X -----bars (default 5) have all been green/up candles.
--Bonus Points The script awards extra points to the base rating for high-quality candle shapes:
--Strong Close: Price closes in the top 25% of the daily range.
--Hammer Candle: Long lower wick (rejection of lows) with a small body.
3. Seller Exhaustion (The Reversal - Rating 3-4) This logic identifies "dip buys" where sellers have lost control. It requires:
--Downtrend: Price is below the recent high.
--Confirmation: Either a "Volume Washout" (recent panic selling) or a "Supply Dry Up" (volume dropping below average).
How to Use
--------------
Look for Triangles: A triangle appears below the bar when a signal is detected.
Read the Number: The number (4-10) indicates the strength of the signal.
10: Extreme Volume Breakout (highest confidence).
7-8: Strong Volume Breakout.
4: Reversal/Dip Buy opportunity (Seller Exhaustion).
Tooltip: Hover over the label to see exactly which logic triggered the signal (e.g., "Extreme Conviction" vs "Sustained Accumulation").
Settings
----------
Short Lookback: Adjust the sensitivity of the trend detection (Default: 5).
Volume Multipliers: Adjust how strict the volume requirements are for high ratings.
HAP Trend CageHAP Trend Cage – Visual Band & Stochastic Entry System
HAP Trend Cage is a pure visual overlay indicator designed to show when price is trapped inside dynamic bands — and when momentum timing aligns for a potential entry.
This is not Bollinger Bands.
These bands are built to contain price behavior, not volatility expansion.
🔹 What it shows:
Dynamic price bands plotted directly on the chart
Clear visual zones where price is compressed or held
Stochastic (14, 3, 3) used purely for entry timing
Exact candle awareness — you see where and when the signal happens
🔹 How to use:
Follow the bands visually — price inside the cage = structure intact
Wait for Stochastic alignment inside or near band boundaries
Designed for confirmation, not prediction
No clutter, no repainting, no over-signaling
🔹 Why it’s different:
Focuses on market structure first
Momentum is used only as a timing tool
Built for traders who trust price behavior over indicators
This indicator does not tell you to buy or sell.
It shows you where the market is constrained — and lets you decide when to act
Gold Inverse Correlation TrackerGold Inverse Correlation Tracker - Professional Multi-Asset Analysis
What This Indicator Does:
This indicator monitors the real-time correlation between Gold and five key financial assets that historically move inversely (opposite) to gold prices. It displays these relationships across three different timeframes simultaneously, giving you both short-term trading signals and long-term trend confirmation.
The indicator tracks:
US Dollar Index (DXY) - Historical correlation: -0.63
Real Interest Rates (TIPS) - Historical correlation: -0.82 (strongest inverse relationship)
10-Year Treasury Yield - Nominal interest rate proxy
S&P 500 (SPX) - Equity market sentiment (variable correlation)
VIX - Volatility index (optional, flight-to-safety indicator)
Why Inverse Correlations Matter for Gold Trading:
Understanding inverse correlations is critical for gold traders because:
Predictive Power - When assets move opposite to gold consistently, you can use their strength/weakness to predict gold's next move
Hedging Opportunities - Strong inverse correlations let you hedge gold positions by trading the inverse asset
Regime Detection - When correlations break down, it signals a market regime change or increased uncertainty
Confirmation Signals - Multiple strong inverse correlations validate your gold trade thesis
Risk Management - Knowing what moves against gold helps you understand your portfolio's true exposure
The Science Behind the Numbers:
Real interest rates have the strongest inverse correlation to gold (approximately -0.82) because:
Gold pays no yield or dividend
When real rates rise, the opportunity cost of holding gold increases
Investors shift to interest-bearing assets when they offer positive real returns
When real rates go negative, gold becomes relatively more attractive
The US Dollar shows strong inverse correlation (approximately -0.63) because:
Gold is priced in US dollars globally
A stronger dollar makes gold more expensive for foreign buyers, reducing demand
A weaker dollar makes gold cheaper internationally, increasing demand
Both compete as reserve assets and stores of value
Why the Indicator is Weighted This Way:
Three Timeframe Approach:
Short-term (20 periods) - Captures recent correlation shifts for day trading and swing trading
Medium-term (50 periods) - The primary signal - balances noise reduction with responsiveness
Long-term (100 periods) - Confirms structural correlation trends for position trading
Correlation Thresholds:
Strong Inverse (<-0.7) - Statistically significant inverse relationship; highest confidence for inverse trades
Moderate Inverse (<-0.3) - Meaningful inverse relationship; still useful but less reliable
Weak Inverse (<0.0) - Slight inverse tendency; correlation may be breaking down
Positive (>0.0) - Assets moving together; inverse relationship has failed
How to Use This Indicator:
For Inverse Trading Strategies:
When DXY shows RED correlation (<-0.7), consider shorting DXY when gold is strong
When Real Rates show RED correlation, rising rates = falling gold (and vice versa)
When multiple assets show strong inverse correlation, confidence is highest
For Regime Detection:
All RED = Classic gold market behavior; correlations intact
Mixed colors = Transitional market; be cautious
All GREEN/GRAY = Correlation breakdown; paradigm shift occurring
For Hedging:
Use assets with strong inverse correlation to hedge gold positions
When correlation weakens, reduce hedge size
When correlation strengthens, increase hedge effectiveness
Alert System:
The indicator includes built-in alerts for:
Individual assets crossing strong inverse threshold
Multiple assets simultaneously showing strong inverse correlation (highest probability setup)
Correlation breakdowns that may signal regime changes
Color Guide:
RED - Strong inverse correlation (<-0.7) - Best inverse trading opportunity
ORANGE - Moderate inverse (<-0.3) - Useful but less reliable
YELLOW - Weak inverse (<0.0) - Correlation weakening
GRAY - Weak positive (0.0 to 0.7) - Assets moving together
GREEN - Strong positive (>0.7) - Inverse relationship broken
Recommended Settings:
Day Trading (1H-4H charts):
Short: 14 periods
Medium: 30 periods
Long: 60 periods
Swing Trading (Daily charts):
Short: 20 periods (default)
Medium: 50 periods (default)
Long: 100 periods (default)
Position Trading (Weekly charts):
Short: 10 periods
Medium: 20 periods
Long: 50 periods
Pro Tips:
Watch for divergences - when gold moves but correlations don't confirm
Correlation breakdowns often precede major trend reversals
The Medium-term (50p) correlation is plotted on the chart as your primary reference
Use the Status column for quick assessment of each asset's relationship
Set alerts for "Multiple Strong Inverse" to catch highest-probability setups
Important Notes:
This indicator is designed for Gold charts only (XAUUSD, GLD, GC1!, etc.)
Correlations are not static - they change over time based on market conditions
A correlation of -0.82 means 82% of gold's price movements can be explained by real interest rates
Always combine with other technical analysis and fundamental factors
Past correlations do not guarantee future relationships
Based on Research:
The correlation coefficients used in this indicator are based on peer-reviewed research:
Erb & Harvey (1997-2012): Real rates to gold correlation of -0.82
World Gold Council (2024): US Dollar to gold correlation of -0.63
Multiple academic studies confirming gold's inverse relationship with opportunity cost assets
Use this indicator to trade smarter, hedge better, and understand the macro forces driving gold prices.
RSI on 21 MA (Custom)RSI on 21 MA (Custom)
RSI on 21 MA (Custom) is a momentum-based indicator that applies the Relative Strength Index (RSI) to a 21-period Simple Moving Average of price instead of raw price data. This approach helps reduce market noise and provides smoother, more reliable momentum signals.
The indicator first calculates a 21-period SMA of the closing price, then computes RSI on this moving average. A short moving average is further applied to the RSI values for additional smoothing, making trend strength and reversals easier to identify.
🔧 Features
RSI calculated on a 21-period Moving Average
Smoothed RSI for clearer momentum structure
Customizable RSI length, MA length, and smoothing period
Adjustable Overbought & Oversold levels
Useful for trend continuation, reversal spotting, and momentum confirmation
📌 How to Use
RSI staying above mid-range indicates bullish momentum
RSI staying below mid-range indicates bearish momentum
Crosses above the oversold level may signal potential bullish reversal
Crosses below the overbought level may signal potential bearish reversal
Best used with price action, support & resistance, or volume indicators
🎯 Ideal for traders who prefer clean momentum signals with reduced noise, especially in trending markets.
Minervini TT RS Break (vs TOPIX)his script selects “buyable” stocks using Minervini’s Trend Template and filters for market leaders by relative strength versus TOPIX. A BUY signal appears when all TT conditions are met (price above 50/150/200-day MAs, 50>150>200 alignment, rising 200-day MA, +30% from 52-week low, within 25% of 52-week high) and RS is above the threshold, trending up, and making new highs. While BUY is active, an ENTRY signal is shown only when a pivot breakout (above the prior N-day high) occurs with a volume surge (multiple of average volume) and volatility contraction (lower ATR%). An RS BREAK is flagged when relative strength weakens (below its MA or MA turning down), indicating no-add and exit watch. Use BUY to build a watchlist, act only on ENTRY signals, and stop adding while prioritizing exit decisions when RS BREAK appears.
Multi-VWAP Pro (HP) + Alerts - par alphaomega18Multi-VWAP Pro High-Precision (D/W/M) – by alphaomega18
🚀 Overview
Elevate your institutional analysis with the Multi-VWAP Pro High-Precision, a comprehensive tool designed for traders who demand surgical accuracy.
Most standard VWAP indicators lag or shift when changing timeframes. This script solves that by using a 1-minute data polling engine (request.security), ensuring your Daily, Weekly, and Monthly levels remain rock-solid and accurate, whether you are on a 1m, 15m, or 1h chart.
💎 Key Features
High-Precision Engine: Calculation based on 1-minute intraday data for maximum mathematical accuracy.
Multi-Timeframe Anchors: View Daily, Weekly, and Monthly VWAPs simultaneously.
Dynamic Color Logic: The Daily VWAP turns Green when the price is above and Red when below for instant trend bias.
Triple SD Bands: 3 fully customizable Standard Deviation bands for each timeframe to identify exhaustion zones.
Smart Alerts: Fully programmable notifications for price crosses on all levels.
Clean Labels: Real-time labels on the price scale for a professional, organized look.
📈 Trading Strategy: The Power of Confluence
Using three different VWAP anchors allows you to see the market through multiple lenses. Here is how to use this tool:
1. The Institutional Confluence
The strongest setups occur when two or more VWAP lines overlap.
The Setup: If the Daily VWAP clusters with the Weekly VWAP, it creates a "Hard Floor/Ceiling."
The Trade: Look for high-probability bounces in these zones where institutions defend their average price.
2. Mean Reversion with SD3 Bands
The 3rd Standard Deviation (SD3) represents price extremes.
The Trade: When price pierces a Daily SD3, look for a reversal back toward the VWAP (Mean Reversion), especially if it aligns with a Weekly or Monthly SD2 band.
3. Trend Confirmation
Bullish Bias: If the Daily VWAP is Green, prioritize "Buy the Dip" on lower SD bands.
Bearish Bias: If the Daily VWAP is Red, prioritize "Sell the Rip" on upper SD bands.
💡 Pro Tip for my Followers
"Alignment is king. When the Daily, Weekly, and Monthly VWAPs all slope in the same direction, you have a high-conviction trend. Follow me for more high-precision tools and market insights!"
🛠 Settings & Customization
Visibility: Toggle any VWAP or SD band on/off.
Full Color Control: Pick your own colors for Weekly and Monthly lines.
Adjustable Multipliers: Fine-tune the volatility bands (SD1, SD2, SD3) for any asset.
Smart Range ProfilerSmart Market Structure Viewer: Gaps, Swings & Dealing Ranges
Overview
This script is a comprehensive technical analysis viewer designed to provide a clear and objective visualization of market structure. By mapping liquidity gaps, multi-tier swing points, and dynamic dealing ranges, it helps traders identify key institutional levels and price action context without the clutter of predictive signals.
Key Features
1. Gap Analysis (FVG & Breakaway)
The tool identifies and tracks price imbalances to help visualize market inefficiency:
Fair Value Gaps (FVG): Highlights standard price imbalances.
Breakaway Gaps: Specifically marks gaps where the candle close remains outside the previous range, indicating strong directional commitment.
Sophisticated Mitigation: Users can choose how gaps are cleared from the chart (e.g., when price touches, leaves, or completely covers the gap), ensuring only relevant imbalances are displayed.
2. Hierarchical Swing Points
To help distinguish between minor fluctuations and major trend shifts, the viewer categorizes market structure into three hierarchical levels:
Short-Term (ST): Localized swing points identified in relation to gap formations.
Intermediate-Term (IT): Structural points derived from the relationship between short-term swings.
Long-Term (LT): High-level structural points that define the broader market framework.
3. Dynamic Dealing Range & Profiling
The script calculates and projects the current "Dealing Range" based on the selected structural hierarchy (ST, IT, or LT).
Range Geometry: Displays the Range Top, Range Bottom, and the Equilibrium (50%) level.
MTP (Most Traded Price): A volume-based profile indicating the price level with the highest trading activity within the current range.
MTS (Most Time Spent): A time-based profile highlighting the price level where the market spent the most duration.
How to use this Viewer
Structural Context: Use the multi-tier swings to identify the current market phase (Bullish/Bearish) and seniority of the trend.
Imbalance Tracking: Monitor how price interacts with Fair Value and Breakaway gaps to gauge the strength of a move.
Premium vs. Discount: Utilize the Dealing Range Equilibrium in conjunction with MTP/MTS levels to identify where price sits relative to its value distribution.
Monthly Seasonality AnalyzerThis indicator analyzes historical performance/seasonality of a chosen month, from date of inception to present. Users can choose any calendar month via dropdown menu.
For each historical month selected, it will calculate the monthly percentage gain/loss, range(volatility), and average gain/loss percentage, average range percentage across all recorded years. Positive returns are colored green and negative returns are red. Also, calculates if the selected month was bullish(open>close) or bearish.
When current chart month matches the selected month, it shows the in-progress range as well.
Data is collected from 1930 to present. Results are shown in vertical and horizontal tables. If the vertical table exceeds a 36 years, the script automatically switches to horizontal table to display all the data, with option to change table position.
Overall this tool is valuable for seasonality research, such as Santa Rally, May Go Away and swing trading/ position trading to capture the monthly PO3 range.
Most seasonality indicators show all 12 months at once or use daily bars. This one zooms in deeply on one month only, providing detailed per-year breakdowns, accurate completed-month stats, and a practical live range display.
The script uses arrays to store years, gains, and ranges. Uses table.new(), table.cell(), table.merge_cells() for easily readable result display. Code handles the current in-progress month separately (shows live range without including it in historical averages).
**Script will not run on any timeframe other than monthly and displays error otherwise. Script is best used on spot and not futures.
200W SMA Dynamic Extension Bands (MTF, Auto Asset)Summary
200W SMA Dynamic Extension Bands is a multi-timeframe TradingView indicator that plots extension bands (multiples) around the 200-week simple moving average. It’s designed to work on any chart timeframe (1m → 1D → 1W) while anchoring the bands to the latest confirmed weekly data, so the long-term reference is consistent and non-repainting across timeframes.
This is a macro “valuation/temperature gauge” style tool: it helps you quickly see when the price is cheap vs. the 200W mean and when it is extended/expensive.
What it plots
The indicator always computes:
200-week SMA (weekly)
Band m2
Band m3
Band m4
Bands are defined as:
Bandk(t)=SMA200W(t)⋅mk
Where the multipliers mk are chosen automatically depending on the asset type (or manually via input).
Key features
Works on any timeframe: weekly SMA is fetched via request.security(..., "W", ...).
Non-repainting weekly anchor: uses barmerge.lookahead_off to avoid peeking into future weekly bars.
Auto asset presets:
Crypto: wider extensions (bigger cycles)
Gold: moderate extensions
Equities: tighter than crypto
FX: very tight extensions
Futures: moderate fallback
Zone coloring (optional):
Cheap zone (below 1×)
Fair zone (1× → m2)
Hot zone (m2 → m3)
Expensive zone (m3 → m4)
Info table (optional): shows selected preset, current multiple, and % extension vs 200W SMA.
Alerts (optional): “entered cheap” and “entered expensive” style triggers.
Presets (default multipliers)
These are intentionally conservative templates (tune to your market):
Crypto: 1.0,1.5,2.0,3.0
Gold: 1.0,1.2,1.5,2.0
Equities: 1.0,1.15,1.30,1.60
FX: 1.0,1.05,1.10,1.20
Futures: 1.0,1.25,1.50,2.00
Auto mode uses syminfo.type plus a simple heuristic for Gold tickers containing XAU / GOLD (because some platforms classify XAUUSD as forex).
How to use (practical)
Macro context / cycle temperature
Price below 1× (200W SMA): historically “cheap zone” for highly cyclical assets (especially BTC).
Price above m3: often “expensive/extended” and higher risk of mean reversion.
Not a standalone trading system
Use with trend confirmation (market structure), volume, and risk management.
Extensions can persist in strong trends—treat bands as regime context, not precise reversal points.
Settings you can change
SMA Length (Weeks): default 200
Band preset: Auto / Crypto / Gold / Equities / FX / Futures
Toggle:
Zone fills
Info table
Alerts
Included alertconditions:
Cross below 1× (entered cheap zone)
Cross above m3 (entered expensive zone)
High level guideline:
Green Zone: BUY (Below 1.0× - Undervalued)
Yellow Zone: HOLD (1.0× - 1.5× - Fair Value)
Orange Zone: CAUTION (1.5× - 2.0× - Getting Hot)
Red Zone: SELL (2.0× - 3.0× - Overvalued)
Notes / limitations
The “cheap/expensive” zones are heuristics. They do not guarantee future returns.
Auto classification is best-effort; if your symbol is unusual, set the preset manually.
For newly listed assets with limited weekly history, the 200W SMA may be na until enough data exists.
Minervini Trend Template Screener (v5)This script is a screening tool based on Mark Minervini’s “Trend Template.”
It is designed to identify stocks that are in a strong, institutional-quality uptrend.
It checks whether:
Price is above the 50-day, 150-day, and 200-day moving averages
Moving averages are aligned 50 > 150 > 200, with the 200-day MA trending upward
Price is at least 30% above the 52-week low
Price is within 25% of the 52-week high
The stock shows strong relative performance vs a benchmark (e.g., SPY)
Only stocks that pass all conditions are highlighted, helping to focus on
high-quality trend leaders favored by momentum and growth investors.
このスクリプトは、**マーク・ミネルビニの「Trend Template(トレンド・テンプレート)」**に基づいて、
**強い上昇トレンドにある銘柄だけを自動で抽出(スクリーニング)**するためのものです。
主に以下を確認しています:
株価が 50日・150日・200日移動平均線の上 にある
50日 > 150日 > 200日 の並びで、200日線も上向き
株価が 52週安値から30%以上上昇している
株価が 52週高値から25%以内に位置している
ベンチマーク(例:SPY)と比べて 相対的に強い値動きをしている
すべての条件を満たした銘柄にだけシグナルを出し、
**「機関投資家が買いやすい、教科書的な強トレンド銘柄」**を見つける目的のスクリプトです。
Shiva Zone Indicator (True Consolidation Detection)---
# ⭐ **1. Script Title**
**Shiva Zone Indicator — True Consolidation Detection**
This will appear in the indicator marketplace and search.
---
# ⭐ **2. Short Description (shown in search list)**
**Automatically detects true consolidation zones using shrinking-range logic, avoiding oversized ranges and highlighting high-probability breakout zones.**
---
# ⭐ **3. Full Description (for the Publishing Page)**
Copy–paste the entire block below into the “Description” section while publishing:
---
## 🔱 **Shiva Zone Indicator — True Consolidation Detection**
The **Shiva Zone Indicator** identifies true consolidation phases in any market using a powerful shrinking-range algorithm. Instead of relying on fixed ranges or ATR compression alone, this model detects **micro-consolidation** by comparing tightening volatility windows, ensuring only **high-quality, compact zones** are plotted.
Most consolidation indicators produce long, extended boxes.
**Shiva Zone does not.**
It only marks consolidation when price tightens *locally*, making it ideal for breakout traders.
---
## 🔍 **How the Indicator Works**
A *Shiva Zone* is detected when:
* The recent price range is **shrinking** compared to the previous one
* Volatility compresses naturally
* Price stays within a narrow percentage threshold
* Expansion stops the zone (no endless boxes)
This ensures consolidation is identified **precisely where traders need it**, not over hundreds of candles.
When consolidation ends, volatility expansion triggers a zone closure.
Breakouts above or below the box can lead to explosive moves.
---
## ⚡ **Included Alerts**
The indicator includes 4 powerful, actionable alerts:
1. **Shiva Zone Started** – A new consolidation zone is forming
2. **Shiva Zone Ended** – Volatility begins expanding
3. **Bullish Breakout** – Price breaks above the Shiva Zone
4. **Bearish Breakout** – Price breaks below the Shiva Zone
These alerts make it easy to automate breakout entries or monitor compression zones across markets.
---
## 🎯 **Best Use Cases**
* Breakout Trading
* Scalping
* Intraday Structure Trading
* Swing Breakout Analysis
* Compression / Expansion Mapping
* Multi-Timeframe Structure Tracking
Works perfectly on **Forex, Indices, Crypto, Commodities, and Stocks**.
---
## 📌 **Recommended Settings**
* Lookback: **8–20**
* Max % Range: **0.4–0.8**
* Minimum Bars Inside Zone: **4–6**
Shorter settings → more sensitive
Longer settings → stronger zones
---
## 🧠 **Why It's Called “Shiva Zone”**
In market mythology:
* **Brahma** = Creation of momentum
* **Vishnu** = Sustaining the trend
* **Shiva** = Compression before transformation
The **Shiva Zone** is the phase where the market contracts its energy before a structural shift or breakout.
---
## ⚠️ **Disclaimer**
This indicator is for educational purposes only and not financial advice.
Always conduct your own analysis.
---
# ⭐ **4. Suggested Tags**
Use these exact tags on TradingView for best reach:
```
consolidation
price-action
volatility
range
breakout
compression
supply-and-demand
forex
scalping
trend-analysis
```
---
# ⭐ **5. Script Category**
Choose one:
### Recommended:
➡ **Technical Indicators → Volatility**
or
➡ **Technical Indicators → Price Action**
---
# ⭐ **6. Icon / Cover Image Suggestions**
(Create or upload manually — TradingView requires an image)
Theme suggestions:
* Clean minimalistic yellow/orange box with text **“Shiva Zone Indicator”**
* A sample chart screenshot showing a tight consolidation zone
* A symbolic icon of contraction/expansion inspired by Shiva (simple geometry, not religious imagery)
---
# ⭐ **7. Developer Credits (Optional)**
Created by **Dr. Sudhir Khollam**
Astrologer & Market Analyst
Creator of the SALSA© Method
---






















