EMA 9/15 AI Buy Sell Signal (KEWME)This strategy is primarily a Trend Following and Scalping strategy. It relies on the crossover of two Exponential Moving Averages (EMA) to identify short-term momentum shifts. The "AI" or "KEWME" part usually refers to the filtering logic added to standard EMAs to reduce false signals during choppy (sideways) markets.
1. Core Components
Fast EMA (Period 9): This tracks the most recent price data very closely. It reacts quickly to price changes.
Slow EMA (Period 15): This acts as the baseline or immediate support/resistance level. It reacts slower than the 9 EMA.
2. Buy Signal Logic (Long Entry)
A Buy signal is generated when the short-term momentum shifts upwards.
Crossover Condition: The EMA 9 (Fast) must cross ABOVE the EMA 15 (Slow).
Candle Confirmation: The candle causing the crossover should ideally close green (bullish) and above both EMA lines.
AI/Filter Logic:
Slope Check: The "AI" logic checks if the slope of the EMA 15 is pointing up. If the lines are flat (horizontal), the signal is often ignored to avoid sideways markets.
Volume: There should be higher than average volume during the crossover to confirm the strength of the move.
Trader's Action: Enter a Buy position immediately after the candle closes.
3. Sell Signal Logic (Short Entry)
A Sell signal is generated when the short-term momentum shifts downwards.
Crossunder Condition: The EMA 9 (Fast) must cross BELOW the EMA 15 (Slow).
Candle Confirmation: The candle causing the crossover should ideally close red (bearish) and below both EMA lines.
AI/Filter Logic:
Slope Check: The "AI" logic checks if the slope of the EMA 15 is pointing down.
Volume: Selling pressure (volume) should be visible.
Trader's Action: Enter a Sell position immediately after the candle closes.
4. The "AI" filtering (Why it is different from basic EMA)
Standard EMA crossovers often fail in "Choppy Markets" (when price moves up and down within a small range), causing losses. The KEWME/AI version usually adds these extra rules:
Range Filter: If the distance between EMA 9 and EMA 15 is very small (the lines are hugging each other), the AI suppresses the signal. It waits for the lines to "fan out" or separate.
Trend Alignment: It might check a higher timeframe (like 200 EMA). If the price is above the 200 EMA, it might only show Buy signals and hide Sell signals (Trend Filtering).
5. Exit Strategy (Stop Loss & Target)
Stop Loss (SL):
For Buy: Just below the recent Swing Low or below the EMA 15.
For Sell: Just above the recent Swing High or above the EMA 15.
Take Profit (TP): usually taken when the EMAs cross back in the opposite direction, or at a 1:1.5 Risk-Reward ratio.
Educational
ICT Flow Matrix [Ultimate]📊 Overview
ICT Flow Matrix is a comprehensive, all-in-one Smart Money Concepts (SMC) indicator built for traders who follow ICT (Inner Circle Trader) methodology. This indicator consolidates over 15 institutional trading concepts into a single, highly customizable tool—eliminating chart clutter from multiple indicators while providing deep market structure analysis.
Whether you're identifying liquidity pools, tracking order flow, or timing entries during ICT Macro windows, this indicator delivers institutional-grade analysis directly on your chart.
Pro Tip: use with ICT Market Regime Detector for clear language reads on everything.
⚡ Key Features
🎯 Price Delivery Arrays (PDAs)
Fair Value Gaps (FVG) — Automatic detection with customizable mitigation tracking (Wick Touch, 50% CE, Full Close)
Inverse FVGs (iFVG) — Identifies when FVGs fail and flip, creating new tradeable zones
Order Blocks (OB) — Last opposing candle before impulsive moves with adjustable impulse strength
Breaker Blocks (BB) — Automatically generated when Order Blocks fail
Rejection Blocks (RB) — Strong wick rejections indicating institutional defense
Volume Imbalances (VIMB) — Gaps between candle bodies showing aggressive institutional activity
📐 Market Structure & Liquidity
Market Structure Shifts (MSS) — Real-time detection of bullish/bearish structure breaks
Equal Highs/Lows (EQH/EQL) — Liquidity pools where stop losses accumulate
Buy-Side/Sell-Side Liquidity (BSL/SSL) — Swing point liquidity levels with sweep detection
Premium/Discount Zones — Visual shading showing institutional buying/selling areas
OTE Zone (61.8%-79%) — Optimal Trade Entry zone for high-probability entries
⏰ Time-Based Analysis
ICT Macro Times — All nine 30-minute algorithmic windows (02:45, 03:45, 04:45, 09:45, 10:45, 13:45, 14:45, 15:15, 15:45 NY Time)
Killzone Sessions — Asia, London, NY AM, NY PM with customizable times
Session Opens — Weekly, Monthly, Daily opening prices
Previous Period H/L — PDH/PDL, PWH/PWL, PMH/PML levels
📏 Dealing Ranges
Multi-Timeframe Ranges — 21-Day, 3-Day, Daily dealing ranges
Session Ranges — Asia, London, NY dealing ranges with equilibrium
Fibonacci Structure — 0%, 50% (EQ), 100% levels with P/D shading
🕯️ HTF Orderflow
Higher Timeframe Candles — Display up to 6 HTF candles with auto-timeframe selection
Candle Timer — Countdown to next HTF candle close
O/H/L Reference Lines — Current HTF open, high, low levels extended on chart
🎨 Visual Customization
5 Theme Presets — Dark Pro, Light Clean, Neon, Classic, Custom
Full Color Control — Customize every element individually
Zone Styles — Filled or Border Only options
Mitigation Effects — Visual fade when zones are mitigated
📋 Smart Dashboard
Real-Time Status — Structure bias, zone position, active session, OTE status
Confluence Score — Algorithmic scoring when multiple concepts align
Zone Counters — Active FVG, OB, BB, RB, VIMB, liquidity levels
3 Display Modes — Minimal, Compact, Detailed
🔔 Comprehensive Alert System
40+ Alert Conditions including:
FVG/OB/BB/RB/VIMB formation
Liquidity sweeps (EQH, EQL, BSL, SSL)
Market Structure Shifts
OTE zone entry
Macro time windows
Session opens
High confluence zones
Combo alerts (Macro + Confluence)
📖 How To Use
For Swing/Position Traders:
Enable HTF Orderflow to identify dominant trend direction
Use Dealing Ranges (3D, 21D) to find premium/discount zones
Look for OB/FVG confluence in discount (longs) or premium (shorts)
Confirm with MSS for trend alignment
For Day/Intraday Traders:
Mark the Asian Range during pre-market
Wait for London or NY AM Killzone
Enter during ICT Macro windows when price reaches FVG/OB in OTE zone
Target opposite liquidity (BSL for longs, SSL for shorts)
Confluence Trading:
Dashboard shows real-time confluence score
Score ≥ 3 indicates multiple ICT concepts aligned
Higher scores = higher probability setups
⚙️ Recommended Settings
Trading Style FVG Max OB Max History Bars HTF Candles
Scalping 3-5 2-3 100-200 3-4 Day Trading 5-8 3-5 200-400 4-5
Swing Trading 8-12 5-8 400-800 5-6
🎯 Best Practices
✅ Do:
Use HTF bias before taking LTF entries
Wait for Macro time windows for highest probability
Combine MSS + FVG/OB + OTE for A+ setups
Let mitigated zones fade (use Mitigation Fade setting)
❌ Avoid:
Trading against HTF structure
Entries outside Killzones (lower probability)
Ignoring liquidity targets
Over-cluttering chart (disable unused features)
📝 Version History
v6.0 (Current)
Complete rewrite in PineScript v6
Added ICT Macro Times with bracket/background styles
Enhanced confluence detection algorithm
Improved HTF candle rendering with multiple styles
Added Inverse FVG detection
Session-based Dealing Ranges
Performance optimizations
40+ alert conditions
⚠️ Disclaimer
This indicator is a technical analysis tool designed to visualize ICT/SMC concepts. It does not provide financial advice or guarantee profitable trades. Past performance is not indicative of future results. Always use proper risk management and trade responsibly.
💬 Support & Feedback
If you find this indicator valuable, please leave a comment or boost! Your feedback helps improve future updates.
Questions? Drop a comment below—I actively respond to all questions about the indicator's features and usage.
Session Liquidity SignalsThis indicator is called SLF VT and it analyzes market liquidity across major sessions
It defines three specific time windows which are Asia London and New York
During these times it draws colored boxes to mark the session High and Low
When a session ends the indicator extends dashed lines from the High and Low prices
These lines represent liquidity vectors where stop losses might be located
The core logic is designed to detect a Trap pattern
A Bullish Trap happens when price sweeps below a previous session Low but closes back above it
A Bearish Trap happens when price sweeps above a previous session High but closes back below it
The code calculates the Wick Ratio to ensure the reversal is sharp and valid
If a trap is confirmed the indicator plots a text label on the chart and can trigger an alert
MACD Signals with Impulse ScoresCustom indicator to generat buy sell signals. optimized for 5min NQ during RTH
SMC Rebalance to Equilibrium + ATR/ADX (Release)Markets spend more time rebalancing than trending. After an impulsive move, price naturally seeks fair value (equilibrium / mean / VWAP / 50%) where buyers and sellers agree again.
This makes rebalance trades higher win-rate and lower risk compared to continuation or breakout strategies.
Examples from real market behaviour:
- Gold futures (GC) rebalance very frequently because gold is heavily mean-reverted by institutions and hedgers. Roughly 60–70% of intraday moves show some form of rebalance.
- Nasdaq (NQ) is momentum-dominant, but even then 45–55% of intraday extensions rebalance, especially outside NY Open.
- FCPO is strongly controlled and rotational, with 70–80% of moves showing rebalance behaviour, especially outside aggressive news flows.
What each candle label means in this indicator
This indicator labels ATR state per candle to read market intent:
E (Expansion) - Volatility increasing. Aggressive participation. Used to drive price, not to rebalance.
S (Strong) - Sustained momentum. Trend still active.
D (Decreasing) - Volatility contracting. Acceptance forming. This is the core condition for rebalance.
W (Weak) represents very low momentum and temporary hesitation. W means the market is unsure.
Indicator features explained
This indicator is designed to be simple, objective, and rule-based:
Candle labels show real-time ATR state (E / S / D / W)
Strong rebalance condition is highlighted when D-D-D forms
Filters avoid signals during ADX expansion
Designed specifically for SMC rebalance to equilibrium, not continuation
Alerts trigger only when valid rebalance conditions appear, helping traders avoid over-trading and impulsive entries
Why D-D-D is very important?
Three consecutive D candles (D-D-D) mean:
- Volatility has contracted for multiple closes
- Chasers are gone
- Order flow is absorbed
- Market accepts current price as unfair
This is the strongest condition for price to return to equilibrium and sometimes continue further to MRH / MRL instead of stopping at 50%.
Important: One or two D candles are not enough. D-D-D confirms acceptance, not just a pause
Why NOT to trade rebalance when ADX is expanding
ADX expansion means trend strength is increasing. When ADX is expanding:
- Decreasing ATR often means reload, not reversal
- Price is being delivered, not balanced
- Rebalance attempts usually fail
This indicator filters out rebalance signals when ADX shows expansion because trend strength overrides balance logic.
Why price can rebalance without taking liquidity
A liquidity sweep is not required for rebalance.
Rebalance happens because acceptance changes, not because stops are hunted.
Price returns to equilibrium when:
- Momentum fades
- Volatility contracts
- Participation drops
- Passive orders dominate
Liquidity sweeps only make the move faster, not necessary. This is why rebalances commonly happen in Asian session, late US session, and mid-range conditions without any obvious stop-run.
Best time to trade rebalance (US & Malaysia time)
Rebalance works best when liquidity is stable or decaying, not expanding.
Best for Gold (GC)
- US Late Session: 11:30 pm – 2:00 am MYT
- Asian Morning: 7:00 am – 11:00 am MYT
Best for Nasdaq (NQ)
- US Late Session only: 11:30 pm – 1:30 am MYT
Avoid for all markets
- NY Open impulse: 8:30 pm – 10:30 pm MYT
This is delivery time, not balance time.
Core idea to remember
Rebalance trading is not about predicting reversals. It is about waiting for acceptance.
Liquidity makes moves fast. Acceptance makes moves possible. This indicator exists to help you trade what markets do most of the time — rebalance back to fair value — with discipline and structure
KCP Double Top/Bottom + VWAP + EMA 200 [Dr. K. C. Prakash]📌 **KCP Double Top/Bottom + VWAP + EMA 200
**
KCP Double Top/Bottom + VWAP + EMA 200 is a price-action–based professional reversal indicator designed to identify high-probability Double Top (DT) and Double Bottom (DB) patterns, filtered with VWAP and EMA 200 for strong trend confirmation.
🔍 What This Indicator Does
Automatically detects Double Top (M-pattern) and Double Bottom (W-pattern) structures
Confirms reversals using VWAP (institutional price benchmark)
Filters trades with EMA 200 to stay aligned with the dominant trend
Visually draws pattern structure + neckline
Highlights filled reversal zones for instant clarity
Generates clear BUY / SELL labels only when conditions are strong
🧠 Trading Logic (Simple Explanation)
🔴 Double Top – SELL
Two swing highs at almost the same price (M-shape)
Price breaks below the neckline
Price below VWAP
Price below EMA 200
→ DT SELL signal appears
🟢 Double Bottom – BUY
Two swing lows at almost the same price (W-shape)
Price breaks above the neckline
Price above VWAP
Price above EMA 200
→ DB BUY signal appears
🎯 Why VWAP & EMA 200 Are Used
VWAP confirms institutional bias (smart-money direction)
EMA 200 confirms long-term trend strength
Together they eliminate false reversals and sideways traps
👁️ Visual Features
✔ M & W structure lines
✔ Dashed neckline
✔ Filled pattern zones (Red for DT, Green for DB)
✔ Large, clear BUY / SELL labels
✔ Clean and professional chart appearance
📊 Best Use Cases
Intraday trading (5-min, 15-min)
Swing trading
Index trading (NIFTY, BANKNIFTY)
Stock & Futures charts
Works best during trending markets
⚠️ Important Note
This indicator focuses on quality over quantity.
Signals are fewer, but high-probability and trend-aligned.
🏆 Ideal For Traders Who
Trade price-action patterns
Avoid false signals
Follow trend + structure
Prefer clean, rule-based entries
ApexTrend Lite
ApexTrend Lite is a directional trend band indicator designed to show market structure, trend direction, and volatility in a simple visual form.
The indicator plots a single adaptive band that changes position based on trend conditions. In bullish markets, the band appears below price. In bearish markets, the band appears above price. During sideways or low-strength conditions, the band compresses near the trend average.
The band automatically expands when volatility and trend strength increase and contracts when conditions weaken. Color intensity reflects trend strength, helping distinguish strong trends from weak or choppy periods.
The band is anchored to candle extremes, ensuring it hugs price without gaps and accurately represents market structure. ApexTrend Lite does not repaint and works across all asset classes, including equities, indices, and commodities.
This is the Lite version focused on clean visual trend context
Sweeps + FVG + IFVG The ICT stuff in an indicator
Shows liquidity sweeps
Shows HTF FVG
shows IFVG
shows entries and take profit
VIG + ICT FVG/Imbalance [PRO FIXED]for personal use only for personal use only for personal use only for personal use only for personal use only for personal use only for personal use only for personal use only for personal use only for personal use only for personal use only
KCP Pivot TrendLine [Dr.K.C.Prakash]KCP Pivot TrendLine automatically plots non-repainting trendlines by connecting confirmed pivot highs and pivot lows.
It helps identify trend direction, support, and resistance, with optional display of only the latest trendline for a clean chart.
Best suited for market structure analysis and swing trading.
HTF Long/Short 1hr This is one of my latest algo it helps with your long and short bias for GC on the 1HR HTF
BOS Pullback + CVD Clustering - Prop Firm EditionBOS Pullback + CVD Clustering
Overview
The BOS Pullback + CVD Clustering system is a professional-grade toolkit designed for high-precision intraday trading. It is specifically built for traders aiming to pass or manage Prop Firm accounts, where risk management and trend alignment are non-negotiable.
This script moves beyond basic price action by integrating Order Flow (CVD Z-Score Clustering), Market Structure (BOS), and Multi-Timeframe Momentum (SMI) into a single, cohesive execution engine.
Core Pillars of the Strategy
1. Market Structure & BOS Logic
The script automatically tracks Market Structure using dynamic pivots.
BOS Detection: When price closes above a recent high (Bullish) or below a recent low (Bearish), it identifies a Break of Structure (BOS).
The Pullback Zone: Signals do not fire on the breakout (chasing). Instead, the script waits for a pullback to the silver BOS Level within an ATR-optimized buffer.
2. CVD Z-Score Clustering (Order Flow)
This is the heart of the engine. It categorizes every bar into one of 9 clusters by comparing Volume and Cumulative Volume Delta (CVD) against their statistical Z-Scores.
Institutional Conviction: Signals are filtered to only allow entries during high-conviction clusters (High/Avg Volume + High Delta).
Absorption Filter: It prevents you from buying a pullback if the CVD shows aggressive selling, even if the price is at a support level.
3. Multi-Timeframe (HTF) SMI Filter & Squeeze Detection
To protect you from "choppy" environments, the script monitors a Higher Timeframe (HTF) Stochastic Momentum Index.
Trend Filter: Longs only fire if the HTF SMI is trending above its signal line.
The Squeeze (Gray Background): When the HTF SMI and its signal line converge (within 5 points), the background turns gray. This indicates a low-volatility "Squeeze" or trend exhaustion—a high-risk environment for breakouts where Prop Firm traders should stay sidelined.
Dual-Layer Momentum HUD
The script features two distinct momentum measurements to ensure both the "Trend" and the "Execution Bar" are powerful.
Internal Acceptance Score (UI Table): Ranging from -4 to +4, this measures Trend Quality (consecutive candle colors and volatility expansion). You can set the threshold (1-4) in the inputs to filter for only the most aggressive trend moves.
Micro-Momentum Gauge (Bottom Left): Ranging from -10 to +10, this tracks Immediate Velocity. It analyzes closing strength and range expansion of the last two candles. A score of ±6 or higher confirms a high-velocity execution bar.
Built-in Prop Firm Risk Management
Supply & Demand Zones: Automatically plots institutional "Premium" (Red) and "Discount" (Green) zones based on the current swing range.
ATR Trailing Stop: A dynamic orange line that follows price to protect capital.
Automated Break-Even: Once price hits a user-defined ATR target, the active stop is moved to the entry price.
Prior Day Levels: Automatic plotting of PDH and PDL for critical daily bias context.
How to Trade with this System
Bias: Check the Trend Dir in the internal table and ensure the background is not gray.
Setup: Wait for price to return to the silver BOS Level.
Trigger: A signal (Triangle) appears when HTF Trend, CVD Order Flow, and Momentum (Acceptance Score) align.
Execution: Confirm the Micro-Momentum Gauge shows high velocity (±6 or more) for the highest probability entries.
Manage: Target the Lime Green TP line while the Orange Trailing Stop protects your drawdown.
Disclaimer
This indicator is a tool to assist in market entry analysis and does not guarantee profits. Always use proper risk management, especially when trading with Prop Firm capital.
KCP MACD + RSI Overlay [Dr.K.C.Prakash]KCP MACD + RSI Overlay
KCP MACD + RSI Overlay is a price-chart indicator that combines MACD crossovers (momentum change) with RSI strength confirmation.
It gives BUY when momentum turns bullish and RSI shows strength, and SELL when momentum turns bearish with weak RSI—helping filter false signals and trade only higher-quality moves.
Apex-Wallet - Risk & Reward Calc (Futures/Prop-Firm)Overview The Apex Risk & Reward Calc is a specialized utility tool designed for Futures traders, particularly those working with Prop Firms (Apex, MyFundedFutures, etc.). It eliminates the need for manual calculations by providing an instant, clear visualization of your Risk/Reward parameters directly on the chart.
How it works Trading Futures (ES, NQ, MES, MNQ) requires knowing exactly how many ticks correspond to your financial target. This script automatically detects the active instrument and calculates the precise number of ticks needed for both your Take Profit (TP) and Stop Loss (SL) based on your desired cash outcome and chosen ratio.
Key Features:
Automatic Ticker Recognition: Supports ES, NQ, MES, and MNQ with built-in tick values.
Cash-Based Planning: Enter your desired profit in dollars (e.g., $50), and the script tells you the required tick move.
Dynamic Ratio Selection: Choose from 9 different R:R ratios (from 1/5 to 5/1) to instantly see the impact on your Stop Loss.
Compact Professional UI: A clean, 3-column dashboard at the bottom-right of your screen showing active lots, ticks, and gross cash values.
Trading Application Perfect for intraday scalpers who need to set their ATM strategies in platforms like Tradovate or NinjaTrader. It ensures your execution remains consistent with your risk management plan.
Institutional ODR Quadrants + SD ExtensionsIn trading, "ODR Quadrants" (often related to Inner/Outer Day Range or just "Quadrants") typically refer to dividing a price range (like a day's high-low) into four equal sections to analyze price positioning and identify support/resistance, or a system of four trading styles/personalities (e.g., Q1: Quick Profits, Q2: Buy & Hold, Q3: Scalping, Q4: System-based) for risk management and strategy, with some technical indicators using quadrants to segment volume or time for clearer market structure analysis, especially within ICT (Inner Circle Trader) concepts.
KCP RSI + EMA Trend [Dr. K. C. Prakash]KCP RSI + EMA Trend
A professional, low-noise momentum indicator built on Volume-Weighted RSI and EMA trend confirmation, designed to filter false signals and capture high-probability trend moves.
Key Highlights (in simple terms):
Volume-Weighted RSI (VWRSI): Gives more importance to high-volume price moves, reducing weak signals.
EMA-14 on RSI: Confirms momentum direction and avoids premature entries.
HTF RSI Filter (Auto): Aligns trades with higher-timeframe trend (5m→15m, 15m→1H).
Strong Anti-False Filters: Uses RSI slope, range detection, and volume strength.
Clear Zones: Only 20 / 80 extreme levels for clean overbought–oversold structure.
Signals:
BUY: RSI crosses above 50 with volume + HTF trend confirmation
SELL: RSI crosses below 50 with volume + HTF trend confirmation
Best Use:
✔ Intraday & scalping (5m / 15m)
✔ Trend-following entries
✔ Avoiding sideways market traps
Ideal for: Traders who want clean, disciplined signals without over-trading.
AIE Crypto BoxAIE Crypto Box
The AIE Crypto Box highlights the previous day’s high, low, and midpoint directly on your chart.
It draws a clean, light-blue range box with optional midline, extending into the current session to help traders identify key liquidity zones, support & resistance, and breakout levels.
Designed for intraday traders and scalpers, the box provides a clear market framework for session opens, range trading, and break-and-retest setups.
Best used on lower timeframes (1m–15m).
US Silver Coin Melt Value Lines (Spot-Based)This indicator calculates and plots the melt value of several historic U.S. silver coins based on the current spot price of silver. Each coin contains a known amount of silver, expressed in troy ounces. By multiplying the spot price by each coin’s silver weight, the script produces real‑time melt‑value lines that track the intrinsic metal value of each denomination.
Coins included:
- 90% Silver Dollar (Morgan/Peace)
- 90% Half Dollar
- 90% Quarter
- 90% Dime
- 40% Half Dollar (1965–1970)
- 35% Wartime Silver Nickel (1942–1945)
The indicator retrieves a dedicated silver spot symbol using request.security(), ensuring melt‑value lines remain correctly scaled regardless of the chart symbol. Each line is color‑coded and can optionally display a right‑edge label for quick identification.
Features:
- Real‑time melt‑value calculations based on spot silver
- Works on any chart symbol
- Optional right‑edge labels for each coin
- Clean, color‑matched visual layout
- Accurate silver weights for all included coins
This tool is intended for users who track bullion value, compare coin premiums, or study historical relationships between spot silver and U.S. coinage.
No external data sources, links, or promotional content are used.
Bullish Trend DiamondTo create a Blue Diamond that specifically signals when a trend is turning bullish, we usually look for a "confluence" of factors (price action + momentum).
A common and effective way to define a bullish reversal is using a Moving Average Crossover combined with the RSI moving out of the oversold zone.
Blue Diamond SignalPlace Blue Diamond when RSI is 30. This will be very useful to find oversold tickers
gex levels Rafael//@version=5
indicator("GEX Levels (10-slot, symbol-specific)", overlay=true, max_lines_count=500, max_labels_count=500)
//===========================
// User inputs (10 slots)
//===========================
slotSym1 = input.string("IREN", "Slot 1 Symbol")
slotDat1 = input.string('IREN: Key Delta, 20.0, Implied Movement -2σ, 43.83, Implied Movement -σ, 47.97, Implied Movement +2σ, 62.15, Put Dominate , 41.0, Large Gamma 1 & Gamma Field CE & Call Wall & Call Wall CE, 55.0, Put Wall & Large Gamma 2 & Gamma Field, 50.0, Implied Movement +σ, 58.01, Call Dominate , 57.0, Put Wall CE & Gamma Flip & Gamma Flip CE, 43.5,', "Slot 1 Data")
slotSym2 = input.string("", "Slot 2 Symbol")
slotDat2 = input.string("", "Slot 2 Data")
slotSym3 = input.string("", "Slot 3 Symbol")
slotDat3 = input.string("", "Slot 3 Data")
slotSym4 = input.string("", "Slot 4 Symbol")
slotDat4 = input.string("", "Slot 4 Data")
slotSym5 = input.string("", "Slot 5 Symbol")
slotDat5 = input.string("", "Slot 5 Data")
slotSym6 = input.string("", "Slot 6 Symbol")
slotDat6 = input.string("", "Slot 6 Data")
slotSym7 = input.string("", "Slot 7 Symbol")
slotDat7 = input.string("", "Slot 7 Data")
slotSym8 = input.string("", "Slot 8 Symbol")
slotDat8 = input.string("", "Slot 8 Data")
slotSym9 = input.string("", "Slot 9 Symbol")
slotDat9 = input.string("", "Slot 9 Data")
slotSym10 = input.string("", "Slot 10 Symbol")
slotDat10 = input.string("", "Slot 10 Data")
showOnlyOnMatch = input.bool(true, "Show only when chart symbol matches a slot?")
labelOnRight = input.bool(true, "Show labels on right")
extendRight = input.bool(true, "Extend lines to the right")
lineWidth = input.int(2, "Line width", minval=1, maxval=4)
labelOffsetBars = input.int(30, "Label offset (bars to the right)", minval=5, maxval=300)
//===========================
// Helpers
//===========================
trim(s) =>
// Safe trim
str.trim(s)
containsCI(hay, needle) =>
str.contains(str.lower(hay), str.lower(needle))
// Decide color based on label keywords
levelColor(lbl) =>
// You can tune this mapping to match your old indicator’s palette
containsCI(lbl, "key delta") ? color.new(color.red, 0) :
containsCI(lbl, "gamma flip") ? color.new(color.fuchsia, 0) :
containsCI(lbl, "put wall") ? color.new(color.purple, 0) :
containsCI(lbl, "call wall") ? color.new(color.orange, 0) :
containsCI(lbl, "put dominate") ? color.new(color.yellow, 0) :
containsCI(lbl, "call dominate") ? color.new(color.teal, 0) :
containsCI(lbl, "implied movement") ? color.new(color.blue, 0) :
color.new(color.gray, 0)
//===========================
// Pick active slot by chart symbol
//===========================
chartSym = syminfo.ticker // e.g. "IREN" on most US stocks
getSlotData() =>
string sym = ""
string dat = ""
if chartSym == trim(slotSym1) and trim(slotSym1) != ""
sym := trim(slotSym1), dat := slotDat1
else if chartSym == trim(slotSym2) and trim(slotSym2) != ""
sym := trim(slotSym2), dat := slotDat2
else if chartSym == trim(slotSym3) and trim(slotSym3) != ""
sym := trim(slotSym3), dat := slotDat3
else if chartSym == trim(slotSym4) and trim(slotSym4) != ""
sym := trim(slotSym4), dat := slotDat4
else if chartSym == trim(slotSym5) and trim(slotSym5) != ""
sym := trim(slotSym5), dat := slotDat5
else if chartSym == trim(slotSym6) and trim(slotSym6) != ""
sym := trim(slotSym6), dat := slotDat6
else if chartSym == trim(slotSym7) and trim(slotSym7) != ""
sym := trim(slotSym7), dat := slotDat7
else if chartSym == trim(slotSym8) and trim(slotSym8) != ""
sym := trim(slotSym8), dat := slotDat8
else if chartSym == trim(slotSym9) and trim(slotSym9) != ""
sym := trim(slotSym9), dat := slotDat9
else if chartSym == trim(slotSym10) and trim(slotSym10) != ""
sym := trim(slotSym10), dat := slotDat10
//===========================
// Parse "label, value, label, value, ..."
//===========================
parsePairs(raw) =>
// Split by comma, then step through tokens 2 at a time.
// Expect format: label, number, label, number, ...
string t = str.split(raw, ",")
int n = array.size(t)
string outLabels = array.new_string()
float outValues = array.new_float()
for i = 0 to n - 1
array.set(t, i, trim(array.get(t, i)))
for i = 0 to n - 2
if i % 2 == 0
string lbl = array.get(t, i)
string valS = array.get(t, i + 1)
// Skip empty label/value
if lbl != "" and valS != ""
float v = str.tonumber(valS)
if not na(v)
// Optional: remove leading "SYMBOL:" prefix from label
// e.g. "IREN: Key Delta" -> "Key Delta"
string cleaned = lbl
int colonPos = str.pos(cleaned, ":")
if colonPos != -1
cleaned := trim(str.substring(cleaned, colonPos + 1, str.length(cleaned)))
array.push(outLabels, cleaned)
array.push(outValues, v)
//===========================
// Drawing state
//===========================
var line lines = array.new_line()
var label labels = array.new_label()
var string lastRaw = ""
// Delete all existing drawings
clearAll() =>
for i = 0 to array.size(lines) - 1
line.delete(array.get(lines, i))
for i = 0 to array.size(labels) - 1
label.delete(array.get(labels, i))
array.clear(lines)
array.clear(labels)
// Draw levels
drawLevels(sym, raw) =>
= parsePairs(raw)
int m = array.size(lbls)
// Build on last bar only to reduce clutter and avoid heavy redraw
if barstate.islast
clearAll()
// If user wants strict symbol match, and no slot matched, show nothing
bool ok = (sym != "")
if not showOnlyOnMatch
ok := true
if ok
int x1 = bar_index
int x2 = bar_index + (extendRight ? 200 : 1)
for i = 0 to m - 1
string lbl = array.get(lbls, i)
float y = array.get(vals, i)
color c = levelColor(lbl)
// Line
line ln = line.new(x1, y, x2, y, extend=extendRight ? extend.right : extend.none, color=c, width=lineWidth)
array.push(lines, ln)
// Label (right side)
if labelOnRight
int lx = bar_index + labelOffsetBars
string text = lbl + " (" + str.tostring(y) + ")"
label la = label.new(lx, y, text=text, style=label.style_label_left, textcolor=color.white, color=color.new(c, 0))
array.push(labels, la)
//===========================
// Main
//===========================
= getSlotData()
// If not matched but user wants to still show something, fallback to slot1
if not showOnlyOnMatch and sym == ""
sym := trim(slotSym1)
raw := slotDat1
// Redraw only when raw changes (or first run); still rebuild on last bar to keep labels aligned
if raw != lastRaw
lastRaw := raw
drawLevels(sym, raw)
KCP VWAP + Previous Day High/Low + CPR [Dr.K.C.Prakash]KCP VWAP + Previous Day High/Low + CPR Indicator
Designed by Dr. K. C. Prakash
Overview
The KCP VWAP + PDH/PDL + CPR indicator is a professional intraday decision-support system that combines institutional price levels with market structure zones.
It is specially designed for index trading, scalping, and intraday positional trades.
This indicator answers three critical trader questions:
Where is fair value? → VWAP
Where is strong support & resistance? → Previous Day High / Low
Is the market trending or ranging today? → CPR Width & Position
Core Components Explained
1️⃣ VWAP (Volume Weighted Average Price)
Acts as the institutional fair value line
Price above VWAP → Bullish bias
Price below VWAP → Bearish bias
Strong continuation moves happen when price holds VWAP
KCP Insight:
“Trade with institutions, not against them.”
2️⃣ Previous Day High (PDH) & Previous Day Low (PDL)
Most respected intraday breakout & rejection levels
PDH → Supply / Resistance
PDL → Demand / Support
Trading Logic:
Break & hold above PDH → Strong bullish continuation
Break & hold below PDL → Strong bearish continuation
Rejection at PDH/PDL → Mean-reversion setups
3️⃣ CPR – Central Pivot Range
CPR consists of:
Pivot (P)
Top Central (TC)
Bottom Central (BC)
Market Strength Clues:
Narrow CPR → High-volatility trending day
Wide CPR → Range-bound / sideways day
Positioning Rule:
Price above CPR → Bullish market structure
Price below CPR → Bearish market structure






















