Multi-Timeframe FVG (1H, 4H, Daily) - Color ShadesFVG charting in real time upon candle close. 1Hr, 4 Hr, Daily.
! hour darkest, 4 hour mid, daily lightest shade of color.
インジケーターとストラテジー
Live PDH/PDL Dashboard - Exact Time Fix saleem shaikh//@version=5
indicator("Live PDH/PDL Dashboard - Exact Time Fix", overlay=true)
// --- 1. Stocks ki List ---
s1 = "NSE:RELIANCE", s2 = "NSE:HDFCBANK", s3 = "NSE:ICICIBANK"
s4 = "NSE:INFY", s5 = "NSE:TCS", s6 = "NSE:SBIN"
s7 = "NSE:BHARTIARTL", s8 = "NSE:AXISBANK", s9 = "NSE:ITC", s10 = "NSE:KOTAKBANK"
// --- 2. Function: Har stock ke andar jaakar breakout time check karna ---
get_data(ticker) =>
// Kal ka High/Low (Daily timeframe se)
pdh_val = request.security(ticker, "D", high , lookahead=barmerge.lookahead_on)
pdl_val = request.security(ticker, "D", low , lookahead=barmerge.lookahead_on)
// Aaj ka breakout check karna (Current timeframe par)
curr_close = close
is_pdh_break = curr_close > pdh_val
is_pdl_break = curr_close < pdl_val
// Breakout kab hua uska time pakadna (ta.valuewhen use karke)
var float break_t = na
if (is_pdh_break or is_pdl_break) and na(break_t) // Sirf pehla breakout time capture karega
break_t := time
// --- 3. Sabhi stocks ka Data fetch karna ---
= request.security(s1, timeframe.period, get_data(s1))
= request.security(s2, timeframe.period, get_data(s2))
= request.security(s3, timeframe.period, get_data(s3))
= request.security(s4, timeframe.period, get_data(s4))
= request.security(s5, timeframe.period, get_data(s5))
= request.security(s6, timeframe.period, get_data(s6))
= request.security(s7, timeframe.period, get_data(s7))
= request.security(s8, timeframe.period, get_data(s8))
= request.security(s9, timeframe.period, get_data(s9))
= request.security(s10, timeframe.period, get_data(s10))
// --- 4. Table UI Setup ---
var tbl = table.new(position.top_right, 3, 11, bgcolor=color.rgb(33, 37, 41), border_width=1, border_color=color.gray)
// Row update karne ka logic
updateRow(row, name, price, hi, lo, breakT) =>
table.cell(tbl, 0, row, name, text_color=color.white, text_size=size.small)
string timeDisplay = na(breakT) ? "-" : str.format("{0,time,HH:mm}", breakT)
if price > hi
table.cell(tbl, 1, row, "PDH BREAK", bgcolor=color.new(color.green, 20), text_color=color.white, text_size=size.small)
table.cell(tbl, 2, row, timeDisplay, text_color=color.white, text_size=size.small)
else if price < lo
table.cell(tbl, 1, row, "PDL BREAK", bgcolor=color.new(color.red, 20), text_color=color.white, text_size=size.small)
table.cell(tbl, 2, row, timeDisplay, text_color=color.white, text_size=size.small)
else
table.cell(tbl, 1, row, "Normal", text_color=color.gray, text_size=size.small)
table.cell(tbl, 2, row, "-", text_color=color.gray, text_size=size.small)
// --- 5. Table Draw Karna ---
if barstate.islast
table.cell(tbl, 0, 0, "Stock", text_color=color.white, bgcolor=color.gray)
table.cell(tbl, 1, 0, "Signal", text_color=color.white, bgcolor=color.gray)
table.cell(tbl, 2, 0, "Time", text_color=color.white, bgcolor=color.gray)
updateRow(1, "RELIANCE", c1, h1, l1, t1)
updateRow(2, "HDFC BANK", c2, h2, l2, t2)
updateRow(3, "ICICI BANK", c3, h3, l3, t3)
updateRow(4, "INFY", c4, h4, l4, t4)
updateRow(5, "TCS", c5, h5, l5, t5)
updateRow(6, "SBI", c6, h6, l6, t6)
updateRow(7, "BHARTI", c7, h7, l7, t7)
updateRow(8, "AXIS", c8, h8, l8, t8)
updateRow(9, "ITC", c9, h9, l9, t9)
updateRow(10, "KOTAK", c10, h10, l10, t10)
RSI PVSRA PRO Edition# 📑 MASTER OPERATING MANUAL: Full Institutional Ecosystem (v3.0)
**Integrated Suite:** PVSRA Dashboard + SR Boxes + Order Spikes + CVD-100 + RSI PRO
---
## 1. SYSTEM HIERARCHY
This ecosystem provides a 360-degree view of the market, eliminating subjective interpretation:
1. **Bias (Dashboard):** Global market direction (Sentiment).
2. **Context (SR Boxes):** Institutional supply and demand zones (The "Where").
3. **Internal Force (CVD-100):** Aggressive money flow (The "Fuel").
4. **Momentum & Divergence (RSI PRO):** Speedometer and early-warning system for reversals.
---
## 2. COMPONENT DICTIONARY
### **A. RSI PRO (Divergences & Confluence)**
* **Bullish Divergence (Green Label):** Price makes a Lower Low, but RSI makes a Higher Low. Indicates hidden institutional accumulation.
* **Bearish Divergence (Red Label):** Price makes a Higher High, but RSI makes a Lower High. Indicates institutional distribution (unloading).
* **Safety Thresholds:** * *Safe Buy Zone (< 65):* Prevents buying into overextended markets.
* *Safe Sell Zone (> 35):* Prevents selling at absolute bottoms.
### **B. CVD-100 (Aggressive Pressure)**
* **Above 80:** Buyer exhaustion. **Below 20:** Seller exhaustion.
* **Slope:** A Lime color indicates buyers are hitting the Ask; Red indicates sellers are hitting the Bid.
### **C. PVSRA & Spikes (The Trigger)**
* **Climax Candles (Green/Magenta):** Marks the peak of professional activity.
* **Triangles (▲/▼):** Statistical confirmation of a massive order execution.
---
## 3. INTEGRATED TRADING STRATEGIES
### **Strategy A: The "Golden Pocket" Reversal (High Accuracy)**
1. **Zone:** Price enters a **Teal SR Box** (Support).
2. **Momentum:** **RSI PRO** displays a **Bullish Divergence** (Green Label).
3. **Volume:** A **Magenta Climax Candle** (PVSRA) appears.
4. **Flow:** **CVD-100** crosses above the 20 level.
5. **Trigger:** A **Buy Spike (▲)** or a **Diamond (◆)** appears.
* *Target:* Next Red Box or Dashed Recovery Line.
### **Strategy B: Momentum Breakout (Trend Following)**
1. **Bias:** Dashboard shows "STRONG BUY" + Price above SMA 200.
2. **RSI Filter:** RSI is below 65 (not yet in extreme overbought territory).
3. **Action:** Price breaks through a **Red SR Box** (Resistance) with force.
4. **Confirmation:** **CVD-100** is Lime (Buying pressure) + **RSI SMA** points upward.
* *Entry:* Close of the breakout candle.
---
## 4. ULTIMATE CONFLUENCE CHECKLIST (MANDATORY)
| Priority | Indicator | Trade Requirement |
| :--- | :--- | :--- |
| **1. Bias** | Dashboard | Must be "STRONG" in the trade direction |
| **2. Context**| SR Boxes | Price must be near a Box (Teal/Red) |
| **3. Momentum**| RSI PRO | Presence of Divergence OR RSI within thresholds (65/35) |
| **4. Internal** | CVD-100 | Slope must be aligned with the trade direction |
| **5. Trigger** | Spike Det. | Presence of Triangle (▲/▼) or Diamond (◆) |
---
## 5. RECOMMENDED TECHNICAL SETTINGS
| Indicator | Parameter | Suggested Value |
| :--- | :--- | :--- |
| **RSI PRO** | Length | 14 |
| **RSI PRO** | Confluence | 65 (Max Buy) / 35 (Min Sell) |
| **CVD-100** | Normalization| 50 (Stochastic Mode) |
| **PVSRA** | Climax Factor | 2.7 |
---
## 6. PRO TIPS & RISK MANAGEMENT
* ⚠️ **The Divergence Rule:** An RSI divergence occurring inside an **SR Box** is 3x more powerful than a divergence in a vacuum.
* ⚠️ **RSI + CVD Synergy:** If the RSI shows a bullish divergence AND the CVD-100 is rising from the 20 level, you have identified a massive institutional "floor."
* ⚠️ **Smoothing MA:** If the yellow RSI line is flat, the market is ranging. Wait for a clear slope before acting.
---
*Document created for Quantitative Trading Operations*
Kewme//@version=5
indicator("EMA 9/15 + ATR TP/SL Separate Boxes (No Engulfing)", overlay=true, max_lines_count=500, max_boxes_count=500)
// ===== INPUTS =====
atrLen = input.int(14, "ATR Length")
slMult = input.float(1.0, "SL ATR Multiplier")
rr = input.float(2.0, "Risk Reward")
// ===== EMA =====
ema9 = ta.ema(close, 9)
ema15 = ta.ema(close, 15)
plot(ema9, color=color.green, title="EMA 9")
plot(ema15, color=color.red, title="EMA 15")
// ===== TREND STATE =====
var int trendState = 0
// ===== ATR =====
atr = ta.atr(atrLen)
// ===== Indecision =====
bodySize = math.abs(close - open)
candleRange = high - low
indecision = bodySize <= candleRange * 0.35
// ===== SIGNAL CONDITIONS (NO Engulfing) =====
buySignal =
ema9 > ema15 and
trendState != 1 and
indecision and
close > ema9
sellSignal =
ema9 < ema15 and
trendState != -1 and
indecision and
close < ema9
// ===== UPDATE TREND STATE =====
if buySignal
trendState := 1
if sellSignal
trendState := -1
// ===== SL & TP =====
buySL = close - atr * slMult
buyTP = close + atr * slMult * rr
sellSL = close + atr * slMult
sellTP = close - atr * slMult * rr
// ===== PLOTS =====
plotshape(buySignal, text="BUY", style=shape.labelup, location=location.belowbar, color=color.green, size=size.tiny)
plotshape(sellSignal, text="SELL", style=shape.labeldown, location=location.abovebar, color=color.red, size=size.tiny)
// ===== VARIABLES =====
var line buySLLine = na
var line buyTPLine = na
var line sellSLLine = na
var line sellTPLine = na
var box buySLBox = na
var box buyTPBox = na
var box sellSLBox = na
var box sellTPBox = na
// ===== BUY SIGNAL =====
if buySignal
// Delete previous
if not na(buySLLine)
line.delete(buySLLine)
line.delete(buyTPLine)
box.delete(buySLBox)
box.delete(buyTPBox)
// Draw lines
buySLLine := line.new(bar_index, buySL, bar_index + 15, buySL, color=color.red, width=2)
buyTPLine := line.new(bar_index, buyTP, bar_index + 15, buyTP, color=color.green, width=2)
// Draw separate boxes
buySLBox := box.new(bar_index, buySL - atr*0.1, bar_index + 15, buySL + atr*0.1, border_color=color.red, bgcolor=color.new(color.red,70))
buyTPBox := box.new(bar_index, buyTP - atr*0.1, bar_index + 15, buyTP + atr*0.1, border_color=color.green, bgcolor=color.new(color.green,70))
// ===== SELL SIGNAL =====
if sellSignal
// Delete previous
if not na(sellSLLine)
line.delete(sellSLLine)
line.delete(sellTPLine)
box.delete(sellSLBox)
box.delete(sellTPBox)
// Draw lines
sellSLLine := line.new(bar_index, sellSL, bar_index + 15, sellSL, color=color.red, width=2)
sellTPLine := line.new(bar_index, sellTP, bar_index + 15, sellTP, color=color.green, width=2)
// Draw separate boxes
sellSLBox := box.new(bar_index, sellSL - atr*0.1, bar_index + 15, sellSL + atr*0.1, border_color=color.red, bgcolor=color.new(color.red,70))
sellTPBox := box.new(bar_index, sellTP - atr*0.1, bar_index + 15, sellTP + atr*0.1, border_color=color.green, bgcolor=color.new(color.green,70))
ICT Levels PDH/PDL/IB/JP/WH/WL/PDCA lightweight reference-level indicator designed for ICT-style execution and prop-evaluation trading.
This script plots only the core, high-signal levels used intraday:
Prior Day High / Low (PDH / PDL)
Initial Balance High / Low (IBH / IBL)
Job Pivot (previous day pivot)
Weekly High / Low
PDC
Right-anchored labels for quick price reference
No signals, no bias — levels only
EMA Trend Reversal (Regime Change)
EMA Trend Reversal (Regime Change)
This indicator highlights EMA slope reversals that often coincide with trend or regime shifts, using a simple two-stage visual system.
It is especially effective on higher timeframes (Daily / Weekly) for swing trading and trend-bias awareness.
Detailed User Guide
What the signals mean
Unconfirmed signals (triangles)
Yellow triangle below price
- EMA is turning up intrabar (not yet confirmed)
Yellow triangle above price
- EMA is turning down intrabar (not yet confirmed)
Unconfirmed signals may repeat at a set interval until confirmation.
Confirmed signals (dots)
Green dot below price
- EMA slope has confirmed upward (bullish regime shift)
Red dot above price
- EMA slope has confirmed downward (bearish regime shift)
Confirmed dots only appear after the candle closes.
Alerts
This script provides two alerts only:
EMA Reversal UP
EMA Reversal DOWN
Each alert can fire on:
Initial unconfirmed reversal
Reminder interval while unconfirmed
Final confirmed reversal
Alerts will NOT fire unless this indicator is active on at least one chart.
It may be kept on a chart you do not actively trade.
Settings
EMA Length (default: 21)
Reminder interval (minutes)
Show / hide unconfirmed triangles
Show / hide confirmed dots
Dot transparency
Colors (locked to preserve signal meaning)
Best use cases
Identifying trend or regime changes
Weekly swing trade entries and exits
Holding-period guidance during trends
Alert-based monitoring without watching charts
This is not a scalp or oscillator signal.
It works best when combined with structure, support/resistance, or higher-timeframe context.
Disclaimer
This indicator is provided for educational and informational purposes only.
It does not constitute financial, investment, or trading advice.
All trading involves risk. Use at your own discretion.
Trading Sessions - BluePipsWhat the indicator does
A TradingView Pine Script indicator that overlays trading sessions on intraday charts and tracks session highs/lows.
Main features
Three trading sessions (all times in CST/CDT):
Asian Session: 7:00 PM - 12:00 AM (19:00-00:00)
London Session: 1:00 AM - 6:00 AM (01:00-06:00)
New York Session: 7:00 AM - 1:00 PM (07:00-13:00)
Visual elements (toggleable):
Colored boxes: highlight each active session
Session labels: show session name, price range, and average price
Open/Close lines: dashed lines at session open and close prices
Average price line: dotted line showing the average price during the session
High/Low lines: solid lines showing the session high and low
High/Low labels: "AH" (Asian High), "AL" (Asian Low), "LH" (London High), "LL" (London Low), "NH" (New York High), "NL" (New York Low)
Behavior:
During a session: box expands, lines extend, high/low update in real time
After a session ends: box and open/close lines are removed; high/low lines remain visible as reference levels
Daily reset: all elements are cleaned up at the start of each new day
Use cases
Identify session boundaries and overlaps
Track session highs/lows as support/resistance
Analyze price action during specific trading hours
Monitor session ranges and averages
Technical details
Works only on intraday timeframes (errors on daily/weekly/monthly)
Handles daylight saving time automatically via IANA timezones
Properly cleans up visual elements to prevent memory leaks
All times are in Central Standard Time (CST/CDT)
Useful for traders who want to see session-based price levels and ranges directly on their charts.
Breakout Alert Pro + VWAPAdvanced breakout/breakdown indicator featuring multi-pattern detection, quality tier scoring (S/A/B/C), strength analysis (0-10), VWAP integration, multi-timeframe filters, and adaptive R-based take-profit/stop-loss framework. Includes comprehensive dashboard with real-time metrics and market regime detection.
EDUVEST UTBOT ADJ - Adaptive ATR Trailing StopEDUVEST UTBOT ADJ - Adaptive ATR Trailing Stop with Session-Based Sensitivity
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ ORIGINALITY
This indicator is an enhanced version of the classic UT Bot concept, featuring automatic session-based ATR sensitivity adjustment. Unlike the original UT Bot which uses a fixed sensitivity value, this version dynamically adapts to different trading sessions (Tokyo, London, New York) and automatically detects asset characteristics to optimize signal generation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ WHAT IT DOES
- Generates BUY and SELL signals based on ATR trailing stop crossovers with a moving average
- Automatically adjusts sensitivity based on current trading session (Tokyo/London/NY)
- Auto-detects asset type and applies optimized parameters for each instrument
- Displays real-time session information and volatility status
- Provides alert functionality with customizable cooldown periods
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW IT WORKS
【Core Logic: ATR Trailing Stop】
The indicator calculates an ATR-based trailing stop using the formula:
Trailing Stop = Price ± (Sensitivity × ATR)
When price is above the trailing stop and rising, the stop trails below price.
When price is below the trailing stop and falling, the stop trails above price.
【Signal Generation】
- BUY Signal: Price crosses above the trailing stop AND Moving Average crosses above the trailing stop
- SELL Signal: Price crosses below the trailing stop AND Moving Average crosses below the trailing stop
【Session-Based Sensitivity Adjustment】
The indicator adjusts ATR sensitivity based on trading session (JST timezone):
- Tokyo (08:00-15:00): Lower sensitivity (reduced by adjustment value) - typically quieter markets
- London (15:00-23:00): Base sensitivity - moderate volatility
- New York (23:00-08:00): Higher sensitivity (increased by adjustment value) - higher volatility
【Dynamic ATR Adjustment】
When enabled, the indicator compares current ATR to its smoothed average:
- ATR Ratio = Current ATR / SMA(ATR, smoothing period)
- Volatility Multiplier = 1.0 + (Sensitivity × (2.0 - ATR Ratio))
This reduces sensitivity during high volatility (fewer false signals) and increases sensitivity during low volatility (faster response).
【Auto Asset Detection】
The indicator automatically detects the traded instrument and applies optimized parameters:
- Stable pairs (USDJPY, EURUSD, USDCHF): Base sensitivity 1.5-1.8
- Moderate pairs (AUDUSD, USDCAD, EURJPY): Base sensitivity 2.0-2.3
- Volatile pairs (GBPUSD): Base sensitivity 2.8
- Commodities (GOLD/XAUUSD): Base sensitivity 3.5
- Indices (NASDAQ/NAS100): Base sensitivity 4.0
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW TO USE
【Recommended Settings】
- Timeframe: 15 minutes or higher (15M, 1H, 4H recommended)
- Best performance on: Forex majors, Gold, NASDAQ
- Enable "Auto Asset Detection" for optimized parameters
【Entry Rules】
- BUY: Enter long when green BUY label appears
- SELL: Enter short when pink SELL label appears
【Session Panel】
The top-right panel displays:
- Current trading session (Tokyo/London/NY)
- Volatility status (High Chance/Medium Chance/Caution)
- Mode (AUTO/MANUAL)
【Alert Setup】
1. Enable "Viewer Alert Display" in settings
2. Set cooldown period (default: 15 minutes) to avoid signal spam
3. Create alert with "Any alert() function call" condition
【Important Notes】
- This indicator does not repaint - signals are confirmed at bar close
- Lower timeframes (1M, 5M) may generate excessive signals
- Always use proper risk management and confirm with other analysis
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ SETTINGS OVERVIEW
🎯 Alert Settings
- Viewer Alert Display: Enable/disable alert labels
- Cooldown Function: Prevent rapid consecutive signals
- Cooldown Time: Minutes between alerts (5-60)
🔧 Dynamic ATR Settings
- Enable Dynamic ATR: Auto-adjust based on volatility
- ATR Period: Calculation period (default: 14)
- ATR Smoothing: Smoothing period for ratio calculation
- Volatility Sensitivity: How much to adjust (0.1-1.0)
🕐 Session ATR Adjustment
- Enable Time Adjustment: Session-based sensitivity
- Show Session Info: Display session panel
📊 Asset Settings
- Auto Asset Detection: Automatically optimize for instrument
- Manual settings available when auto-detection is disabled
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ CREDITS
Based on the original UT Bot concept by QuantNomad.
Enhanced with session-based adaptation and auto-asset detection by EduVest.
License: Mozilla Public License 2.0
Fifty Two Week Highs and Lows Displays 52-week highs and lows with percentage distance context, optional dashboard, and visual connections between successive new highs for long-term range awareness.
Fifty Two Week Highs and Lows
This indicator provides clear, objective context around price location within its 52-week range. It is designed to help users quickly assess how extended or compressed price is relative to its long-term highs and lows, without generating trade signals or placing orders.
What the indicator does
Calculates 52-week highs and lows using one of two reference definitions:
Daily (252 bars): Rolling high and low over a configurable number of daily bars, best suited for Daily charts.
Weekly (52 weeks): True weekly 52-week high and low values projected onto the active chart timeframe.
Displays a compact dashboard showing:
Percent below the 52-week high
Percent above the 52-week low
Both values are color-coded to provide immediate visual context.
Optionally draws lines connecting successive new 52-week highs, making sequences of higher highs easier to observe.
Alerts
Optional indicator alerts are included for:
New 52-week highs (Daily or Weekly mode)
Price entering defined distance zones relative to the 52-week high or low
All alerts are evaluated on confirmed bar close.
How to use
Add the indicator to any chart and select the preferred 52-week reference mode.
Use the dashboard values as context, not signals, to understand where price sits within its long-term range.
Enable alerts if you want notifications when price reaches specific distance thresholds.
Notes
In Weekly mode, values are derived from higher-timeframe weekly data and projected onto the active chart.
This script is an indicator only and does not place trades.
Educational and informational use only.
Session High Low - Multi SessionDraws horizontal lines showing the highest and lowest prices for three trading sessions (Asian, London, New York) each day. Labels them AH/AL, LH/LL, NH/NL. Lines extend across the chart so you can see these levels after the session ends.
In one sentence: It draws daily high/low lines for three trading sessions with labels so you can see important price levels.
Breakout ProAdvanced breakout/breakdown indicator featuring multi-pattern detection, quality tier scoring (S/A/B/C), strength analysis (0-10), VWAP integration, multi-timeframe filters, and adaptive R-based take-profit/stop-loss framework. Includes comprehensive dashboard with real-time metrics and market regime detection.
Michael's EMA - Multi-timeframeProfs magic tool that works as a moving average and is indeed a moving average and will do what a moving average does
BTC Log RegressionLog-scale regression channel for Bitcoin. Designed to identify long-term valuation extremes in exponentially growing assets.
KCP VWAP + Previous Day High/Low + CPR [Dr.K.C.Prakash]KCP VWAP + PDH/PDL + CPR Indicator
This indicator combines VWAP, Previous Day High (PDH), Previous Day Low (PDL), and CPR (Pivot, BC, TC) levels for intraday trading.
VWAP shows the fair price and intraday trend direction
PDH & PDL act as strong support and resistance
CPR levels help identify range, breakout, and reversal zones
Displays only today’s levels with clean right-side labels
Best suited for index and stock intraday trading
Use:
Above VWAP → bullish bias | Below VWAP → bearish bias
Price near CPR → range | Break from CPR → trending move
Asset % Performance vs Base Index [Dots3Red]General idea of the indicator
This indicator is designed to indicate the asset % performance within the chosen time period in the form of colored boxes.
Moreover, the indicator shows the historic YoY% performance of one of the 4 US indices chosen: SP500, Nasdaq 100, DJ30, or Russel 2000.
The visual boxes are shown below the main chart.
How to use the indicator?
In the indicator's settings:
Choose the base index against which you want to check the asset % performance in the scripts.
Choose the default time period of the ticker for which you want to see the % performance.
Choose "Dark Theme" to redraw the boxes if you use that theme.
It is possible to drag the boundaries of the asset's % box in the chart so as to readjust the time period.
The indicator automatically recalculates once you change the settings or drag the boundaries of the asset's box
Possible Code changes
This script is open-source, therefore, you might modify it to choose any base asset, not only US indices.
Support and Resistance (High Volume Boxes) [ChartPrime]# 📘 OPERATING MANUAL: Massive Order Spike Detector (v1.0)
## 1. PURPOSE OF THE TOOL
The **Massive Order Spike Detector** is a quantitative analysis tool designed to isolate volume anomalies. By utilizing **Standard Deviation (σ)**, it identifies the exact moments when order flow exceeds statistical norms, signaling institutional intervention ("Smart Money"), high-frequency trading (HFT) activity, or market climax events.
---
## 2. TECHNICAL SPECIFICATIONS & INPUTS
The indicator calculates the ratio between current volume and its historical volatility to define "extreme" participation.
### **Configuration Settings**
* **Volume Spike Multiplier (x σ):** *Default: **4.0***
* *Function:* Sets the sensitivity threshold. A value of 4.0 triggers a signal only if the current volume is 4 times the standard deviation of the lookback period.
* **StDev Lookback Length:** *Default: **200***
* *Function:* Defines the sample size (number of bars) used to establish the "baseline" or "normal" volume.
---
## 3. SIGNAL INTERPRETATION PROTOCOL
The indicator generates real-time visual signals on the price chart:
| Signal | Graphic Icon | Technical Condition | Market Sentiment |
| :--- | :--- | :--- | :--- |
| **Massive Buy Spike** | 🟢 Lime Triangle (Below) | Vol ≥ 4σ + Close > Open | Extreme buying pressure. Potential accumulation or aggressive breakout. |
| **Massive Sell Spike** | 🔴 Red Triangle (Above) | Vol ≥ 4σ + Close < Open | Extreme selling pressure. Potential distribution or panic selling. |
---
## 4. OPERATIONAL PROCEDURES (STRATEGIES)
### **A. Breakout Validation (Trend Following)**
* **Context:** Price is testing a key Support/Resistance or a consolidation zone.
* **Trigger:** A Spike appears (Lime for Long / Red for Short) as the level is breached.
* **Execution:** The signal confirms that institutional volume is backing the move. High probability of trend continuation.
### **B. Exhaustion Climax (Mean Reversion)**
* **Context:** Price is in an extended trend (overbought/oversold).
* **Trigger:** A Spike appears in the direction of the trend, but the candle features a long wick (rejection) or a small body.
* **Execution:** This indicates a "Blow-off Top" or "Selling Climax." Traders should look to take profits or prepare for a reversal once market structure shifts.
---
## 5. ALERT MANAGEMENT
To ensure no institutional moves are missed, follow this setup for TradingView notifications:
1. Open the **"Create Alert"** panel in TradingView.
2. Select **"Massive Order Spike Detector"** as the condition.
3. Set frequency to: **"Once Per Bar Close"** (to prevent false triggers during mid-candle volatility).
4. The automated message includes the **Normalized Volume** value to gauge the magnitude of the spike.
---
## 6. RISK WARNINGS & BEST PRACTICES
⚠️ **Macro Events:** During high-impact news (e.g., NFP, CPI), spikes are common but highly volatile. Use wider stop losses or avoid entry during the first 5 minutes.
⚠️ **Low Liquidity Assets:** On "thin" charts, a 4.0 multiplier may trigger too often. Increase the multiplier to **6.0+** for better accuracy.
⚠️ **Confluence:** Never trade a spike in isolation. Always align signals with Price Action (Support/Resistance) or Trend Filters (e.g., 200 EMA).
DStrat With Alert Line Dstrat with extra lower band line specifically for alerts to trade spontaneously (without tracking daily)
CVD Normalizzato (0-100)# 📑 MASTER OPERATING MANUAL: Institutional Order Flow Ecosystem (v2.0)
**Integrated Suite:** PVSRA Dashboard PRO + SR High Volume Boxes + Massive Order Spike Detector + CVD-100
---
## 1. SYSTEM HIERARCHY
This trading ecosystem is designed to decode "Smart Money" footprints. It filters retail noise to identify where institutional participants are placing massive orders.
1. **Bias (Dashboard):** Determines the overall market direction (Sentiment).
2. **Context (SR Boxes):** Identifies the price "Battlefields" (Supply & Demand).
3. **Internal Force (CVD-100):** Reveals aggressive buying/selling pressure (Market Delta).
4. **Trigger (PVSRA & Spikes):** Signals the exact moment of execution.
---
## 2. COMPONENT DICTIONARY
### A. CVD-100 (The Internal Engine)
*Reveals the aggressive pressure of buyers/sellers.*
- **Values > 80:** Aggressive buyers are dominant (Extreme Overbought).
- **Values < 20:** Aggressive sellers are dominant (Extreme Oversold).
- **Green Slope:** Aggressive buyers are increasing pressure.
- **Red Slope:** Aggressive sellers are increasing pressure.
### B. PVSRA Candles (Market Climax)
- 🟢 **Bright Green:** Bull Climax (Highest institutional activity).
- 🟣 **Magenta:** Bear Climax (Panic selling or Institutional offloading).
- 🔵 **Blue/Red:** Rising volume (Professional participation).
### C. SR Boxes & Spikes (The Execution Zones)
- **Teal/Red Boxes:** Areas where significant volume was stored.
- **Triangles (▲/▼):** "Massive Order Spike". Confirms statistical anomaly.
- **Diamonds (◆):** Confirms a level (Box) is successfully holding the price.
---
## 3. INTEGRATED STRATEGIES
### **Strategy A: Institutional Trend Follower**
- **Bias:** Dashboard shows "STRONG BUY" + Price is above SMA 200.
- **Setup:** Price breaks above a **Red Box** (Resistance).
- **Confirmation:** **CVD-100** is sloping up (Green) and a **Massive Buy Spike** (▲) appears.
- **Entry:** On the close of the breakout candle.
### **Strategy B: The Climax Reversal (The Sniper)**
- **Bias:** Price reaches a **Teal Box** (Support) after an extended drop.
- **Setup:** **CVD-100** is below 20 (Deep Oversold/Exhaustion).
- **Trigger:** A **Magenta Climax Candle** (PVSRA) appears, followed immediately by a **Green Diamond (◆)**.
- **Entry:** Long when price breaks the high of the Climax candle.
---
## 4. THE ULTIMATE CONFLUENCE CHECKLIST
| Priority | Confirmation | Indicator Tool |
| :--- | :--- | :--- |
| **1. Bias** | Is the Dashboard "STRONG" in the trade direction? | PVSRA Dashboard |
| **2. Level** | Is the price at/inside a Teal or Red Box? | SR Boxes |
| **3. Volume** | Is the candle Climax or Rising color? | PVSRA Candles |
| **4. Delta** | Is CVD-100 aligned with your direction? | CVD-100 |
| **5. Trigger**| Has a Triangle (Spike) or Diamond (Hold) appeared? | Spike Detector |
---
## 5. TECHNICAL CONFIGURATION
| Setting | Value | Goal |
| :--- | :--- | :--- |
| **PVSRA Climax Factor** | 2.7 | Filter for institutional impact only. |
| **Spike Multiplier** | 4.0 | Isolate statistical extreme volume. |
| **CVD Normalization** | 50 (Stoch) | Standardize delta for clear overbought/sold. |
| **SMA Bias** | 200 | Institutional trend filter. |
---
## 6. PRO TIPS & RISK NOTES
- ⚠️ **Divergence:** If Price makes a new high but **CVD-100** makes a lower high, the trend is exhausted. Prepare for a reversal.
- ⚠️ **News Filter:** High-impact news causes "Spikes" but invalidates "Boxes". Wait 15 mins for the market to stabilize.
- ⚠️ **Absorption:** A Climax candle with a tiny body inside a Box is "Absorption". Institutions are soaking up orders. Wait for the box breakout.
---
*Created for: Professional Trading Operations*
Stochastic RSI with DivergencesStochastic RSI with Divergences - Enhanced Edition
DESCRIPTION
- This is an enhanced version of the classic Stochastic RSI indicator with divergence detection, originally created by @fskrypt (Log RSI), @RicardoSantos (Divergences), @JustUncleL (edits), and @NeoButane (2018 modifications). Full credit to these talented developers for the foundational work.
ENHANCEMENTS & MODIFICATIONS
- This version adds several user-requested features for improved customization and clarity:
- Divergence Signal Labels: Regular divergence signals now display "Buy" (green) and "Sell" (red) instead of generic "R" markers. Hidden divergences show "H-Buy" and "H-Sell" for clearer identification.
- Customizable Colors: User-adjustable colors for both K line (default: blue) and D line (default: orange) allow traders to match their chart themes.
- Adjustable Transparency: Separate opacity controls for the K/D fill shading (default: 70%) and background zones (default: 98%) provide precise visual customization without overwhelming the chart.
- Optional Divergence Lines: Toggle the green and red divergence connecting lines on/off while keeping the Buy/Sell labels visible, reducing visual clutter when desired.
- Organized Settings: All inputs are logically grouped (StochRSI Settings, Divergence Settings, Colors, Opacity) for easier navigation and configuration.
HOW IT WORKS
- The indicator identifies regular and hidden divergences between price action and the Stochastic RSI oscillator:
- Regular Bullish Divergence (Buy): Price makes lower lows while StochRSI makes higher lows - potential reversal signal
- Regular Bearish Divergence (Sell): Price makes higher highs while StochRSI makes lower highs - potential reversal signal
- Hidden Bullish Divergence (H-Buy): Price makes higher lows while StochRSI makes lower lows - trend continuation signal
- Hidden Bearish Divergence (H-Sell): Price makes lower highs while StochRSI makes higher highs - trend continuation signal
- The Stochastic RSI oscillates between 0-100, with readings above 80 indicating overbought conditions and below 20 indicating oversold conditions.
SETTINGS
StochRSI Settings
RSI Length: 14 (default)
Stoch Length: 14 (default)
K Smoothing: 3 (default)
D Smoothing: 3 (default)
Log Scale: Optional logarithmic transformation
Average K & D: Optional blending of both lines
Divergence Settings
Show Divergences: Toggle all divergence signals
Show Hidden Divergences: Toggle H-Buy/H-Sell signals
Show Divergence Lines: Toggle connecting lines between divergence points
Show Divergences Channel: Display fractal channels
Colors
K Line Color: Customize the fast line
D Line Color: Customize the slow line
Opacity
- Background Opacity: Control 20-80 zone shading (0-100)
K/D Fill Opacity: Control area between K and D lines (0-100)
USE CASES
- Momentum trading: Identify overbought/oversold conditions
Divergence trading: Spot potential reversals and trend continuations
Multi-timeframe analysis: Confirm signals across different timeframes
Trend confirmation: Use with other indicators for confluence
CREDITS
- Original concept and code: @fskrypt (Log RSI), @RicardoSantos (Divergence detection), @JustUncleL (modifications), @NeoButane (2018 updates)
Enhanced by: NPR21 (User interface improvements, label modifications, transparency controls)






















