Vegas Triple Tunnel (CGYJ Pro)维加斯三通道(Vegas Tunnel)
指标简介
维加斯三通道是由职业交易员Vegas开发的经典趋势跟踪系统,通过三组EMA均线构建短期、中期、长期三层通道,帮助交易者识别趋势方向和最佳入场时机。
通道结构
通道均线用途短期EMA 21 / 26短线趋势、快速入场中期EMA 144 / 169核心趋势判断、标准入场长期EMA 576 / 676大趋势方向、重要支撑阻力
使用方法
多头排列:短期通道 > 中期通道 > 长期通道,逢回调做多
空头排列:短期通道 < 中期通道 < 长期通道,逢反弹做空
回调入场:价格回踩通道后反弹是最佳入场点
适用范围
适用于所有品种和周期,H1、H4、日线效果最佳。
Vegas Triple Tunnel
Overview
The Vegas Triple Tunnel is a classic trend-following system developed by professional trader Vegas. It uses three pairs of EMA lines to construct short-term, medium-term, and long-term channels, helping traders identify trend direction and optimal entry points.
Channel Structure
Short-term Channel: EMA 21 / 26 - For quick trend identification and short-term entries
Medium-term Channel: EMA 144 / 169 - Core trend judgment and standard entries
Long-term Channel: EMA 576 / 676 - Major trend direction and key support/resistance levels
How to Use
Bullish Alignment: Short > Medium > Long channel, look for pullback entries to go long
Bearish Alignment: Short < Medium < Long channel, look for bounce entries to go short
Best Entry: Price pullback to channel and bounce provides optimal entry opportunities
Applicable Markets
Works on all instruments and timeframes. Best results on H1, H4, and Daily charts.
อินดิเคเตอร์และกลยุทธ์
Friendly Stretch Band Regime + Filters (Close Confirm + Hold)What it is
A calm, regime-based stretch band that highlights only three states: BUY zone, SELL zone, and Neutral. Designed to reduce noise and visual overload by avoiding markers, labels, and background tint.
How it works
Bands are built from an EMA basis ± ATR.
BUY Zone: price below lower band (lower band turns green)
SELL Zone: price above upper band (upper band turns red)
Neutral: price inside bands (bands grey)
Stability Options
Confirm on Close: requires CLOSE beyond the band (reduces wick spikes)
Hold Bars: holds zone state for N bars after the trigger ends (reduces flicker)
Optional Filters (applied only if enabled)
Trend filter (basis slope or slow EMA)
ATR expansion gate
Minimum exceed beyond band (ATR units)
Suggested Use
Best used as a clean “location/context” tool on swing timeframes (e.g., 4H). It can be paired with a separate momentum/confirmation tool.
Repainting & Disclaimer
Uses only current and historical bar data (no security() calls). Values may update on the realtime bar before close. Educational use only; not financial advice.
Ker 2021 EMA/SMA這個腳本主要是EMA/SMA的基礎
加上可調動範圍
數字可以調動
但是因為我不是coding人員
所以有些欄位編排不正確
但是使用上沒有什麼問題
如果你有coding的能力
可以聯絡我 幫我補正 謝謝
This script is mainly based on EMA/SMA, with adjustable ranges and parameters.
The values can be modified freely.
Since I’m not a programmer, some of the field formatting may not be perfectly structured.
However, it works fine in actual use.
If you have coding experience and would like to help improve or clean up the code, feel free to contact me. Thank you.
Daily Returns Analysis: N vs M
This script displays the moving average of the percentage difference in price over n vs. m periods.
Note: This is a daily average.
Break asian range break alerts
- stratégie break ou réintégration possible avec alertes intégrées .
asian range break
Multi-MA Crossover Alert by Funded RelayMulti-MA Crossover Alert is a simple yet powerful trend-following indicator that combines three moving averages to help identify trend direction and potential reversal points.
What it shows:
• Fast SMA (default 20 periods) – reacts quickly to price changes
• Medium EMA (default 50 periods) – smoother medium-term trend
• Slow SMA (default 200 periods) – long-term trend reference (often called the "death/golden cross" level)
Features:
• Dynamic coloring: Lines turn green when above the slow SMA (bullish bias) or red when below (bearish bias). The slow SMA stays gray for clear reference.
• Background tint: Light green/red background highlights the overall trend based on Fast SMA vs Slow SMA.
• Crossover alerts: Triggers notifications when the Medium EMA crosses above/below the Slow SMA (classic trend change signal).
How to interpret the signals:
• Bullish trend: Fast and Medium lines are green and above the Slow SMA → price is in an uptrend. Look for buying opportunities on pullbacks.
• Bearish trend: Fast and Medium lines are red and below the Slow SMA → price is in a downtrend. Look for selling/short opportunities on rallies.
• Bullish crossover (alert): Medium EMA crosses ABOVE Slow SMA → potential start of stronger uptrend or reversal from downtrend.
• Bearish crossover (alert): Medium EMA crosses BELOW Slow SMA → potential start of stronger downtrend or reversal from uptrend.
How to use it correctly:
1. Add the indicator to your chart via "Indicators" → Community Scripts.
2. Adjust the input lengths to match your timeframe and style:
- Shorter periods (e.g. 10/30/100) → better for intraday / scalping
- Longer periods (e.g. 50/100/200) → better for swing / position trading
3. Enable "Enable Crossover Alerts" if you want TradingView notifications (set alerts via the alert menu: condition = "alert() function calls only").
4. Use in combination with:
- Support/resistance levels
- Volume confirmation
- Other indicators (RSI for overbought/oversold, candlestick patterns)
5. Best on higher timeframes (1H, 4H, Daily) to reduce noise. On very low timeframes, false signals increase — always confirm with price action.
Important notes:
• This is NOT a standalone "buy/sell" system — no indicator is 100% accurate. Always use risk management (stop-loss, position sizing).
• Backtest on your assets/timeframes before live trading.
• Works on all markets: stocks, forex, crypto, futures, etc.
Open-source and free — feel free to modify and improve!
Happy trading!
SolQuant WatermarkSOLQUANT WATERMARK
The SolQuant Watermark is a professional-grade utility script designed for traders, educators, and content creators who want to keep their charts organized and branded. By utilizing Pine Script’s table functions, this indicator ensures your custom text and symbol data stay pinned to the screen, regardless of where you scroll on the price action.
KEY FEATURES
Customizable Branding: Display your community name, website, or social handles anywhere on the chart.
Automated Symbol Data: Dynamic tracking of the current Asset, Timeframe, and Date—perfect for keeping screenshots contextually accurate.
Precision Placement: Choose from 9 different anchor points (Top-Left, Bottom-Right, etc.) to ensure the UI never interferes with your technical analysis.
Visual Scaling: 5 different size settings (Tiny to Huge) to accommodate high-resolution displays or mobile viewing.
Aesthetic Control: Fully adjustable color palettes, background transparency, and border toggles.
WHY USE A TABLE-BASED WATERMARK?
Unlike standard chart labels which are tied to specific price/time coordinates, this tool uses the Table API . This means:
The watermark stays in place while you scroll through history.
It doesn't disappear when you "hide" other drawing tools.
It scales consistently across different devices.
INSTRUCTIONS
1. Branding: Open settings and type your link or handle into the "Quote Text" area.
2. Symbol Info: Toggle the "Symbol Info" section to automatically display asset names and dates for your records.
3. Layout: Use the X and Y position dropdowns to move the modules if they overlap with your current price action or other indicators.
Note: This is a visual utility tool only. It does not provide trade signals or financial advice.
SessionsBuilt to display useful time sessions, mostly Frankfort and NY.
It also display the Asian range and fractal bars.
All three sub indicators are toggable separatly.
Works best for french trades as it's how it's been coded for.
If you want adapt it to your timezone, edit the "Fuseau horaire" option to match yours.
I intend to add another big indicator to make a cool package in the future.
I will soon try to make everything editable so you can chose what you can display (dont ask for when)
This is a full vibe coded script, feel free to fork it and edit it to your convenience as long as you credit me and share me yours so we can see what can be improved.
Enjoy :)
Multi-Timeframe EMA LevelsThis indicator will plot 2 different EMA's from 4 different timeframes on your chart. It displays as horizontal dotted lines so does not clutter your chart with loads of MA's. The lines are labeled with timeframe, EMA length and the level value. Levels update in real time.
If you are trading key levels or ma's this plots everything for you on one single chart.
12H Fib MidpointsPrints the .5 fib retrace for final trading levels on the 1 minute chart.
Background process is exactly how its done in the video EverEvolving365 shared
Custom 4 EMA [TickDaddy]Custom 4 EMA
Hey everyone! I put together this EMA indicator because I wanted more flexibility than what's built into TradingView. Figured I'd share it in case anyone else finds it useful.
What it does:
Customizable EMA Periods
Change all 4 EMAs to whatever periods you want (I default them to 20/50/100/200 but you do you)
Not stuck with preset values - make it work for your strategy
Toggle EMAs On/Off
Each EMA has its own checkbox
Super handy when you want to hide one without losing your settings
Multi-Timeframe EMAs
This is the big one - you can view higher timeframe EMAs on your current chart
Like if you're day trading on a 15-min chart but want to see where the daily EMAs are
Works with any timeframe: Daily, Weekly, 4-Hour, whatever you need
Helps you respect the bigger picture while trading lower timeframes
Smooth Lines on Multi-Timeframe
Got rid of that annoying zigzag effect when using higher timeframes
You can adjust how smooth you want them (or turn it off)
Clean Setup
All the style stuff (colors, thickness, line style) is in the Style tab where it should be
Input settings are organized and not cluttered
Built this with Pine Script v6. Hope it helps with your trading!
Sonic R 89 - NY buy LionLee 079 228 1999//@version=5
indicator("Sonic R 89 - NY SL Custom Fixed", overlay=true, max_lines_count=500)
// --- 0. TÙY CHỈNH THÔNG SỐ ---
group_session = "Cài đặt Phiên Giao Dịch (Giờ New York)"
use_session = input.bool(true, "Chỉ giao dịch theo khung giờ", group=group_session)
session_time = input.session("0800-1200", "Khung giờ NY 1", group=group_session)
session_time2 = input.session("1300-1700", "Khung giờ NY 2", group=group_session)
max_trades_per_session = input.int(1, "Số lệnh tối đa/mỗi khung giờ", minval=1, group=group_session)
group_risk = "Quản lý Rủi ro (Dashboard)"
risk_usd = input.float(100.0, "Số tiền rủi ro mỗi lệnh ($)", minval=1.0, group=group_risk)
group_sl_custom = "Cấu hình Stop Loss (SL)"
sl_mode = input.string("Dragon", "Chế độ SL", options= , group=group_sl_custom)
lookback_x = input.int(5, "Số nến (X) cho Swing SL", minval=1, group=group_sl_custom)
group_htf = "Lọc Đa khung thời gian (MTF)"
htf_res = input.timeframe("30", "Chọn khung HTF", group=group_htf)
group_sonic = "Cấu hình Sonic R"
vol_mult = input.float(1.5, "Đột biến Volume", minval=1.0)
max_waves = input.int(4, "Ưu tiên n nhịp đầu", minval=1)
trade_cd = input.int(5, "Khoảng cách lệnh (nến)", minval=1)
group_tp = "Quản lý SL/TP & Dòng kẻ"
rr_tp1 = input.float(1.0, "TP1 (RR)", step=0.1)
rr_tp2 = input.float(2.0, "TP2 (RR)", step=0.1)
rr_tp3 = input.float(3.0, "TP3 (RR)", step=0.1)
rr_tp4 = input.float(4.0, "TP4 (RR)", step=0.1)
line_len = input.int(15, "Chiều dài dòng kẻ", minval=1)
// --- 1. KIỂM TRA PHIÊN & HTF ---
is_in_sess1 = not na(time(timeframe.period, session_time, "America/New_York"))
is_in_sess2 = not na(time(timeframe.period, session_time2, "America/New_York"))
is_in_session = use_session ? (is_in_sess1 or is_in_sess2) : true
var int trades_count = 0
is_new_session = is_in_session and not is_in_session
if is_new_session
trades_count := 0
htf_open = request.security(syminfo.tickerid, htf_res, open, lookahead=barmerge.lookahead_on)
htf_close = request.security(syminfo.tickerid, htf_res, close, lookahead=barmerge.lookahead_on)
is_htf_trend = htf_close >= htf_open ? 1 : -1
// --- 2. TÍNH TOÁN CHỈ BÁO ---
ema89 = ta.ema(close, 89)
ema34H = ta.ema(high, 34)
ema34L = ta.ema(low, 34)
atr = ta.atr(14)
avgVol = ta.sma(volume, 20)
slope89 = (ema89 - ema89 ) / atr
hasSlope = math.abs(slope89) > 0.12
isSqueezed = math.abs(ta.ema(close, 34) - ema89) < (atr * 0.5)
var int waveCount = 0
if not hasSlope
waveCount := 0
newWave = hasSlope and ((low <= ema34H and close > ema34H) or (high >= ema34L and close < ema34L))
if newWave and not newWave
waveCount := waveCount + 1
// --- 3. LOGIC VÀO LỆNH ---
isMarubozu = math.abs(close - open) / (high - low) > 0.8
highVol = volume > avgVol * vol_mult
buyCondition = is_in_session and (trades_count < max_trades_per_session) and waveCount <= max_waves and is_htf_trend == 1 and
(isMarubozu or highVol) and close > ema34H and low >= ema89 and
(slope89 > 0.1 or isSqueezed ) and close > open
sellCondition = is_in_session and (trades_count < max_trades_per_session) and waveCount <= max_waves and is_htf_trend == -1 and
(isMarubozu or highVol) and close < ema34L and high <= ema89 and
(slope89 < -0.1 or isSqueezed ) and close < open
// --- 4. QUẢN LÝ LỆNH ---
var float last_entry = na
var float last_sl = na
var float last_tp1 = na
var float last_tp2 = na
var float last_tp3 = na
var float last_tp4 = na
var string last_type = "NONE"
var int lastBar = 0
trigger_buy = buyCondition and (bar_index - lastBar > trade_cd)
trigger_sell = sellCondition and (bar_index - lastBar > trade_cd)
// --- 5. TÍNH TOÁN SL & LOT SIZE ---
float contract_size = 1.0
if str.contains(syminfo.ticker, "XAU") or str.contains(syminfo.ticker, "GOLD")
contract_size := 100
// Logic tính SL linh hoạt
float swing_low = ta.lowest(low, lookback_x)
float swing_high = ta.highest(high, lookback_x)
float temp_sl_calc = na
if trigger_buy
temp_sl_calc := (sl_mode == "Dragon") ? ema34L : swing_low
if trigger_sell
temp_sl_calc := (sl_mode == "Dragon") ? ema34H : swing_high
float sl_dist_calc = math.abs(close - temp_sl_calc)
float calc_lots = (sl_dist_calc > 0) ? (risk_usd / (sl_dist_calc * contract_size)) : 0
if (trigger_buy or trigger_sell)
trades_count := trades_count + 1
lastBar := bar_index
last_type := trigger_buy ? "BUY" : "SELL"
last_entry := close
last_sl := temp_sl_calc
float riskAmt = math.abs(last_entry - last_sl)
last_tp1 := trigger_buy ? last_entry + (riskAmt * rr_tp1) : last_entry - (riskAmt * rr_tp1)
last_tp2 := trigger_buy ? last_entry + (riskAmt * rr_tp2) : last_entry - (riskAmt * rr_tp2)
last_tp3 := trigger_buy ? last_entry + (riskAmt * rr_tp3) : last_entry - (riskAmt * rr_tp3)
last_tp4 := trigger_buy ? last_entry + (riskAmt * rr_tp4) : last_entry - (riskAmt * rr_tp4)
// Vẽ dòng kẻ
line.new(bar_index, last_entry, bar_index + line_len, last_entry, color=color.new(color.gray, 50), width=2)
line.new(bar_index, last_sl, bar_index + line_len, last_sl, color=color.red, width=2, style=line.style_dashed)
line.new(bar_index, last_tp1, bar_index + line_len, last_tp1, color=color.green, width=1)
line.new(bar_index, last_tp2, bar_index + line_len, last_tp2, color=color.lime, width=1)
line.new(bar_index, last_tp3, bar_index + line_len, last_tp3, color=color.aqua, width=1)
line.new(bar_index, last_tp4, bar_index + line_len, last_tp4, color=color.blue, width=2)
// KÍCH HOẠT ALERT()
string alert_msg = (trigger_buy ? "BUY " : "SELL ") + syminfo.ticker + " at " + str.tostring(close) + " | SL Mode: " + sl_mode + " | Lot: " + str.tostring(calc_lots, "#.##") + " | SL: " + str.tostring(last_sl, format.mintick)
alert(alert_msg, alert.freq_once_per_bar_close)
// --- 6. CẢNH BÁO CỐ ĐỊNH ---
alertcondition(trigger_buy, title="Sonic R BUY Alert", message="Sonic R BUY Signal Detected")
alertcondition(trigger_sell, title="Sonic R SELL Alert", message="Sonic R SELL Signal Detected")
// --- 7. DASHBOARD & PLOT ---
var table sonic_table = table.new(position.top_right, 2, 10, bgcolor=color.new(color.black, 70), border_width=1, border_color=color.gray)
if barstate.islast
table.cell(sonic_table, 0, 0, "NY SESSION", text_color=color.white), table.cell(sonic_table, 1, 0, last_type, text_color=(last_type == "BUY" ? color.lime : color.red))
table.cell(sonic_table, 0, 1, "SL Mode:", text_color=color.white), table.cell(sonic_table, 1, 1, sl_mode, text_color=color.orange)
table.cell(sonic_table, 0, 2, "Trades this Sess:", text_color=color.white), table.cell(sonic_table, 1, 2, str.tostring(trades_count) + "/" + str.tostring(max_trades_per_session), text_color=color.yellow)
table.cell(sonic_table, 0, 3, "LOT SIZE:", text_color=color.orange), table.cell(sonic_table, 1, 3, str.tostring(calc_lots, "#.##"), text_color=color.orange)
table.cell(sonic_table, 0, 4, "Entry:", text_color=color.white), table.cell(sonic_table, 1, 4, str.tostring(last_entry, format.mintick), text_color=color.yellow)
table.cell(sonic_table, 0, 5, "SL:", text_color=color.white), table.cell(sonic_table, 1, 5, str.tostring(last_sl, format.mintick), text_color=color.red)
table.cell(sonic_table, 0, 6, "TP1:", text_color=color.gray), table.cell(sonic_table, 1, 6, str.tostring(last_tp1, format.mintick), text_color=color.green)
table.cell(sonic_table, 0, 7, "TP2:", text_color=color.gray), table.cell(sonic_table, 1, 7, str.tostring(last_tp2, format.mintick), text_color=color.lime)
table.cell(sonic_table, 0, 8, "TP3:", text_color=color.gray), table.cell(sonic_table, 1, 8, str.tostring(last_tp3, format.mintick), text_color=color.aqua)
table.cell(sonic_table, 0, 9, "TP4:", text_color=color.gray), table.cell(sonic_table, 1, 9, str.tostring(last_tp4, format.mintick), text_color=color.blue)
plot(ema89, color=slope89 > 0.1 ? color.lime : slope89 < -0.1 ? color.red : color.gray, linewidth=2)
p_high = plot(ema34H, color=color.new(color.blue, 80))
p_low = plot(ema34L, color=color.new(color.blue, 80))
fill(p_high, p_low, color=color.new(color.blue, 96))
plotshape(trigger_buy, "BUY", shape.triangleup, location.belowbar, color=color.green, size=size.small)
plotshape(trigger_sell, "SELL", shape.triangledown, location.abovebar, color=color.red, size=size.small)
bgcolor(isSqueezed ? color.new(color.yellow, 92) : na)
bgcolor(not is_in_session ? color.new(color.gray, 96) : na)
1of1 Trades Expected Ranges (Friday Close Calculator)Expected Ranges (Friday Close Calculator)
Expected Ranges is a simple, non-plotting calculator designed for weekly market preparation.
It uses the most recent Friday’s daily close as the base price and calculates an expected trading range for the upcoming week.
This indicator is intentionally built as a calculator only — it does not draw lines or zones on the chart. This ensures there is no bleed between symbols and allows traders to convert levels into permanent TradingView drawings (horizontal lines and shaded rectangles) that are stored per symbol in their account.
How It Works
Friday Close is automatically detected from the daily chart.
You input a single value for Expected Weekly Move.
The indicator calculates:
Upper Range = Friday Close + Expected Move
Lower Range = Friday Close − Expected Move
Values are displayed in a clean top-right panel for quick reference.
Market Internals SPY[TP]# Market Internals SPY Dashboard - TradingView Publication
## 📊 Overview
**Market Internals SPY ** is a comprehensive multi-factor market sentiment dashboard designed specifically for SPY (S&P 500 ETF) traders. This indicator combines four powerful market breadth signals into one easy-to-read interface, helping traders identify high-probability setups and avoid false breakouts.
---
## 🎯 What Makes This Indicator Unique?
Unlike single-indicator tools, this dashboard synthesizes **multiple market internals** to provide confluence-based trading signals:
- **CPR (Central Pivot Range)** - Institutional pivot levels
- **VIX (Volatility Index)** - Fear gauge
- **Put/Call Ratio** - Options sentiment with dynamic crossover alerts
- ** USI:ADD (Advance/Decline Line)** - Market breadth strength
All presented in a clean, real-time dashboard with visual alerts directly on your chart.
---
## 📈 Key Features
### 1. **Static Daily CPR Levels**
- Automatically plots Top CPR, Pivot, and Bottom CPR
- Levels remain fixed throughout the trading day (no repainting)
- **Trend Bias Indicator**: Green = Current Pivot > Previous Pivot (Bullish structure)
### 2. **Put/Call Ratio Crossover System**
- 10-period SMA smoothing for cleaner signals
- **Bullish Signal** (Green background): Put/Call crosses below SMA
- Indicates decreasing hedging activity (bullish)
- **Bearish Signal** (Red background): Put/Call crosses above SMA
- Indicates increasing hedging activity (bearish)
### 3. **Price/Breadth Divergence Detection**
- **Yellow Candles**: Highlight when price and USI:ADD diverge
- Price rising but USI:ADD falling = Potential reversal
- Price falling but USI:ADD rising = Possible bottom
### 4. **Comprehensive Real-Time Dashboard**
A top-right table displaying:
- **CPR Trend Bias**: Bullish/Bearish structure
- **VIX Level**: Current value + directional bias
- **Put/Call Ratio**: Live value + trend arrows
- **AD Line**: Breadth strength with directional indicators
### 5. **Intelligent Bar Coloring**
- **Green bars**: USI:ADD rising (breadth improving)
- **Red bars**: USI:ADD falling (breadth deteriorating)
- **Yellow bars**: Divergence warning (potential reversal)
---
## 🔧 How to Use
### Setup Instructions
1. **Add to Chart**: Apply to SPY on your preferred intraday timeframe (5m, 15m, 30m, 1H)
2. **Configure Symbols** (if needed):
- Default settings work for most platforms
- If "PCC" doesn't load, try: `PCCR`, `INDEX:PCC`, `USI:PCC`, or `CBOE:PCC`
- Ensure you have market internals data access ( USI:ADD , VIX)
### Trading Signals
#### 🟢 **Bullish Confluence** (High-Probability Long Setup)
- CPR Trend = BULLISH
- VIX falling or low (<20)
- Put/Call below SMA (or green background crossover)
- USI:ADD rising (green bars)
- **Entry**: Look for bullish price action at support levels
#### 🔴 **Bearish Confluence** (High-Probability Short Setup)
- CPR Trend = BEARISH
- VIX rising or elevated (>25)
- Put/Call above SMA (or red background crossover)
- USI:ADD falling (red bars)
- **Entry**: Look for bearish rejection at resistance
#### ⚠️ **Divergence Warning**
- Yellow candles indicate mismatch between price and breadth
- Consider profit-taking or reversals when divergence appears at extremes
### Best Practices
- **Multi-Timeframe Confirmation**: Check higher timeframes (4H, Daily) for trend alignment
- **Volume Confirmation**: Combine with volume analysis for stronger signals
- **Risk Management**: Always use stop losses; no indicator is 100% accurate
- **News Awareness**: Be cautious around major economic releases
---
## 📚 Understanding the Components
### CPR (Central Pivot Range)
Traditional floor trader pivot levels calculated from previous day's High, Low, Close:
- **Pivot (PP)** = (High + Low + Close) / 3
- **Top CPR (TC)** = (PP - BC) + PP
- **Bottom CPR (BC)** = (High + Low) / 2
### VIX (Volatility Index)
- **< 15**: Complacency, potential for sudden moves
- **15-20**: Normal conditions
- **20-30**: Elevated uncertainty
- **> 30**: High fear, potential bottoming process
### Put/Call Ratio
- **< 0.7**: Excessive optimism (contrarian bearish)
- **0.7-1.0**: Balanced sentiment
- **> 1.0**: Defensive positioning (contrarian bullish potential)
### USI:ADD (NYSE Advance/Decline)
- **> 0**: More stocks advancing than declining (bullish breadth)
- **< 0**: More stocks declining than advancing (bearish breadth)
- **Extreme readings** (±2000+): Potential exhaustion
---
## ⚙️ Customization Options
### Input Parameters
- **AD Line Symbol**: Default "ADD" (try "ADVN" or "NYSE:ADD" if needed)
- **VIX Symbol**: Default "VIX" (try "CBOE:VIX" if needed)
- **Put/Call Symbol**: Default "PCC" (alternatives listed above)
### Color Scheme
- Blue: CPR levels
- Purple: Pivot point
- Green: Bullish signals/backgrounds
- Red: Bearish signals/backgrounds
- Yellow: Divergence warnings
---
## 💡 Pro Tips
1. **Wait for Confluence**: Don't trade on a single indicator - wait for 3+ signals to align
2. **Use CPR as Dynamic S/R**: Price tends to react at TC and BC levels
3. **Watch the Crossovers**: Put/Call crossovers often precede significant moves
4. **Monitor Divergences**: Yellow candles at key levels are high-value signals
5. **Combine with Price Action**: This tool confirms direction - you still need entry triggers
---
## ⚠️ Limitations & Disclaimers
- Requires **premium data** for USI:ADD and VIX on most platforms
- Best suited for **intraday SPY trading** (may adapt to other indices)
- **Not a standalone system** - use with proper risk management
- Past performance does not guarantee future results
- Always backtest before live trading
---
## 🎓 Example Scenario
**Bullish Setup**:
- 9:45 AM EST: Price pulls back to Bottom CPR
- Dashboard shows: ✅ Bullish CPR Bias, ✅ VIX 16.5 (falling), ✅ Put/Call 0.68 ⬇️ Bull, ✅ USI:ADD +850 ⬆️
- Green background flashes (Put/Call crossunder)
- **Action**: Enter long at BC with stop below TC of previous day
---
## 📊 Ideal Timeframes
- **Primary**: 5-minute, 15-minute (day trading)
- **Secondary**: 30-minute, 1-hour (swing entries)
- **Confirmation**: Daily chart for trend context
---
## 🔄 Updates & Support
This indicator is actively maintained. If you encounter symbol loading issues:
1. Check your data provider includes market internals
2. Try alternative symbols in inputs
3. Ensure you're using a premium TradingView plan (if required)
---
## 📝 Version Information
- **Version**: 5 (Pine Script v5)
- **Type**: Overlay Indicator
- **Author**: tapaspattanaik
- **Category**: Market Internals / Breadth Analysis
---
## 🏆 Final Thoughts
This indicator is designed for **serious traders** who understand that edge comes from confluence, not single signals. By combining institutional pivot levels with real-time market internals, you gain a significant advantage in reading market sentiment and timing entries with precision.
**Remember**: The best trades happen when multiple independent factors align. Use this dashboard to find those moments.
---
## 📌 How to Add This Indicator
1. Open TradingView and navigate to Pine Editor
2. Copy the complete script code
3. Click "Add to Chart"
4. Configure symbols if needed (see Setup Instructions above)
5. Adjust position/colors to your preference
---
**Happy Trading! 📈**
*This indicator is for educational purposes. Always manage risk appropriately and never risk more than you can afford to lose.*
---
### Tags
`#SPY` `#MarketInternals` `#CPR` `#VIX` `#PutCallRatio` `#BreadthAnalysis` `#DayTrading` `#SwingTrading` `#TechnicalAnalysis` `#PivotPoints`
All in One Trend IndicatorAll-in-One Master Suite: Hull, SMC, Liquidity, Sessions, Flux & UT Bot
Description:
This comprehensive "All-in-One" script combines 7 powerful trading indicators into a single, highly efficient tool. Designed to bypass the TradingView indicator limit and declutter your workspace, it merges trend following, smart money concepts, liquidity analysis, session timing, and momentum signals into one robust overlay.
Everything is modular—you can turn individual components on or off via the settings menu to suit your specific trading style.
Included Indicators & Features:
1. Hull Suite (Trend & Filtering)
What it does: Displays a smooth, lag-reduced Moving Average to identify the overall trend direction.
Key Features: Customizable modes (HMA, EHMA, THMA), candle coloring based on trend, and band visualization.
Use Case: Use as a baseline trend filter (e.g., only take Buy signals when Hull is Green).
2. Smart Money Concepts (SMC)
What it does: Maps out institutional market structure and key levels.
Key Features:
Market Structure: Real-time BOS (Break of Structure) and CHoCH (Change of Character) labels.
Order Blocks: Highlights potential reversal zones (Bullish/Bearish OBs).
Fair Value Gaps (FVG): Identifies imbalances in price action.
Premium/Discount Zones: Automatically plots equilibrium levels.
3. Liquidity Swings
What it does: Identifies swing highs and lows where liquidity (stop losses) is likely resting.
Key Features: Displays "Swing High" and "Swing Low" areas with volume/count filtering to spot potential liquidity sweeps.
4. Liquidity Grabs
What it does: Specifically detects "stop hunts" or liquidity grabs where price wicks above/below key pivots but closes back inside.
Key Features: Visual bubbles indicating small, medium, or large liquidity grabs. Excellent for spotting reversals.
5. Time/Sessions
What it does: Visualizes major trading sessions directly on the chart.
Key Features:
Session Boxes: Highlights New York, London, Tokyo, and Sydney sessions.
Info Table: A dashboard showing the current status (Open/Close) and local time for each major market center (Toggleable in settings).
6. UT Bot Alerts
What it does: Provides clear Buy and Sell signals based on ATR trailing stops.
Key Features: Highly sensitive trend signals (Buy/Sell labels) and optional candle coloring.
7. MACD (Chart Overlay)
What it does: Brings the classic Momentum indicator onto the main chart to save screen space.
Key Features:
Crossover Signals: Plots "MACD Buy" (Triangle Up) and "MACD Sell" (Triangle Down) directly on candles when the MACD line crosses the signal line.
Optional Plot: You can enable the actual MACD lines and histogram in the settings if you prefer to see the raw data.
How to Use This Suite For Scalpers: Enable Sessions and Liquidity Grabs to trade the London/NY open volatility, looking for stop hunts into key Order Blocks.
For Trend Traders: Use the Hull Suite to determine the macro direction and take UT Bot or MACD signals that align with that trend color.
For SMC Traders: Use the SMC structure labels to frame your bias, identifying FVGs or Order Blocks for entry, and using Liquidity Swings as take-profit targets.
Settings Guide
Groups: Each indicator has its own dedicated section in the settings menu (e.g., --- Hull Suite ---, --- SMC ---, --- UT Bot ---).
Optimization: To keep your chart clean, disable features you aren't actively using.
Colors: UT Bot and Hull Suite both have candle coloring options. It is recommended to use only one at a time to avoid conflicting colors.
Credits: This script merges open-source logic from the community's best to create a unified workspace:
InSilico (Hull Suite)
LuxAlgo (SMC & Liquidity Swings)
TraderHariKrishna (Sessions)
Flux Charts (Liquidity Grabs)
QuantNomad (UT Bot)
Merged and optimized for Pine Script v5.
Disclaimer: This tool is for informational purposes only. Past performance is not indicative of future results. Always manage your risk.
Step Generalized Moving Average [BackQuant]Step Generalized Moving Average
Overview
Step Generalized Moving Average (StepGMA) is a trend-structure moving average designed to solve two common problems with classic MAs:
They overreact to noise in chop, causing constant micro-flips.
They lag too much when you smooth them enough to stop that noise.
StepGMA tackles this by combining two layers:
A Generalized Moving Average (GMA) that increases responsiveness without simply shortening length.
A Step Filter that converts the MA into discrete “steps” sized by ATR, suppressing insignificant movement and only updating when the move is meaningful.
The output is a trend line that behaves more like market structure: it holds its level through noise, then “reprices” in chunks when volatility-adjusted movement is large enough.
What the indicator is trying to represent
Instead of showing every tiny MA wiggle, StepGMA tries to represent the idea that:
Most price movement is noise relative to volatility.
Trend only matters when it advances by a meaningful amount.
A good trend line should stay stable until the market forces it to move.
That makes this indicator useful as:
A regime filter (trend vs chop).
A trend-following bias line.
A structure-like dynamic S/R reference.
A signal generator with fewer low-quality flips.
Component 1: Moving Average engine (selectable)
The base smoothing is not fixed. You can choose between multiple MA types:
SMA, EMA, WMA, VWMA: classic smoothing families.
DEMA, TEMA: reduced-lag EMA variants.
T3: smooth yet responsive, good for trend.
HMA: very low lag, can be twitchy without filtering.
ALMA: center-weighted smoothing, often “cleaner” visually.
KAMA: adaptive smoothing based on efficiency ratio, good in mixed regimes.
LSMA: regression-based, tends to track trend direction well.
McGinley: dynamic smoothing designed to reduce lag during fast moves.
This matters because the StepGMA is not “one MA.” It is a framework that lets you pick the underlying smoothing behavior, then applies the generalization and step logic on top.
Component 2: Generalized Moving Average (GMA)
Where the idea comes from
Generalized MA here is essentially a form of two-stage smoothing compensation . A common trick in signal processing and technical analysis is:
Apply a smoother once (MA1).
Apply it again (MA2).
Use MA2 as a “lag reference,” then combine MA1 and MA2 to reduce lag while keeping smoothness.
This is related in spirit to reduced-lag filters (like DEMA/TEMA) and “zero-lag” style constructions that subtract part of the lag component. You are not magically removing lag, you are biasing the output toward the first-pass MA while subtracting some of the second-pass smoothing that represents delayed response.
How this script does it
It computes:
ma1 = MA(src, len)
ma2 = MA(ma1, len)
Then combines them using a volume factor (vf):
generalized = ma1 * (1 + vf) - ma2 * vf
Interpretation:
ma2 is a “more delayed” version of ma1.
Subtracting vf * ma2 and adding (1+vf) * ma1 pushes the output toward responsiveness.
vf controls how aggressive that push is.
Volume Factor (vf) is really an aggressiveness knob
The script clamps vf between 0.01 and 1.0 to keep it stable. Conceptually:
Low vf: behaves closer to a normal MA1, smoother, more lag.
High vf: more compensation, faster response, more risk of overshoot or noise sensitivity (which is then handled by the step filter).
So the GMA stage tries to give you a cleaner, faster trend estimate without just shrinking the MA period.
Component 3: Step Filter (the key behavior)
What a step filter is
A step filter turns a continuous signal (here, the generalized MA) into a discrete “staircase” signal. Instead of updating every bar, it updates only when the input has moved far enough to justify a new step.
This is conceptually similar to:
A quantizer in signal processing (rounding changes to discrete increments).
A volatility threshold filter (ignore changes smaller than X).
Market structure logic where levels matter more than micro movement.
How it works in this script
The filter maintains a persistent value: stepped .
Each bar:
diff = src - stepped
If |diff| < stepSize, do nothing (hold the level).
If |diff| >= stepSize, move stepped by a number of step increments.
The step increment size is:
stepSize = (stepMult / 100) * ATR(atrPeriod)
This is critical:
In higher volatility, ATR is larger, so steps are larger, fewer updates, more stability.
In lower volatility, ATR is smaller, so steps are smaller, more updates, more sensitivity.
So the step behavior automatically adapts to volatility.
Multiple-step catching behavior
If price jumps far beyond one step, the script does not move only one step. It moves by:
floor(|diff| / stepSize) * stepSize
So it “catches up” in discrete blocks, preserving the stepped character without lagging massively after large moves.
Direction and regime
Direction is determined by the stepped line, not the raw MA:
direction = +1 if steppedMA is rising
direction = -1 if steppedMA is falling
otherwise direction stays the same
Signals only trigger on direction state changes:
Long when direction flips to +1
Short when direction flips to -1
This matters because it prevents repeated signals while the trend remains intact. You only get a signal when the market has moved enough (in ATR terms) to justify a structural step in the opposite direction.
Secondary line and gradient fill
The script also plots a secondary “slow MA” (length 25, same MA type). This is not the core logic, it is a visual context layer:
StepGMA is the structure line (discrete, regime-driven).
Slow MA is a smoother reference for the underlying drift.
The gradient fill highlights separation and dominance.
When StepGMA sits above the slow MA, the fill reinforces bullish bias. When below, it reinforces bearish bias. It is basically a “trend pressure” visual, not a separate signal.
How to interpret it
1) StepGMA as trend structure
Flat steps mean price is not making enough volatility-adjusted progress to move structure.
Up-steps mean the market has advanced enough to reprice the trend line upward.
Down-steps mean deterioration significant enough to reprice structure downward.
2) Direction is a regime, not a tick-by-tick call
Because direction is derived from step changes, it is naturally a regime filter:
Fewer flips in chop.
Clearer regime transitions.
Signals tend to occur later than ultra-fast tools, but with better confirmation quality.
3) Step size controls noise rejection
StepMult is the main “anti-chop” control:
Higher stepMult = bigger ATR steps = fewer updates, fewer signals, more confirmation, slower to react.
Lower stepMult = smaller steps = more updates, more signals, more sensitivity, more chop risk.
4) Generalization controls responsiveness of the underlying trend estimate
vf controls how “fast” the MA tries to be before stepping:
Higher vf makes the MA respond faster to new price information.
Lower vf makes the MA smoother and more conservative.
The step filter then decides whether that change is meaningful enough to matter.
Practical use cases
Trend filter for entries
Only take longs when direction is bullish.
Only take shorts when direction is bearish.
Avoid trades when StepGMA is flat for long periods, market is not repricing meaningfully.
Dynamic support and resistance
Because the line holds levels, it often behaves like structure:
In uptrends it can act as a rising support reference.
In downtrends it can act as falling resistance.
Signal quality layer
The step-based flip signals tend to be higher quality than basic MA crossovers because they require:
A meaningful volatility-adjusted move.
A confirmed direction change in the stepped trend structure.
Trade management
Use StepGMA as a trailing invalidation reference.
Use direction flips as “hard” regime exits.
Use separation vs slow MA as a “pressure” gauge for scaling decisions.
Tuning guidelines
MA Type
Pick based on the character you want:
T3, ALMA, KAMA are usually good defaults for clean trend representation.
HMA/LSMA are faster but may need larger stepMult to avoid twitch.
SMA is slow and stable but can be too laggy unless vf is increased.
MA Period
Sets the base smoothing horizon. Longer periods give “macro trend,” shorter periods give “tactical trend.”
Volume Factor (vf)
Sets responsiveness compensation:
0.05–0.25 is usually sensible.
Higher than that can get aggressive, step filter will save you, but your steps may fire more often.
ATR Period and StepMult
These define your structure sensitivity:
ATR Period controls how stable the volatility estimate is.
StepMult controls how large a move must be to change structure.
If you want fewer flips, increase StepMult or ATR Period. If you want quicker reaction, lower StepMult or ATR Period.
What this indicator is and is not
It is:
A trend structure MA that ignores sub-threshold noise.
A regime tool that uses volatility-adjusted repricing logic.
A configurable framework that works across assets and timeframes.
It is not:
A predictive reversal tool.
A scalping signal machine.
A replacement for risk management.
Summary
Step Generalized Moving Average combines a lag-compensated moving average (generalization via MA1/MA2 blending) with a volatility-scaled step filter (ATR-based quantization). The result is a stable, structure-like trend line that updates only when price movement is meaningful relative to volatility, producing cleaner regimes, fewer chop flips, and clearer trend bias than conventional moving averages.
[TL5 Shahnaz] %R + RSI Heatmap + ALMAThis indicator is a multi-layer momentum and trend confirmation tool designed for discretionary traders. It blends Williams %R, RSI-based market bias, and an ALMA moving-average stack to help identify momentum shifts, trend strength, and exhaustion zones.
The script does not repaint and works on all markets and timeframes.
🔹 Components
1️⃣ Williams %R (Momentum Core)
Measures short-term momentum and overbought/oversold conditions
Key zones:
Above −40 → bullish momentum
Below −60 → bearish momentum
Line color adapts to momentum strength and direction
2️⃣ RSI Heatmap (Market Bias)
Background color reflects RSI strength or weakness
Green shades indicate bullish pressure
Red shades indicate bearish pressure
Neutral tones suggest consolidation or transition
Helps visually confirm momentum context without extra plots
3️⃣ ALMA Trend Stack (Trend Direction & Slope)
Uses multiple ALMA (Arnaud Legoux Moving Average) periods
Smooth, low-lag trend representation
Slope label on the latest bar shows short-term trend acceleration
Useful as dynamic support/resistance and trend filter
🧠 How to Use
Look for %R momentum alignment with RSI heatmap bias
Use ALMA direction and slope to confirm trend continuation
Best used for:
Trend confirmation
Momentum timing
Trade management and filtering
Works well with price action and higher-timeframe bias
⚠️ Important Notes
This indicator does not generate buy/sell signals
Designed for confirmation, not standalone trading
Always use proper risk management
Suitable for stocks, crypto, forex, and indices
GeorgeFutures: ELITE Dashboard & Global Alert (C1,C2,C3)George FX : ELITE Dashboard & Global Alert
This indicator acts as your "Market Compass," providing 1-Hour (HTF) context while you execute trades on the 5-Minute (LTF) timeframe.
1. The "Master Filter" Logic (1H Calculation)
Regardless of the chart you are viewing, the script calculates three layers of data from the 1-hour timeframe in the background:
Primary Trend (EMA 200): Establishes the permitted direction. If the price is above the EMA 200, it only looks for Longs; if below, only Shorts.
Order Flow (FVG): Scans for institutional momentum. When a valid Fair Value Gap (imbalance) appears in the direction of the trend, it confirms market "strength."
Liquidity (Sweep c1, c2, c3): Identifies traps. It checks if the price has "swept" the liquidity (Low/High) of the last 3 candles on the 1H chart.
2. Visual Indicator Meaning (Status Dots & Colors)The table communicates the market state using a simplified professional color code:ElementStatusMeaningORDER FLOWBULLISH/BEARISH1H momentum is confirmed by an FVG in the direction of the EMA 200 trend.LIQUIDITYLIQUIDITY GRABA "Sweep" has occurred (liquidity was taken) within the last 3 hours.STRATEGYREADY TO TRADE All conditions are aligned. It is time to look for an entry on the 5-minute chart.
3. Unified Global Alert System
The alert is the "guardian" of your strategy:
Operation: Monitors both directions (Long and Short) with a single setup.
Trigger: You receive a notification only when the Strategy row turns READY TO TRADE.
Message: The notification clearly states the ticker (e.g., BTCUSDT) and the direction (BULLISH or BEARISH) so you don't waste time.
How to use it:
Set the Alert: While on the 5-minute chart, create an alert for George FX: ELITE Global Signal.
Wait: When the notification hits your phone, open the 5-minute chart.
Execute: Since the 1H context is perfect, you only need to find a local entry (like a Market Structure Break) on the 5m chart.
Liquidity Grab Engulfing.This indicator highlights Liquidity Sweep Engulfing candles:
• Bullish: previous candle bearish, current candle sweeps the previous low and closes above the previous high.
• Bearish: previous candle bullish, current candle sweeps the previous high and closes below the previous low.
Use it as a price-action confirmation tool alongside your support/resistance, structure, and risk management. This script is for educational purposes only and does not constitute financial advice.
Accurate Swing Trading + Support Resistance MTF (EN)Swing trading setup based on volume and support restistance. use buy main signal for large trend change and for swing trade use buy
MarketStructureLab - Swing Reversion Zones (FREE)Swing Reversion Zones is an indicator designed to analyze price reversions to market structure after impulsive moves.
The indicator builds a smoothed structural baseline and a dynamic deviation range, highlighting areas where price statistically tends to slow down, react, or retrace.
What it shows
• Zones of potential overbought and oversold conditions
• Areas where price reverts back to structure
• Context for pullback-based entries rather than entries in the middle of a move
How to use
• Trading swing movements within an existing trend
• Identifying price reactions near the range boundaries
• Confirming long and short setups in combination with market structure
Features
• Adaptive smoothing without reliance on static levels
• Works across all markets and timeframes
Important
This indicator is not a signal system and does not make predictions.
It highlights reaction and reversion zones relative to market structure. Trade decisions remain the trader’s responsibility.
Designed for traders who focus on structure, context, and market reaction.
Adaptive ATR Trend FollowerDESCRIPTION:
A practical educational tool for learning volatility-based trend following. This indicator demonstrates how to use ATR-adjusted trailing stops to adapt to changing market conditions. It shows traders how to dynamically adjust stop distances based on market volatility rather than using fixed price levels.
WHAT MAKES IT UNIQUE:
• Three preset trading modes (Fast/Balanced/Smooth) optimized for different market environments
• ATR-based dynamic stops that automatically widen during high volatility and tighten during calm periods
• Clear visual trend zones with adjustable transparency for better chart readability
• Educational focus on risk management concepts and adaptive position sizing
• Signal markers that highlight exact trend change points for precise analysis
HOW IT WORKS:
1. Calculates Average True Range (ATR) to measure current market volatility
2. Creates dynamic trailing stops using: Current Price ± (ATR × Multiplier)
3. Automatically switches trend direction when price crosses the trailing stop level
4. Provides continuous visual feedback through colored zones, signal markers, and bar coloring
5. Updates stop levels in real-time as market conditions change
EDUCATIONAL VALUE:
This indicator serves as a learning tool for understanding:
- How to use ATR for dynamic position and risk management
- The importance of adapting trading systems to current volatility conditions
- Trend-following principles with immediate visual feedback
- Risk management techniques through adaptive stop placement
- The relationship between volatility and optimal stop distances
SETTINGS EXPLAINED:
• ATR Period (14): The lookback period for volatility measurement. Higher values give smoother readings.
• ATR Multiplier (3.0): Determines stop distance from price. Higher = wider stops, Lower = tighter stops.
• Trading Style: Fast (tight stops for active trading), Balanced (default settings), Smooth (wide stops for volatile markets)
• Price Smoothing (1): EMA period applied to price. Reduces noise for cleaner trend detection.
• Trend Fill Transparency (80%): Controls visibility of the colored trend zone between price and stop line.
RISK WARNING & DISCLAIMER:
This is an educational trend-following tool designed for learning purposes. Important considerations:
• May produce whipsaw signals during sideways/consolidating markets
• Works best in clearly trending market environments
• Always combine with other analysis techniques for confirmation
• Practice proper risk management - never risk more than you can afford to lose
• Past performance does not guarantee future results
• This is NOT financial advice. Use at your own risk and discretion.
USE CASES:
- Learning about volatility-based trading systems and concepts
- Identifying potential trend direction changes with visual confirmation
- Setting adaptive stop-loss levels that adjust to market conditions
- Educational tool for understanding how ATR affects position management
- Visual study of how volatility impacts trend-following strategies
COMPATIBILITY:
• Works on all markets: Forex, Stocks, Crypto, Commodities, Indices
• Effective on multiple timeframes (5-minute to daily charts recommended)
• Compatible with other indicators for multi-factor analysis
INSTALLATION & USAGE:
1. Add indicator to your chart
2. Start with "Balanced" mode for most markets
3. Adjust ATR multiplier based on your risk tolerance
4. Use signals as potential entry/exit points (with confirmation)
5. Observe how stops adapt to changing volatility conditions
EDUCATIONAL TIP:
Try switching between Fast/Balanced/Smooth modes to see how different settings perform in various market conditions. Notice how wider stops (Smooth mode) can prevent premature exits during volatile trends, while tighter stops (Fast mode) may work better in calm, steady trends.






















