Relative Strength Table (Spring)This indicator helps traders quickly understand the relative strength of different groups and different stocks.
Formacje wykresów
IAN'S SMTHow to fix it (pick ONE)
✅ Option A — Treat MNQ as NQ (recommended)
If MNQ should behave identically to NQ:
isNQ = chartNorm == symA_norm or chartNorm == "MNQ1"
or more robust:
isNQ = str.contains(chartNorm, "NQ")
That makes:
NQ1!
MNQ1!
NQH2026
all map to index 0
✅ Option B — Add MNQ as its own symbol (clean but heavier)
Add a 4th symbol slot:
symD = input.symbol("MNQ1!", "Symbol D")
Then:
Update N_SYMS
Add high_i(3), low_i(3)
Expand every SMT array
This works but is a lot of refactoring
Wick Ranges (GG)Simple data box that tracks candle wick largest, smallest, and average sizes by price within specified time ranges. Displays labels for upper and lower wicks of current candle.
Helpful if your entry model is entering on the close/open of momentum candles.
-GG
Gartley + RSI Div + CDC ActionZone Alert//@version=5
indicator("Gartley + RSI Div + CDC ActionZone Alert", overlay=true)
// --- 1. CDC Action Zone Logic ---
ema12 = ta.ema(close, 12)
ema26 = ta.ema(close, 26)
isBlue = close > ema12 and ema12 < ema26
isGreen = ema12 > ema26
cdcSignal = isBlue or isGreen
// --- 2. RSI Bullish Divergence Logic ---
rsiVal = ta.rsi(close, 14)
lbR = 5 // Lookback Left
rbR = 5 // Lookback Right
minLow = ta.pivotlow(rsiVal, lbR, rbR)
isDiv = false
if not na(minLow)
prevLow = ta.valuewhen(not na(minLow), minLow , 0)
prevPrice = ta.valuewhen(not na(minLow), low , 0)
if rsiVal > prevLow and low < prevPrice
isDiv := true
// --- 3. Gartley Approximation (D-Point Focus) ---
// ส่วนนี้ใช้ ZigZag พื้นฐานเพื่อหาจุดกลับตัว (Simplified for Alert)
sz = input.int(10, "ZigZag Sensitivity")
ph = ta.pivothigh(high, sz, sz)
pl = ta.pivotlow(low, sz, sz)
// เงื่อนไขรวม (Combo Strategy)
// ราคาอยู่ที่จุดต่ำสุดใหม่ (Potential D) + RSI ขัดแย้ง + CDC เริ่มเปลี่ยนสี
buyAlert = isDiv and cdcSignal and not na(pl)
// --- การแสดงผลบนกราฟ ---
plotshape(buyAlert, title="Gartley-CDC Buy", style=shape.labelup, location=location.belowbar, color=color.green, text="BUY SETUP", textcolor=color.white, size=size.small)
// วาดเส้น EMA สำหรับ CDC
plot(ema12, color=color.red, linewidth=1)
plot(ema26, color=color.blue, linewidth=1)
// --- ระบบการแจ้งเตือน (Alerts) ---
if buyAlert
alert("SPA Style Setup Found: Gartley D-Point + RSI Div + CDC Signal!", alert.freq_once_per_bar)
kalp 2trPeriodPrimary = input.int(18, 'Primary ST ATR Period', group="SuperTrend")
multiplierPrimary = input.float(4.0, 'Primary ST Multiplier', group="SuperTrend")
atrPeriodSecondary = input.int(9, 'Secondary ST ATR Period', group="SuperTrend")
multiplierSecondary = input.float(2.0, 'Secondary ST Multiplier', group="SuperTrend")
atrPeriodTertiary = input.int(12, 'Tertiary ST ATR Period', group="SuperTrend")
multiplierTertiary = input.float(3.0, 'Tertiary ST Multiplier', group="SuperTrend")
// MACD Group
fastLength = input.int(24, 'MACD Fast Length', group="MACD")
slowLength = input.int(52, 'MACD Slow Length', group="MACD")
signalLength = input.int(9, 'MACD Signal Smoothing', group="MACD")
// EMA Group
tfEMA = input.timeframe("60", "EMA Timeframe (Global)", group="EMAs")
ema1Len = input.int(9, 'EMA 1 Length', group="EMAs")
ema2Len = input.int(21, 'EMA 2 Length', group="EMAs")
ema3Len = input.int(27, 'EMA 3 Length', group="EMAs")
ema4Len = input.int(50, 'EMA 4 Length', group="EMAs")
ema5Len = input.int(100, 'EMA 5 Length', group="EMAs")
ema6Len = input.int(150, 'EMA 6 Length', group="EMAs")
ema7Len = input.int(200, 'EMA 7 Length', group="EMAs")
// Visuals & ORB Group
showVwap = input.bool(true, 'Show VWAP?', group="Visuals")
showORB = input.bool(true, "Show ORB (Current Day Only)", group="ORB Settings")
orbTime = input.string("0930-1000", "ORB Time Range", group="ORB Settings")
orbTargetMult1 = input.float(1.0, "Target 1 Mult", group="ORB Settings")
Sequential - Heatmap [R2D2]The Professional Edge in Trend Exhaustion
In a market environment saturated with noise, the most valuable tool for a trader is clarity. Standard trend-following indicators often lag, and traditional reversal markers can be premature. The Sequential: Heatmap is a sophisticated trend-exhaustion indicator designed to identify precise market inflection points where a trend has reached its mathematical limit.
By focusing on the Exhaustion Phase (counts 7, 8, and 9) and integrating Perfection Logic, this tool filters out "weak" setups, highlighting only the high-probability price flips that professional institutional traders watch.
How It Works: The Logic of Exhaustion
The Sequential operates on the principle of price symmetry. A "Setup" occurs when a series of at least nine consecutive bars close higher (for a Sell Setup) or lower (for a Buy Setup) than the close of the bar four periods prior.
The "Perfected" Difference
A standard 9-count is often not enough for a high-conviction entry. This publication-ready script includes Perfection Logic:
Perfected Buy (9★) : The low of bar 8 or 9 must be lower than the lows of both bars 6 and 7.
Perfected Sell (9★) : The high of bar 8 or 9 must be higher than the highs of both bars 6 and 7.
This ensures that the final move in the sequence is a true "climax" before the reversal begins.
Step-by-Step Usage Guide
Step 1: Monitor the Heatmap
As a trend develops, the bars will remain standard. Once the sequence hits count 7, the Heatmap Gradient activates.
Faint Color: Momentum is beginning to stretch.
Deep Saturated Color: The trend is entering the danger zone for a reversal.
Step 2: Identify the 9★ Completion
Wait for the number 9 to appear. If a star (★) is attached, the setup is "Perfected". This is your primary signal that the current move is mathematically overextended.
Step 3: Define Your Risk with Risk Lines
Upon completion of a 9-count, the script draws a solid thin horizontal line:
Green Line (Resistance) : The ceiling of the move. Use this as a profit target for longs or a hard stop for shorts.
Red Line (Support) : The floor of the move. Use this as a profit target for shorts or a hard stop for longs.
Trading Like a Pro: Strategies for Success
To use this tool effectively at a professional level, follow these three core tenets:
Don’t Front-Run the 9 : Amateur traders often try to "guess" the reversal at count 5 or 6. Professionals wait for the Perfected 9 to close. The heatmap is designed to keep you patient.
The "Risk Line" Breaker : If price closes beyond a Risk Line (e.g., closes above the green resistance line), the exhaustion has failed, and a "Setup Trend Extension" is occurring. In this case, exit your reversal trade immediately; the trend is stronger than the exhaustion.
Confluence with Higher Timeframes : A Perfected 9 on a 15-minute chart is strong; a Perfected 9 on a 15-minute chart that aligns with a 4-hour Risk Line is institutional grade.
Mean Reversion OpportunityIdentifies when price is trading within an established range. Values between +200 and -200 signal mean reversion opportunities. Breaks beyond these levels suggest ranging behavior has ended.
MACD RSI EMA AGGRESSIVE + ATR SLTP (ALL COIN)This indicator is designed for aggressive scalping and intraday trading, especially on crypto futures.
It combines:
- MACD crossover for momentum direction
- RSI filter to avoid weak signals
- EMA trend filter to follow market bias
- Volume confirmation to reduce false signals
- ATR-based SL/TP visualization for risk management
The script provides clear BUY and SELL alerts that can be used across multiple symbols and timeframes.
Best used on lower timeframes (1m–5m) with proper risk management.
Custom Hour Candle Marker (EST, All Timeframes)hour candle marker on the hourly to see the candle you want to focus on
Triple ST + MACD + 7x MTF EMA + VWAP + ORB + Lux Pivots + AMA//@version=6
indicator('Triple ST + MACD + 7x MTF EMA + VWAP + ORB + Lux Pivots + AMA', overlay = true, max_labels_count = 500)
//━━━━━━━━━━━━━━━━━━━
// INPUTS
//━━━━━━━━━━━━━━━━━━━
// AMA Signals Group (Zeiierman Style)
showAMA = input.bool(true, "Show AMA Signals", group="AMA Signals")
amaLength = input.int(10, "AMA Length", group="AMA Signals")
amaFast = input.int(2, "AMA Fast Period", group="AMA Signals")
amaSlow = input.int(30, "AMA Slow Period", group="AMA Signals")
// SuperTrend Group
atrPeriodPrimary = input.int(18, 'Primary ST ATR Period', group="SuperTrend")
multiplierPrimary = input.float(4.0, 'Primary ST Multiplier', group="SuperTrend")
// MACD Group
fastLength = input.int(24, 'MACD Fast Length', group="MACD")
slowLength = input.int(52, 'MACD Slow Length', group="MACD")
signalLength = input.int(9, 'MACD Signal Smoothing', group="MACD")
// EMA Group
tfEMA = input.timeframe("60", "EMA Timeframe (Global)", group="EMAs")
ema1Len = input.int(9, 'EMA 1 Length', group="EMAs"), ema2Len = input.int(21, 'EMA 2 Length', group="EMAs")
ema3Len = input.int(27, 'EMA 3 Length', group="EMAs"), ema4Len = input.int(50, 'EMA 4 Length', group="EMAs")
ema5Len = input.int(100, 'EMA 5 Length', group="EMAs"), ema6Len = input.int(150, 'EMA 6 Length', group="EMAs")
ema7Len = input.int(200, 'EMA 7 Length', group="EMAs")
// LuxAlgo Style Pivots (50 Lookback)
showPivots = input.bool(true, "Show Pivot High/Low", group="LuxAlgo Pivots")
pivotLen = input.int(50, "Pivot Lookback", group="LuxAlgo Pivots")
showMissed = input.bool(true, "Show Missed Reversal Levels", group="LuxAlgo Pivots")
// Previous OHLC Group
showPrevOHLC = input.bool(true, "Show Previous Day OHLC?", group="Previous OHLC")
// Visuals & ORB Group
showVwap = input.bool(true, 'Show VWAP?', group="Visuals")
showORB = input.bool(true, "Show ORB", group="ORB Settings")
orbTime = input.string("0930-1000", "ORB Time Range", group="ORB Settings")
//━━━━━━━━━━━━━━━━━━━
// CALCULATIONS
//━━━━━━━━━━━━━━━━━━━
// 1. AMA Calculation (Zeiierman Logic)
fastAlpha = 2.0 / (amaFast + 1)
slowAlpha = 2.0 / (amaSlow + 1)
efficiencyRatio = math.sum(math.abs(close - close ), amaLength) != 0 ? math.abs(close - close ) / math.sum(math.abs(close - close ), amaLength) : 0
scaledAlpha = math.pow(efficiencyRatio * (fastAlpha - slowAlpha) + slowAlpha, 2)
var float amaValue = na
amaValue := na(amaValue ) ? close : amaValue + scaledAlpha * (close - amaValue )
// 2. Pivot Points & Missed Reversals (RECTIFIED: Bool Fix)
ph = ta.pivothigh(high, pivotLen, pivotLen)
pl = ta.pivotlow(low, pivotLen, pivotLen)
var float lastMissedHigh = na
var float lastMissedLow = na
if not na(ph)
lastMissedHigh := ph
if not na(pl)
lastMissedLow := pl
// 3. Custom SuperTrend Function (RECTIFIED: Parenthesis Fix)
f_supertrend(_atrLen, _mult) =>
atr_ = ta.atr(_atrLen)
upperBasic = hl2 + _mult * atr_
lowerBasic = hl2 - _mult * atr_
var float upperFinal = na
var float lowerFinal = na
upperFinal := na(upperFinal ) ? upperBasic : (upperBasic < upperFinal or close > upperFinal ? upperBasic : upperFinal )
lowerFinal := na(lowerFinal ) ? lowerBasic : (lowerBasic > lowerFinal or close < lowerFinal ? lowerBasic : lowerFinal )
var int dir = 1
if not barstate.isfirst
dir := dir
if dir == 1 and close < lowerFinal
dir := -1
else if dir == -1 and close > upperFinal
dir := 1
= f_supertrend(atrPeriodPrimary, multiplierPrimary)
// 4. MACD & 7 MTF EMAs
macdLine = ta.ema(close, fastLength) - ta.ema(close, slowLength)
signal = ta.ema(macdLine, signalLength)
ema1 = request.security(syminfo.tickerid, tfEMA, ta.ema(close, ema1Len), gaps = barmerge.gaps_on)
ema2 = request.security(syminfo.tickerid, tfEMA, ta.ema(close, ema2Len), gaps = barmerge.gaps_on)
ema3 = request.security(syminfo.tickerid, tfEMA, ta.ema(close, ema3Len), gaps = barmerge.gaps_on)
ema4 = request.security(syminfo.tickerid, tfEMA, ta.ema(close, ema4Len), gaps = barmerge.gaps_on)
ema5 = request.security(syminfo.tickerid, tfEMA, ta.ema(close, ema5Len), gaps = barmerge.gaps_on)
ema6 = request.security(syminfo.tickerid, tfEMA, ta.ema(close, ema6Len), gaps = barmerge.gaps_on)
ema7 = request.security(syminfo.tickerid, tfEMA, ta.ema(close, ema7Len), gaps = barmerge.gaps_on)
// 5. ORB Logic
is_new_day = ta.change(time("D")) != 0
in_orb = not na(time(timeframe.period, orbTime))
var float orbHigh = na, var float orbLow = na
if is_new_day
orbHigh := na, orbLow := na
if in_orb
orbHigh := na(orbHigh) ? high : math.max(high, orbHigh)
orbLow := na(orbLow) ? low : math.min(low, orbLow)
//━━━━━━━━━━━━━━━━━━━
// PLOTTING
//━━━━━━━━━━━━━━━━━━━
// AMA Plots
plot(showAMA ? amaValue : na, "AMA Line", color=amaValue > amaValue ? color.lime : color.red, linewidth=2)
plotshape(showAMA and ta.crossover(amaValue, amaValue ), "AMA BUY", shape.labelup, location.belowbar, color.lime, 0, "BUY", color.black, size=size.small)
plotshape(showAMA and ta.crossunder(amaValue, amaValue ), "AMA SELL", shape.labeldown, location.abovebar, color.red, 0, "SELL", color.white, size=size.small)
// Pivots
plotshape(showPivots ? ph : na, "PH", shape.labeldown, location.abovebar, color.red, -pivotLen, "PH", color.white)
plotshape(showPivots ? pl : na, "PL", shape.labelup, location.belowbar, color.green, -pivotLen, "PL", color.white)
// Missed Reversal Lines
var line hLine = na, var line lLine = na
if showMissed and barstate.islast
line.delete(hLine), line.delete(lLine)
hLine := line.new(bar_index - pivotLen, lastMissedHigh, bar_index + 10, lastMissedHigh, color=color.new(color.red, 50), style=line.style_dashed)
lLine := line.new(bar_index - pivotLen, lastMissedLow, bar_index + 10, lastMissedLow, color=color.new(color.green, 50), style=line.style_dashed)
// Previous Day OHLC
= request.security(syminfo.tickerid, "D", [high , low ], lookahead=barmerge.lookahead_on)
plot(showPrevOHLC ? pdH : na, "PDH", color.gray, style=plot.style_stepline)
plot(showPrevOHLC ? pdL : na, "PDL", color.gray, style=plot.style_stepline)
// 7 EMAs & VWAP
plot(ema1, "E1", color.new(color.white, 50)), plot(ema7, "E7", color.new(color.gray, 50))
plot(showVwap ? ta.vwap : na, "VWAP", color.orange, 2)
plot(stPrimary, 'Primary ST', dirPrimary == 1 ? color.green : color.red, 2)
// MACD (RECTIFIED: Named arguments)
plotshape(ta.crossover(macdLine, signal), title="MACD+", style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small)
plotshape(ta.crossunder(macdLine, signal), title="MACD-", style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small)
// Global Trend Background
bgcolor(dirPrimary == 1 ? color.new(color.green, 97) : color.new(color.red, 97))
Pattern Atlas Smart Panel Alerts Toni Ventura MaltaThe Pattern Atlas in 1 Indicator
Not fool proof but helps understanding what the discord traders are talking about ;)
Trading Sessions (DineshN)The script is a session-awareness and time-structure tool designed to give you instant market context while trading on 5-minute, 15-minute, and 1-hour charts.
It applies transparent vertical background shading to clearly show:
Asia → 20:00 – 00:00 EST
London → 02:00 – 05:00 EST
New York → 07:00 – 16:00 EST (extended to cover the full NY trading day)
NB: Look and feel is better with labels disabled.
JBK 2 bougies (tailles B1/B2 + contraintes + 4 EMA + EMA Cloud) JBK — 2 bougies (tailles B1/B2 + contraintes + 4 EMA + EMA Cloud) — v4.4
Daily Levels & VWAP with TableThis Pine Script indicator is designed to provide traders with a high-level view of critical daily support and resistance levels without cluttering the workspace. By combining "yesterday's data" with "today's action," it helps you quickly identify if the market is trading inside or outside the previous day's range.Key Features1. Dynamic Daily Level PlottingThe script automatically fetches and draws horizontal lines for the most important daily price points:Today’s High & Low: Plotted as thick, solid lines. These act as the current boundaries for the trading session.Today’s Open: A subtle white line marking the "starting line" of the day, essential for determining if the day is currently bullish or bearish.Yesterday’s High & Low: Plotted as thinner, semi-transparent lines. These are vital for identifying "Previous Day High/Low" breakouts or reversals.2. Integrated VWAPIncludes a standard Volume Weighted Average Price (VWAP) line. VWAP is widely considered the "fair value" of the day; trading above it generally suggests bullish sentiment, while trading below suggests bearish control.3. HUD Dashboard (Bottom Right Table)To save you from constantly hovering your cursor over lines to check prices, the script features a clean, professional Heads-Up Display (HUD):Real-Time Prices: Displays the exact price for every level plotted on the chart.Color-Coded Labels: The table text matches the line colors (Green for Highs, Red for Lows, Purple for VWAP) for instant recognition.Clean Formatting: Prices are rounded to two decimal places to keep the interface tidy.Visual BreakdownLevelVisual StyleSignificanceToday's High/LowThick Solid Green/RedPrimary intraday resistance and support.Yesterday's High/LowThin Faded Green/RedHistoric levels often used for "stop runs" or trend continuation.VWAPPurple LineThe institutional benchmark for intraday trend direction.Daily OpenFaded White LineThe pivot point for "Gap and Go" or "Mean Reversion" strategies.Best Used ForScalping: Identifying quick bounces off the Previous Day High/Low.Day Trading: Using VWAP and the Daily Open to determine "bias" (Long vs. Short).Breakout Trading: Monitoring when price pushes through Today's High or Low with volume.
Drawdown MDD desde ATH (close)Drawdown indicator from ATH wtih maximum drawdown.
Indicates the current percentage of both
TCT Trends Dashboard with all time frame trends. Use to see where the ticker has been and where its heading!
Ayan EMAV HunterThe script involves 2 zones.
The Blue Zone is the Hunting Zone and the Red Zone helps to decide the which side to trade.
If the Blue Zone is above the Red Zone, we search for UpTrend Trades of 1:2 and we need to observe the candles with the Yellow Arrow which indicates Smart Money entering
Similarly, If the Blue Zone is below the Red Zone, we search for Bearish Trades with 1:2 Risk/Reward and we need to observe the candles with the Yellow Arrow which indicates Smart Money entering
If the Blue Zone lies within the Red Zone, then NO Trade, Just Observe
Please share your feedback if it can be refined
High&Low - Scalping🔹 High and Low Scalping – Key Levels Indicator 🔹
High and Low Scalping is an indicator designed for active traders and scalpers who want to instantly identify the most important price levels in the market.
The indicator automatically plots:
📈 The monthly high and low
📊 The previous week's high and low (weekly)
⏱️ The previous day's high and low (daily)
These levels are recognized as major liquidity zones, which are often respected by the price and used by institutions.
⚙️ Main features
✔️ 100% automatic update
✔️ No manual calculations required
✔️ Clear and quick reading of the market
✔️ Compatible with scalping, day trading, and intraday trading
🎯 Why use High and Low Scalping?
Identify price reaction zones
Spot precise scalping opportunities
Improve entry and exit timing
Trade with a clean and objective market structure
This indicator is an essential tool for any trader who wants to rely on reliable, simple, and effective technical levels without overloading their chart.
M5 EMA Pullback Scalper (Anti-Chop + Dynamic Boxes)M5 EMA Pullback Scalper (Anti-Chop + Dynamic Boxes)
Bigul Index Analysis"Bigul Index Analysis" is a comprehensive TradingView Pine Script v5 indicator that combines consolidation zone detection with standard pivot point levels for professional index trading analysis.
Core Features
Consolidation Zones
Detects price consolidation periods using zigzag pivot logic over a configurable loopback period (default: 10 bars)
Identifies when price forms tight ranges lasting minimum length (default: 5 bars)
Paints consolidation areas with customizable semi-transparent zones
Draws dynamic upper (red dashed) and lower (lime dashed) boundary lines
Generates breakout alerts when price breaks above/below established zones
Pivot Point Levels
Calculates Standard Pivot Points (PP, R1, S1) using previous day's High, Low, Close
PP = (High + Low + Close) / 3
R1 = 2 × PP - Low
S1 = 2 × PP - High
Plots Yesterday's High/Low as key reference levels
Multiple display options: continuous lines, endpoint labels, or both
Visual Elements
text
📊 Information Table (Top Right)
┌─────────┬──────────┐
│ Level │ Value │
├─────────┼──────────┤
│ PP │ 24567.89 │ ← Yellow
│ R1 │ 24890.12 │ ← Red
│ S1 │ 24245.67 │ ← Green
│ YH/YL │ 24912/24123 │ ← Blue
└─────────┴──────────┘
Color Coding:
🟡 Yellow line: Pivot Point (PP)
🔴 Red line: Resistance 1 (R1)
🟢 Green line: Support 1 (S1)
🟠 Orange stepline: Yesterday High
🟣 Purple stepline: Yesterday Low
🔵 Blue zone: Consolidation area
➖ Red/Lime dashed: Zone boundaries
Trading Signals & Alerts
5 Alert Conditions:
Consolidation Breakout UP - Price breaks above zone
Consolidation Breakout DOWN - Price breaks below zone
Price Above R1 - Close crosses above R1 level
Price Below S1 - Close crosses below S1 level
Customization Options
text
Loopback Period: 2-50 bars (default: 10)
Min Consolidation Length: 2-20 bars (default: 5)
Paint Zones: Toggle on/off
Zone Color: Customizable transparency
Pivot Display: Lines / Labels / Both
Toggle Pivot Points & Yesterday H/L independently
Use Case for Bigul Index Trading
Perfect for NIFTY/BANKNIFTY intraday analysis:
Identify consolidation zones for breakout setups
Use pivot levels as intraday support/resistance
Yesterday H/L as key reference for stop-loss/target
Multiple timeframe confirmation with table values
Strategy Example: Long when price breaks consolidation zone upward AND above PP/R1 confluence
Fair Value Gaps [MattyBTradez]This indicator marks out every Fair Value Gap, and the colors are customizable.






















