Kabir – (Dist + Accu + Scoreboard)if you are going to use it with respect and care its utmost best and the only thing you need for predicting market tops and yes discretion is still needed
Candlestick analysis
HTF FVG + SessionsThis indicator combines multi-timeframe FVG A–C detection with intraday session boxes on a single chart.
It automatically finds bullish and bearish Fair Value Gaps on 15m, 30m, 1H, 4H, 1D and 1W timeframes.
Fresh FVGs are drawn in a transparent gold color, then dynamically shrink as price trades back into the gap.
Once price fully fills the gap, the FVG box and its label are automatically removed from the chart.
After the first touch, each FVG changes to a per-timeframe gray shade, making overlapping HTF gaps easy to see.
You can toggle each timeframe on/off and also globally enable/disable all FVGs from the settings panel.
Session boxes highlight Asia, London, NY AM, NY Lunch and NY PM using soft colored rectangles.
Each session box is plotted from the high to the low of that session and labeled with its name in white text.
A global “Show all session boxes” switch allows you to quickly hide or display the session structure.
This tool is designed for traders who want to combine FVG liquidity maps with clear intraday session context.
DTR Volume OBDTR Volume OB indicator identifies bullish and bearish order blocks and visualizes volume within each block for easy recognition of high-volume areas. It helps traders spot key supply and demand zones and anticipate market reactions.
Key Features:
- Detects bullish and bearish order blocks.
- Divides blocks into grids, highlighting high-volume regions.
- Configurable tuning period and number of grids.
- Flexible mitigation methods to track order block breaks.
- Customizable colors for high/low volume grids, borders, and background fill.
Usage:
- Identify important support and resistance zones.
- Spot high-probability areas for entries and exits.
- Combine with trend analysis or price action for improved strategies.
Ideal for swing traders, day traders, and scalpers looking for a visual, volume-informed approach to order block trading.
DTR Volume FVGDTR Volume FVG detects bullish and bearish Fair Value Gaps and shows how much volume occurred inside each gap. Instead of only drawing the imbalance, the indicator analyzes a lower timeframe and builds a small volume profile inside every FVG. This helps you understand which gaps are strong, weak, likely to hold, or likely to fill.
How It Works:
- The indicator finds FVGs using a lower timeframe (Auto mode or manual selection).
- Each FVG is drawn as a colored zone: green for bullish, purple for bearish.
- Inside the gap, the script shows volume distribution using horizontal boxes.
- The FVG extends forward in time until the gap is fully filled or invalidated.
- Once price closes through the gap, the zone is removed automatically.
How to Use:
- High volume inside the FVG suggests strong interest and possible support or resistance.
- Low volume suggests the gap may fill more easily.
- Bullish FVGs are used as retracement zones in uptrends.
- Bearish FVGs are used as retracement zones in downtrends.
- Use the Display option to hide the volume boxes if you want a cleaner chart.
Best For:
- Finding strong retracement zones
- Identifying which gaps matter
- Understanding how price and volume behaved during displacement
- Improving entries and stop placement with volume levels inside FVGs
This indicator gives a clearer view of which imbalances are important by combining FVG structure with real volume data.
Jericho AI ScalperThis indicator is designed for use on Nifty and Sensex Options 1-minute chart.
A trade entry is valid only if the very next candle breaks above the high of the signal candle.
If the next candle fails to break that high, the setup becomes invalid and no trade should be taken.
Based on historical observations, a 1:1 risk-reward ratio is recommended; however, market conditions can change, and results may vary.
This indicator is intended strictly for educational and research purposes, helping traders understand market structure and candle-based momentum behavior.
It does not offer financial advice or guarantee profits. Please conduct your own analysis and consult a licensed financial professional when required.
Current Candle Vertical LineDescription
The Current Candle Vertical Line indicator draws a fully customizable vertical line on the most recent candle (live bar). This provides a clear visual anchor for active traders, especially during fast-moving markets or multi-chart setups.
The line extends from the top of the chart to the bottom, ensuring maximum visibility—regardless of zoom level or price scale.
Features
✔ Fully customizable line color
✔ Adjustable opacity (0–100%)
✔ Custom line thickness
✔ Three selectable line styles: Solid, Dashed, or Dotted
✔ Automatically deletes old line and redraws on the newest bar
✔ Works on any timeframe, chart type, and asset
Use Cases
Highlight the current candle during live trading
Keep visual focus when scalping or trading futures
Align entries with indicators on lower or higher timeframes
Improve visibility during high volatility
Support multi-monitor or multi-chart layouts
Notes
The indicator draws the line only on the last active bar.
Since overlay=true, the line appears in the main chart panel.
This script does not generate alerts (visual marker only).
Mark Minervini SEPA - Balanced
📊 MARK MINERVINI SEPA BALANCED - COMPLETE USER GUIDE
🚀 WHAT IS THIS INDICATOR?
This is a professional swing trading indicator based on Mark Minervini's famous
Trend Template strategy. It automatically identifies high-probability setups where:
✅ Long-term trend is BULLISH (confirmed by moving averages)
✅ Stock is OUTPERFORMING the market (relative strength improving)
✅ Price is CONSOLIDATING (forming a base for breakout)
✅ Volume is CONFIRMING (volume spike on breakout)
Result: CLEAR BUY SIGNALS when everything aligns! 🎯
🎨 WHAT YOU SEE ON YOUR CHART
1️⃣ FOUR MOVING AVERAGE LINES:
🟠 Orange Line (MA 20) = Short-term trend
🔵 Blue Line (MA 50) = Intermediate trend
🟢 Green Line (MA 150) = Long-term trend
🔴 Red Line (MA 200) = Very long-term trend
IDEAL: All lines stacked in order (Orange > Blue > Green > Red)
2️⃣ BACKGROUND COLOR:
🟢 GREEN background = Trend template is VALID (bullish setup ready)
🔴 RED background = Trend template is BROKEN (avoid trading)
3️⃣ DASHBOARD PANEL (Top-Right):
Real-time checklist showing:
✓ 6 core trend template rules
✓ Relative strength status
✓ VCP base quality
✓ Stage classification (S1/S2/S3/S4)
✓ Volume breakout status
4️⃣ VCP BASE BOXES (Blue Rectangles):
Shows where consolidation is happening
This is your potential entry zone
5️⃣ BUY SIGNAL LABEL (Green Text Below Candle):
Green "BUY" label appears when ALL criteria are met
This is your strongest entry signal
6️⃣ STOP LOSS LINE (Red Dashed Line):
Shows your stop loss level (base low)
📖 HOW TO USE - STEP BY STEP
STEP 1: ADD INDICATOR TO CHART
────────────────────────────────
1. Open TradingView chart
2. Click "Indicators" (top toolbar)
3. Search "Minervini SEPA Balanced"
4. Click to add to your chart
5. Use DAILY (1D) timeframe for swing trading
STEP 2: CHECK THE DASHBOARD (Top-Right Panel)
1. Look at all the checkmarks
2. Count how many are GREEN (✓)
3. Check Stage column - is it showing S2 or S1?
STEP 3: LOOK FOR SETUP PATTERNS
─────────────────────────────────
Ideal setup shows:
✓ Dashboard: 10+ criteria are GREEN
✓ Stage: S2 (green) or S1 (orange)
✓ Blue VCP box visible on chart (base forming)
✓ Moving averages aligned (50 > 150 > 200)
✓ Price above all moving averages
✓ Background is GREEN
STEP 4: WAIT FOR ENTRY SIGNAL
──────────────────────────────
Option A: BUY SIGNAL label appears
→ Green "BUY" label = ALL criteria met
→ ENTER at market price immediately
Option B: Setup looks good but no BUY label yet
→ Wait for price to break above blue VCP box
→ Volume should spike (1.3x or higher)
→ Then enter at breakout
STEP 5: PLACE YOUR TRADE
────────────────────────
📍 ENTRY: At breakout from VCP base
📍 STOP LOSS: Base low (red dashed line)
📍 TARGET: 20-30% move (typical Minervini target)
📍 HOLDING TIME: 2-4 weeks
🎯 BALANCED VERSION - WHY IT'S BETTER FOR INDIAN STOCKS
Volume Multiplier: 1.3x (NOT 1.5x)
→ Original was too strict for Indian market
→ 1.3x is realistic and catches good breakouts
→ Results: 5-10 signals per stock per year (tradeable!)
Trend Template: Core 6 rules (NOT all 8)
→ Focuses on the most important rules
→ Still maintains quality, but more flexible
→ Works better with Indian stock behavior
Stage Allowed: S1 OR S2 (NOT just S2)
→ Catches earlier moves
→ Allows you to enter sooner
→ But maintains quality with other criteria
📊 DASHBOARD INDICATORS - WHAT EACH MEANS
TREND SECTION (Core 6 Rules):
─────────────────────────────
P>200 ✓ = Price above 200-day MA (long-term uptrend)
150>200 ✓ = MA150 above MA200 (MA alignment)
200↑ ✓ = MA200 trending up (uptrend accelerating)
50>150 ✓ = MA50 above MA150 (intermediate uptrend)
50>200 ✓ = MA50 above MA200 (overall alignment)
P>50 ✓ = Price above MA50 (pullback level intact)
RS STRENGTH SECTION:
───────────────────
RS↑ ✓ = Stock outperforming NIFTY index
✗ = Stock underperforming NIFTY (avoid)
VCP BASE SECTION:
────────────────
In Base ✓ = Consolidation zone detected
✗ = No consolidation yet
Vol Dry ✓ = Volume drying up (base tightening)
✗ = Normal volume (consolidation weak)
ENTRY SECTION:
──────────────
Stage S2 = GREEN (best for swing trading)
S1 = ORANGE (acceptable, early entry)
S3 = RED (avoid - distribution phase)
S4 = RED (avoid - downtrend)
Vol Brk ✓ = Volume confirmed breakout (1.3x+ average)
✗ = Weak volume (breakout likely to fail)
❌ WHEN NOT TO TRADE
SKIP if ANY of these are true:
❌ Background is RED (trend template broken)
❌ Stage is S3 or S4 (distribution or downtrend)
❌ Vol Brk is RED (volume not confirming)
❌ RS↑ is ORANGE/RED (stock underperforming market)
❌ Blue box is NOT visible (no base forming)
❌ Base is very loose/messy (not tight enough)
❌ Moving averages are not aligned
❌ Less than 8 GREEN criteria on dashboard
⚙️ CUSTOMIZATION GUIDE
Click ⚙️ gear icon next to indicator name to adjust settings:
VOLUME MULTIPLIER (Default: 1.3)
────────────────────────────────
Current: 1.3x = BALANCED for Indian stocks ✅
Change to 1.2x = MORE signals (more false breakouts)
Change to 1.4x = FEWER signals (very selective)
Change to 1.5x = ORIGINAL (too strict, rarely triggers)
RS BENCHMARK (Default: NSE:NIFTY)
─────────────────────────────────
Current: NSE:NIFTY = Large-cap stocks
Change to NSE:NIFTY500 = Mid-cap stocks
Change to NSE:NIFTYNXT50 = Small-cap stocks
MINIMUM BASE DAYS (Default: 20)
───────────────────────────────
Current: 20 days = 4 weeks consolidation ✅
Change to 15 = Shorter bases (more frequent signals)
Change to 25 = Longer bases (higher quality)
ATR% FOR TIGHTNESS (Default: 1.5)
──────────────────────────────────
Current: 1.5% = BALANCED ✅
Change to 1.0% = ONLY very tight bases
Change to 2.0% = Loose bases accepted
📈 REAL TRADING EXAMPLE
SCENARIO: Trading RELIANCE over 4 weeks
WEEK 1: Base Starts Forming
────────────────────────────
- Price consolidating around ₹1,500
- Dashboard: 5/14 criteria green
- Action: MONITOR (not ready yet)
WEEK 2: Base Tightens
─────────────────────
- Price still ₹1,500 (no movement)
- VCP box appearing on chart
- Dashboard: 8/14 criteria green
- Vol Dry: ✓ (volume shrinking - good!)
- Action: MONITOR (almost ready)
WEEK 3: Perfect Setup Formed
──────────────────────────────
- Base still ₹1,500
- Dashboard: 12/14 criteria GREEN ✓✓✓
- Stage: S2 ✓
- Blue box tight and clean
- Action: WAIT FOR BREAKOUT
WEEK 4: Breakout Happens!
──────────────────────────
- Price closes at ₹1,550 (breakout!)
- Volume: 1.6x average (exceeds 1.3x requirement)
- Dashboard: BUY SIGNAL ✓ (all criteria met)
- Action: ENTER TRADE
Entry: ₹1,550
Stop: ₹1,480 (base low)
Target: ₹1,850 (20% move)
RESULT: +19.4% profit in 2 weeks! ✅
💡 PRO TIPS FOR BEST RESULTS
1. USE DAILY (1D) CHARTS ONLY
Weekly charts = Fewer signals, slower moves
Daily charts = Best for swing trading ✅
Intraday charts = Too many false signals
2. SCAN MULTIPLE STOCKS
Don't just watch 1 stock
Scan 50-100 stocks daily
More stocks = More opportunities
3. WAIT FOR PERFECT ALIGNMENT
Don't enter on 8/14 criteria
Wait for 12+/14 criteria
This increases win rate significantly
4. VOLUME IS CRITICAL
Always check Vol Brk column
No volume = Likely to fail
1.3x+ volume = Good breakout
5. COMBINE WITH YOUR OWN ANALYSIS
Indicator gives technical signals
You add your own fundamental view
Strong fundamental + technical = Best trade
6. BACKTEST ON HISTORICAL DATA
Use TradingView Replay feature
Go back 6-12 months
See how many signals appeared
Verify which were profitable
7. KEEP A TRADING JOURNAL
Track entry, exit, profit/loss
Note what worked and what didn't
Continuous improvement!
⚠️ IMPORTANT DISCLAIMERS
✓ This indicator is for educational purposes only
✓ Past performance does not guarantee future results
✓ Always use proper risk management (position sizing, stop loss)
✓ Never risk more than 2% of your account on one trade
✓ Backtest thoroughly before using with real money
✓ The indicator provides technical signals, not investment advice
✓ Losses can occur - trade at your own risk
🎯 QUICK START CHECKLIST
Before entering ANY trade, verify:
□ Dashboard shows mostly GREEN (10+ criteria)
□ Stage = S2 (green) or S1 (orange)
□ Blue VCP box visible on chart
□ Price just broke above the box
□ Volume is high (1.3x+ average, Vol Brk = ✓)
□ Moving averages aligned (50 > 150 > 200)
□ RS is uptrending (RS↑ = ✓)
□ BUY SIGNAL label appeared (optional but strong confirmation)
ALL CHECKED? → READY TO BUY! 🚀
📞 FOR HELP & SUPPORT
Questions about the indicator?
→ Check the dashboard - each criterion has a specific meaning
→ Review this guide - answers most common questions
→ Backtest on historical data using TradingView Replay
→ Start with paper trading (no real money) first
🎓 LEARNING RESOURCES
To understand Mark Minervini's method better:
→ Read: "Trade Like a Stock Market Wizard" by Mark Minervini
→ Watch: TradingView educational videos on trend templates
→ Practice: Backtest this indicator on 6-12 months of historical data
→ Learn: Study successful traders who use similar strategies
GOOD LUCK WITH YOUR TRADING! 🚀📈
May your trends be bullish and your breakouts be explosive! 🎯
Arden SMC OTEThis indicator represents a comprehensive trading system based on Smart Money Concepts (SMC) and Optimal Trade Entry (OTE). The script's key feature is the built-in "Liquidity Trap" filter, which protects the trader from entering positions where the price is highly likely to hunt for stop losses before making the true move.
Key Features:
1. Automatic OTE Search: The indicator identifies market structure (Swing Highs/Lows) on the selected timeframe and draws a Fibonacci grid. Entry is based on the 0.62 level, and the target is the -0.27 extension (or a fixed Risk:Reward ratio).
2. "Liquidity Trap" Filter (Smart Logic):
The algorithm scans the chart for Equal Highs (EQH) and Equal Lows (EQL), based on precise candle body touches.
Protection Logic: If a liquidity zone (EQH/EQL) is located between your entry point and your Stop Loss, the indicator cancels the signal. This saves you from situations where the market maker first "sweeps" liquidity (hits your stop) and only then moves in the desired direction.
3. Flexible Risk Management:
3 Stop Loss modes (Conservative behind the swing, Aggressive behind 0.88 Fib, or ATR-based).
Take Profit selection (Structure-based or fixed RR).
4. SMC Filters:
Equilibrium: Checks if the price is in the Discount zone (for buys) or Premium zone (for sells).
Structure Size: Filters out structures that are too small (noise) using ATR.
How to read the chart:
Grey zones/lines: Your potential trade (Entry, Stop, Take Profit).
Orange boxes: Liquidity Zones (EQH/EQL). If they appear, it means orders have accumulated there.
Labels: "ENTRY 🚀" — entry triggered, "TP HIT" — target reached.
Disclaimer:
This indicator is an assistive tool. Always check the higher timeframe context yourself.
Liquidity Filter Settings
❌ Block on Liquidity (EQH/EQL): The main checkbox. If enabled, the script checks: "Is there an orange liquidity box right before my stop loss?". If yes — no signal is generated.
Show Liquidity Zones: Toggle the visibility of the orange boxes.
Touch Count (cNum): How many times the price must hit the exact same level (body-to-body) for it to count as liquidity. Usually 2 (Double Top/Bottom).
Gap Count (bars): Minimum distance (in bars) between touches.
Confirmation Bars: How many candles must pass after the touch for the zone to be confirmed and drawn.
Superior-Range Bound Renko - Alerts - 11-29-25 - Signal LynxSuperior-Range Bound Renko – Alerts Edition with Advanced Risk Management Template
Signal Lynx | Free Scripts supporting Automation for the Night-Shift Nation 🌙
1. Overview
This is the Alerts & Indicator Edition of Superior-Range Bound Renko (RBR).
The Strategy version is built for backtesting inside TradingView.
This Alerts version is built for automation: it emits clean, discrete alert events that you can route into webhooks, bots, or relay engines (including your own Signal Lynx-style infrastructure).
Under the hood, this script contains the same core engine as the strategy:
Adaptive Range Bounding based on volatility
Renko Brick Emulation on standard candles
A stack of Laguerre Filters for impulse detection
K-Means-style Adaptive SuperTrend for trend confirmation
The full Signal Lynx Risk Management Engine (state machine, layered exits, AATS, RSIS, etc.)
The difference is in what we output:
Instead of placing historical trades, this version:
Plots the entry and RM signals in a separate pane (overlay = false)
Exposes alertconditions for:
Long Entry
Short Entry
Close Long
Close Short
TP1, TP2, TP3 hits (Staged Take Profit)
This makes it ideal as the signal source for automated execution via TradingView Alerts + Webhooks.
2. Quick Action Guide (TL;DR)
Best Timeframe:
4H and above. This is a swing-trading / position-trading style engine, not a micro-scalper.
Best Assets:
Volatile but structured markets, e.g.:
BTC, ETH, XAUUSD (Gold), GBPJPY, and similar high-volatility majors or indices.
Script Type:
indicator() – Alerts & Visualization Only
No built-in order placement
All “orders” are emitted as alerts for your external bot or manual handling
Strategy Type:
Volatility-Adaptive Trend Following + Impulse Detection
using Renko-like structure and multi-layer Laguerre filters.
Repainting:
Designed to be non-repainting on closed candles.
The underlying Risk Management engine is built around previous-bar data (close , high , low ) for execution-critical logic.
Intrabar values can move while the bar is forming (normal for any advanced signal), but once a bar closes, the alert logic is stable.
Recommended Alert Settings:
Condition: one of the built-in signals (see section 3.B)
Options: “Once Per Bar Close” is strongly recommended for automation
Message: JSON, CSV, or simple tokens – whatever your webhook / relay expects
3. Detailed Report: How the Alerts Edition Works
A. Relationship to the Strategy Version
The Alerts Edition shares the same internal logic as the strategy version:
Same Adaptive Lookback and volatility normalization
Same Range and Close Range construction
Same Renko Brick Emulator and directional memory (renkoDir)
Same Fib structures, Laguerre stack, K-Means SuperTrend, and Baseline signals (B1, B2)
Same Risk Management Engine and layered exits
In the strategy script, these signals are wired into strategy.entry, strategy.exit, and strategy.close.
In the alerts script:
We still compute the final entry/exit signals (Fin, CloseEmAll, TakeProfit1Plot, etc.)
Instead of placing trades, we:
Plot them for visual inspection
Expose them via alertcondition(...) so that TradingView can fire alerts.
This ensures that:
If you use the same settings on the same symbol/timeframe, the Alerts Edition and Strategy Edition agree on where entries and exits occur.
(Subject only to normal intrabar vs. bar-close differences.)
B. Signals & Alert Conditions
The alerts script focuses on discrete, automation-friendly events.
Internally, the main signals are:
Fin – Final entry decision from the RM engine
CloseEmAll – RM-driven “hard close” signal (for full-position exits)
TakeProfit1Plot / 2Plot / 3Plot – One-time event markers when each TP stage is hit
On the chart (in the separate indicator pane), you get:
plot(Fin) – where:
+2 = Long Entry event
-2 = Short Entry event
plot(CloseEmAll) – where:
+1 = “Close Long” event
-1 = “Close Short” event
plot(TP1/TP2/TP3) (if Staged TP is enabled) – integer tags for TP hits:
+1 / +2 / +3 = TP1 / TP2 / TP3 for Longs
-1 / -2 / -3 = TP1 / TP2 / TP3 for Shorts
The corresponding alertconditions are:
Long Entry
alertcondition(Fin == 2, title="Long Entry", message="Long Entry Triggered")
Fire this to open/scale a long position in your bot.
Short Entry
alertcondition(Fin == -2, title="Short Entry", message="Short Entry Triggered")
Fire this to open/scale a short position.
Close Long
alertcondition(CloseEmAll == 1, title="Close Long", message="Close Long Triggered")
Fire this to fully exit a long position.
Close Short
alertcondition(CloseEmAll == -1, title="Close Short", message="Close Short Triggered")
Fire this to fully exit a short position.
TP 1 Hit
alertcondition(TakeProfit1Plot != 0, title="TP 1 Hit", message="TP 1 Level Reached")
First staged take profit hit (either long or short). Your bot can interpret the direction based on position state or message tags.
TP 2 Hit
alertcondition(TakeProfit2Plot != 0, title="TP 2 Hit", message="TP 2 Level Reached")
TP 3 Hit
alertcondition(TakeProfit3Plot != 0, title="TP 3 Hit", message="TP 3 Level Reached")
Together, these give you a complete trade lifecycle:
Open Long / Short
Optionally scale out via TP1/TP2/TP3
Close remaining via Close Long / Close Short
All while the Risk Management Engine enforces the same logic as the strategy version.
C. Using This Script for Automation
This Alerts Edition is designed for:
Webhook-based bots
Execution relays (e.g., your own Lynx-Relay-style engine)
Dedicated external trade managers
Typical setup flow:
Add the script to your chart
Same symbol, timeframe, and settings you use in the Strategy Edition backtests.
Configure Inputs:
Longs / Shorts enabled
Risk Management toggles (SL, TS, Staged TP, AATS, RSIS)
Weekend filter (if you do not want weekend trades)
RBR-specific knobs (Adaptive Lookback, Brick type, ATR vs Standard Brick, etc.)
Create Alerts for Each Event Type You Need:
Long Entry
Short Entry
Close Long
Close Short
TP1 / TP2 / TP3 (optional, if your bot handles partial closes)
For each:
Condition: the corresponding alertcondition
Option: “Once Per Bar Close” is strongly recommended
Message:
You can use structured JSON or a simple token set like:
{"side":"long","event":"entry","symbol":"{{ticker}}","time":"{{timenow}}"}
or a simpler text for manual trading like:
LONG ENTRY | {{ticker}} | {{interval}}
Wire Up Your Bot / Relay:
Point TradingView’s webhook URL to your execution engine
Parse the messages and map them into:
Exchange
Symbol
Side (long/short)
Action (open/close/partial)
Size and risk model (this script does not position-size for you; it only signals when, not how much.)
Because the alerts come from a non-repainting, RM-backed engine that you’ve already validated via the Strategy Edition, you get a much cleaner automation pipeline.
D. Repainting Protection (Alerts Edition)
The same protections as the Strategy Edition apply here:
Execution-critical logic (trailing stop, TP triggers, SL, RM state changes) uses previous bar OHLC:
open , high , low , close
No security() with lookahead or future-bar dependencies.
This means:
Alerts are designed to fire on states that would have been visible at bar close, not on hypothetical “future history.”
Important practical note:
Intrabar: While a bar is forming, internal conditions can oscillate.
Bar Close: With “Once Per Bar Close” alerts, the fired signal corresponds to the final state of the engine for that candle, matching your Strategy Edition expectations.
4. For Developers & Modders
You can treat this Alerts script as an ”RM + Alert Framework” and inject any signal logic you want.
Where to plug in:
Find the section:
// BASELINE & SIGNAL GENERATION
You’ll see how B1 and B2 are built from the RBR stack and then combined:
baseSig = B2
altSig = B1
finalSig = sigSwap ? baseSig : altSig
To use your own logic:
Replace or wrap the code that sets baseSig / altSig with your own conditions:
e.g., RSI, MACD, Heikin Ashi filters, candle patterns, volume filters, etc.
Make sure your final decision is still:
2 → Long / Buy signal
-2 → Short / Sell signal
0 → No trade
finalSig is then passed into the RM engine and eventually becomes Fin, which:
Drives the Long/Short Entry alerts
Interacts with the RM state machine to integrate properly with AATS, SL, TS, TP, etc.
Because this script already exposes alertconditions for key lifecycle events, you don’t need to re-wire alerts each time — just ensure your logic feeds into finalSig correctly.
This lets you use the Signal Lynx Risk Management Engine + Alerts wrapper as a drop-in chassis for your own strategies.
5. About Signal Lynx
Automation for the Night-Shift Nation 🌙
Signal Lynx builds tools and templates that help traders move from:
“I have an indicator” → “I have a structured, automatable strategy with real risk management.”
This Superior-Range Bound Renko – Alerts Edition is the automation-focused companion to the Strategy Edition. It’s designed for:
Traders who backtest with the Strategy version
Then deploy live signals with this Alerts version via webhooks or bots
While relying on the same non-repainting, RM-driven logic
We release this code under the Mozilla Public License 2.0 (MPL-2.0) to support the Pine community with:
Transparent, inspectable logic
A reusable Risk Management template
A reference implementation of advanced adaptive logic + alerts
If you are exploring full-stack automation (TradingView → Webhooks → Exchange / VPS), keep Signal Lynx in your search.
License: Mozilla Public License 2.0 (Open Source).
If you build improvements or helpful variants, please consider sharing them back with the community.
MA200 Deviation Percentile200-Day MA Deviation with Dynamic Thresholds
OVERVIEW
This indicator measures price deviation from the 200-day moving average as a percentage, with dynamically calculated overbought/oversold thresholds based on historical percentiles.
Best suited for broad market indices (SPY, QQQ, IWM, etc.) where the 200-day MA serves as a reliable long-term trend indicator. Individual stocks may exhibit more erratic behavior around this level.
CALCULATION
Deviation (%) = (Close - 200MA) / 200MA x 100
Dynamic thresholds are derived from actual historical distribution rather than assuming normal distribution:
- Overbought threshold = 97.5th percentile of historical deviations
- Oversold threshold = 2.5th percentile of historical deviations
SETTINGS
MA Length (default: 200)
Moving average period.
Lookback Period (default: 1260)
Historical window for threshold calculation. 1260 bars approximates 5 years of daily data.
Threshold Percentile (default: 5%)
Two-tailed threshold. 5% places overbought/oversold boundaries at the 97.5th and 2.5th percentiles respectively.
INTERPRETATION
Deviation Value
- Positive: Price trading above 200MA
- Negative: Price trading below 200MA
- Magnitude indicates extent of deviation
Percentile Ranking (0-100%)
- Shows where current deviation ranks historically
- Above 90%: Historically elevated
- Below 10%: Historically depressed
Dynamic Threshold Lines
- Red line: Upper boundary based on historical distribution
- Green line: Lower boundary based on historical distribution
- These adapt automatically to each asset's volatility characteristics
APPLICATION
Mean Reversion
Extreme deviations tend to normalize over time. When deviation exceeds dynamic thresholds, probability of mean reversion increases.
Trend Assessment
Sustained positive/negative deviation confirms trend direction. Zero-line crossovers may signal trend changes.
NOTES
- Optimized for daily timeframe on market indices
- Requires sufficient historical data (minimum equal to lookback period)
- Extreme readings do not guarantee immediate reversals
- Use in conjunction with other analysis methods
顺势为王Disclaimer!!!
This script and indicators do not constitute any financial advice. Traders are fully responsible for their own trading decisions, and the script developer is not liable for any losses or gains resulting from the use of this script. Please use with caution and trade rationally. Fans of Chan Theory are welcome to learn and communicate together. QQ: 2508126812
DAILY - 3-Condition Arrows - Buy & SellVersion 1.
On the DAILY time frame, this indicator will add a green BUY arrow to a stock price when the following 3 conditions are ALL true:
BUY (all 3 conditions are true)
1. Stock price > 50 EMA
2. MACD line above moving average
3. Williams %R (Best_Solve version) is above moving average
Conversely, a red SELL arrow will point out when the following 3 conditions are ALL true:
SELL (all 3 conditions are true)
1. Stock price < 50 EMA
2. MACD line below moving average
3. Williams %R (Best_Solve version) is below the moving average
趋势阻力集空间Disclaimer!!!
This script and indicators do not constitute any financial advice. Traders are fully responsible for their own trading decisions, and the script developer is not liable for any losses or gains resulting from the use of this script. Please use with caution and trade rationally. Fans of Chan Theory are welcome to learn and communicate together. QQ: 2508126812
CMEGap° - Daily Gap Levels for Bitcoin by ClearViewLabsCME Gap - BTC Futures Gap Tracker by ClearViewLabs
Tracks unfilled CME Bitcoin Futures gaps and displays them as horizontal levels on your chart.
What it detects:
Close-to-open gaps, the difference between the previous session's close and the current session's open. These are not visual gaps (empty space between candles), but price inefficiencies that tend to get revisited.
What it does:
Detects gaps between previous close and current open (≥0.5% default)
Draws levels that extend until filled or expired
Dashboard shows active gaps with age and distance from current price
Statistical edge (2017-2025 CME BTC data, n=992 gaps):
95% of gaps fill within 30 days
75% fill within the same day
Gaps act as price "magnets", price tends to revisit these levels
Use it for:
Identifying potential support/resistance levels
Setting take-profit targets
Understanding where unfilled liquidity exists
Note: This indicator identifies valid technical levels, not trade signals. Your entry strategy determines your edge.
Features:
Works on any BTC chart (pulls CME data via settings)
Auto-removes filled gaps
Color-coded by direction (red = gap up, green = gap down)
Fades older gaps automatically
Settings:
Gap Threshold: Minimum gap size to detect (default 0.5%)
Max Age: Days before unfilled gaps expire (default 30)
CME Symbol: Change source if needed
new_youtube_strategy//@version=5
strategy("Dow + Homma 1m Scalper (15m filter)", overlay=true, margin_long=100, margin_short=100, initial_capital=10000)
//===== INPUTS =====
maLen = input.int(50, "Trend SMA Length", minval=5)
htf_tf = input.timeframe("15", "Higher TF")
priceTolPct = input.float(0.05, "SR tolerance %", step=0.01)
wickFactor = input.float(2.0, "Hammer/ShootingStar wick factor", step=0.1)
dojiThresh = input.float(0.1, "Doji body % of range", step=0.01)
risk_RR = input.float(2.0, "Reward:Risk", step=0.1)
capitalRiskPct = input.float(1.0, "Risk % of equity per trade", step=0.1)
//===== 1m TREND (SMA) =====
sma1 = ta.sma(close, maLen)
sma1Up = sma1 > sma1
sma1Down = sma1 < sma1
uptrend1 = close > sma1 and sma1Up
downtrend1 = close < sma1 and sma1Down
//===== 15m TREND VIA request.security =====
sma15 = request.security(syminfo.tickerid, htf_tf, ta.sma(close, maLen), lookahead=barmerge.lookahead_off)
sma15Up = sma15 > sma15
sma15Down = sma15 < sma15
uptrend15 = close > sma15 and sma15Up
downtrend15 = close < sma15 and sma15Down
//===== SWING HIGHS/LOWS (LOCAL EXTREMA) =====
var int left = 3
var int right = 3
swHigh = ta.pivothigh(high, left, right)
swLow = ta.pivotlow(low, left, right)
//===== SR FLIP LEVELS =====
var float srSupport = na
var float srResistance = na
// when a swing high is broken -> new support
if not na(swHigh)
if close > swHigh
srSupport := swHigh
// when a swing low is broken -> new resistance
if not na(swLow)
if close < swLow
srResistance := swLow
//===== CANDLE METRICS =====
body = math.abs(close - open)
cRange = high - low
upperW = high - math.max(open, close)
lowerW = math.min(open, close) - low
isBull() => close > open
isBear() => close < open
bullHammer() =>
cRange > 0 and
isBull() and
lowerW >= wickFactor * body and
upperW <= body
bearShootingStar() =>
cRange > 0 and
isBear() and
upperW >= wickFactor * body and
lowerW <= body
isDoji() =>
cRange > 0 and body <= dojiThresh * cRange
bullEngulfing() =>
isBear() and isBull() and
open <= close and close >= open
bearEngulfing() =>
isBull() and isBear() and
open >= close and close <= open
//===== SR PROXIMITY =====
tol = priceTolPct * 0.01 * close
nearSupport = not na(srSupport) and math.abs(close - srSupport) <= tol
nearResistance = not na(srResistance) and math.abs(close - srResistance) <= tol
//===== SIGNAL CONDITIONS =====
bullCandle = bullHammer() or isDoji() or bullEngulfing()
bearCandle = bearShootingStar() or isDoji() or bearEngulfing()
longTrendOK = uptrend1 and uptrend15
shortTrendOK = downtrend1 and downtrend15
longSignal = longTrendOK and nearSupport and bullCandle
shortSignal = shortTrendOK and nearResistance and bearCandle
//===== POSITION SIZING (IN RISK UNITS) =====
var float lastEquity = strategy.equity
riskCapital = strategy.equity * (capitalRiskPct * 0.01)
//===== ENTRY / EXIT PRICES =====
longStop = math.min(low, nz(srSupport, low))
longRisk = close - longStop
longTP = close + risk_RR * longRisk
shortStop = math.max(high, nz(srResistance, high))
shortRisk = shortStop - close
shortTP = close - risk_RR * shortRisk
// qty in contracts (approx; assumes price * qty ≈ capital used)
longQty = longRisk > 0 ? riskCapital / longRisk : 0.0
shortQty = shortRisk > 0 ? riskCapital / shortRisk : 0.0
//===== EXECUTION =====
if longSignal and longRisk > 0 and longQty > 0
strategy.entry("Long", strategy.long, qty=longQty)
strategy.exit("Long TP/SL", from_entry="Long", stop=longStop, limit=longTP)
if shortSignal and shortRisk > 0 and shortQty > 0
strategy.entry("Short", strategy.short, qty=shortQty)
strategy.exit("Short TP/SL", from_entry="Short", stop=shortStop, limit=shortTP)
//===== PLOTS =====
plot(sma1, color=color.orange, title="SMA 1m")
plot(sma15, color=color.blue, title="HTF SMA (15m)")
plot(srSupport, "SR Support", color=color.new(color.green, 50), style=plot.style_linebr)
plot(srResistance,"SR Resistance",color=color.new(color.red, 50), style=plot.style_linebr)
// Visual debug for signals
plotshape(longSignal, title="Long Signal", style=shape.triangleup, location=location.belowbar, color=color.lime, size=size.tiny)
plotshape(shortSignal, title="Short Signal", style=shape.triangledown, location=location.abovebar, color=color.red, size=size.tiny)
WEEKLY - 3-Condition Arrows - Buy & SellVersion 1.
On the WEEKLY time frame, this indicator will add a green BUY arrow to a stock price when the following 3 conditions are ALL true:
BUY (all 3 conditions are true)
1. Stock price > 50 EMA
2. MACD line above moving average
3. Williams %R (Best_Solve version) is above moving average
Conversely, a red SELL arrow will point out when the following 3 conditions are ALL true:
SELL (all 3 conditions are true)
1. Stock price < 50 EMA
2. MACD line below moving average
3. Williams %R (Best_Solve version) is below the moving average
ICT订单块交易【实时不滞后】Used to identify "Order Blocks" (OB), based on Break of Structure (BOS) and Retest mechanisms. It detects candles in the opposite direction after swing highs/lows to form potential supply/demand zones, confirming and plotting valid OBs only upon price retest. The indicator emphasizes "real" OBs: requiring a strong impulse (> ATR * multiplier) and retest verification.
- **Core Functions**: Detect BOS (Break of Structure); find opposite candles after prior impulses; verify strength and retest; draw OB boxes and labels.
- **Applicable Scenarios**: Suitable for ICT strategies, supply-demand trading, or reversal identification. Helps filter false breakouts and shows only high-probability zones.
- **Display Mode**: Overlaid on the main chart, displaying OBs as boxes, supporting up to 500 boxes.
- **Limitations**: Retest period fixed at 15 bars; based on simple candlesticks (no volume filter); no automatic cleanup of old OBs (manual management required).
The indicator has no built-in alerts but can be extended. ATR is used dynamically to validate strength.
## Input Parameters
Input parameters are concise, divided into core settings and display group. Below explains each parameter’s default value, type, and function.
### Core Settings
- **Structure Lookback** (int, default: 10, min: 3): Lookback period for structure detection (length for ta.highest/lowest). Higher values detect stronger structures.
- **Minimum Impulse Strength (ATR ×)** (float, default: 1.5, min: 0.5): Minimum impulse strength ((high-low) > ATR * this value). Ensures significant movement before OB.
- **Bars to watch for Retest** (int, default: 15, min: 1): Number of bars to monitor for retest. OB is confirmed only if price retests the OB zone within N bars after a breakout.
### Display Settings
- **Show Bullish OBs** (bool, default: true): Show bullish OBs (demand zone, rebounds after retest).
- **Show Bearish OBs** (bool, default: true): Show bearish OBs (supply zone, reverses after retest).
Colors are fixed: green (bullish, 80% transparency), red (bearish, 80% transparency).
## Calculations and Display
### Break of Structure (BOS) Detection
- **ATR Calculation**: ta.atr(14) used for strength verification.
- **Swing High/Low**: ta.highest(high, lookback) / ta.lowest(low, lookback) to identify structure. ...
## Calculation and Display
### Structure Breakout (BOS) Detection
- **ATR Calculation**: `ta.atr(14)` used for strength verification.
- **Swing High/Low**: `ta.highest(high, lookback)` / `ta.lowest(low, lookback)` identify structure.
- **BOS Trigger**:
- **bullBOS**: close > hh (breaks previous high).
- **bearBOS**: close < ll (breaks previous low).
### Order Block Identification
- **getLastOppositeCandle(isBullish)**:
- Search for the most recent "opposite" candle within the lookback period (bullBOS: bearish candle close < open; bearBOS: bullish candle close > open).
- Returns the index (idx); if none, then na.
- **OB Logic** (only when showBullish/Bearish=true):
- **Bullish OB (bullBOS)**:
- Find previous bearish candle (idx), check momentum: (high-low) > ATR * atrMult.
- Calculate obLow = low , obHigh = high .
- Backtest check: within 15 candles low inside → inRetest = true.
- If confirmed: draw green box (from bar_index - idx to current, obLow to obHigh); label "🟩 Bullish OB (Valid)" (top-left, green, 80% transparency, white text).
- Push into bullOBs array.
- **Bearish OB (bearBOS)**: symmetric, red box, label "🟥 Bearish OB (Valid)" (bottom-left).
- **Array Management**: var box bullOBs/bearOBs store all OBs; no automatic cleanup (expandable).
### Display Elements
- **Boxes**: dynamically from idx to current candle, visually showing OB area.
- **Labels**: displayed when confirmed, positioned based on obHigh/obLow.
- No lines/fills; pure boxes + labels.
## Alert Functionality
The indicator has no built-in alerts but can be extended via TradingView alerts, for example:
- **New OB**: bullBOS and inRetest or bearBOS and inRetest.
- **Backtest**: price enters OB range.
It is recommended to add `alertcondition()` for custom alerts. ...
It is recommended to add a custom alertcondition(), such as 'Bullish OB Confirmed'.
## Usage Tips
- **Optimization**: lookback=10 balances sensitivity; atrMult=1.5 filters weak impulses; retestBars=15 is suitable for intraday.
- **Customization**: turn off showBullish/Bearish to hide types; add volume filtering to the fork for better accuracy.
- **Explanation**:
- **BOS + Backtesting**: ensure OB is 'real' (not a false breakout); only draw after backtesting to avoid noise.
- **Strength**: (high-low)>ATR*1.5 indicates strong impulses, making OB more reliable.
- **Application**: Bullish OB = buy zone (support); Bearish OB = sell zone (resistance).
- **Limitations**: fixed backtesting period may miss late retracements; no volume/time filtering; few OBs in low-volatility markets.
- **Extensions**: add OB counts or Fibonacci extensions.
ICT订单块交易指标,用于识别“订单块”(Order Blocks, OB),基于结构突破(Break of Structure, BOS)与回测(Retest)机制。它通过检测摆动高/低点后的相反方向烛台,形成潜在供给/需求区域,仅在价格回测时确认并绘制有效OB。指标强调“真实”OB:需强冲动(> ATR * 乘数)与回测验证。
- **核心功能**:检测BOS(结构突破);查找前冲动相反烛台;验证强度与回测;绘制OB盒子与标签。
- **适用场景**:适合ICT策略、供给需求交易或反转识别。帮助过滤假突破,仅显示高概率区域。
- **显示模式**:叠加在主图上,使用盒子(boxes)显示OB,支持最大500个盒子。
- **限制**:回测期固定15柱;基于简单烛台(无成交量过滤);无自动清理旧OB(手动管理)。
指标无内置警报,但可扩展。数据使用ATR动态验证强度。
## 输入参数
输入参数简洁,分为核心设置与显示组。以下说明每个参数的默认值、类型和作用。
### 核心设置
- **Structure Lookback** (int, 默认: 10, 最小: 3):结构检测回溯期(ta.highest/lowest的长度)。较高值检测更强结构。
- **Minimum Impulse Strength (ATR ×)** (float, 默认: 1.5, 最小: 0.5):最小冲动强度((high-low) > ATR * 此值)。确保OB前有显著移动。
- **Bars to watch for Retest** (int, 默认: 15, 最小: 1):回测监控柱数。突破后N柱内价格回测OB区域才确认。
### 显示设置
- **Show Bullish OBs** (bool, 默认: true):显示看涨OB(需求区,回测后反弹)。
- **Show Bearish OBs** (bool, 默认: true):显示看跌OB(供给区,回测后反转)。
颜色固定:绿(看涨,80%透明)、红(看跌,80%透明)。
## 计算与显示
### 结构突破(BOS)检测
- **ATR计算**:ta.atr(14) 用于强度验证。
- **摆动高/低**:ta.highest(high, lookback) / ta.lowest(low, lookback) 识别结构。
- **BOS触发**:
- **bullBOS**:close > hh (上破前高)。
- **bearBOS**:close < ll (下破前低)。
### 订单块识别
- **getLastOppositeCandle(isBullish)**:
- 查找最近lookback柱内“相反”烛台(bullBOS: 熊烛 close < open;bearBOS: 牛烛 close > open)。
- 返回索引(idx);若无则na。
- **OB逻辑**(仅当showBullish/Bearish=true):
- **看涨OB (bullBOS)**:
- 查找前熊烛(idx),检查冲动:(high-low) > ATR * atrMult。
- 计算obLow=low ,obHigh=high 。
- 回测检查:15柱内low 在 内 → inRetest=true。
- 若确认:绘制绿盒(bar_index-idx 到当前,obLow到obHigh);标签“🟩 Bullish OB (Valid)”(左上,绿,80%透明,白文本)。
- 推入bullOBs数组。
- **看跌OB (bearBOS)**:对称,红盒,标签“🟥 Bearish OB (Valid)”(左下)。
- **数组管理**:var box bullOBs/bearOBs 存储所有OB;无自动清理(可扩展)。
### 显示元素
- **盒子**:动态从idx到当前柱,延伸显示OB区域。
- **标签**:确认时显示,位置基于obHigh/obLow。
- 无线条/填充;纯盒子+标签。
## 警报功能
指标无内置警报,但可通过TradingView警报扩展,例如:
- **新OB**:bullBOS and inRetest 或 bearBOS and inRetest。
- **回测**:价格进入OB范围。
建议添加alertcondition()自定义,如“Bullish OB Confirmed”。
## 使用提示
- **优化**:lookback=10平衡敏感;atrMult=1.5过滤弱冲动;retestBars=15适合日内。
- **自定义**:关闭showBullish/Bearish隐藏类型;fork添加成交量过滤提升准确。
- **解释**:
- **BOS+回测**:确保OB“真实”(非假突破);仅回测后绘制,避免噪音。
- **强度**:(high-low)>ATR*1.5表示强冲动,OB更可靠。
- **应用**:看涨OB=买入区(支撑);看跌OB=卖出区(阻力)。
- **局限**:回测期固定,可能错过晚回测;无成交量/时间过滤;低波动市场少OB。
- **扩展**:添加OB计数或斐波那契扩展。
均线变色K线系统 with 转折箭头//@version=6
indicator("均线变色K线系统 with 转折箭头", overlay=true, max_lines_count=500, max_labels_count=200)
// 输入参数
ma_length = input.int(20, title="均线周期", minval=1)
atr_filter = input.bool(true, title="启用ATR波动过滤")
atr_length = input.int(14, title="ATR周期", minval=1)
atr_multiplier = input.float(1.5, title="ATR波动阈值", minval=0.1, step=0.1)
show_arrows = input.bool(true, title="显示转折箭头")
candle_coloring = input.bool(true, title="启用K线变色")
// 计算均线和ATR
ma = ta.sma(close, ma_length)
atr_value = ta.atr(atr_length)
avg_atr = ta.sma(atr_value, atr_length)
// 判断均线方向和趋势转折点
ma_rising = ta.rising(ma, 1)
ma_falling = ta.falling(ma, 1)
// 使用更严格的趋势转折检测(避免repainting)
ma_rising_prev = ta.rising(ma, 2)
ma_falling_prev = ta.falling(ma, 2)
// 检测趋势转折点(确保只在K线收盘确认时检测)
trend_change_up = ma_rising and not ma_rising_prev and (not atr_filter or atr_value >= avg_atr * atr_multiplier)
trend_change_down = ma_falling and not ma_falling_prev and (not atr_filter or atr_value >= avg_atr * atr_multiplier)
// 设置颜色
ma_color = ma_rising ? color.rgb(255, 0, 0) : color.rgb(0, 0, 255) // 红/蓝
candle_color = ma_rising ? color.rgb(255, 0, 0) : color.rgb(0, 0, 255)
border_color = ma_rising ? color.rgb(255, 0, 0) : color.rgb(0, 0, 255)
wick_color = ma_rising ? color.rgb(255, 0, 0) : color.rgb(0, 0, 255)
// 绘制彩色均线
plot(ma, color=ma_color, linewidth=2, title="变色均线")
// 使用plotcandle绘制彩色K线
plotcandle(candle_coloring ? open : na,
candle_coloring ? high : na,
candle_coloring ? low : na,
candle_coloring ? close : na,
title="变色K线",
color = candle_color,
wickcolor = wick_color,
bordercolor = border_color,
editable = true)
// 绘制趋势转折箭头(只在K线确认时显示)
if show_arrows and barstate.isconfirmed
if trend_change_up
label.new(bar_index, low * 0.998, "▲",
color=color.rgb(0, 255, 0),
textcolor=color.white,
style=label.style_label_up,
yloc=yloc.price,
size=size.normal)
else if trend_change_down
label.new(bar_index, high * 1.002, "▼",
color=color.rgb(255, 0, 0),
textcolor=color.white,
style=label.style_label_down,
yloc=yloc.price,
size=size.normal)
// 背景色轻微提示(可选)
bgcolor(ma_rising ? color.new(color.red, 95) : color.new(color.blue, 95), title="趋势背景提示")
TETRIS PRO JorgeChutoFXTETRIS PRO JORGECHUTOFX
This indicator detects a highly accurate three-candle pattern based on pure price action structure.
The pattern forms when:
Candle 1: sets the direction (green = bullish, red = bearish).
Candle 2: is the opposite color and wicks above/below Candle 1 (its close doesn’t matter; it can close inside, below, or far below).
Candle 3: confirms the original direction by breaking the body of Candle 2 with body, matching the color of Candle 1.
When all three conditions are met, the indicator draws a box around the three candles and displays the corresponding signal (TETRIS BULL or TETRIS BEAR).
Aggressive VS Passive Orders Depletion @MaxMaserati 3.0Aggressive VS Passive Orders Depletion Indicator
Overview
This institutional-grade order flow analysis tool identifies and tracks limit order accumulation zones where significant buy and sell orders are placed in the market. It combines Highest Volume Candle Profile analysis with Market Structure detection to reveal where institutional traders have positioned their orders, and monitors in real-time whether these orders are being absorbed (depleted) or defended.
Core Concept: Order Block Detection & Depletion
This tool tracks the actual limit orders at key price levels and shows you:
Where institutional orders are placed (Buy Order Blocks vs Sell Order Blocks)
How strong these order zones are (original volume strength as %)
Real-time order flow activity (aggressive buyers vs aggressive sellers)
Depletion status (are the orders being consumed or defended?)
How It Works: Dual-Engine System
Engine 1: Volume Profile Analysis - Point of Control (POC) Detection
Divides price range into 25 horizontal levels (configurable)
Analyzes the last 120 bars (configurable lookback)
Distributes volume across price levels based on where each bar traded
Identifies the Point of Control (POC) - the price level with highest traded volume
Determines market bias: Bullish if price above POC, Bearish if below
Purpose: Shows where the majority of volume has been traded, indicating institutional accumulation zones and fair value areas.
Engine 2: Market Structure Analysis (PHL - Pivot High/Low)
Uses fractal pivot detection (configurable strength)
Identifies swing highs and lows that create market structure
Tracks Break of Structure (BOS) - price breaks recent swing in trend direction
Tracks Market Structure Shift (MSS) - price breaks swing points against trend
Maintains a trailing price at the most recent significant swing point
Purpose: Identifies where smart money is likely defending key structural levels with limit orders.
Key Innovation #1: Dynamic Confluence Zone Detection
When the Volume Profile POC and Market Structure trail price align within a configurable sensitivity threshold (default 1.0%), the indicator creates an Order Block Zone.
The Algorithm:
Monitors both engines continuously
Creates zones ONLY when POC is within X% of the structural swing point
Both engines must agree on the significance of the price level
Optional volume confirmation filter
This dual-confirmation approach filters out weak levels and highlights only the highest-probability zones where institutional orders are likely clustered.
Zone Types:
🟢 Buy Order Blocks (Support) - Created when confluence occurs with price above the zone. Represents accumulated buy limit orders waiting to support price.
🔴 Sell Order Blocks (Resistance) - Created when confluence occurs with price below the zone. Represents accumulated sell limit orders waiting to resist price.
Key Innovation #2: Real-Time Aggressive VS Passive Order Flow Analysis
The indicator performs sophisticated order flow decomposition on each candle that interacts with a zone, separating market activity into distinct categories:
Order Flow Categories:
1. Aggressive Orders - Market orders that consume liquidity
Aggressive Buy Volume: Market buys hitting sell limits (taking offers)
Aggressive Sell Volume: Market sells hitting buy limits (hitting bids)
Marked with (AGG) label when detected
Indicates urgent traders willing to pay the spread
2. Passive Orders - Limit orders adding liquidity
Passive Buy Volume: New buy limits being placed (making bids)
Passive Sell Volume: New sell limits being placed (making offers)
Shows patient traders providing liquidity
3. New Order Flow - Fresh buying/selling pressure
New Buyers: Total new buying activity (aggressive + passive)
New Sellers: Total new selling activity (aggressive + passive)
Net pressure indicator for zone health
Key Innovation #3: Advanced Order Flow Decomposition Algorithm
The indicator uses a proprietary candle analysis formula to separate aggressive from passive orders based on two key metrics:
Key Metrics:
Body Strength = |Close - Open| / (High - Low)
Close Position = (Close - Low) / (High - Low)
Bullish Candle Analysis:
Strong Aggressive Buying (Close Position ≥ 0.8 AND Body Strength ≥ 0.7):
90% aggressive buying, 10% passive selling, 90% new buyers
Moderate Aggressive Buying (Close Position ≥ 0.6 AND Body Strength ≥ 0.5):
70% aggressive buying, 20% passive selling, 80% new buyers, 20% new sellers
Weak Bullish (Close Position ≥ 0.5):
0-30% aggressive buying, 20-30% passive selling, 60% new buyers, 40% new sellers
Very Weak Bullish (Close Position < 0.5):
0% aggressive buying, 40% passive selling, 40% new buyers, 60% new sellers
Bearish Candle Analysis:
Strong Aggressive Selling (Close Position ≤ 0.2 AND Body Strength ≥ 0.7):
90% aggressive selling, 10% passive buying, 90% new sellers
Moderate Aggressive Selling (Close Position ≤ 0.4 AND Body Strength ≥ 0.5):
70% aggressive selling, 20% passive buying, 80% new sellers, 20% new buyers
Weak Bearish (Close Position ≤ 0.5):
0-30% aggressive selling, 20-30% passive buying, 60% new sellers, 40% new buyers
Very Weak Bearish (Close Position > 0.5):
0% aggressive selling, 40% passive buying, 40% new sellers, 60% new buyers
What This Reveals:
High close position + strong body = Aggressive buying overwhelming sellers
Low close position + strong body = Aggressive selling overwhelming buyers
Mid-range close = Battle between buyers and sellers
Small body = Passive orders dominating (limit orders being placed, not filled)
Key Innovation #4: Dynamic Depletion System with Intelligent Thresholds
The indicator adapts depletion thresholds based on zone strength:
High Liquidity Zones (>300% volume strength):
Depletion at 40% consumption - Massive clusters considered broken early because partial depletion indicates institutional withdrawal
Medium Liquidity Zones (150-300% volume strength):
Depletion at 60% consumption - Standard institutional behavior, majority must be consumed
Normal Liquidity Zones (75-150% volume strength):
Depletion at 80% consumption - Retail and smaller institutional zones need near-complete absorption
Low Liquidity Zones (<75% volume strength):
Depletion at 100% consumption - Weak zones must be fully absorbed before marked depleted
Why This Matters:
Strong zones failing early = powerful reversal signal (institutions gave up)
Weak zones holding = hidden strength (more orders being added)
Adaptive logic prevents false signals from fixed thresholds
Depletion Formula:
For Buy Order Zones:
Zone Liquidity % = (Original Buy Volume / Average Volume) × 100
Consumed % = (Sell Volume Absorbed / Average Volume) × 100
If Consumed Volume > Dynamic Threshold → Zone DEPLETED
For Sell Order Zones:
Zone Liquidity % = (Original Sell Volume / Average Volume) × 100
Consumed % = (Buy Volume Absorbed / Average Volume) × 100
If Consumed Volume > Dynamic Threshold → Zone DEPLETED
Key Innovation #5: Absorption Detection & Battle Analysis
The indicator identifies when one side is overwhelming the other using a configurable Absorption Threshold (default 1.5x = 50% more volume).
Battle States for Buy Order Blocks:
New Buyers Dominating (New Buyers > New Sellers × 1.5):
Label: ↑ New Buyers: +X% - Buy orders successfully defended
Sellers Attacking (New Sellers > New Buyers × 1.5):
Label: ↓ Sellers Attack: +X% (AGG) - Sell orders overwhelming the zone
Active Battle (Both active, <1.5x ratio):
Label: Battle: B+X% vs S+Y% - Active two-way order flow
Quiet Zone (Minimal activity):
Label: ↔ Quiet: X% - Zone untested or ignored
Battle States for Sell Order Blocks:
New Sellers Dominating (New Sellers > New Buyers × 1.5):
Label: ↓ New Sellers: +X% - Sell orders successfully defended
Buyers Absorbing (New Buyers > New Sellers × 1.5):
Label: ↑ Buyers Absorb: +X% (AGG) - Buy orders overwhelming the zone
Active Battle (Both active, <1.5x ratio):
Label: Battle: S+X% vs B+Y% - Active two-way order flow
Quiet Zone (Minimal activity):
Label: ↔ Quiet: X% - Zone untested or ignored
The (AGG) Marker:
Appears when aggressive market orders are detected (high body strength + extreme close position). Indicates institutional-sized urgency—someone is willing to pay market price NOW. Often precedes breakouts or strong continuations.
Label System Explained
No Label = Untested Zone
When a zone is first created, you see ONLY the colored box with NO label. This means:
Price has NOT yet reached this order block
The limit orders are still pending/resting
The zone is a future area of interest
Labels only appear after first price contact
Label Format (After First Touch):
Line 1: ● XX% Order Type
Line 2: Flow Analysis
Example Labels:
Buy Order Blocks:
● 150% Buy Orders + ↑ New Buyers: +85%
● 150% Buy Orders + ↑ New Buyers: +120% (AGG)
● 150% Buy Orders + Battle: B+45% vs S+38%
● 150% Buy Orders + ↓ Sellers Attack: +95% (AGG)
● 150% Buy Orders + ↓ Sellers Attack: +95% (AGG)
● 150% Buy Orders
Sell Order Blocks:
● 200% Sell Orders + ↓ New Sellers: +110%
● 200% Sell Orders + ↓ New Sellers: +140% (AGG)
● 200% Sell Orders + Battle: S+62% vs B+41%
● 200% Sell Orders + ↑ Buyers Absorb: +88% (AGG)
● 200% Sell Orders + ↑ Buyers Absorb: +88% (AGG)
● 200% Sell Orders
Status Indicators:
- Price penetrated through the zone
- Orders fully consumed, zone exhausted
Gray color - Zone no longer active
Directional Arrows:
↑ - Upward pressure (buyers stronger)
↓ - Downward pressure (sellers stronger)
↔ - Balanced/quiet (low activity)
↗ / ↘ - Mixed battle with bias
Point of Control (POC) Sub-Level Analysis
Each order block contains advanced volume distribution tracking:
Multi-Level Analysis (default 5 levels): Zones subdivided into horizontal price levels
Volume Distribution: Every candle's volume distributed across sub-levels based on price overlap
Buy/Sell Separation: Each level tracks buy vs sell volume independently
Dynamic POC Line: Marks the price level with highest traded volume within the zone
Real-Time Updates: POC adjusts as new volume enters, showing where "fairest price" is migrating
Style Options: Solid, Dashed, or Dotted lines (configurable width 1-5)
POC Trading Significance:
Represents the most accepted price within the order block
Often the best entry price for limit orders (highest liquidity)
POC migration shows whether zone is being "worked higher" or "worked lower"
Breaking through POC often signals zone failure
Key Settings
Volume Profile:
Lookback Period: 120 bars (historical period for POC)
Price Rows: 25 levels (granularity of volume distribution)
Volume Confirmation: Require structure breaks to align with volume bias
Market Structure:
Pivot Strength: 1 (swing detection sensitivity)
Show Trail: Optional trailing price visualization
Confluence Detection:
Sensitivity: 1.0% (distance threshold for POC/Structure alignment)
Lower = Stricter confluence, fewer zones
Higher = More zones detected
Order Flow Analysis:
Show Real-Time Order Flow: Live buyer/seller activity
Show Aggressive Markers: (AGG) labels for market orders
Show Directional Arrows: Price direction indicators (↑↓↔↗↘)
Absorption Threshold: 1.5x (when one side overwhelms the other)
1.5 = 50% more volume needed
2.0 = 100% more (stricter)
1.2 = 20% more (more sensitive)
Visual Options:
Hide Depleted Zones: Auto-remove exhausted blocks
Smart Bar Coloring: Color candles based on signal alignment
Zone Colors: Customize buy/sell colors
Label Text Size: Tiny, Small, Normal, Large
POC Settings:
Show POC Lines: Toggle Point of Control display
POC Analysis Levels: 3-10 levels
Line Width: 1-5 pixels
Line Style: Solid, Dashed, or Dotted
Trading Applications
1. Institutional Order Detection - Identify where large players positioned limit orders using Volume Profile POC + Market Structure confluence
2. Support/Resistance Validation - Dual confirmation filters weak levels, highlights high-probability reversal areas
3. Order Flow Imbalance Trading - Trade in direction of aggressive flow using (AGG) markers, fade zones showing absorption
4. Breakout/Breakdown Confirmation - and statuses validate moves through key levels
5. Liquidity Hunting - Track stop-loss clusters, anticipate stop runs based on depletion patterns
6. Entry Refinement - Use POC lines for precise limit placement at "fairest price" within zones
Combined Signal System
HVN Volume Profile × Market Structure Signals:
STRONG BUY: Both engines bullish + structure break up + volume confirmation
BUY: Bullish bias with partial confirmation
WEAK BUY: Early bullish signals
STRONG SELL: Both engines bearish + structure break down + volume confirmation
SELL: Bearish bias with partial confirmation
WEAK SELL: Early bearish signals
Alert Conditions:
Strong Buy/Sell signals (with volume confirmation)
Confluence zone activation (new order block created)
Order block depletion (zone exhausted)
What Makes This Indicator Unique
Industry-Standard Foundation:
Volume Profile POC detection + Market Structure analysis (swing pivots, BOS/MSS) + Point of Control tracking
Unique Innovations:
Dynamic Confluence Algorithm + Aggressive vs Passive Order Flow Decomposition + Adaptive Depletion Thresholds + Real-Time Absorption Detection + Battle Analysis with (AGG) markers + Complete Unified Methodology
Technical Excellence:
Resource-optimized (max 50 zones), comprehensive safety checks, multi-tier labeling, flexible customization
Best Practices
Wait for first touch - No label = untested zone
Watch (AGG) markers - Institutional urgency signal
Trust adaptive depletion - Strong zones failing early = major reversal
Use POC for entries - Best price within zone
Combine higher timeframes - Daily/4H zones strongest
Respect zones - Failed support becomes resistance
Follow battle labels - Contested areas show stop clusters
Adjust sensitivity - Tight ranges = lower %, trending = higher %
Performance Notes
Maximum Active Zones: 50 (automatic cleanup)
Maximum Lines: 400 (POC managed dynamically)
Lookback Cap: 1000 bars for optimization
Updates: All calculations on bar close for confirmed signals
ADX Breakout Enhanced Signal🥋 Trading Dojo – ADX Breakout Enhanced Signal
This indicator combines the trend-strength power of the ADX with dynamic breakout-based signals, designed for traders who want more frequent and higher-probability entries on timeframes like 1 hour.
The core logic focuses on:
📌 1. Trend Strength Detection with ADX
The indicator evaluates whether the market is showing a strong directional trend using an optimized ADX.
When ADX rises above the configured threshold, the system interprets that price has enough momentum to validate an entry.
📌 2. Breakout Entry Logic
It identifies points where price breaks recent highs or lows, confirming the start or continuation of movement.
This breakout-based approach produces more entries than traditional ADX strategies alone.
📌 3. Clear and Simple Signals
🟩 Long when price breaks a recent high with strong trend confirmation.
🟥 Short when price breaks a recent low with strong trend confirmation.
📌 4. Built-In Automated Alerts
The indicator automatically generates JSON alerts ready for use with automation tools such as trading bots, webhooks, BingX, 3Commas, Discord bots, and more.
🎯 Purpose of the Indicator
To provide more frequent, well-distributed, and momentum-validated entries, while maintaining simplicity and speed — perfect for real-time decision-making.
Perfect For:
Intraday trading
1h, 30m, and 15m timeframes
Breakout-based strategies
Automated trading systems






















