ICT Algo: Sweep + MSS + High Prob FVG/IFVGThis script is a comprehensive execution tool based on Inner Circle Trader (ICT) concepts, specifically designed to identify high-probability entries by combining Liquidity Sweeps, Market Structure Shifts (MSS), and Fair Value Gaps (FVG/IFVG).
Unlike standard FVG indicators that highlight every gap on the chart, this "Algo" version filters for gaps that occur specifically after a liquidity purge and a shift in structure, ensuring you are only looking at setups with institutional backing.
How It Works
The script follows a strict 3-step validation process before plotting a signal:
Liquidity Sweep (The Context): The script tracks Higher Timeframe (HTF) levels including Previous Day High/Low, Weekly High/Low, and Monthly High/Low. A setup is only considered valid if price has recently "swept" one of these levels, indicating a hunt for liquidity.
Market Structure Shift (The Confirmation): Once a sweep occurs, the script looks for a displacement in the opposite direction. It identifies a "Pivot High/Low" (customizable length) and waits for a candle body to close beyond it (MSS).
Filtered Entry (The Trigger): * FVG: Plots a standard Fair Value Gap if it forms within a "Deep Value" zone (Discount for longs, Premium for shorts).
IFVG (Inversion FVG): Highlights failed FVGs that have been reclaimed by price to act as support or resistance.
Key Features
Multi-Timeframe Liquidity Filters: Automatically plots PDH/L, PWH/L, PMH/L, and PYH/L. You can toggle which levels act as your sweep triggers.
Deep Value Logic: The script uses built-in logic to ensure Bullish FVGs are only highlighted when price is below a key liquidity level (Discount), and Bearish FVGs when price is above (Premium).
Dynamic Box Management: To keep your chart clean, boxes for FVGs and IFVGs are automatically shortened ("cut") once they are mitigated by price.
Inversion Logic: Includes a specialized toggle for Inversion Fair Value Gaps, allowing you to trade "failed" gaps that flip their polarity.
Settings & Customization
Entry Setup Bias: Choose to see only Bullish, only Bearish, or Both setups.
MSS Pivot Length: Adjust how "sensitive" the Market Structure Shift detection is. A higher number requires a more significant swing to be broken.
Sweep Lookback: Defines how many bars back the script looks for a liquidity sweep to remain "active" for a setup.
Include Opens: Optional toggle to include Previous Day/Week/Month Opens as liquidity points.
Usage Tips
The Golden Setup: Look for a sweep of a Previous Day High, followed by a Bearish MSS, and an entry at the Red FVG box.
Risk Management: This indicator is designed for entry identification. Always use stop losses (usually placed above/below the candle that created the FVG or the MSS swing point).
Timeframes: Best used on execution timeframes (1m, 5m, 15m) while the script handles the HTF levels automatically.
Disclaimer: This script is an educational tool and does not constitute financial advice. Trading involves significant risk. Past performance of a strategy does not guarantee future results.
Credits: Concepts based on the teachings of Michael J. Huddleston (ICT).
트렌드 어낼리시스
GEX Walls + Market Open Shading### Overview
This Pine Script (version 6) creates a TradingView indicator called **"GEX Walls + Market Open Shading"**. It overlays directly on the price chart and is designed for intraday trading, particularly for indices like SPX or ES futures. The script combines two main features:
- **GEX Walls**: Visual boxes and labels highlighting "Gamma Exposure" (GEX) levels—key support (Put Wall) and resistance (Call Wall) zones based on options gamma. It includes approach alerts.
- **Market Open Shading**: A semi-transparent background shade during a customizable post-market-open session (e.g., first 2 hours after 9:30 AM EST).
It uses up to 20 boxes and 20 labels, with right-scale positioning for better visibility on the price axis. The script detects new trading days to reset visuals dynamically.
### Key Inputs
The script is highly customizable via inputs grouped into sections:
#### GEX Walls Inputs
- **Call Wall** (default: 6900.0): Upper resistance level.
- **Put Wall** (default: 6850.0): Lower support level.
- **Buffer** (default: 3.0 points): Vertical padding around each wall for box thickness.
- **Alert Distance** (default: 10.0 points): Threshold for triggering "approach" alerts.
- **Colors**: Semi-transparent yellow for Call Wall boxes (#ffeb3b at 80% opacity), orange for Put Wall (#ff9800 at 80%).
- **Toggles**: Show/hide boxes; enable/disable alerts; restrict alerts to shaded session only.
- **Labels**: Text color (white), offset (bars to the right, default -2), size (tiny/small/normal/large).
#### Market Open Shading Inputs
- **Shade Color** (default: white at 90% transparency): Background fill during session.
- **Transparency** (0-100, default: 90): Opacity level.
- **Open Time** (default: 9:30 EST): Hour/minute for session start.
- **Duration**: Dropdown with pre-formatted options (e.g., "120 min: 11:30a EST / 8:30a PST" up to 195 min), showing both EST and PST end times for convenience.
- **Toggle**: Show/hide shading.
### How It Works
#### 1. Market Open Shading
- Calculates end time from open hour/minute + selected duration (e.g., 120 minutes from 9:30 AM EST = 11:30 AM EST).
- Builds a session string (e.g., "0930-1130") for TradingView's `time()` function.
- Detects if the current bar is within the session using `not na(time("", sessionString))`.
- Applies `bgcolor()` with the user-defined color/transparency only during the session.
- Helper functions format times in 12-hour AM/PM style (e.g., "11:30a") for labels, with EST/PST variants.
#### 2. Day Detection
- Uses `time("D")` to track daily changes (`ta.change(dayTime) != 0` signals a new day).
- Maintains variables for the current day's start bar index (`todayStartIndex`) and previous day's start (`prevStartIndex`).
- This ensures boxes span exactly from yesterday's open to today (intraday reset on new days).
#### 3. GEX Walls Visualization
- **Boxes**: Drawn once `prevStartIndex` is known (i.e., on the second day onward).
- Left edge: Previous day's start bar.
- Right edge: Current bar (extends live).
- Height: Wall level ± buffer (e.g., Call Wall box from 6900-3 to 6900+3).
- Updated dynamically with `box.set_*` functions; hidden (100% transparent) if toggled off.
- **Labels**: Placed at exact wall levels, offset to the right (e.g., 2 bars ahead for readability).
- Text: "CALL WALL: 6900.0" or "PUT WALL: 6850.0".
- Style: Right-aligned, black background (transparent), user-defined text color/size.
- Deleted if toggled off.
- All visuals use `xloc.bar_index` for bar-based positioning.
#### 4. Alerts
- **Call Wall Approach**: Triggers when close enters within `alertDistance` below the wall, but prior bar was further away (rising toward resistance). Message: "Price approaching Call Wall at from below (within points)".
- **Put Wall Approach**: Symmetric for falling toward support (within distance above wall).
- Filtered optionally to shaded session only.
- Uses `alertcondition()` with hidden plots (`display=display.none`) for dynamic message placeholders (e.g., `{{plot_0}}` inserts wall level).
### Notable Features & Behaviors
- **Intraday Focus**: Boxes/labels reset daily, making it ideal for day trading without historical clutter.
- **Time Zone Handling**: Defaults to EST for market open but shows PST equivalents in dropdowns (subtracts 3 hours).
- **Efficiency**: Uses `var` declarations for persistent objects (boxes/labels) to avoid recreation on every bar.
- **Edge Cases**: Handles label offsets (clamped -10 to 50 bars); session wrapping (e.g., overnight via %24); new chart loads (initializes on first bar).
- **Customization Depth**: 20+ inputs allow fine-tuning without code edits. Alerts integrate seamlessly with TradingView's system.
- **Limitations**: Relies on bar_index for historical spanning (best on lower timeframes like 1-5 min); no historical backfill for walls (live-only).
This script is a practical tool for options-aware traders monitoring gamma squeezes or pinning levels during market open volatility. To use it, paste into TradingView's Pine Editor, adjust inputs for your asset (e.g., update walls for current GEX data), and add to chart.
LANZ Origins🔷 LANZ Origins – Multi-Framework Liquidity, Structure & Risk Management Overlay
LANZ Origins is a multi-tool TradingView indicator designed to provide session context, liquidity mapping, imbalance visualization, higher-timeframe candle projection, and a fixed-SL lot size calculator.
It includes:
Risk & Lot Size Panel (up to 5 accounts):
Calculates lot size using a fixed Stop Loss in pips and a standard pip value assumption ($10 per pip per 1.0 lot). For each enabled account, it displays the estimated lots and dollar risk based on account capital and risk %. The panel is fully customizable (colors, text size, visibility).
Session Backgrounds (New York time):
Colors the chart by time blocks: Day Division, No Action Zone, Killzone, and Hold Session, helping traders visually segment the trading day.
Asian Range Liquidity Box (19:00–02:00 NY):
Draws a dynamic box tracking the session high/low, plus an optional midline (50%) with optional label. The script correctly handles sessions that cross midnight.
Imbalance Detector:
Detects and draws Fair Value Gaps (FVG), Opening Gaps (OG), and Volume Imbalances (VI) with adjustable filters (min width by points/%/ATR and extension). Optionally shows a dashboard summarizing frequency and fill rate.
ICT HTF Candles Overlay:
Projects selected higher-timeframe candles to the right of price (e.g., 30m enabled by default), with optional labels, remaining time, trace lines (O/C/H/L) and internal imbalance highlights for those HTF candle sets.
30m ZigZag projected to all timeframes:
Computes ZigZag pivots from the 30-minute timeframe and draws them on any chart timeframe, including an optional live extending leg.
LANZ Origins does not execute trades and does not generate buy/sell entries. It is a visual framework for analysis, context, and risk planning.
5,8,10,13 EMA Cluster Crossmultiple EMA cross indicator
yellow - prepare
green - go
red - losing momentum after an entry from green
COMD - Candle Coloring Logic V2 Custom KAMA Ribbon is an early-stage trend analysis system built around five adaptive moving averages stacked into a ribbon that colors price candles in real time. It was created by xqweasdzxcv during a phase of aggressive strategy experimentation, back when throwing clever math at the market still felt like it might solve everything (spoiler alert, it did, and all the world will see soon in the following few years). The tool visualizes shifting trend strength through adaptive smoothing, giving a cleaner read than standard moving averages, but it eventually got outclassed by more advanced, structure-driven models.
This version survives as a fossil from the evolutionary path of project Patron (the Core Of My Desire is just a base). It still matters, not because it is the best, but because this is part of a true legend and because it shows how adaptive moving average stacking was used to build smarter trend filters before the really serious weapons came online.
yaman short longThis indicator provides clear Long and Short signals to help traders identify potential market direction and trading opportunities with higher confidence.
It is designed to follow price momentum and trend strength, allowing traders to enter trades when the market shows clear directional bias. The indicator focuses on clean signals and avoids unnecessary noise, making it suitable for both beginners and experienced traders.
Key Features:
Clear Long and Short signals displayed on the chart
Helps identify potential trend continuation and reversals
Designed to reduce false signals during choppy market conditions
Suitable for scalping, intraday, and swing trading
Works across multiple markets and timeframes
How to Use:
Long Signal: Indicates potential upward movement when bullish conditions align
Short Signal: Indicates potential downward movement when bearish conditions align
Best used with proper stop-loss and risk management rules
Can be combined with support/resistance or higher timeframe confirmation
Best Markets:
Forex pairs
Gold (XAUUSD)
Cryptocurrencies
Indices
Notes:
Signals are generated after candle close
The indicator does not repaint
This tool is meant to assist decision-making, not guarantee profits
BB Scoreboard MTF1. The Concept: Harmony Across TimeframesThe Musical Score Visual: This indicator transforms absolute price into a relative "score" based on standard deviations ($\sigma$). It displays the positions of Short-Term (15m), Mid-Term (1H), and Long-Term (4H) prices on a single grid, similar to a musical staff.Syncing the "Breath" of the Market: By aligning three different timeframes, you can instantly see if the entire market is "breathing" in the same direction.
2. Trading Logic: The Power of ConvergencePerfect Order (Bullish): When the Short, Mid, and Long-term lines are all above the Middle (0) line, it indicates a strong, synchronized uptrend. This is the highest probability zone for "Buy on Dip" strategies.Perfect Order (Bearish): Conversely, when all lines are below the Middle line, the market is in a synchronized downtrend, making "Sell on Rally" the dominant strategy.Overextension (The Limits): When all three lines hit the $+3\sigma$ or $-3\sigma$ levels simultaneously, the market is extremely overextended, signaling an imminent correction or exhaustion.
3. Synergizing with "Volume-Wall" (FVG)To achieve the Ultimate Scalping Setup:Alignment: Wait for all three lines on the "Scoreboard" to point in the same direction (e.g., all above 0).The Anchor: Price returns to a Strong FVG (Volume-Wall).The Trigger: Enter the trade when the Short-term line bounces off a lower $\sigma$ level and heads back toward the $+1\sigma$ or $+2\sigma$ area.
Fair Value Gap [Zigamipassa] + Strength (0-10)Normal FVG indicator, with a twist that lets you see the strength of each fair value gap
0.06% Price ChangePower indicator candle - Ideal for IntraDay Bank Nifty
Optiions Buying indicator - Trade after this candle + Doji + Continuity
Important Level by DXB16 V2**Important Level by DXB16 – The Essential Structure Indicator**
This indicator automatically displays the most important price zones of your market across three timeframes: Daily High/Low, Weekly High/Low, and Monthly High/Low. All levels update in real-time.
**What you'll see:**
- Current daily, weekly, and monthly highs and lows as clear horizontal lines
- Instant context of where the current price sits within the daily, weekly, and monthly range
- Classic reversal, range, and breakout zones at a glance
**Perfect for:**
- Identifying range-bound vs. trend days
- Liquidity grabs and mean-reversion setups at critical levels
- Higher timeframe context for intraday trading
- Futures, indices, forex, crypto
**Features:**
- 6 fully customizable colored lines (Daily, Weekly, Monthly – each High/Low)
- Adjustable label text size
- Clean, minimalist design without distracting boxes
- Fully dynamic – no manual adjustments needed
Crypto 1H [Universal - Strict + R:R]Overview This indicator is a trend-following strategy designed specifically for the 1-hour timeframe (though it works universally). It focuses on high-probability "pullback" entries within an established trend.
What distinguishes this script from standard trend indicators is the integrated Risk:Reward (R:R) Pre-Filter. Before generating a signal, the script calculates the distance to the logical Stop Loss and the logical Take Profit (Resistance/Support). If the trade does not offer a minimum Risk-to-Reward ratio (default 1:2), the signal is suppressed.
How It Works
The strategy follows a strictly defined logical flow:
1. Trend Identification The script uses a Baseline EMA (Default: 50) to determine the trend.
Long: Price is above the 50 EMA, and the 50 EMA is sloping up.
Short: Price is below the 50 EMA, and the 50 EMA is sloping down.
2. The Pullback & Trigger Once a trend is identified, the script waits for price to pull back to the "Trigger" EMA (Default: 21).
The Wait Window: The script utilizes a "Max Wait Bars" logic. Once the price touches the Trigger EMA, it listens for an entry signal for exactly 3 bars. If price lingers too long without reacting, the setup is invalidated to avoid chopping markets.
3. The Risk:Reward Filter (Crucial) This is the final gatekeeper. Even if the trend and candle shape are perfect, the script performs a geometric check:
Stop Loss Calculation: Determined by the lowest low (for longs) or highest high (for shorts) of the last 5 bars, plus a small ATR buffer.
Target Calculation: Determined by the highest high or lowest low of the last 24 bars (local Support/Resistance).
The Math: If the distance to the Target is not at least 2.0x the distance to the Stop Loss, the trade is skipped. This prevents buying right into resistance or selling right into support.
Indicator Features & Settings
Session Filter: Defaults to London and NY sessions (UTC) to ensure volume is present.
Volatility Filter: Requires the signal candle to have a minimum body size (0.15% of price) to avoid "doji" or low-momentum entries.
Visuals:
White Line: 50 EMA (Trend)
Yellow Line: 21 EMA (Momentum Trigger)
Labels: Green (Long) and Red (Short) entry markers.
Red Crosses: These indicate exactly where the suggested Stop Loss was located at the moment of entry.
Risk Disclaimer This tool is designed for educational and analytical purposes. The "Strict R:R" filter does not guarantee profit; it simply filters out setups that mathematically do not fit the specified ratio based on historical price action. Always perform your own analysis.
30d Rolling TWAP (Hourly)code:
//@version=5
indicator("30d Rolling TWAP (Hourly)", overlay=true)
// Calculation: (High + Low + Close) / 3
typicalPrice = hlc3
// 30 days * 24 hours = 720 bars
length = 720
twap30 = ta.sma(typicalPrice, length)
// Plotting
plot(twap30, color=color.new(#2962FF, 0), title="30d Hourly TWAP", linewidth=2)
// Optional: Background highlight
fillColor = close > twap30 ? color.new(color.green, 90) : color.new(color.red, 90)
bgcolor(fillColor)
Institutional Frontrunner w/ PCR & VIX - Fixed Distance LabelsUse this script to evaluate if buying or selling is indicated based on a variety of metrics surrounding momentum and volume or institutional traders.
PrecisionFirstCrossBreakouts above the 90-day high often attract institutional attention and momentum. PrecisionFirstCross™ identifies the first cross of this level each day, filtered by relative volume (default 2x) to focus on moves with conviction. A "near breakout" alert gives you a heads-up before the trigger.
ATR + BB Swing StrategyMechanical daily stock swing strategy using ATR stops, Heikin Ashi trend confirmation, and Bollinger Bands context. Entries occur above 50 SMA on bullish Heikin Ashi candles; initial stop is 3xATR with trailing stop of highest close minus 2xAtr, reducing to 1.5xATR when profit protection triggers (+2R and momentum weakening). Exits are fully ATR-based, giving a simple, rules-driven approach to ride trends while protecting gains
MACD Trend Count ScoreThis indicator is designed to confirm potential future trends in an asset’s price by analyzing the MACD histogram in the past. It works by counting positive and negative MACD bars within the selected chart timeframe to calculate a Strength Index, which reflects the past trend direction and intensity.
Summarizing the predominance of positive or negative bars across higher timeframes in the past such as daily, weekly, bi-weekly, and quarterly, it provides insight to anticipate how the trend may evolve in upcoming periods, according to the predetermined range scales Strong Bullish, Moderate Bullish, Neutral, Moderate Bearish and Strong Bearish.
Additionally, a dedicated module linked to the strength index is optimized for short-term charts (2-minute, 5-minute and 15-minute timeframes), making it a valuable tool for day trading strategies.
Trading Checklist - POI & iFVG StrategyInspired by Navi Trades rules of trade engagement, I'm keeping it open on the side of the chart as reminder
Watch: www.youtube.com
Read: www.notion.so
Indicators Navi Uses:
iFVG:
CCT:
VWT:
Sessions: ICT Killzones + Pivots indicator
**Strategy**
**A+ Trade (Bullish Example):**
- Wait for a H1 candle to above virgin wick(s)
- Virgin wick(s) becomes H1 Bullish POIs
- Drop to M1 and look for price to trade under POI (can be wick or close)
- Then wait for a confirmed iFVG
- (iFVG can be on either side of POI)
- Limit order on confirmation of iFVG
**TP/SL:**
- SL: Just on the other side of the iFVG or the entry candle (which ever is further/safer)
- TP: Obvious DOL OR 2R is DOL is more than 2R away
- If DOL is significantly more than 2R away, I will widen the SL a bit and lessen the TP a bit
- No partial TP, No moving SL, No trailing, No breakeven. Either SL or TP
- Risk = 10% of drawdown ($200 for $50k Lucid accounts)
- Contract size will change depending on how far SL is so I can maintain same $ risk
**A+ Rules**
- Each POI is only valid for an hour
- If still in trade at end of hour, let it play out
- No entries from XX:51
- If price already delivers off POI without giving entry I will not consider it anymore
- There must be an obvious DOL - I will not target empty space
- 1.5R MINIMUM, 2R MAXIMUM
**A+ Process:**
- Wait for iFVG alert
- Check that none of the above rules have been breached
- Check if price engaged with respective POI (bullish/bearish) - this is where indicators help (personal preference) (you still need to understand the model)
- Limit order at iFVG confirmation
- SL on other side of iFVG or entry candle (which ever is further)
- TP at clear DOL (2R max)
- If DOL is a lot more than 2R away - can widen SL a bit
**Reminders**
- Process > Profits.
- A perfectly executed red day > poorly executed green day
- Follow your system.
- Trust your edge - trading is a probabilities game.
- You can lose more than half of your trades and STILL BE PROFITABLE
- There will be losses. That is a part of this business. There is no model in the world that has a 100% win rate.
- Be grateful for the opportunity to make magic internet monies by clicking buttons on a screen
DJ's Macro Catch-Up (BTC/NDX Ratio)Calculates the BTC/NDX ratio and plots the ratio line (white line)
Highlights the Background in Green specifically when a Bullish Divergence forms (Ratio makes a Lower Low, but RSI makes a Higher Low).
Look for the Green Zones: Don't buy in the green zone blindly. Wait for the White Line (Ratio) to cross above the Yellow Line (50 EMA). That is your confirmation that the rotation has started.
EMA Exhaustion + ContinuationA fast, mechanical scalping system that detects EMA exhaustion, filters with RSI, and manages exits plus continuations.
This indicator is designed for ultra‑short timeframe scalping, where speed and clarity matter more than anything else. It combines three core elements into one mechanical workflow:
- EMA Spread Exhaustion
The system measures the distance between fast and slow EMAs relative to ATR. When the spread reaches extreme levels and then begins to contract, it signals exhaustion — the point where momentum is likely to stall or reverse. This gives traders a structural way to identify setups without relying on subjective “feel.”
- RSI Filter (Accelerated for Scalping)
A shortened RSI (default length 7) is normalized by ATR to match the tempo of 15‑second scalps. This filter ensures that entries only trigger when momentum aligns with the exhaustion signal, reducing false positives and keeping trades in sync with volatility.
- Entry, Exit, and Continuation Logic
- Entries:
- Long entry triggers when spread retreats, EMA‑3 crosses price, and RSI confirms bearish exhaustion (RSI < 0).
- Short entry triggers under the opposite conditions (spread retreat, EMA‑3 cross, RSI > 0).
- Icons: Blue arrow up for longs, Red arrow down for shorts.
- Exits:
- Long exits occur when price closes below the 7 EMA smoothed by SMA‑2 while all EMAs are still sloping upward.
- Icon: Yellow cross above the candle.
- Continuations:
- Long continuation triggers when price dips below EMA‑9 and then reclaims above it.
- Short continuation triggers when price closes above EMA‑9 and then reclaims below it.
- Icons: Green triangle up for long continuation, Purple triangle down for short continuation.
----------------------------------------------------------------------------------------
- Apply the indicator to your chart. I use 15 second chart
- Watch for blue/red arrows — these are your primary entry signals.
- Respect yellow crosses — they mark mechanical exit points.
- Use green/purple triangles to re‑engage continuation trades after shallow pullbacks. I only take the first continuation signal above/below the 20 EMA.
- Keep the RSI filter active to avoid chasing false setups.
- Combine with your risk management rules (position sizing, stop placement) for full system integrity.
Hyperfork Matrix🔱 Hyperfork Matrix 🔱 A manual Andrews Pitchfork tool with action/reaction propagation lines and lattice matrix functionality. This indicator extends Dr. Alan Andrews' and Patrick Mikula's median line methodology by automating the projection of reaction and action lines at equidistant intervals, creating a time-price grid that highlights where pivot levels intersect the matrix.
Three pitchfork variants are supported: Original, Schiff, and Modified Schiff. Each variant adjusts the anchor point position to accommodate different trend angles.
═══════════════════════════════════════════════════════════════
█ THE METHOD
Andrews Pitchfork
Dr. Alan Andrews developed the pitchfork as a trend channel tool. The core principle: price tends to return to the median line roughly 80% of the time. When it fails to reach the median, a reversal may be developing.
A pitchfork requires three pivot points:
• Point A — The anchor (starting pivot)
• Point B — First swing in the opposite direction
• Point C — Second swing, same direction as A
The median line runs from Point A through the midpoint of B-C. Parallel lines through B and C form the channel boundaries.
Action/Reaction Principle
Based on Newton's third law ("action and reaction are equal and opposite"), this principle suggests that price movements elicit proportional reactions in the future. By projecting lines at equal intervals along the pitchfork's slope, we anticipate where these reactions may occur.
Lattice Matrix
The lattice squares pivot price levels to the matrix structure. A horizontal from your selected pivot intersects the pitchfork and propagation lines, with verticals drawn at each intersection. These verticals mark time points where price-time geometry converges—potential areas to watch for trend changes.
═══════════════════════════════════════════════════════════════
█ HOW THE INDICATOR WORKS
This section explains the calculation flow from your inputs to the final drawing.
Step 1 — Pivot Selection
You click on the chart to select three timestamps. The indicator retrieves the high or low price at each timestamp based on your starting pivot type selection:
• Starting with "Low" creates a Low-High-Low pattern
• Starting with "High" creates a High-Low-High pattern
Step 2 — Anchor Calculation
The anchor position depends on your pitchfork variant:
• Original — Anchor stays at Point A
• Schiff — Anchor shifts 50% toward B in price (Y-axis only)
• Modified Schiff — Anchor shifts 50% toward B in both time and price
Step 3 — Median Line
A line is drawn from the anchor through the midpoint of the B-C segment. This median line defines the channel's slope and center.
Step 4 — Parallel Tines
Parallel lines are drawn through Points B and C, maintaining the median line's slope. These form the upper and lower channel boundaries.
Step 5 — Extra Parallels
If configured, additional parallel lines are drawn at equal spacing beyond B and C. The spacing equals the distance from the median to each tine.
Step 6 — Handle Length
The "handle" is the segment from the anchor to the B-C midpoint. This length becomes the unit of measurement for propagation.
Step 7 — Propagation Points
Points are placed along the median line at handle-length intervals:
• Forward points extend into the future
• Backward points extend into the past
Step 8 — Reaction Lines
Through each propagation point, a line is drawn parallel to B-C (the transversal slope). These reaction lines mark time-price zones based on the original swing rhythm, where trend changes may occur.
Step 9 — Action Lines
Through each propagation point, a line is drawn parallel to A-B (the initial move slope). These action lines project the original momentum into future price zones.
Step 10 — Lattice Grid
If enabled, a horizontal line is drawn at the price level of your selected pivot. Vertical lines are then drawn at every intersection between this horizontal and the selected line type (pitchfork, reaction, or action lines).
Step 11 — Alert Monitoring
On each bar, the indicator checks if the price has crossed any of the drawn lines. Crossings trigger alerts based on your configuration.
═══════════════════════════════════════════════════════════════
█ PITCHFORK VARIANTS
Original (Andrews)
The classic pitchfork. The anchor remains at Point A. Best suited for strong trending markets where price respects steep channels.
Schiff
Named after Jerome Schiff, a student of Andrews. The anchor shifts halfway toward Point B in price only—same time position as A, but price is the midpoint of A and B.
This produces a less steep channel, better suited for:
• Shallow trends
• Corrective phases
• Markets where the original pitchfork angle is too aggressive
Modified Schiff
The anchor shifts halfway toward Point B in both time and price—positioned at the midpoint of the A-B segment.
This creates an even gentler slope than the standard Schiff variant. Use when:
• Trends are weak or ranging
• Price doesn't respect steeper channel angles
• You need a middle ground between Original and Schiff
═══════════════════════════════════════════════════════════════
█ ACTION & REACTION LINES
Reaction Lines
These run parallel to the B-C segment (the "transversal"). They represent the market's response rhythm—the swing from B to C sets a pattern that may repeat at predictable intervals.
Action Lines
These run parallel to the A-B segment (the initial impulse). They project the original momentum forward, suggesting where similar price movements may begin or end.
Forward vs Backward
• Forward Lines — Project into the future beyond the B-C midpoint
• Backward Lines — Project into the past before Point A
Most analysis focuses on forward lines, but backward lines can reveal historical confluence with past pivots.
Propagation Spacing
Lines are spaced at equal intervals defined by the handle length (anchor to B-C midpoint). This creates a rhythmic structure where each segment equals the original pitchfork's core measurement.
Action Lines
Reaction Lines
Extra Parallels with/ both Action & Reactions Line extended within the grid
═══════════════════════════════════════════════════════════════
█ LATTICE MATRIX
The lattice creates a grid overlay within the pitchfork structure.
Horizontal Line
A horizontal line is drawn at the price level of your selected pivot (A, B, or C). This squares the pivot's price level to find where it aligns with the matrix structure. These confluences may represent higher-probability reaction points in time.
Vertical Lines
Vertical lines are drawn at every point where the horizontal intersects your selected line source. These verticals mark time points—potential areas to watch for trend changes.
• Pitchfork & Parallels — Intersections with median and all parallel tines
• Action Lines — Intersections with action transversals
• Reaction Lines — Intersections with reaction transversals
• Action & Reaction — Both types combined
Envelope Clamping
Lattice lines are automatically clamped to stay within the pitchfork's channel envelope (bounded by the outermost parallels). This keeps the grid visually clean and focused on relevant areas.
═══════════════════════════════════════════════════════════════
█ ALERTS
The indicator monitors price crossings and triggers alerts when the price moves through any drawn line type.
Available Alert Types
• Pitchfork Lines — Crossing the median or any parallel
• Action Lines — Crossing any action transversal (when action lines are drawn)
• Reaction Lines — Crossing any reaction transversal (when reaction lines are drawn)
• Lattice Horizontal — Crossing the horizontal price level (when lattice is enabled)
• Any Line Crossing — Combined alert for all of the above
Setting Up Alerts
1. Right-click on the indicator or use the alert menu
2. Select "Create Alert."
3. Choose the desired condition from the dropdown
4. Configure notification preferences (pop-up, email, webhook, etc.)
Alert Timing
Alerts trigger once per bar close when a crossing is detected between the previous and current bar's close prices.
═══════════════════════════════════════════════════════════════
█ HOW TO USE
Basic Setup
1. Add the indicator to your chart
2. When prompted, click on three pivot points in sequence: A, B, C
3. Choose starting pivot type: Auto (detects pattern), Low (LHL), or High (HLH)
4. The pitchfork draws automatically
Adjusting the Pitchfork
• Change the variant (Original/Schiff/Modified Schiff) if the angle doesn't suit your trend
• Add extra parallel levels to see where price might react beyond the main channel
• Disable or Adjust price range min/max to hide parallels outside your focus area
Adding Propagation Lines
• Adjust forward offset to add/remove lines beyond auto-extend (0 = to current bar)
• Choose which line types to display: Reaction Only, Action Only, or Both
• Customize colors to distinguish line types visually
Using the Lattice
• Enable "Draw Lattice" in the Lattice settings group
• Select which pivot's price level to use for the horizontal
• Choose the intersection source that matches your analysis style
• Look for time zones where verticals cluster—these may be significant dates
Log Scale Charts
If your chart uses logarithmic scale, enable "Logarithmic Scale" in Pitchfork Settings. This ensures all calculations transform correctly for log price axes.
═══════════════════════════════════════════════════════════════
█ SETTINGS REFERENCE
1. Pivot Points
• Starting Pivot Type — Auto (detect pattern), Low (force LHL), or High (force HLH)
• Pivot A/B/C Time — Timestamps for your three pivots (click to select)
• Show Pivot Labels — Display A, B, C labels at pivot locations
• Pivot Colors — Customize high/low label colors
• Label Size — Tiny, Small, Normal, or Large
2. Pitchfork Settings
• Logarithmic Scale — Enable for log charts
• Pitchfork Type — Original, Schiff, or Modified Schiff
• Extra Parallel Levels — Additional parallels beyond B and C
• Line styling (color, width, style)
• Extend Direction — Right only or Both directions
• Enable Price Range Filter — Toggle filtering of extra parallels
• Price Range Min/Max — Hide extra parallels outside this range
3. Action / Reaction Lines
• Draw Type — None, Reaction Only, Action Only, or Both
• Forward Lines Offset — Adjust from auto-extend (0 = to current bar, positive adds more)
• Backward Lines Count — Number of lines projected before Point A
• Separate styling for reaction and action lines
4. Lattice
• Draw Lattice — Master toggle
• Select Pivot for Horizontal — A, B, or C price level
• Intersection Source — Which lines to use for vertical placement
• Lattice styling
═══════════════════════════════════════════════════════════════
█ LIMITATIONS
• Maximum 500 lines — TradingView limits line objects; complex setups with many parallels and propagation lines may approach this limit
• Manual pivot selection — Pivots must be selected manually via timestamp inputs; no auto-detection
• Log scale requires toggle — You must enable "Logarithmic Scale" manually if your chart uses log axes
• Minor visual drift — Action/Reaction lines may shift slightly when toggling between odd and even extra parallel counts (cosmetic only)
• Backward lines visibility — When adding backward propagation lines, you may need to scroll the chart left for them to render
═══════════════════════════════════════════════════════════════
█ FURTHER READING
For deeper study of pitchfork analysis and action/reaction methodology:
• Patrick Mikula's "The Best Trendline Methods of Alan Andrews and Five New Trendline Techniques"
No affiliation implied. Referenced for educational context only.
═══════════════════════════════════════════════════════════════
█ RELATED
For a video walkthrough of the Super Pitchfork methodology that inspired this indicator:
How to Build a Super Pitchfork with Reaction & Trigger Lines
This tutorial covers manual pitchfork construction, reaction line projection, and timing techniques.
RDI Price ZonesOverview
RDI Price Zones is a manual price-level visualization indicator.
It draws user-defined horizontal zones and a reference line to help visually organize important price areas on the chart.
This script does not calculate, infer, or fetch market data.
All levels are entered manually by the user.
What it draws
• Reference Line — A horizontal line at a user-defined price level.
• Upper Zones — Rectangular price areas drawn to the right of the chart.
• Lower Zones — Rectangular price areas drawn to the left of the chart.
These elements are purely visual and do not generate signals.
Inputs
• Up to three upper zone price levels (manual input).
• Up to three lower zone price levels (manual input).
• One reference price level.
• Zone thickness defined as a percentage of price.
• Optional color and border settings.
Design notes
• Zones are drawn as rectangles anchored to price levels.
• Rectangles extend a fixed number of bars for visualization purposes only.
• Percentage-based thickness allows zones to scale across different instruments.
Usage
This indicator is intended to help users visually map predefined price areas during a session.
It does not predict price movement, suggest trades, or provide trading signals.
Disclaimer
This script is provided for educational and visualization purposes only.
It does not offer trading advice, does not guarantee results, and should not be used as the sole basis for trading decisions.
Short summary (≤200 chars)
Manual price-zone visualization tool. Draws user-defined rectangular zones and a reference line. No calculations, no signals, no predictions. Educational use only.






















