Pivot Points - Market Structure with percent changeRULES:
1) Inputs that control pivots
• leftBars: how many bars to the left of the pivot must be lower (for a high pivot) or higher (for a low pivot).
• rightBars: how many bars to the right of the pivot must be lower (for a high pivot) or higher (for a low pivot).
These two values define the “strictness” of a swing.
2) Pivot High logic (ta.pivothigh)
A pivot high is confirmed at bar t when:
• The high at t is the maximum within the window:
○ from t - leftBars through t + rightBars
• In practical terms:
○ the prior leftBars bars have highs below that high
○ the next rightBars bars have highs below that high
In code:
• ph = ta.pivothigh(high, leftBars, rightBars)
Behavior:
• ph returns the pivot high price, but only after rightBars future bars have printed.
• Until then it returns na.
Where it is plotted:
• When ph is confirmed on the current bar, the actual pivot occurred rightBars bars ago, so we place the label at:
○ pivotBar = bar_index - rightBars
○ price = ph
3) Pivot Low logic (ta.pivotlow)
A pivot low is confirmed at bar t when:
• The low at t is the minimum within the window:
○ from t - leftBars through t + rightBars
• In practical terms:
○ the prior leftBars bars have lows above that low
○ the next rightBars bars have lows above that low
In code:
• pl = ta.pivotlow(low, leftBars, rightBars)
Same confirmation behavior:
• pl only becomes non-na after rightBars bars have passed.
• The label is plotted at bar_index - rightBars.
4) Confirmation delay (important)
Because pivots need “future” bars to confirm, every pivot is lagged by rightBars bars. This is expected and correct: it prevents repainting of the pivot point once confirmed.
5) The alternation rule (your added constraint)
On top of the raw pivot detection above, the script enforces:
• You cannot accept another pivot high until a pivot low has been accepted.
• You cannot accept another pivot low until a pivot high has been accepted.
Implementation:
• Track lastAccepted = "high" or "low".
• Only process pivotHigh when lastAccepted != "high".
• Only process pivotLow when lastAccepted != "low".
This is what prevents consecutive HHs (or LHs) printing without an intervening HL/LL pivot, and vice versa.
REALTIME BARS THAT ARE NOT REPAINTED BUT HAVE A 3 BAR DELAY ON THE CHART TIMEFRAME:
The confirmation delay is exactly rightBars bars.
• A pivot is only confirmed after rightBars future bars have printed.
• So the signal arrives rightBars × your chart timeframe after the actual turning point.
Examples:
• If rightBars = 3:
○ On a Daily chart: ~3 trading days after the pivot bar.
○ On a 65-minute chart: 3 × 65 = 195 minutes (about 3h 15m) after the pivot bar.
○ On a 10-minute chart: 30 minutes after the pivot bar.
Note: the pivot label is plotted back on the pivot bar (bar_index - rightBars), but you only learn it rightBars bars later.
지표 및 전략
Liquidity Raid VisualizationUpper and lower wicks can be understood as price sweeping liquidity above and below.
At first, I used to draw them manually as lines. Later, I thought: what if I coded it instead—wouldn’t that be more convenient?
That’s why this script exists. It’s only meant to help with visualization. It doesn’t mean that every downward sweep is valid or guaranteed to work.
Good luck to all traders.
上下影線 可以理解為 像上下 清掃流動性但我一開始適用手繪的方式呈線 後來我突然想說 如果我將他寫出來 會不會更方便 一點 所以才會出現 這個腳本 但他只是幫助你可視化並不代表一定 也不是說向下清掃了就一定有效等 加油各位交易者
Triple MA Strategy + Adjustable Dashboardstandard 3 moving average indicator with adjustable buy sell and strength dashboard. just for back testing purposes
Stabilized HMA ScalperStabilized HMA Scalper / Stab. HMA 2.0
Stabilized HMA Scalper is a visual trend-structure overlay indicator designed to highlight directional momentum, trend alignment, and market state through a combination of adaptive moving averages and contextual visual cues.
The indicator blends a Hull Moving Average (HMA) for responsiveness with an ALMA-based baseline filter to stabilize trend interpretation and reduce noise. The result is a clean, visually expressive framework for reading market structure directly on the price chart.
Core Design Philosophy
This script is built around trend confirmation and state visualization, not prediction or automation.
All elements are calculated on confirmed bar closes and do not repaint.
The indicator focuses on three analytical dimensions:
1. Dual Moving Average Structure
Hull Moving Average (HMA)
Acts as the primary momentum curve.
Designed for fast reaction to directional changes.
Slope behavior is used to infer momentum expansion or contraction.
ALMA Baseline Filter
Provides a stabilizing reference for broader trend context.
Helps distinguish directional movement from short-term fluctuations.
Used as a structural filter rather than a trigger mechanism.
2. Trend State Visualization
When HMA slope and price position relative to the ALMA baseline align, the indicator visually highlights the active market state:
Bullish alignment: upward momentum with supportive structure
Bearish alignment: downward momentum with confirming structure
Neutral / range: mixed conditions or transitional phases
A dynamic gradient fill between HMA and ALMA visually reinforces this alignment, offering an immediate understanding of trend strength and continuity.
3. Visual Markers & Labels
Discrete chart markers may appear at moments when momentum structure transitions into a new aligned state.
These markers are contextual annotations, intended to draw attention to changes in trend conditions rather than to provide standalone decisions.
They are based solely on historical price data and are fully non-repainting.
Dashboard
An optional on-chart dashboard summarizes the current market state classification (Bullish / Bearish / Range) based on the internal trend logic.
Position and size are fully configurable.
Designed for at-a-glance situational awareness.
Reflects the same logic used in the chart visuals.
Usage Disclaimer
This indicator is provided for technical analysis and educational purposes only.
It does not generate financial advice or guarantee outcomes and should be used as part of a broader analytical workflow.
Volume Profile - Density of Density [DAFE]Volume Profile - Density of Density
The Art & Science of Market Architecture: An AI-Enhanced Volume Profile & Order Flow Engine with a Revolutionary Visualization Core.
█ PHILOSOPHY: BEYOND THE PROFILE, INTO THE DENSITY
Standard Volume Profile shows you a one-dimensional story: where volume was traded. It shows you the first layer of density. But this is like looking at a galaxy and only seeing the stars, completely missing the gravitational forces, the dark matter, and the nebulae that give it structure.
Volume Profile - Density of Density (VP-DoD) is a revolutionary leap forward. It was engineered to analyze the second order of market data: the properties of the density itself . We don't just ask "Where did volume trade?" We ask " Why did it trade there? What was the character of that volume? What is the statistical significance of its shape? What is the probability of what happens next?"
This is a complete, institutional-grade analytical framework built on the DAFE principle: Data Analysis For Execution . It fuses a higher-timeframe structural engine, a proprietary microstructure delta engine, and a Bayesian AI into a single, cohesive intelligence system. It is designed to transform your chart from a flat, lagging record of the past into a living, three-dimensional map of market structure and intention.
█ WHAT MAKES VP-DoD ULTIMATE UNLIKE ANY OTHER PROFILE TOOL?
This is not just another volume profile script. It stands apart due to a suite of proprietary features previously unseen on this platform.
Higher Timeframe (HTF) Core: While other profiles are trapped by the noise of your current chart, VP-DoD builds its foundation on a higher timeframe of your choice (e.g., Daily data on a 15m chart). This is its greatest strength. It filters out intraday noise to reveal the true, macro architectural levels where institutions have built their positions.
Microstructure Hybrid Delta Engine: Standard delta is primitive. Our engine provides a far more accurate picture of order flow by simulating tick data and analyzing the battle between candle bodies (aggression) and wicks (absorption). It sees the hidden story inside the volume.
Bayesian AI Confidence Model: This is not a simple weighted score. VP-DoD incorporates a genuine Bayesian inference model. It starts with a neutral "belief" about the market and continuously updates its Bullish/Bearish Confidence percentage based on new evidence from delta, POC velocity, and price action. It thinks like a professional quant, providing you with a real-time statistical edge.
Advanced Statistical Analysis: It calculates metrics found nowhere else, such as Profile Entropy (a measure of market disorder) and Volatility Skew (a measure of fear vs. greed from the derivatives market), and normalizes them with Z-Scores for universal applicability.
Revolutionary Visualization Engine: Data should be intuitive and beautiful. VP-DoD features 14 distinct, animated, and theme-aware rendering modes . From "Nebula Plasma" and "Liquid Metal" to "DNA Helix" and "Constellation Map," you can transform raw data into interactive data art, allowing you to perceive market structure in a way that resonates with your unique analytical style.
█ THE ART OF ANALYSIS: A REVOLUTIONARY VISUALIZATION CORE
Data is useless if it isn't intuitive. VP-DoD shatters the mold of boring, static indicators with a state-of-the-art visualization engine. This is where data analysis becomes data art.
The Profile Itself: 14 Modes of Perception
Choose how you want to see the market's architecture:
Nebula Plasma & Quantum Matrix: Futuristic, cyberpunk aesthetics with vibrant glow effects that make HVNs and POCs pulse with energy.
Thermal Vision & Heat Shimmer: Renders the profile as a heatmap, instantly drawing your eye to the "hottest" zones of institutional liquidity.
Liquid Metal & Crystalline: Creates a tangible, almost physical representation of volume with metallic sheens, animated light flows, and faceted structures.
3D Depth Map & Prismatic Refraction: Uses layering and color channel separation to create a stunning illusion of depth, separating the profile into its core components.
Particle Field & Constellation Map: Abstract, beautiful data art modes that represent volume as animated particles or glowing stars, connecting major nodes like celestial bodies.
DNA Helix & Magnetic Field: Dynamic, animated modes that visualize the forces of attraction and repulsion around the POC and Value Area, representing the market's underlying code.
The POC & Value Area: A Living, Breathing Structure
The POC and VA are no longer static lines. They are a dynamic, interactive system designed for immediate contextual awareness:
Multi-Layered Glow Effects: The POC and VA lines are rendered with multiple layers of glowing, pulsating light, giving them a vibrant, three-dimensional presence on your chart.
Dynamic Labels & Badges: Each key level (POC, VAH, VAL) features an advanced label block showing not just the price, but the real-time distance from the current price, and a status badge (e.g., "▲ ABOVE", "◆ INSIDE") that changes color and text based on price interaction.
Intelligent Color Adaptation: The color of the VAH and VAL lines dynamically changes. A VAH line will glow bright green when price is breaking above it, but will appear dim and neutral when price is far below it, providing instant visual cues about market context.
█ ACTIONABLE INTELLIGENCE: THE SIGNAL & ALERT SYSTEM
VP-DoD is not just an analytical tool; it's a complete trading framework with a built-in, context-aware signal system.
Absorption/Distribution Signals (🏦): The "Whale Signal." Triggers when price and delta are in stark divergence, indicating large passive orders are absorbing the market—a classic institutional maneuver.
Coiling Signals (⚡): A high-probability setup that alerts you when the market is compressing (VA contracting, low entropy), storing energy for a significant breakout.
POC Shift & VA Breakout Signals: Trend-initiation signals that fire when value is migrating and the market breaks out of its established balance area with conviction.
Delta Extreme Signals: Contrarian reversal signals that detect capitulation at the extremes of buying or selling pressure, often marking key turning points.
█ THE DASHBOARD: YOUR INSTITUTIONAL COMMAND CENTER
The professional-grade dashboard provides a real-time, comprehensive overview of the market's hidden state.
Market Regime: Instantly know if the market is BALANCED, COILING, TRENDING , or VOLATILE .
Advanced Metrics: Monitor Entropy (disorder), Volatility Skew (fear/greed), and a composite Risk Score .
Institutional Score: See the calculated Liquidity Score and Conviction Level , grading the quality of the current market structure.
Bayesian AI: The crown jewel. See the real-time, AI-calculated Bull vs. Bear Confidence percentages, giving you a statistical edge on the probable direction of the next move.
Breakout Gauge: A forward-looking metric that calculates the Breakout Probability and its likely Bias (Bullish/Bearish).
█ DEVELOPMENT PHILOSOPHY
VP-DoD Ultimate was created out of a passion for revealing the hidden architecture of the market. We believe that the most profound truths are found at the intersection of rigorous science and intuitive art. This tool is the culmination of thousands of hours of research into market microstructure, statistical analysis, and data visualization. It is for the trader who is no longer satisfied with lagging indicators and seeks a deeper, more contextual understanding of the market auction. It is for the trader who believes that analysis should be not only effective but also beautiful.
VP-DoD Ultimate is designed to help you ride the trend with confidence, but more importantly, to give you the data-driven intelligence to anticipate that final, critical bend.
█ DISCLAIMER AND BEST PRACTICES
CONTEXT IS KING: This is an advanced contextual tool, not a simple "buy/sell" signal indicator. Use its intelligence to frame your trades within your own strategy.
RISK MANAGEMENT IS PARAMOUNT: All trading involves substantial risk. The signals and levels provided are based on historical data and statistical probability, not guarantees.
HTF IS YOUR GUIDE: For the highest probability setups, use the HTF feature (e.g., 240m or Daily) to identify macro structure. Then, execute trades on a lower timeframe based on interactions with these key macro levels.
ALIGN WITH THE REGIME: Pay close attention to the "Regime" and "Entropy" readouts on the dashboard. Trading a breakout strategy during a high-entropy "RANGING" regime is a low-probability endeavor. Align your strategy with the market's current state.
"The trend is your friend, except at the end where it bends."
— Ed Seykota, Market Wizard
Taking you to school. - Dskyz, Trade with Volume. Trade with Density. Trade with DAFE
MTF Vitals Decision DashboardMTF Vitals Decision Dashboard is a multi-timeframe “vitals monitor” for the market.
Instead of guessing off one candle or one timeframe, it checks the core vitals—trend, strength, and direction—across 5 timeframes so you diagnose conditions correctly before you act.
🩺 The Vitals Concept
Think of price like a patient:
RSI = temperature (overheated / too cold / stable)
ADX = strength / urgency (is the move strong enough to matter?)
DI Net = directional pulse (bulls vs bears—who actually has control?)
Trend ribbon = posture / gait (is the market walking forward or limping sideways?)
Dir Score = diagnosis score (how many vitals agree?)
This dashboard is designed to help you avoid the most common trading mistake:
treating noisy, mixed signals like a clean trend.
What You Get (Features + Why They Matter)
1) 5-Timeframe Vitals Panel (TF1–TF5)
Defaults: 5 / 15 / 60 / 240 / D, fully editable.
Each timeframe column reports the same vitals so you can instantly see:
Alignment (multiple TFs “agree on the diagnosis”)
Conflict (mixed readings = higher risk)
Transition zones (near-flip conditions where traders get chopped)
Rows Included:
RSI (color-coded)
Green / red bias based on above/below 50
Orange highlights extremes (>70 / <30) so you know when the “patient is overheated/frozen”
ADX (strength / regime)
Two thresholds:
Anchor TF (TF5): ADX Driver
Other TFs: ADX Support
Helps you avoid acting on “weak trend” conditions that look exciting but don’t have force behind them
DI Net (directional pulse)
Shows who’s winning: DI+ vs DI−
Highlights your tight-zone threshold (near flip / indecision zone)
Dir Score (0–4)
A simple “diagnosis score” based on:
Direction agreement (trend vs DI)
RSI confirmation (above/below 50)
ADX above threshold
DI Net outside the tight-zone
Higher score = cleaner multi-factor agreement
Δ / Notes row
Includes deltas for context:
ADX2Δ, RSI2Δ, DI2Δ
Bottom-right Notes cell = TF5 Anchor MA state
“Above / Below / At MA” (default EMA length = 50)
This helps confirm if the anchor timeframe supports the current bias or conflicts with it
2) Trend Ribbon (Chart TF) — “Walk Test”
A thick band that acts like your immediate “go/no-go environment” read:
Uses HMA short vs HMA long for trend direction
Confirms with DMI alignment
Turns neutral (gray) when the diagnosis is unreliable:
DI is tight (near flip)
ADX is weak
HMA trend and DI direction disagree
Purpose: help you avoid forcing trades when the market is technically “alive” but not directionally healthy.
3) Optional Markers (Low Noise, High Meaning)
Toggle each on/off depending on your style.
RSI “R” Release markers (pressure normalization)
RSI was extreme 2 bars ago and has now returned inside normal range
Useful for identifying “pressure release” transitions without adding signal spam.
Bollinger “B” Re-entry markers (reversion context)
Price re-enters the Bollinger Band range from outside
Helpful when you want to see mean-reversion context while still respecting trend/strength.
DI Cross Diamonds (filtered)
Marks DI crossovers only when separation clears your tight-zone threshold
This reduces “false alarms” that happen when DI lines cross inside chop.
How to Use (Doctor Workflow)
Start with the Anchor (TF5):
If TF5 ADX is weak or DI Net is tight, treat conditions like a low-confidence diagnosis.
Look for stacking:
When multiple timeframes show higher Dir Scores with matching DI Net direction, conviction rises.
Check the ribbon:
Neutral ribbon = market is in a “non-diagnostic” state → be selective.
Directional ribbon + alignment = conditions are cleaner.
Use Notes (MA state):
TF5 Above/Below MA gives you one more anchor confirmation check.
Inputs You Control
TF1–TF5 timeframes
ADX thresholds:
ADX Driver (TF5)
ADX Support (TF1–TF4)
DI Net Tight-Zone (±) threshold
MA length for TF5 Notes cell
Display toggles: Ribbon / Markers / Diamonds / Table position + compact mode
Performance limiter: restrict drawing to recent history if needed
Performance & Design Intent
This script is built for clarity over clutter:
One consistent dashboard view
Optional visuals that can be disabled
A history limiter to reduce chart load if desired
Notes
This indicator is a decision support dashboard, not a predictive system.
It helps you interpret conditions across timeframes so you can avoid acting on incomplete or conflicting “vitals.”
Personal trading use only. Not investment advice.
OSVS Advanced CRT Scanner + FVG & Filter📌 Script Name
OSVS Advanced CRT Scanner + FVG & Trend Filter
📖 Description
OSVS Advanced CRT Scanner is an advanced CRT (Candle Range Theory) scanner based on ICT / Smart Money concepts, designed for multi-timeframe and multi-symbol market scanning.
The script combines multiple filters such as:
Liquidity sweeps
Fair Value Gap (FVG) interactions
Trend filter (EMA)
Risk / Reward (R:R) validation
Signal maturity (candle completion)
to identify high-quality long and short trading opportunities.
It provides both visual trade setups (Entry / SL / TP) on the chart and a dashboard for monitoring multiple markets simultaneously.
🚀 Key Features
🔎 Multi-Symbol Scanner
Scan up to 7 different symbols simultaneously
Supports cryptocurrencies, dominance indices, and futures contracts
⏱ Multi-Timeframe Analysis
Weekly (1W)
Daily (1D)
4H
1H
Each timeframe runs through an independent CRT + filtering process.
🧠 Smart Filters
✅ CRT Sweep Logic
✅ Outside Bar (Range Fill) filter
✅ Fair Value Gap (FVG) interaction confirmation
✅ Trend direction filter (EMA)
✅ Minimum Reward / Risk ratio
✅ Candle maturity (% completion) filter
📊 Trend Filter
User-defined EMA length
User-defined trend timeframe
Counter-trend signals can be optionally filtered out
🎯 Trade Setup Visualization
Automatically plotted on the chart:
Entry
Stop Loss
Take Profit (2R)
If price touches TP or SL before entering the trade, the setup is automatically invalidated (stale filter).
🟡 FVG Quality (+) Tag
A “+” quality tag is added if the signal interacts with an active Fair Value Gap (FVG)
Displayed visually on both the chart and the dashboard
📋 Dashboard (Scanning Panel)
All symbols displayed on a single screen
Color-coded based on trend direction
Long / Short / Quality status:
L / S
L+ / S+
– (no signal)
⚙️ Input Settings
🔹 Symbols
Up to 7 symbols
🔹 Visual Settings
CRT levels
Trend EMA
Trade setup drawings
FVG quality tag
🔹 Trend Filter
Enable / disable trend filter
EMA length
Trend timeframe
🔹 Risk Management
Minimum Reward / Risk ratio
🔹 Signal Timing
Candle completion percentage (% maturity)
🔹 Advanced Filters
Outside bar filter
FVG lookback bar count
🔹 Dashboard
Size (Tiny / Small / Normal)
Position (Top / Bottom)
🔔 Alert System
Triggered when an active CRT setup appears on any symbol
JSON-compatible alert message:
CRT STATUS: Setup Detected!
Compatible with bots and webhook systems.
⚠️ Disclaimer
This script is not financial advice.
It is intended for educational and analytical purposes only.
Trading financial markets involves risk.
All trading decisions are the sole responsibility of the user.
🧩 Usage Recommendation
For best performance, use with an HTF → LTF top-down approach
Signals become more selective when the trend filter is enabled
FVG (+) tagged setups are considered higher probability
-----------------------------------------------------------------------------------------------------------
HoneG_CCIv23HoneG_CCIv23
This is a signal tool capable of both counter-trend and trend-following trading. Apply it to 1-minute charts.
For trend-following, it features a rapid-fire mode. When conditions align, rapid-fire mode activates, and two indicators signaling the rapid-fire timing will turn ON/OFF in sync with price extension moments.
逆張りも順張りも出来るサインツールです。1分足チャートに適用してください。
順張りには連打モードがあり、条件が揃うと連打モードが発動し、連打タイミングを知らせる二か所の表示が、価格が伸びるタイミングに合わせてON/OFFします。
ICT Tool-KitICT TOOL-KIT INDICATOR DESCRIPTION
This toolkit consolidates essential ICT market structure and price action tools into a single, clean indicator. Built for traders focused on session analysis, order block identification, and HTF confirmation through multiple timeframe perspectives.
WHAT IT DOES
The indicator tracks macro session ranges across Asia, London and NY trading hours, identifies fair value gaps at session opens, displays higher timeframe candle structure with Fibonacci retracement levels, and marks sweeps across selected timeframes. Non-RTH activity can be highlighted separately if needed. All tools are designed to operate cleanly alongside price action without cluttering the chart.
---
SECTION 1: MACRO CYCLES
The macro cycle section displays the high and low range for each trading session. These ranges represent where price moved during each region's primary trading window.
Max Timeframe (minutes)
- Controls which timeframes display the macro ranges
- Set to 5 minutes by default, macros won't show on 15m and higher
- Useful for filtering out higher timeframe noise when trading intraday
- Example: Set to 240 for 4h and below, 1440 for daily and below
Show Asia/London/NY Macro
- Toggle each session on or off
- Asia and London are off by default, NY is on
- Use these toggles based on what your strategy focuses on
Macro Cycles Timeframe
- Leave blank to use your chart's current timeframe
- Or lock to a specific timeframe for consistent range calculations
Range Area Transparency
- Controls how opaque the session boxes are
- Lower value = more visible, higher value = more transparent
- Default at 85 keeps them subtle in the background
Range Outline / Range Label
- Toggle the border of the boxes and the session name label on or off
UTC Offset
- Set your timezone offset from UTC
- Or enable "Use Exchange Timezone" to automatically detect
---
SECTION 2: FVG GENERAL
First Presented Fair Value Gaps are identified at the open of major sessions. These boxes mark where price moved but left a gap in the structure, creating inefficiency that price often returns to fill.
The indicator searches for FVGs during the NY Open (9:32-10:30), NY PM (1:32-2:30), and Weekly Open (6:02 PM-8:00 PM) windows. Detection is forced to the 1m timeframe for accuracy regardless of your chart timeframe.
Infinite Extension
- When enabled, FVG boxes extend infinitely to the right, following live price
- When disabled, boxes contract to 3 bars for a cleaner look while price moves past them
- Default is off to keep the chart clean
Max Total FVG Boxes
- Limits how many FVG boxes can exist on screen at once
- Default is 3, oldest boxes are deleted when limit is reached
FVG Label Size
- Controls the text size of the FVG labels
- Options: Tiny, Small, Normal, Large
NY Open (AM) / NY PM (1:30) / Weekly Open
- Each has its own color settings for the box and label text
- Adjust colors to match your preference or chart theme
---
SECTION 3: HTF CANDLE WITH FIBONACCI RETRACEMENT
This section displays candle structure from a higher timeframe on your current chart. Useful for understanding the larger move while trading smaller timeframes.
Show Candle
- Toggle the HTF candles on or off
Timeframe
- Select which timeframe the candles represent
- Options: 1m, 5m, 15m, 30m, 1h, 2h, 4h, Daily, Weekly, Monthly
Candles to Show
- How many HTF candles display on screen
- Default is 3, can be set up to 20
Bull Body / Bear Body / Bull Border / Bear Border / Wick Color
- Customize the appearance of the candles
- Standard white for bull, black for bear
Width / Offset Padding
- Width controls candle thickness
- Offset Padding is how far right the candles are positioned from the right edge
Show Label / Label Color / Size / Show Timer
- The label displays the timeframe at the top of the candle
- Timer shows hours and minutes until the candle closes
- Toggle either on or off as needed
---
FIBONACCI RETRACEMENT
The Fibonacci levels display on the most recent HTF candle, showing standard retracement levels (0.0, 0.25, 0.50, 0.75, 1.0). All levels are black by default.
Show Fibonacci
- Toggle on or off
Line Style / Line Width
- Customize how the fib lines look
- Options: Solid, Dashed, Dotted
Extend Fibonacci Right
- When enabled, fib lines extend infinitely to the right
- Default is off to keep them contained to the candle structure
---
NDOG (Next Day Opening Gap) / Gap Rectangle
The NDOG displays the gap between the previous candle's close and the current candle's open. This highlights where the gap filled or remained unfilled overnight.
Show NDOG
- Toggle the gap rectangle on or off
- Default is on
NDOG Color
- Controls the color and opacity of the rectangle
- Set to black with 80 transparency by default for clean appearance
Extend NDOG Right
- NDOG extends infinitely right by default to mark the gap clearly
- This distinguishes it from the FVG boxes which follow price action
---
SECTION 4: TIMEFRAME SWEEPS
Sweeps mark when price breaks the high or low of the previous candle on your selected sweep timeframe. Useful for identifying intrabar reversals and momentum shifts.
Sweep Timeframe
- Select which timeframe to monitor for breaks
- Options: 1m, 5m, 15m, 30m, 1h, 2h, 4h, Daily
Dot Symbol
- Choose between three dot styles to mark sweeps
Sweep High Color / Sweep Low Color
- Colors for high sweeps and low sweeps
- High sweeps appear below price, low sweeps appear above
---
SECTION 5: NON-RTH DISPLAY
Non-RTH (Outside Regular Trading Hours) tools highlight activity outside the main market session.
Regular Trading Hours
- Set the session window that represents RTH for your market
- Default is 9:30 AM - 4:15 PM for US equities
Show Non-RTH Background
- Highlights the background when trading outside RTH
- Off by default
Non-RTH Candles
- When enabled, candles outside RTH display in white with 30% transparency
- This keeps them visible but clearly separated from RTH candles
- Off by default, enable if you trade pre-market or after-hours
Bull/Bear Transparency
- Both set to 30 by default for balanced appearance
Consolidation zones + BreakoutThis Pine Script v6 indicator is designed to detect consolidation zones and mark breakout entries (long or short) when price exits those zones.
Indicator purpose
Identify periods where price moves in a tight range for several consecutive bars (consolidation).
Highlight those zones on the chart with a yellow shaded area between the local high and low.
Mark potential LONG and SHORT entries when price breaks out of a consolidation zone.
Core consolidation logic
The indicator measures whether the market is “compressed” by comparing the price range of recent bars with volatility measured via ATR:
It computes the highest high and lowest low of the last lookback bars:
rangeHigh = ta.highest(high, lookback)
rangeLow = ta.lowest(low, lookback)
It calculates the current range:
rng = rangeHigh - rangeLow
It calculates ATR over atrLen bars as a volatility benchmark:
atrVal = ta.atr(atrLen)
It defines a compressed range (base consolidation) when the range is smaller than a multiple of ATR:
baseConso = rng < atrVal * atrMult
Here, atrMult controls how tight the range must be. Lower values (0.8–1.0) require strong compression; higher values (1.5–2.0) are more permissive.
Minimum bars in consolidation
To avoid calling a very short pause a consolidation, the script enforces a minimum duration:
It uses ta.barssince(not baseConso) to count how many bars have passed since the last time the consolidation condition was false.
If that count is greater than or equal to minBars, the market is considered to be in consolidation:
text
isConsolidating = ta.barssince(not baseConso) >= minBars
This prevents 2–3 sideways bars from being treated as a full consolidation zone. The minBars input lets you adapt the duration to your timeframe and trading style.
Plotting the consolidation zone
When isConsolidating is true, the script shades the consolidation area:
It plots two invisible series for the zone’s high and low:
text
pHigh = plot(rangeHigh, display = display.none)
pLow = plot(rangeLow, display = display.none)
It creates a yellow semi‑transparent fill between those lines only while in consolidation:
text
fillColor = isConsolidating ? color.new(#ffeb3b, 80) : color.new(#ffeb3b, 100)
fill(pHigh, pLow, color = fillColor, title = "Consolidation Zone")
Outside consolidation, the color becomes almost fully transparent so the shaded zone disappears. This keeps the chart clean and focuses attention on the actual ranges.
Breakout detection (LONG / SHORT)
The script then looks for breakouts when price leaves a consolidation zone:
It checks if the previous bar was inside consolidation:
wasConso = isConsolidating
A bullish breakout (LONG) occurs when:
The current bar is no longer in consolidation (not isConsolidating).
The previous bar was in consolidation (wasConso).
The close breaks above the previous consolidation high (close > rangeHigh ):
text
breakLong = not isConsolidating and wasConso and close > rangeHigh
A bearish breakout (SHORT) occurs when:
The current bar is no longer in consolidation.
The previous bar was in consolidation.
The close breaks below the previous consolidation low (close < rangeLow ):
text
breakShort = not isConsolidating and wasConso and close < rangeLow
On each breakout, a label is drawn at the breakout bar:
text
if breakLong
label.new(bar_index, low, "LONG",
style = label.style_label_up,
textcolor = color.white,
color = color.new(color.teal, 0),
size = size.tiny)
if breakShort
label.new(bar_index, high, "SHORT",
style = label.style_label_down,
textcolor = color.white,
color = color.new(color.red, 0),
size = size.tiny)
These labels highlight where price transitions from sideways action to a potential directional move.
User inputs and tuning
lookback (Bars for range)
Number of bars used to compute the consolidation high/low. Higher values produce wider, less frequent zones; lower values detect shorter consolidations.
minBars (Minimum bars in consolidation)
Minimum number of consecutive bars that must meet the compression condition. On 15‑minute charts, values between 6 and 12 often work, but this depends on the asset.
atrLen and atrMult
Control how strict the compression rule is.
atrLen: ATR period.
atrMult: maximum allowed range as a multiple of ATR.
Increasing atrMult finds more zones; decreasing it makes the filter stricter.
showText
Optional helper label with a short description, useful when sharing the script with other users on the TradingView community.
Practical usage
Apply the indicator to your preferred timeframe (for example, 15‑minute crypto charts).
Tweak lookback, minBars, and atrMult until the yellow zones match the consolidations you would mark manually.
Use the LONG and SHORT labels as areas of interest for studying range breakouts and building your own entry/exit rules, always combining them with risk management and a complete trading strategy.
This way, the script turns a visual concept—sideways consolidation followed by breakout—into a systematic, testable signal in Pine Script v6.
Minervini Trend Template - OVTLYRMinerVini + Value Zone + Order Block + OVTLYR Risk System
This script is a rules-based trade validation and risk management overlay designed to help traders objectively confirm trades before entry.
It is not a signal generator. It acts as a final decision filter to ensure trend alignment, proper price location, and correct risk sizing before taking a trade.
The system combines trend structure, market context, volatility, and options-specific criteria into a single checklist. All conditions must pass for a trade to be considered valid.
What this script checks:
Trend Confirmation
Price above SMA 50, 150, and 200
SMA 50 above SMA 150 above SMA 200
SMA 200 rising
Price above short-term trend averages
Market Location Filters
At least 25% above the 52-week low
Within 25% of the 52-week high
Value Zone confirmation
Order Block filter alignment
Volatility and Risk Control
ATR-based position sizing
Fixed risk percentage per trade
Automatic share and contract sizing
Prevents over-allocation during high volatility
Options-Specific Validation
Delta targeting for stock-like behavior
Extrinsic value verification
Bid/ask spread filter
Designed for long calls and stock-replacement strategies
Final Gatekeeper
Every rule must pass
One failed condition invalidates the trade
Removes emotion and hindsight bias
Who this is for:
Swing traders using trend and momentum systems
Options traders using long calls or stock replacement
Traders who size positions using ATR instead of intuition
Traders managing multi-strategy portfolios
How to use:
Use your own scan or signal to find candidates
Apply this script as the final validation layer
Only take trades that show “Meets Criteria: YES”
Size positions strictly using the ATR-based output
Core philosophy:
Good trades can fail. Bad trades must be filtered out.
This script is designed to catch mistakes, enforce discipline, standardize execution, and protect capital first.
Sequential 9(Setup Count)- KoRCThis indicator is a simplified Sequential 9-count (Setup 9) tool inspired by widely known “sequential counting” concepts. It detects potential exhaustion points by counting consecutive closes relative to the close 4 bars earlier:
Buy Setup (DIP): close < close for 9 consecutive bars (optional strict mode: <=)
Sell Setup (TOP): close > close for 9 consecutive bars (optional strict mode: >=)
Enhancements / Filters (optional):
Trend filter (default ON): uses EMA(200) as a macro trend filter and EMA(20) as a fast context filter.
Volatility filter (optional): ignores signals in low-volatility regimes using ATR% threshold.
Dedupe (default ON): prevents repeated signals within a short window (one-shot per swing concept).
Perfected highlight:
Signals are visually emphasized when a simple “perfected” condition is met (bar 8 or 9 extends beyond recent reference highs/lows), displayed with brighter colors.
How to use:
Use DIP/TOP labels as potential exhaustion alerts, not standalone trade signals. Combine with your own risk management and confirmation tools.
Disclaimer:
Not affiliated with or endorsed by any third-party. This script is provided for educational/visualization purposes only and does not constitute financial advice.
TRADER PERFORMANCEA unique tool for scalping, day trading, swing trading and position trading, designed to maximize your success rate and reduce entry noise. Ideal indicator for those looking to increase their market assertiveness.
And best of all, the indicator works on all types of markets, only adjusting the sensitivity for each type of market.
Sequential 9(Setup Count)- KoRCThis indicator is a simplified Sequential 9-count (Setup 9) tool inspired by widely known “sequential counting” concepts. It detects potential exhaustion points by counting consecutive closes relative to the close 4 bars earlier:
Buy Setup (DIP): close < close for 9 consecutive bars (optional strict mode: <=)
Sell Setup (TOP): close > close for 9 consecutive bars (optional strict mode: >=)
Enhancements / Filters (optional):
Trend filter (default ON): uses EMA(200) as a macro trend filter and EMA(20) as a fast context filter.
Volatility filter (optional): ignores signals in low-volatility regimes using ATR% threshold.
Dedupe (default ON): prevents repeated signals within a short window (one-shot per swing concept).
Perfected highlight:
Signals are visually emphasized when a simple “perfected” condition is met (bar 8 or 9 extends beyond recent reference highs/lows), displayed with brighter colors.
How to use:
Use DIP/TOP labels as potential exhaustion alerts, not standalone trade signals. Combine with your own risk management and confirmation tools.
Disclaimer:
Not affiliated with or endorsed by any third-party. This script is provided for educational/visualization purposes only and does not constitute financial advice.
Sequential 9(Setup Count)- KoRCThis indicator is a simplified Sequential 9-count (Setup 9) tool inspired by widely known “sequential counting” concepts. It detects potential exhaustion points by counting consecutive closes relative to the close 4 bars earlier:
Buy Setup (DIP): close < close for 9 consecutive bars (optional strict mode: <=)
Sell Setup (TOP): close > close for 9 consecutive bars (optional strict mode: >=)
Enhancements / Filters (optional):
Trend filter (default ON): uses EMA(200) as a macro trend filter and EMA(20) as a fast context filter.
Volatility filter (optional): ignores signals in low-volatility regimes using ATR% threshold.
Dedupe (default ON): prevents repeated signals within a short window (one-shot per swing concept).
Perfected highlight:
Signals are visually emphasized when a simple “perfected” condition is met (bar 8 or 9 extends beyond recent reference highs/lows), displayed with brighter colors.
How to use:
Use DIP/TOP labels as potential exhaustion alerts, not standalone trade signals. Combine with your own risk management and confirmation tools.
Disclaimer:
Not affiliated with or endorsed by any third-party. This script is provided for educational/visualization purposes only and does not constitute financial advice.















