Single Candle Order Block (ICT) [Kodexius]Single Candle Order Block (ICT) is a chart-focused implementation of the ICT style Single Candle Order Block (SCOB) concept. It detects a strict 3 candle displacement pattern and projects the originating “order block candle” as a live zone that extends forward in time until price mitigates it.
The script is designed for practical trading workflows:
- It plots only the most recent active zones (user-defined limit) to keep charts readable.
- It supports optional multi-timeframe (MTF) detection, so you can project higher-timeframe SCOBs onto a lower-timeframe execution chart.
- It includes a mitigation engine (Close or Wick) to automatically invalidate and remove zones once they are decisively broken.
🔹 Features
🔸 ICT Single Candle Order Block Pattern Detection (Bull and Bear)
The indicator identifies a clean displacement sequence that implies a potential order block formed by the middle candle of a 3-candle structure.
Bullish SCOB: bearish candle at , bullish continuation at , then bullish displacement that closes above the prior candle’s high, with a sweep condition on the order block candle’s low.
Bearish SCOB: inverse structure requiring bearish displacement that closes below the prior candle’s low, with a sweep condition on the order block candle’s high.
The plotted zone boundaries are derived from the order block candle:
Top = high
Bottom = low
🔸 Multi-Timeframe Detection (Optional)
The script can compute SCOBs on a selected timeframe and display them on the current chart using request.security. This is ideal for mapping higher-timeframe order blocks onto lower-timeframe execution charts.
If the timeframe input is left empty, detection runs on the chart timeframe.
🔸 Volatility Filter (Optional)
When enabled, detections are filtered by volatility regime:
A SCOB is only displayed if ATR(14) > SMA(ATR(14), 200)
This helps reduce signals during compressed, low-range conditions where displacement patterns are often less meaningful.
🔸 Overlap Control (De-Cluttering)
Before a new zone is added, the script checks for overlap against existing zones of the same direction. If the new zone intersects an existing one, it is ignored. This reduces redundant stacking of zones in the same price area.
🔸 Mean Threshold (50%) Midline (Optional)
Each active SCOB is drawn as a semi-transparent box with:
Direction label text (Bu-SCOB / Be-SCOB)
Optional midpoint line at 50% of the zone height (Mean Threshold)
🔸 Automatic Zone Extension and Object Management
Zones extend forward on each bar to remain visible until mitigation. The script also manages object count and chart cleanliness by:
Keeping internal arrays for bull and bear zones
Removing older stored zones if internal history grows too large
Displaying only the most recent “Active SCOB Limit” zones while hiding older ones
🔸 Alerts
Alerts are provided for newly confirmed detections:
Bullish SCOB Detected
Bearish SCOB Detected
Duplicate prints are prevented by tracking the last detected zone time for each direction.
🔹 Calculations
1) Volatility Regime Check (ATR vs ATR SMA)
float myAtr = ta.atr(14)
float atrSma = ta.sma(myAtr, 200)
bool isVolatile = myAtr > atrSma
If the Volatility Filter is enabled, the script requires isVolatile to be true before creating a SCOB zone.
2) Bullish SCOB Detection Logic
bool isBull = open > close and close > open and close > open and low < low and close > high
Interpretation of the conditions:
open > close confirms the candle at is bearish.
close > open confirms the order block candle at is bullish.
close > open confirms current candle is bullish.
low < low indicates a relative sweep on the order block candle’s low.
close > high confirms displacement by closing above the order block candle’s high.
Zone bounds for a bullish SCOB come from candle :
[isBull, high , low , time , isBear, high , low , time , isVolatile]
3) Bearish SCOB Detection Logic
bool isBear = open < close and close < open and close < open and high > high and close < low
Interpretation of the conditions:
open < close confirms the candle at is bullish.
close < open confirms the order block candle at is bearish.
close < open confirms current candle is bearish.
high > high indicates a relative sweep on the order block candle’s high.
close < low confirms displacement by closing below the order block candle’s low.
Zone bounds for a bearish SCOB also come from candle :
[isBull, high , low , time , isBear, high , low , time , isVolatile]
4) Multi-Timeframe (MTF) Selection
The script runs the detection logic on the chosen timeframe and projects results onto the current chart:
=
request.security(syminfo.tickerid, i_tf, detectLogic())
It also prevents duplicate zone creation by checking the last processed detection time:
var int lastBullTime = 0
var int lastBearTime = 0
if mtf_isBull and mtf_bullTime != lastBullTime
lastBullTime := mtf_bullTime
if mtf_isBear and mtf_bearTime != lastBearTime
lastBearTime := mtf_bearTime
5) Overlap Validation
Before pushing a new zone, overlap is checked against existing zones:
if volPass and not bullArray.hasOverlap(mtf_bullTop, mtf_bullBot)
SCOB newScob = SCOB.new(top = mtf_bullTop, bottom = mtf_bullBot, barStart = mtf_bullTime, isBull = true)
bullArray.push(newScob)
if volPass and not bearArray.hasOverlap(mtf_bearTop, mtf_bearBot)
SCOB newScob = SCOB.new(top = mtf_bearTop, bottom = mtf_bearBot, barStart = mtf_bearTime, isBull = false)
bearArray.push(newScob)
6) Mitigation Logic (Close vs Wick)
Mitigation is evaluated every bar. Bullish zones mitigate below the bottom; bearish zones mitigate above the top:
method isMitigated(SCOB this, string style, float currentClose, float currentHigh, float currentLow) =>
bool mitigated = false
if this.isBull
float price = style == "Close" ? currentClose : currentLow
mitigated := (price < this.bottom)
else
float price = style == "Close" ? currentClose : currentHigh
mitigated := (price > this.top)
mitigated
Candlestick analysis
SVP + candle + Max volume [midst]
SVP + DALY CANDLE + MAX VOLUME
A comprehensive trading indicator that combines Session Volume Profile (SVP), Higher Timeframe (HTF) Candles, and Intrabar Max Volume Price Detection into one powerful tool. Perfect for traders who want to understand price action, volume distribution, and key levels all in one place.
KEY FEATURES
Session Volume Profile
• Real-time volume distribution across price levels for the current session
• Point of Control (POC) - identifies the price with the highest traded volume
• Value Area High (VAH) & Low (VAL) - shows where 70% of the volume occurred (customizable percentage)
• Color-coded volume bars - distinguish between up volume (bullish) and down volume (bearish)
• Value area highlighting - clearly see the most important price zones
Higher Timeframe Candle Display
• Visual daily (or custom timeframe) candle overlaid on your current chart
• OHLC labels - see Open, High, Low, and Close prices clearly marked
• Fully customizable colors - separate colors for bullish/bearish bodies, borders, and wicks
• Adjustable positioning - move the candle and labels to your preferred location
Max Volume Price Detection
• Identifies the exact price level with maximum volume within each bar
• Uses Lower Timeframe (LTF) data for precise volume analysis (Premium+ required)
• Simple mode fallback - works on all TradingView plans
• Previous max volume marker - displays previous bar's max volume as a reference dot
• Real-time calculation - updates as each bar forms
ATR Table
• Dynamic ATR-based stop levels - automatically calculates potential stop-loss levels
• Multiple smoothing methods - RMA, SMA, EMA, WMA
• Customizable multiplier - adjust for your risk tolerance
• Clean table display - shows ATR value, high stop, and low stop
PERFECT FOR
Day traders analyzing intrabar volume distribution
Swing traders wanting HTF context on lower timeframes
Volume profile traders looking for key support/resistance levels
Price action traders seeking high-probability entry zones
HOW TO USE
Volume Profile Analysis
POC often acts as a magnet for price. VAH/VAL are key support/resistance levels. High volume nodes indicate strong price acceptance, while low volume nodes suggest potential breakout zones.
HTF Candle Context
See daily range while trading on 5m-1h charts. Daily open often acts as pivot point. Daily high/low are key levels to watch.
Max Volume Price
Black line shows where most volume traded in each bar. Previous max volume (dot) helps identify institutional activity. Clusters of max volume create strong support/resistance. Can possibly indicate a Wick bounce
ATR Stops
Use ATR-based levels for logical stop placement. Adjust multiplier based on market volatility.
SETTINGS & CUSTOMIZATION
Positioning
Control the global offset to move both candle and profile together. Fine-tune with individual offsets for candle and profile spacing.
Volume Profile
Adjustable number of rows (50-500) for granular or simplified view. Customizable width and placement (left/right). Value Area percentage control. Full color customization for all volume components.
HTF Candle
Any timeframe selection (default: Daily). Full color customization for bull/bear candles. Adjustable candle width. Toggle OHLC labels on/off. Control label distance and line widths.
Max Volume Price
Choose between Simple (all plans) or LTF mode (Premium+). Auto or manual LTF resolution. Custom color and line width. Toggle current and previous markers independently.
TECHNICAL NOTES
Maximum 5000 bars lookback for volume calculations
Works on all timeframes
LTF max volume requires TradingView Premium or higher
Optimized for performance with efficient array operations
For best results, use on liquid instruments with reliable volume data
Most effective on intraday charts (5min-1hour) for day trading and scalping strategies
For Entertainment and information only
Created by midst
Box Theory [Interactive Zones] PyraTimeThis script combines Nicholas Darvas’s "Box Theory" with modern Supply and Demand (Premium/Discount) concepts. It automatically identifies the most recent Swing High and Swing Low to delineate the current trading range.
The purpose of this tool is to visualize market structure and help traders identify when price is relatively expensive (Premium) or cheap (Discount) within a defined range.
Visual Guide: What You Are Seeing
The Box: Represents the active trading range defined by the most recent significant Swing High and Swing Low.
Red Zone (Premium): The top 25% of the range. Mathematically, prices here are considered "expensive" relative to the current structure.
Green Zone (Discount): The bottom 25% of the range. Prices here are considered "cheap" relative to the current structure.
Grey Zone (Equilibrium): The middle 50% of the range. This is the area of fair value where price often consolidates.
Dashed Line (EQ): The exact 50% midpoint of the range.
Tutorial: How to Trade Using This Indicator
Method 1: Mean Reversion (Range Trading) This method applies when the market is moving sideways.
Identify Structure: Wait for a box to form.
Wait for Extremes: Do not trade when price is in the middle (Grey/White area). Wait for price to enter the Red or Green zones.
Entry Trigger:
Shorts: When price enters the Red Zone, look for a rejection (wicks leaving the zone) or a lower timeframe breakdown. Target the EQ (Midline) as your first take profit.
Longs: When price enters the Green Zone, look for support formation. Target the EQ (Midline) as your first take profit.
Method 2: Trend Continuation (Breakouts) This method applies when the market is trending strongly.
Breakout: Monitor the alerts. A close outside the box indicates a potential shift in market structure.
Retest: After a breakout up, the old "Red Zone" (Resistance) often flips to become new Support. Wait for price to pull back to the top of the old box before entering.
Configuration Guide (Settings)
Pivot Left/Right Bars (Sensitivity):
Default (20/20): Best for Swing Trading. It filters out market noise and only draws boxes based on major structural points.
Lower (5/5): Best for Scalping. It will create smaller, more frequent boxes but increases the risk of false signals.
Zone Percentage:
Default (25%): Standard deviation for Supply/Demand zones.
Alternative (15%): Use this for "sniping" entries at the absolute extremes of the range.
Multi-Timeframe (MTF):
Enable "Use Higher Timeframe" to see Daily or Weekly ranges while trading on lower timeframes (like the 15m or 1H). This helps keep your intraday trades aligned with the major trend.
Technical Note on "Lag" This indicator uses Pivots to draw the box. A pivot is only confirmed after a certain number of bars have passed (the "Pivot Right Bars" setting).
Example: If "Pivot Right Bars" is set to 20, the box will update 20 bars after the actual high or low occurred. This is necessary to confirm that the point was indeed a Swing High/Low. Do not treat the box lines as predictive; they are reactive to confirmed structure.
HTF Fractal Boxes by TAAKOWhat This Indicator Does
This indicator displays higher timeframe (HTF) candlesticks as an overlay on your current chart, allowing you to see larger timeframe price action without switching charts.
Key Features:
Shows the last 3 completed HTF candles (configurable)
Displays a 4th candle with dashed lines showing the current forming HTF bar
Each candle includes full OHLC data: body (open/close) and wicks (high/low)
Candles are color-coded: green for bullish, red for bearish, blue for neutral
Positioned on the right side of your chart for easy reference
Automatically scales with your Y-axis price movements
LiquidityPulse Volume-Weighted Price Movement OverlayLiquidityPulse Volume-Weighted Price Movement Overlay (VWPM)
-This is a non-repainting indicator.
What this indicator does
This overlay is designed to make directional pressure + participation + wick rejection readable directly on price.
It combines:
Volume-Weighted directional pressure (bull vs bear pressure on the current timeframe)
Wick rejection “heat bands” (strength of upper/lower wick pressure, with optional volatility adaptation)
Lower-timeframe (LTF) trend + wick context (auto-selected or manual LTFs)
Chart markers for:
VOL = participation spike aligned with the current pressure direction
EXH = exhaustion warning when trend direction is met with strong opposite-wick pressure
This script is intended as an overlay/structure companion to the separate Volume-Weighted Price Movement (Oscillator) script (pane-based), which focuses on oscillator-style pressure/participation metrics.
Image: Overlay indicator applied to price
How to read it on the chart
1) Pressure Cloud + Candle Tint
The cloud and optional candle tint reflect the current timeframe’s pressure direction:
Green = bullish pressure dominant
Red = bearish pressure dominant
Brightness/opacity scales with pressure strength (normalized by a lookback period).
2) Wick Pressure Heat Bands
The lower band represents bullish wick pressure (lower-wick rejection/absorption).
The upper band represents bearish wick pressure (upper-wick rejection/supply).
Brighter = stronger wick pressure relative to its recent baseline.
Optional Adaptive bands to volatility uses ATR to keep band scaling more consistent across changing volatility regimes.
Image: Overlay + Oscillator working together
This chart highlights how volume participation and wick behaviour can be observed during periods of increased market interaction.
The arrows are used for visual reference only:
Red arrows indicate rising volume participation during the move.
Green arrows highlight increasing wick pressure, suggesting stronger rejection or absorption at those points.
3) VOL signal (Participation Spike)
A VOL marker appears when volume % of average exceeds your threshold and aligns with the current pressure direction.
This is a quick filter for:
“The current pressure direction is being supported by above-average participation.”
4) EXH signal (Exhaustion)
An EXH marker appears when the current trend is met with strong/extreme opposite wick pressure, e.g.:
Trend is Bullish but Bear wick becomes Strong/Extreme → possible bullish exhaustion / rejection risk
Trend is Bearish but Bull wick becomes Strong/Extreme → possible bearish exhaustion / absorption risk
Table (top-right)
You can toggle individual rows on or off in the settings. The table can display:
Trend (Chart)- Directional volume-weighted pressure on the chart timeframe (Bullish / Bearish, shown with ▲ ▼ icons)
Wick (Chart)- A real-time summary of wick pressure on the chart timeframe, reflecting how price is being rejected or absorbed within candles.
Possible states include:
Strong Bull – dominant lower-wick rejection (bullish absorption), shown with a green ▲
Strong Bear – dominant upper-wick rejection (bearish pressure), shown with a red ▼
Neutral – no meaningful wick imbalance, shown with a ●
Strong Both – elevated rejection on both sides, shown with a dual-pressure marker, often seen during volatility expansion or transitional conditions
Trend + Wick (Lower Timeframes)- Trend and wick context for two lower timeframes (auto-selected or manually chosen), allowing short-term behaviour to be viewed within the higher-timeframe structure
Core metrics- Bull Avg / Bear Avg, Bull–Bear Difference, Volume % Avg, and related participation statistics
Additional metrics- Further table rows can be enabled or disabled via the settings panel
How traders can use this indicator
Traders can use LiquidityPulse VWPM as a contextual tool to observe how price movement, volume participation, and wick behaviour interact.
Common use cases include:
Identifying periods where bullish or bearish pressure is dominant on the current timeframe
Observing wick rejection or absorption near highs/lows, especially during strong moves
Monitoring lower-timeframe trend and wick alignment within a higher-timeframe move
Noticing participation spikes (VOL) that confirm increased market involvement
Spotting exhaustion conditions (EXH) where strong opposing wick pressure appears against the prevailing trend
Image: This example highlights how the overlay can be used to monitor directional pressure on the chart timeframe while simultaneously observing trend and wick conditions from selected lower timeframes. The statistics table shows instances where lower-timeframe trend readings diverge from the chart-level pressure, alongside changes in wick behaviour. This allows traders to visually contextualise short-term shifts in participation and rejection within the broader structure.
Key settings (what they change)
Presets: Scalp / Intraday / Swing adjusts effective smoothing/normalization defaults to fit different trading speeds.
Lookback Period + Smoothing: These control how fast/slow the pressure model responds.
Lower values = faster response (more reactive/noisier)
Higher values = smoother response (slower/more stable)
Wick thresholds + Wick row mode: Strong / Extreme thresholds define when wick pressure is classified as Strong/Extreme relative to baseline.
Wick rows show can filter table wick rows to Extreme-only, Strong + Extreme, or Full.
Wick bands- Volatility Adapt: Adaptive bands to volatility (ATR-based) helps wick band height/offset remain visually consistent as volatility expands/contracts.
Adapt Strength controls how much the ATR regime affects the bands.
Visual controls: Transparency controls let you make the overlay more subtle or more prominent without changing calculations.
Why there is an Overlay and Oscillator version
This tool is intentionally split into two complementary indicators to preserve clarity and usability
Overlay version (this script): Focuses on price-level context, structure, wick pressure, lower-timeframe alignment, and event markers directly on the chart.
Oscillator companion version: Provides a dedicated pane for pressure balance, participation, and momentum acceleration metrics that benefit from oscillator-style visualisation.
Separating these views avoids overcrowding the price chart and allows each component to be interpreted more clearly in its appropriate context.
Disclaimer
This indicator is designed to visualise price–volume interaction, pressure, and wick behaviour.
It does not generate trade entries or exits signals and should be used as analytical context alongside a trader’s existing methodology and risk management only.
Wickless Candle Revisit TrackerWickless Candle Revisit Tracker
Identifies wickless candles (strong momentum candles) and tracks whether price revisits their opening level, providing statistical insights into price behavior patterns.
WHAT ARE WICKLESS CANDLES?
• Green wickless: Open = Low (no lower wick) - opened at the low and moved only upward
• Red wickless: Open = High (no upper wick) - opened at the high and moved only downward
These candles represent strong directional momentum, and their opening levels often act as support/resistance zones that price may revisit.
KEY FEATURES:
• Automatic Detection: Identifies wickless candles with configurable tolerance for broker spread
• Real-time Tracking: Monitors each wickless candle until price revisits its opening level
• Visual Indicators:
- Labels show "WL↑" or "WL↓" with bars count when revisited (or "N/A" if pending)
- Horizontal lines mark price levels (gray dashed = pending, green solid = revisited)
• Comprehensive Statistics Table:
- Total wickless candles detected
- Revisit rate percentage
- Min/Max/Average bars until revisit
- Pending count
• History Limit: Configure how far back to analyze (default: 500 bars)
• Customizable: Adjust colors, toggle labels/lines/table, reposition statistics
USE CASES:
• Identify potential support/resistance levels from momentum candles
• Measure how often price fills "fair value gaps" or inefficiencies
• Track mean reversion patterns after strong momentum moves
• Backtest the reliability of wickless candle levels as trading zones
SETTINGS:
• Wick Tolerance: Allow small wicks due to broker spread (e.g., 0.0001 for forex)
• History Limit: Number of bars to analyze (older candles are hidden)
• Visual Controls: Toggle labels, lines, and statistics table
• Color Customization: Adjust line colors for pending/revisited states
ALERTS:
Built-in alerts for wickless candle detection (green, red, or both).
Perfect for traders analyzing price inefficiencies, fair value gaps, and momentum-based support/resistance levels.
Liquidity Sweep by NKLiquidity Sweep (OC-Based) + Doji Acceptance
🔹 Designed for 4H Crypto Trading
This indicator highlights high-probability liquidity sweep candles using a body-based comparison (Open/Close) rather than traditional high/low sweeps, making it cleaner and more reliable in volatile crypto markets.
It is specifically optimized for the 4-hour timeframe, where each day consists of 6 candles, allowing clear identification of institutional stop-hunts and failed breakouts.
---
🔍 Core Concept
Liquidity is often taken above recent candle bodies (opens & closes) rather than just wicks.
This script detects those events and confirms them using candle structure, wick dominance, and doji behavior.
The indicator marks candles where:
* Liquidity is swept
* Price is rejected
* Directional intent is visible
---
🔴 Bearish Liquidity Sweep (Sell Signal)
A candle is highlighted as bearish when ALL of the following conditions are met:
1️⃣ Liquidity Sweep (Body-Based)
* Current candle HIGH is greater than ALL
* Opens of the last X candles
* Closes of the last X candles
(Wicks of previous candles are ignored to reduce noise)
2️⃣ Wick Dominance
* Upper wick > Lower wick
3️⃣ Rejection Confirmation (ANY ONE)
* Candle closes red, OR
* Candle is a Gravestone-type Doji, defined as:
* Very small candle body
* Strong upper wick
* Body color is irrelevant
---
🟢 Bullish Liquidity Sweep (Buy Signal)
A candle is highlighted as bullish when ALL of the following conditions are met:
1️⃣ Liquidity Sweep (Body-Based)
* Current candle LOW is lower than ALL
* Opens of the last X candles
* Closes of the last X candles
2️⃣ Wick Dominance
* Lower wick > Upper wick
3️⃣ Rejection Confirmation (ANY ONE)
* Candle closes green, OR
* Candle is a Dragonfly-type Doji, defined as:
* Very small candle body
* Strong lower wick
* Body color is irrelevant
---
## ⚙️ Inputs
* Liquidity Lookback (X candles)
Number of previous candles used to define the liquidity range.
* Doji Body % of Candle Range
Controls how small the candle body must be to qualify as a doji.
---
🎨 Visuals
* 🔴 Red candle + down arrow → Bearish liquidity sweep
* 🟢 Green candle + up arrow → Bullish liquidity sweep
* Indicator is plotted directly on price
---
✅ Key Features
* Uses Open & Close levels instead of highs/lows
* Filters weak signals using wick dominance
* Accepts both body-based and doji-based rejections
* No repainting
* Works on all markets, optimized for crypto
* Best used at:
* Range highs & lows
* Previous day high / low
* Consolidation extremes
---
❌ What This Indicator Does NOT Do
* No trend bias
* No RSI / EMA / CPR filters
* No session-based filtering
* No multi-timeframe logic
* No entry/exit automation
BK AK-Warfare Formations👑 BK AK-Warfare Formations — Form the pride. Take the high ground. Strike with wisdom. 👑
Built for traders who think like commanders: see the formation, plan the maneuver, execute the strike.
🎖️ Full Credit (Engine + Logic — Trendoscope)
Original foundation (Trendoscope Auto Chart Patterns):
The entire pattern engine (multi-zigzag scanning, pivot logic, trendline-pair validation, geometric classification, drawing framework, overlap handling, and pattern caps) is by Trendoscope—one of the best coders on TradingView and the creator of this indicator’s core.
I’m not rewriting his war machine. I’m upgrading the interface and tactical readability so you can see structure faster and act cleaner.
🧩 BK Enhancements (on top of Trendoscope)
Built for clarity under pressure:
Short-form formation tags so your chart stays readable (AC/DC/RC/RWE/FWE/CT/DT/etc.)
Label transparency controls (text + background), including separate controls for short labels
Hover tooltips (toggle): hover a label to see the full pattern name + bias (Bullish/Bearish/Neutral)
Alerts upgraded with bias + category filtering (Channel / Wedge / Triangle)
Pattern border extension (optional): extends the two boundary lines forward by N bars so the battlefield edges stay visible (not extending random zigzag legs)
Everything else remains Trendoscope’s architecture and detection logic.
🧠 What It Does
Auto-detects and labels:
Channels
AC — Ascending Channel
DC — Descending Channel
RC — Ranging Channel
Wedges
RWE / FWE — Rising/Falling Wedge (Expanding)
RWC / FWC — Rising/Falling Wedge (Contracting)
Triangles
ATC / DTC — Asc/Desc Triangle (Contracting)
ATE / DTE — Asc/Desc Triangle (Expanding)
CT — Converging Triangle
DT — Diverging Triangle
You get clean battlefield tags (short codes) and optional hover briefings (full name + bias) without clutter.
🧭 How It Detects (So You Know It’s Not Random)
Trendoscope’s engine does this in a disciplined sequence:
Multi-Zigzag Sweep
Multiple zigzag levels scan the same market from different swing sensitivities.
Pivot Structure Validation (5 or 6 pivots)
A formation is only valid when pivot sequencing produces a legit trendline pair.
Trendline-Pair Rules
Upper boundary anchors to pivot highs
Lower boundary anchors to pivot lows
Geometry is measured (parallel / converging / diverging) to classify channel vs wedge vs triangle
Optional quality filters reduce warped/low-quality shapes (bar ratio checks, overlap avoidance, max pattern caps)
You’re not getting “art.” You’re getting validated geometry.
⚙️ Core Controls (What You Actually Tune)
Zigzag length/depth per level: swing sensitivity (faster vs cleaner)
Pivots used (5 or 6): tighter vs broader structures
Error/Flat thresholds: tolerance + what qualifies as “flat”
Avoid overlap: prevents stacking junk on top of junk
Max patterns: keeps the chart from becoming noise
Label system: short codes, transparency, tooltips, bias visibility
Border extension: projects the structure edges forward for planning
🗺️ Read the Battlefield (Tactical Translation)
AC (Ascending Channel): trend carry; buy pullbacks to the lower wall, manage risk outside structure
DC (Descending Channel): late down-leg; watch for momentum shift + reclaim = tactical reversal zone
RWE (Rising Wedge): distribution bias; break + failed retest is where weakness shows
CT / DT (Triangles): compression → expansion; plan edges, not the middle
Structure is the map. Bias is the compass. Your risk plan is the sword.
🧑🏫 Mentor A.K. (Respect Where It’s Due)
A.K. is the discipline behind this project.
Patience. Clean execution. No gambling. No chasing.
His standard is in every choice: reduce noise, sharpen structure, force clarity.
This is why the labels are tight, the tooltips are direct, and the features serve execution—not ego.
🤝 Give Forward (The Code of the Camp)
If this indicator sharpens your edge:
Teach one trader how to read structure with discipline (not hype)
Share process, not just screenshots (entries, invalidation, management)
If you build on open work, credit loudly and improve responsibly
A king builds men. A lion builds courage. A camp survives because knowledge moves forward.
👑 King Solomon’s Standard
This is warfare—market warfare—so we move by wisdom, not emotion:
“By wise counsel you will wage your own war, and in a multitude of counselors there is safety.” — Proverbs 24:6
BK AK-Warfare Formations — where formation meets judgment, and judgment meets execution.
Gd bless. 🙏
Po3 Candle OpensMarks out the 9:30 / 9:45 / 10:00 / 10:15 / 10:30 candle opening.
You can turn off certain times in the settings, if not needed.
The colors are also customizable.
Anurag Balanced 0DTE Scalper SPY QQQBalanced 0DTE Scalper
1. Purpose: A 0DTE options day trading indicator for SPY/QQQ on 5-minute charts with visual CALL/PUT entry and exit signals.
2. Trend Filter: Uses 15-minute EMA crossover (9/21) + ADX to confirm trend direction before taking trades.
3. Entry Logic: Triggers on pullback to 5m EMA9 with RSI/VWAP/MACD confirmation, bullish or bearish candle required.
4. Exit System: ATR-based trailing stop, dual targets (TP1 partial, TP2 full), time stop, and auto-exit at EOD.
5. Risk Controls: Max trades/day limit, cooldown period after exits, session filter (avoids first 10 min & last 15 min).
6. Visual Feedback: Dynamic stop/target lines, entry/exit labels with P&L, background color for trend bias and cooldown.
7. Dashboard: 16-row panel showing bias, ADX, regime, RSI, VWAP, position, bars held, cooldown status, strike suggestions, and DTE recommendation.
AI-Driven Multi-Timeframe Stochastic RSI Snapshot📊 AI-Driven Multi-Timeframe Stochastic RSI Snapshot Overview
The AI-Driven Multi-Timeframe Stochastic RSI Snapshot provides a clear, at-a-glance view of momentum alignment and directional bias across multiple timeframes.
It condenses Stochastic RSI readings from 1H, 4H, 1D, 1W, and 1M into a compact, color-coded table displayed directly on the price chart.
This indicator is designed for traders who want high-level market context without cluttering their charts or switching between timeframes.
How It Works
For each timeframe, the indicator evaluates:
Stochastic RSI %K and %D
Directional bias (Bullish, Bearish, or Neutral)
Momentum zone (Overbought, Oversold, or Mid-range)
Each timeframe contributes to an overall market bias calculation.
A directional signal is displayed only when alignment reaches a minimum confidence threshold, helping filter out weak or conflicting conditions.
Signal & Grading
When alignment is strong enough, the indicator displays:
A Bull or Bear signal
A grade (A+ to F) reflecting the quality of the multi-timeframe agreement
Higher grades indicate stronger alignment, particularly from higher timeframes, while lower grades signal mixed or low-confidence conditions.
How to Use
Use as a trend and bias filter before entering trades
Favor setups that align with higher-grade signals
Combine with price action, structure, or volatility tools for precise entries and exits
This indicator is best used for context and confirmation, not standalone entries.
Visuals & Customization
Clean, color-coded table for fast interpretation
Minimal chart footprint
Fully adjustable colors to match any chart theme
Disclaimer
This indicator is for educational and analytical purposes only.
Always apply proper risk management.
Spike Detector (Ticks/Points)Spike Detector (Ticks / Points)
What This Indicator Does
Spike Detector (Ticks / Points) helps you easily spot large, high-volatility candles on your chart. These “spike” candles often happen during strong momentum, breakouts, stop runs, or sudden reversals.
Instead of guessing whether a candle is “big enough,” this indicator automatically measures each candle’s size and highlights it when it exceeds a threshold you choose.
How It Works (Simple Explanation)
The indicator measures the high-to-low range of every candle
It converts that range into ticks using the instrument’s minimum tick size
If the candle size is equal to or greater than your selected threshold, it is marked as a spike
Spike candles are:
Colored green for bullish candles
Colored red for bearish candles
A label is placed on the chart showing the candle size in ticks or points
This logic is non-repainting and works on all timeframes.
Inputs Explained
Spike Size Threshold
The minimum candle size required to be considered a spike (measured in ticks)
Display Unit (Ticks / Points)
Choose whether the label shows the candle size in:
Ticks (recommended for futures)
Points (useful for stocks and indices)
Label Offset
Adjusts how far above or below the candle the label appears
How to Use This Indicator
This indicator is meant to be used as a visual tool, not a standalone trading system.
Common ways traders use it:
Identify momentum ignition candles
Spot stop runs or liquidity grabs
Confirm breakouts with strong candle expansion
Avoid entering trades during abnormally volatile bars
Study volatility behavior during specific sessions
Many traders combine this with:
Market structure
Support & resistance
Trend direction
Volume or session context
Tips for Best Results
Start with a moderate threshold and adjust based on the market you trade
Higher timeframes usually need larger thresholds
Futures traders may prefer tick mode, while stock traders may prefer points
Use spike candles as context, not signals by themselves
Notes
Works on all symbols that support tick size data
Does not repaint
Designed to be lightweight and easy to read
Disclaimer
This indicator is for educational and informational purposes only. It does not provide trade signals or financial advice. Always manage risk appropriately.
BTC - RVPM: Run Velocity & Probability MapBTC – RVPM: Run Velocity & Probability Map | RM
Strategic Context: Understanding Price Runs
A "Price Run" (also known as a streak or consecutive sessions) is a foundational concept in time-series analysis that measures the duration of a price movement without a significant counter-signal. While common indicators like RSI or MACD measure magnitude or momentum, they often ignore the Persistence of the trend. Historically, markets move through cycles of expansion and mean-reversion. A Price Run represents a period of "Unidirectional Flow" — a fingerprint of institutional accumulation or systematic distribution. However, standard "run-counting" is often too simplistic for the volatile crypto markets.
What Makes RVPM Special?
Most community run-counters are binary; they simply tell you if X days were green or red. The RVPM distinguishes itself through three proprietary layers:
• The Intensity Filter: It doesnt just count days; it counts effort . By ignoring "flat" days through a percentage-return threshold, it filters out noise that would otherwise skew the statistical probability.
• Dynamic Benchmarking: Instead of using an arbitrary number (like "7 days"), the RVPM looks back at 200 bars of history to find the local "Persistence Ceiling." It adapts to the current volatility regime of Bitcoin.
• The Velocity Score: It transform simple counts into a -100 to +100 histogram, allowing traders to see momentum "decaying" (e.g., dropping from 90 to 70) even if the price continues to rise.
The 3 Pillars of the Engine
1. Velocity Mapping (Persistence Histogram)
The histogram calculates the density of directional effort within a defined window. It functions as the "Pulse" of the trend, mapping market behavior into three distinct zones:
• High Velocity Zone (> 80 or < -80): Institutional Expansion. This identifies a "clean" move where one side of the market possesses total structural control. In this zone, the trend is efficient, and counter-signals are immediately absorbed.
• The Neutral Zone (Near Zero): Momentum Equilibrium. When the histogram fluctuates near the zero line, the market is in a "Recharge Phase." Neither bulls nor bears are achieving persistent dominance. Tactically, this is the "Waiting Room" where range-bound chop is likely, and traders should wait for a new "Expansion" spike before committing.
• Velocity Decay: The Exhaustion Warning. Velocity Decay occurs when the indicator moves from an extreme (e.g., +95) back toward the zero line (e.g., +50) while the price is still rising. This is a "Persistence Divergence." It tells you that while the trend is still moving, the consistency of the bars is fragmenting. The "fuel" is being depleted, and the trend is transitioning from an "Institutional Expansion" into a "Speculative Exhaustion."
2. n-of-m Consistency (The Pips)
The "Pips" (Circles) mark when a specific consistency threshold is met (e.g., 5 out of 7 bars in one direction). This identifies "Leaky Trends" that are still statistically dominated by one side of the ledger.
3. Statistical Exhaustion (The Arrows)
The Dark Red (Top) and Dark Green (Bottom) triangles represent the engine's "Mean-Reversion Signal." The calculation is based on a Relative Maximum Streak (RMS) logic: the script tracks the current linear, consecutive bar count (ignoring bars that fail the Intensity Filter) and continuously benchmarks this against the highest streak recorded over the last 200 bars ( ta.highest(streak, 200) ). The triangles are triggered specifically when the current run reaches 80% of this historical record (the "Anomaly Threshold"). Mathematically, this identifies a move that is statistically pushing against its half-year limit. By using this dynamic threshold rather than a fixed number, the "Extreme" signal automatically tightens during low-volatility regimes and expands during high-volatility expansions, ensuring the signal only appears when the "statistical rubber band" is at a true breaking point.
Operational Interface: The RVPM Dashboard
The Status Dashboard (Top Right) serves as a real-time monitor for momentum health, providing a clean summary of the underlying persistence data:
• Current STREAK: The active, consecutive count of bars meeting the Intensity Filter. It is dynamically color-coded (Cyan/Bullish or Red/Bearish) to provide an instant read on trend seniority.
• WINDOW Consistency: Measures the Momentum Density (the n-of-m value). A value of "6" in a "7-bar" window indicates a high-conviction regime that is successfully absorbing pullbacks without losing its primary trajectory.
Tactical Playbook: The Mean-Reversion Rule
Price action typically follows a "Rubber Band" effect. The further it is stretched without a break, the more "unstable" the trend becomes as the pool of available buyers or sellers is depleted.
• The Setup: Wait for the Triangle Arrows to appear.
• The Logic: The move has reached a 200-day anomaly. A "Liquidity Vacuum" is forming on the opposite side.
• The Action: This is a high-probability Mean-Reversion signal. It is a tactical time to take profits or look for a sharp snap-back move toward the 20-period moving average or the "Institutional Mean."
Settings & Parameters
• Window Length (m): The lookback window used to calculate the Velocity Score.
• Required Days (n): The minimum number of directional bars needed within the window to trigger a "Consistency Pip."
• Intensity Filter (%): The minimum % change required for a bar to be counted toward a run.
• Lookback Period: The historical window (Default: 200 bars) used to calculate the "Maximum Streak" records for exhaustion alerts.
Timeframe Recommendation
The RVPM is best viewed on the Daily (1D) timeframe. This filters out intraday noise and provides the most reliable statistical mapping for macro exhaustion points.
Credits & Verification
The RVPM logic aligns with institutional "Persistence" models and Glassnode's Price Stretch benchmarks. By benchmarking against a rolling 200-day window, the indicator automatically adapts to changing market volatility.
Risk Disclaimer & No Financial Advice
The information, data, and analytical models provided in this publication are for educational and informational purposes only. This script does not constitute financial, investment, or trading advice. Trading cryptocurrencies and other financial instruments carries a high degree of risk, and statistical anomalies or "Extreme Runs" do not guarantee future price action. Past performance is never indicative of future results. Every trader is responsible for their own due diligence and risk management. Rob Maths and the associated entities are not liable for any financial losses incurred through the use of this tool. Always consult with a certified financial professional before making significant investment decisions.
Tags:
bitcoin, btc, persistence, streaks, price-runs, momentum, mean-reversion, exhaustion, Rob Maths
PDH/PDL Breakout Pip MeasurerThe indicator tracks and measures daily breakout performance when price breaks the Previous Day's High (PDH) or Previous Day's Low (PDL). This indicator provides exact pip/point measurements of how far breakouts travel before hitting your stop-loss, with comprehensive statistics for strategy optimization.
Function
Tracks breakouts above PDH (Previous Day's High) and below PDL (Previous Day's Low)
Measures maximum distance price travels after breakout before stop-loss hit
Calculates exact pip/point gains for every breakout move
Provides statistical analysis of breakout performance over time
Identifies only first breakout of each day for clean signals
Performance Metrics
Exact pip measurement for every breakout move
Statistics table with Count, Average, Min, Max pips
Separate tracking for bullish and bearish breakouts
Historical performance accumulation over time
Active breakout monitoring in real-time
Settings
Adjustable pip multiplier - works with any instrument (Forex, indices, crypto)
Separate stop-loss settings for bull/bear breakouts
Visual control - show/hide levels, labels, table
Built-in alerts for breakout notifications
ADX Regime (5m) Companion PaneADX Regime Filter (5-Minute) — Trade Permission Indicator
This indicator is a market regime filter designed to answer one question only:
Is this market worth trading right now?
It is built specifically for intraday futures trading, with a strong focus on Gold (GC / MGC) and prop-firm style discipline.
What This Indicator Does
This ADX indicator does not give buy or sell signals.
Instead, it tells you when to trade and when to stand down.
Gold spends a large portion of the day in compression or VWAP chop.
Trading during those periods destroys consistency and drawdown control.
This indicator helps you avoid those conditions.
How ADX Is Used Here
ADX is calculated on the 5-minute timeframe
It measures trend strength and expansion, not direction
Direction should come from structure or higher-timeframe bias, not ADX
ADX is used strictly as a permission filter.
ADX Zones Explained
The indicator includes clear horizontal reference levels:
Below 18
Compression / chop
No trade environment
20 to 35
Optimal expansion zone
Best conditions for pullbacks and continuations
35 to 45
Strong trend
Trade cautiously or only first pullbacks
Above 45
Late expansion or news-driven volatility
No new entries recommended
These zones are visual guides to keep trading decisions objective.
What This Indicator Is NOT
It is not a signal generator
It is not an entry tool
It is not predictive
ADX does not tell you what direction to trade.
It tells you whether trading is allowed at all.
Best Practices
Use ADX on the 5-minute chart
Combine it with:
Higher-timeframe trend
VWAP or key levels
Clear price action
If ADX is below 18, standing aside is a valid trade decision
Who This Indicator Is For
Futures traders
Prop firm traders
Traders who value:
Capital protection
Fewer but higher-quality trades
Consistency over activity
Core Principle
ADX is a gatekeeper.
When it says no, you do nothing.
When it says yes, you still wait for structure and location.
This mindset alone can dramatically improve discipline and results.
BK AK-Flag Formations🏴☠️ BK AK-Flag Formations — Raise the standard. Drive the line. Continue the assault. 🏴☠️
Built for traders who exploit momentum with discipline: flagpoles, flags, and pennants detected, tagged, and briefed—so you press advantage instead of hesitating.
🎖️ Full Credit (Engine + Logic — Trendoscope)
Original foundation (Trendoscope Flags & Pennants):
The entire detection engine—multi-zigzag swing extraction, pivot logic, pattern validation, classification framework, and drawing architecture—is Trendoscope. He’s the architect of the core system.
I’m not claiming the engine. I’m shipping a cleaner, more tactical interface layer on top of his work.
🧩 BK Enhancements (on top of Trendoscope)
Purpose: read continuation faster with less chart noise.
Short-form pattern tags so structure stays obvious without burying price:
BF / BeF / BP / BeP / F / P / UF / DF / RF / FF / AF / DeF
Label transparency controls (text + background), plus separate transparency control for short labels
Hover tooltips (toggle): hover the tag to reveal full pattern name + bias (Bullish / Bearish / Neutral)
Upgraded alert system: filters by Bias (Bullish/Bearish/Neutral) and Type (Flag / Pennant), with clearer alert messages
Pattern border extension (optional): extends the two pattern boundary lines forward by N bars so your levels stay mapped for break/retest planning
Everything else is Trendoscope’s architecture and math.
🧠 What It Does (The Mission)
This script hunts continuation formations that form after a strong impulse move:
Detects the flagpole (impulse)
Validates a consolidation structure (flag or pennant)
Tags it cleanly with short codes
Optional hover-briefing gives the long name + bias exactly when you need it
You get continuation structure in real time, across multiple swing sensitivities.
🧭 How It Detects (So You Know It’s Not Random)
This isn’t “pattern art.” It’s rule-based geometry + swing logic:
1) Multi-Zigzag Sweep (micro → macro)
Runs up to 4 zigzag engines so it catches both tight and larger continuations.
(Default BK tuning uses 4 levels with different swing lengths/depths.)
2) Quality Filters (you control strictness)
Key scanning controls:
Error Threshold: tolerance used during trendline validation
Flat Threshold: what qualifies as “flat” vs sloped
Max Retracement (default 0.618): limits how deep the consolidation can retrace the impulse
Verify Bar Ratio (optional): checks proportion/spacing of pivots, not just price
Avoid Overlap: prevents stacking formations on top of each other
Repaint option: allows refinement if better coordinates form (for real-time users)
3) Classification (Flag vs Pennant)
Once the engine confirms an impulse + valid consolidation, it classifies:
Flag = orderly channel/wedge-style consolidation after the pole
Pennant = tighter triangle-style compression after the pole
Then it labels with bias based on direction and formation context.
🏳️ Read the Continuation (Short Codes that Actually Matter)
BF — Bull Flag: strong pole → controlled pullback; watch for break + continuation expansion
BP — Bull Pennant: thrust → tight compression; expansion confirms carry
BeF — Bear Flag: down impulse → weak rallies; breakdown favors continuation lower
BeP — Bear Pennant: pause beneath resistance; release favors trend continuation
F / P: generic flag / pennant tags when the system can’t (or shouldn’t) over-specify
Standards aren’t decoration—they’re orders.
🧑🏫 Mentor A.K.
A.K. is the discipline behind this release.
No chasing. No gambling. No emotional entries.
He drilled one rule into everything: structure first, then execution—never the reverse.
This indicator exists to make that possible under pressure.
🤝 Give Forward (The Code of the Crew)
If this tool sharpens your edge:
Teach one trader how to read continuation properly (pole → base → trigger → invalidation)
Share process, not just screenshots (entry logic, stop logic, management plan)
If you build on open work: credit loudly and contribute improvements back when you can
Tools multiply force. Character decides the outcome.
👑 Respect to King Solomon (Wisdom > Impulse)
“Plans are established by counsel; by wise guidance wage war.” — Proverbs 20:18
Continuation trading is the same: impulse → formation → execution.
BK AK-Flag Formations — when the standard rises, the line advances.
Gd bless. 🙏
Pivot Edge ProOverview
Smart Pivot Analytics is a highly accurate technical analysis tool designed to identify and validate significant price levels. Unlike standard pivot indicators that only mark recent highs, this tool backtests each identified pivot against thousands of historical candlesticks to calculate its real-world “success rate.”
Key Features
Historical Backtesting: The indicator scans up to 4,900 historical columns to find every instance where price interacted with a specific pivot level.
Strength Score (%): Each level is assigned a percentage score based on its reversal rate. It calculates how many times the price has successfully reached and rejected the level, providing a statistical “hit rate.”
Dynamic Hit Counter: Displays the exact number of times a level has been tested (hit), helping traders distinguish between new levels and established “old” levels.
Smart Filtering: To keep the chart clean, the indicator automatically filters out weak levels and prevents “clutter” by merging levels that are too close together.
Infinite Left Projection: Lines extend left to infinity, allowing traders to see the historical significance of a level across the entire price history at a glance.
How to Trade with It
Red Levels (High Power > 75%): These are “Top Reaction Zones”. Expect a strong price rejection or significant breakout when these levels are tested.
Orange Levels (Medium Power): Suitable for profit targets or as secondary confirmation for entering a trade.
Encounter: Use these levels in conjunction with your existing strategy. When a high power pivot aligns with your entry signal, the probability of a successful trade increases significantly.
Technical Parameters
Lookback Period: Defines how far back in history the script calculates power.
Touch Radius: The "sensitivity" of the level (how close the price has to get to be considered a "hit").
Minimum Strength: A filter to show only the most reliable levels.
Price Bar SequencingThis indicator classifies each price bar into one of three types based on its relationship to the previous bar:
1 = Inside Bar (high < previous high, low > previous low)
Indicates consolidation, indecision, or compression
2 = Normal Bar (expands beyond previous bar)
Standard price movement, normal market activity
3 = Volume-Expanded Bar (Normal Bar with high volume)
Shows conviction, institutional activity, or significant moves
How It Works:
The indicator reads sequences of these bar types to identify patterns:
Key Patterns Detected:
3-2-1 Sequence: Expansion → Normal → Contraction (potential reversal)
1-1-3 Sequence: Consolidation → Breakout (directional move)
3-3-2 Sequence: Sustained expansion (trend continuation)
Visual Display:
Each bar shows its type (1, 2, or 3)
Background colors highlight when patterns form
Info table shows current sequence, strength, and pattern type
No arrows or trading signals - just the raw pattern data
The complexity is in the interpretation, not the display
This isn't mathematical magic - it's observing that markets naturally move in these patterns because:
Traders take profits (compression)
New money enters (expansion)
Uncertainty causes hesitation (inside bars)
Volume confirms significance
Use Cases:
Identify compression before expansions
Spot high-volume breakout bars
Understand market structure through bar sequencing
Filter noise to focus on significant price action
Combine with other analysis for confluence
Customization:
Adjust volume threshold for Type 3 bars
Toggle labels on/off
Configure pattern highlighting
Set custom alerts for specific sequences
Why It's Useful:
Price action analysis often focuses on individual bars or candlestick patterns. This indicator adds a sequential dimension, helping traders see how bars relate to each other over time. The volume boost for Type 3 bars helps distinguish between normal range expansion and significant moves with institutional participation.
Markets don't move randomly - they breathe:
Compress → Expand → Compress → Expand
This tool visualizes that breathing cycle.
Most indicators try to predict: Price will go up/down.
This tool describes: "Price is currently in a compression phase after expansion" or "Price is expanding on high volume."
The tool doesn't provide trading signals but gives you a structured way to read and interpret price action sequences, which can be particularly helpful for understanding market structure, identifying potential turning points, and recognizing when price is likely to accelerate or consolidate.
Watchlist Auto Buy/Sell AlertsTrial for the best. This indicator is built to assess the chart and make it easier for traders to identify coins that are available for trading and minimize losses.
Round Level Pro Stats
Here is a professional English description of your indicator, which you can use for your own records or if you ever want to share it on the TradingView Community Scripts:
Indicator Name: Dynamic Round Levels & Historical Strength Grid
Overview
This indicator is a sophisticated technical analysis tool designed to identify and evaluate "Round Number" psychological levels (e.g., 1.17100, 1.17200, 1.17300). Unlike a static grid, this tool actively scans historical data to provide a "Strength Score" for each level, helping traders distinguish between minor price points and significant historical reaction zones.
Key Features
Automated Price Grid: Generates a clean, horizontal grid based on user-defined price intervals (Steps). Perfect for Forex (0.001 pips), Stocks, or Crypto.
Historical Strength Engine: Analyzes up to 5,000 historical bars to calculate how "respected" a price level is.
The "3-Candle Confirmation" Logic: A level's strength is only increased if the price touches the line and successfully reverses/bounces, staying on the same side for at least 3 subsequent candles.
Smart Visual Coding:
Green (High Strength): Levels with >60% historical reversal success.
Orange (Medium Strength): Levels with 35%–60% success.
Red (Low Strength): Levels frequently breached without reaction.
Pro HUD Display: Bold percentage labels are positioned at the far right of the chart (near the price scale) to keep the main trading area clutter-free.
How to Use
Set your Step: For Forex, use 0.001 to see 10-pip increments. For Bitcoin or Gold, use 10 or 100.
Lookback Period: Adjust the history scan (up to 5,000 bars) to match your trading timeframe.
Identify Support/Resistance: Look for Green % STR labels. These represent "Round Numbers" that have acted as strong barriers in the past, offering higher-probability entry or exit points.
Technical Summary for Pine Script
Language: Pine Script v5
Max Lines/Labels: 500 (Optimized for performance)
Placement: Far-right margin alignment using bar_index offsets.
Anurag - Balanced 0DTE Scalper QQQ SPYBalanced 0DTE Scalper is a professional-grade execution system designed specifically for the high-velocity world of 0DTE (Zero Days to Expiration) options trading on indices like SPY, QQQ, and IWM.
Unlike standard indicators that repaint or lag, this system uses Non-Repainting Multi-Timeframe Logic to align the institutional trend (15m) with precision entry triggers (5m). It is engineered to solve the two biggest killers of 0DTE traders: Theta Decay (holding too long) and Choppy Markets (trading without trend).
How It Works
1. The "Safety Belt" (15-Minute Trend Filter) Before any trade is taken, the system checks the confirmed 15-minute Trend and ADX (Strength).
No Repainting: It strictly uses the previous closed 15m bar to determine bias. Once a signal prints, it stays printed.
Regime Detection: It automatically blocks trades during low-volume "chop" (Low ADX) to save you from theta burn.
2. Precision Entry Triggers (5-Minute) Once the 15m trend gives the "Green Light," the system hunts for 5m setups using a confluence of:
EMA Crossovers: For immediate momentum.
VWAP Filter: Ensuring you are on the right side of institutional volume.
RSI Check: To avoid buying tops or selling bottoms.
3. Aggressive Risk Management (The "Profit Locker") 0DTE profits can vanish in seconds. This script manages the trade for you visually:
Dynamic Trailing Stop: Trails price based on candle Highs/Lows (not closes), allowing it to lock in profits at the peak of a spike.
Time Stop: If a trade stalls for 60 minutes (12 bars), the system triggers a "Time Exit." In 0DTE, time is money—if it's not working, get out.
Visual Levels: Automatically draws your Stop Loss, Target 1 (Conservative), and Target 2 (Runner) lines on the chart.
Features & Dashboard
Live Dashboard: Monitors Trend Bias, ADX Strength, RSI, and Open PnL in real-time.
On-Chart Tickets: Prints a "CALL OPEN" or "PUT OPEN" label with the exact Entry Price, Stop Loss, and Strike Suggestion.
Session Filters: Automatically avoids the first 10 minutes (Open Volatility) and the last 15 minutes (Close Chaos).
Settings Guide
Risk Mode:
Balanced (Default): The recommended blend of Trend + Momentum.
Conservative: Requires a very strong ADX trend. Fewer trades, higher win rate.
Aggressive: Ignores ADX strength. Good for FOMC/CPI days only.
Strike Suggestion: Automatically calculates the nearest Strike Price (ATM/OTM) for SPY/QQQ based on your settings.
Disclaimer
This tool is for educational purposes only. 0DTE options trading involves extreme risk of capital loss. Past performance (even with non-repainting logic) is not indicative of future results. Always manage your risk.
Stoch + RSI Super Buy SpotWhat does this indicator do?
This indicator helps you spot the moment when a price is likely to start bouncing,
before the bounce becomes obvious on the chart.
Most buy signals appear after price has already moved up.
This indicator is designed to show a signal just before the move begins.
What kind of situation does it look for?
The indicator looks for three conditions at the same time.
① Price has fallen a lot
The Stochastic line is near the bottom (0–20).
This means the market has recently dropped significantly.
② The market is weak, but not broken
The RSI line stays between 40 and 50.
This suggests selling pressure exists, but strength is still holding.
③ Downward movement starts to slow and turn up
The Stochastic line stops falling
and starts to move upward, even slightly.
👉 When all three happen together, the indicator marks a BUY timing.
Why does this signal appear earlier than others?
Many indicators wait for:
line crossovers, or
levels to be clearly broken
That often means the signal appears after the price has already risen.
This indicator:
does not wait for crossovers
instead, it detects the first change in direction
So the signal appears one step earlier.
How should you use this BUY signal?
This BUY mark means:
“The downtrend may be ending, and a rebound could be starting.”
It is best used as:
a preparation signal, or
a buy zone alert,
not as a guaranteed entry on its own.
When does this indicator work best?
After a strong decline
Near support levels
During consolidation after a drop
It is especially useful for catching early rebounds.
One-sentence summary
“An indicator that highlights early signs of a rebound while the price is still low.”
Dual MACD CrossWhat Is This Indicator?
This indicator is a visual tool for reading changes in market momentum.
Instead of giving buy or sell orders, it helps you see when the market’s short-term behavior starts to differ from its underlying direction. Think of it as a way to observe shifts in mood rather than make automatic decisions.
What Do the Lines Mean?
You will see three visual elements:
The thin green line represents the market’s short-term momentum.
It reacts quickly to recent price changes and shows what the market is doing right now.
The thicker white line represents the market’s reference trend.
It moves more slowly and reflects the broader, more stable direction of the market.
The yellow dotted line is the zero baseline.
It does not generate signals. Its only purpose is to help you visually judge whether momentum is generally positive (above zero) or negative (below zero).
How Should This Indicator Be Read?
The key is the relationship between the green and white lines.
When the green line is above the white line, short-term momentum is stronger than the market’s reference trend.
When the green line is below the white line, short-term momentum is weaker.
The indicator is not concerned with how high or low the lines are by themselves.
What matters is how they interact.
What Do the Triangle Markers Mean?
The small triangle markers highlight moments of transition.
An upward triangle appears when the green line crosses above the white line.
This suggests that short-term momentum is beginning to outperform the broader trend.
A downward triangle appears when the green line crosses below the white line.
This suggests that momentum is weakening relative to the broader trend.
These markers are attention points, not commands. They indicate potential change, not certainty.
Why Is the Zero Line Important?
The zero line provides context.
A crossover that happens above the zero line occurs while the market is already in a relatively strong state.
A crossover below the zero line happens in a weaker environment and may represent a failed move or an early attempt at reversal.
The same crossover can mean very different things depending on its position relative to zero.
What Is This Indicator Best Used For?
This indicator is best used to:
Observe early signs of trend changes
Compare short-term momentum versus underlying direction
Confirm what you are already seeing in price action or other indicators
It is not designed to:
Predict tops or bottoms precisely
Act as a standalone buy/sell system
Measure overbought or oversold conditions
A Simple Analogy
Imagine driving a car.
The green line is how hard you are pressing the accelerator.
The white line is your current speed.
The yellow zero line is the difference between moving forward or backward.
The triangles mark moments when acceleration begins to change the car’s actual movement.
The indicator helps you notice when effort starts to translate into direction.
The Right Way to Use It
This indicator does not tell you what to do.
It encourages you to ask better questions:
Is momentum starting to lead or lag?
Is this change supported by price structure?
Does the broader context confirm or contradict this signal?
Used this way, it becomes a tool for awareness, not prediction.
If you’d like, I can also provide:
A one-paragraph version for documentation
A training script for beginners
Or a minimal tooltip-style explanation for sharing with others






















