Gann Box LogicGann Box Logic
Overview
The Gann Box Logic indicator is a precision-based trading tool that combines the principles of Gann analysis with retracement logic to highlight high-probability zones of price action. It plots a structured box on the chart based on the previous day's high and low, overlays Fibonacci-derived retracement levels, and visually marks a critical “neutral zone” between 38.2% and 61.8% retracements.
This zone — shaded for emphasis — is a decision filter for traders:
- It warns against initiating trades in this area (low conviction zone).
- It identifies reversal pull targets when extremes are reached.
Core Principles Behind Gann Box Logic
Logic 1 — The Neutral Zone (38.2% ↔ 61.8%)
- The 38.2% and 61.8% retracement levels are key Fibonacci ratios often associated with consolidation or indecision.
- Price action between these two levels is considered a neutral, low-conviction zone.
- Trading Recommendation:
- Avoid initiating new trades while price remains within this shaded band.
- This zone tends to produce whipsaws and false signals.
- Wait for a decisive break above 61.8% or below 38.2% for clearer momentum.
- Why it matters:
- In Gann’s market structure thinking, the middle range of a swing is often a battleground where neither bulls nor bears are in full control.
- This is the zone where market makers often shake out weak hands before committing to a direction.
Logic 2 — Extremes Seek Balance (0% & 100% Reversal Bias)
- The indicator’s 0% and 100% levels represent the previous day’s low and high respectively.
- First Touch Rule:
- When the price touches 0% (previous low) or 100% (previous high) for the first time in the current session, there is a high probability it will attempt to revert toward the center zone (38.2% ↔ 61.8%).
- Trading Implication:
- If price spikes to an extreme, be alert for reversion trades toward the mid-zone rather than expecting a sustained breakout.
- Momentum traders may still pursue breakout trades, but this bias warns of potential pullbacks.
- Why it works:
- Extreme levels often trigger profit-taking by early entrants and counter-trend entries by mean-reversion traders.
- These forces naturally pull the market back toward equilibrium — often near the 50% level or within the shaded zone.
How the Indicator is Plotted
1. Previous Day High/Low Reference — The script locks onto the prior day’s range to establish the vertical bounds of the box.
2. Retracement Levels — Key Fibonacci levels plotted: 0%, 25%, 38.2%, 50%, 61.8%, 75%, 100%.
3. Box Structure — Outer Border marks the full prior day range, Mid Fill Zone is shaded between 38.2% and 61.8%.
4. VWAP (Optional) — Daily VWAP overlay for intraday bias confirmation.
Practical Usage Guide
- Avoid Trades in Neutral Zone — Stay out of the shaded area unless you’re already in a trade from outside this zone.
- Watch for First Touch Extremes — First touch at 0% or 100% → anticipate a pullback toward the shaded zone.
- Breakout Confirmation — Only commit to breakout trades when price leaves the 38.2–61.8% zone with strong volume and momentum.
- VWAP Confluence — VWAP crossing through the shaded zone often signals a balance day — breakout expectations should be tempered.
Strengths of Gann Box Logic
- Removes noise trades during low-conviction periods.
- Encourages patience and discipline.
- Highlights key market turning points.
- Provides clear visual structure for both new and advanced traders.
Limitations & Warnings
- Not a standalone entry system — best used in conjunction with price action and volume analysis.
- Extreme moves can sometimes trend without reversion, especially during news-driven sessions.
- Works best on intraday timeframes when referencing the previous day’s range.
In Summary
The Gann Box Logic indicator’s philosophy can be boiled down to two golden rules:
1. Do nothing in the middle — Avoid trades between 38.2% and 61.8%.
2. Expect balance from extremes — First touches at 0% or 100% often pull back toward the shaded mid-zone.
This dual approach makes the indicator both a trade filter and a targeting guide, allowing traders to navigate markets with a structured, Gann-inspired framework.
DISCLAIMER
The information provided by this indicator is for educational purposes only and should not be considered financial advice. Trading carries risk, including possible loss of capital. Past performance does not guarantee future results. Always conduct your own research and consult with a qualified financial professional before making trading decisions.
樞軸點和水平
Kaos CHoCH M15 – Confirm + BOS H4 Bias (no repinta)Marca choch en dirección del Bias de H4 para seguir con la tendencia.
Kay Capitals Secret KeyFollow Kay Capitals @kaycapitals on instagram to learn how to use these levels every day to print!
Secret Key Updated Daily
Cvd Divergence Signals with filter.
CVD Divergence + Candles - False Signal Filter
Hey traders,
I want to share my custom indicator with you. Through testing, I've found that CVD (Composite Volume Delta) captures divergences much more accurately than traditional tools like RSI. But this isn't just another divergence indicator - I've added strict candlestick pattern confirmation to filter out false signals. I'll keep improving this tool over time, and I welcome all your suggestions in the comments.
How it works step-by-step:
1. First, it detects CVD divergences (the delta between buy/sell volumes)
2. Then confirms each signal with reversal candlestick patterns:
- Hammer/Hanging Man
- Engulfing
- Pin Bar
- Inside Bar
Why mine beats standard CVD indicators:
• No raw divergences - only shows signals confirmed by BOTH volume AND price action
• Eliminates 80% of junk signals from basic versions
• Adaptable to any asset and timeframe
Simple usage guide:
Green arrows = Buy when:
- CVD shows bullish divergence
- AND a hammer/pin bar appears
Red arrows = Sell when:
- CVD shows bearish divergence
- Confirmed by hanging man/engulfing pattern
Pro tip:
For best results, combine with:
• Volume profile analysis
• Smart Money concepts (order blocks, FVGs )
Important notes:
This isn't a holy grail - I personally use it with support/resistance levels. Works best on 5M charts for scalping.
**PS** Got questions? Drop them in comments!
Yanirax Model (YNRX)The Yanirax Model (YNRX) is a quantitative analysis tool designed to detect market lows and highs for a multitude of financial assets. This script calculates and accumulates (cumulative computation) a series of metrics in both absolute values and logarithmic percentages, allowing patterns to be identified that detect market highs and lows.
Calculations and models included
- Gap (G) – Difference between the previous opening and closing prices.
- Market (M) – Intraday movement from opening to closing.
- Total Market (TM) – Difference between the current closing price and the previous closing price.
- G-M (YNRX) – Ratio between Gap and Market.
- TM+M (YNRX) – Sum of Total Market and Market.
- TM+G (YNRX) – Sum of Total Market and Gap.
- MBI – Relative average based on candlestick highs and lows.
- RSG – Difference between positive and negative movements measured from highs and lows.
- YNRY 1 – Accumulation of directional range conditioned by the Total Market trend.
- YNRY 2 – Variations of YNRY 1 adjusted with Total Market, Market, or Gap.
- Version in % – All of the above metrics are also calculated on a logarithmic basis, expressed as cumulative percentages.
Display
The script allows you to choose the variables and models you want to use, with blocks such as gap, market, and total market available, or you can use these three together with models such as YNRX, YNRY, RSG, or MBI.
Intended use
This indicator does not generate buy or sell signals on its own. Its purpose is to provide a statistical and structural view of market behavior so that users can integrate it into their own technical analysis and detect turning points.
KPI Last 5 NWOGsIndicator to plot the last 5 New Week Opening Gaps and update them in realtime to easily track them. Each week a new one is created and and old one is removed.
KPI Last 5 NDOGsThis indicator plots the last 5 New Day Opening Gaps with a midpoint line. The indictor updates every bar so it's easy to track these levels. The indicator does not produce a NDOG at the end of the day on a Friday and this is covered by the indictor that produces the New Week Opening Gaps as they are the same that day.
KPI - ROR 09:30-10:00Plots the high, low and mid ranges of the regular opening range from 09:30 - 10:00. After 10am it stops updating and extending the range till the end of the trading day at 16:00.
Range Trend Channels with Flip Signals 0.1.0Range Trend Channels with Flip Signals 0.1.0
Purpose:
- Detects "range trend" patterns on the chart using
4-bar structures.
- Draws main channel lines, parallel lines, and "third lines"
on valid hard closes above/below.
- Generates BUY/SELL signals based on candle interaction
with the third lines.
Features:
• Configurable number of recent patterns to keep.
• Adjustable hard-close buffer in ticks.
• Adjustable line width and style.
• Separate colors for bullish (green) and bearish (black) ranges.
• Extra third line colors for each type.
• Option to enable/disable hard-close detection per side.
• Signal system with:
– Strict next-bar or window-based mode
– Candle color filtering
– Minimum body size requirement
– Optional momentum filter
• Alerts for BUY/SELL signals.
Usage Tips:
- Use on your preferred timeframe for spotting
structure-based continuation/reversal points.
- "Hard-close buffer" helps prevent false triggers
from small overlaps.
- In strict mode, signals fire on the very next bar
after the third line is created.
- In window mode, signals can trigger within a
specified number of bars after third line creation.
FlowScape PredictorFlowScape Predictor is a non-repainting, regime-aware entry qualifier that turns complex market context into two readiness scores (Long & Short, each 0/25/50/75/100) and clean, confirmed-bar signals. It blends three orthogonal pillars so you act only when trend energy, momentum, and location agree:
Regime (energy): ATR-normalized linear-regression slope of a smooth HMA → EMA baseline, gated by ADX to confirm when pressure is meaningful.
Momentum (push): RSI slope alignment so price has directional follow-through, not just drift.
Structure (location): proximity to pivot-confirmed swings, scaled by ATR, so “ready” appears near constructive pullbacks—not mid-trend chases.
A soft ATR cloud wraps the baseline for context. A yellow Predictive Baseline extends beyond the last bar to visualize near-term trajectory. It is visual-only: scores/alerts never use it.
What you see
Baseline line that turns green/red when regime is strong in that direction; gray when weak.
ATR cloud around the baseline (context for stretch and pullbacks).
Scores (Long & Short, 0–100 in steps of 25) and optional “L/S” icons on bar close.
Yellow Predictive Baseline that extends to the right for a few bars (visual trajectory of the smoothed baseline).
The scoring system (simple and transparent)
Each side (Long/Short) sums four binary checks, 25 points each:
Regime aligned: trendStrong is true and LR slope sign favors that side.
Momentum aligned: RSI side (>50 for Long, <50 for Short) and RSI slope confirms direction.
Baseline side: price is above (Long) / below (Short) the baseline.
Location constructive: distance from the last confirmed pivot is healthy (ATR-scaled; not overstretched).
Valid totals are 0, 25, 50, 75, 100.
Best-quality signal: 100/0 (your side/opposite) on bar close.
Good, still valid: 75/0, especially when the missing block is only “location” right as price re-engages the cloud/baseline.
Avoid: 75/25 or any opposition > 0 in a weak (gray) regime.
The Predictive (Kalman) line — what it is and isn’t
The yellow line is a visual forward extension of the smoothed baseline to help you see the current trajectory and time pullback resumptions. It does not predict price and is excluded from scores and alerts.
How it’s built (plain English):
We maintain a one-dimensional Kalman state x as a smoothed estimate of the baseline. Each bar we observe the current baseline z.
The filter adjusts its trust using the Kalman gain K = P / (P + R) and updates:
x := x + K*(z − x), then P := (1 − K)*P + Q.
Q (process noise): Higher Q → expects faster change → tracks turns quicker (less smoothing).
R (measurement noise): Higher R → trusts raw baseline less → smoother, steadier projection.
What you control:
Lead (how many bars forward to draw).
Kalman Q/R (visual smoothness vs. responsiveness).
Toggle the line on/off if you prefer a minimal chart.
Important: The predictive line extends the baseline, not price. It’s a visual timing aid—don’t automate off it.
How to use (step-by-step)
Keep the chart clean and use a standard OHLC/candlestick chart.
Read the regime: Prefer trades with green/red baseline (trendStrong = true).
Check scores on bar close:
Take Long 100 / Short 0 or Long 75 / Short 0 when the chart shows a tidy pullback re-engaging the cloud/baseline.
Mirror the logic for shorts.
Confirm location: If price is > ~1.5 ATR from its reference pivot, let it come back—avoid chasing.
Set alerts: Add an alert on Long Ready or Short Ready; these fire on closed bars only.
Risk management: Use ATR-buffered stops beyond the recent pivot; target fixed-R multiples (e.g., 1.5–3.0R). Manage the trade with the baseline/cloud if you trail.
Best-practice playbook (quick rules)
Green light: 100/0 (best) or 75/0 (good) on bar close in a colored (non-gray) regime.
Location first: Prefer entries near the baseline/cloud right after a pullback, not far above/below it.
Avoid mixed signals: Skip 75/25 and anything with opposition while the baseline is gray.
Use the yellow line with discretion: It helps you see rhythm; it’s not a signal source.
Timeframes & tuning (practical defaults)
Intraday indices/FX (5m–15m): Demand 100/0 in chop; allow 75/0 when ADX is awake and pullback is clean.
Crypto intraday (15m–1h): Prefer 100/0; 75/0 on the first pullback after a regime turn.
Swing (1h–4h/D1): 75/0 is often sufficient; 100/0 is excellent (fewer but cleaner signals).
If choppy: raise ADX threshold, raise the readiness bar (insist on 100/0), or lengthen the RSI slope window.
What makes FlowScape different
Energy-first regime filter: ATR-normalized LR slope + ADX gate yields a consistent read of trend quality across symbols and timeframes.
Location-aware entries: ATR-scaled pivot proximity discourages mid-air chases, encouraging pullback timing.
Separation of concerns: The predictive line is visual-only, while scores/alerts are confirmed on close for non-repainting behavior.
One simple score per side: A single 0–100 readiness figure is easier to tune than juggling multiple indicators.
Transparency & limitations
Scores are coarse by design (25-point blocks). They’re a gatekeeper, not a promise of outcomes.
Pivots confirm after right-side bars, so structure signals appear after swings form (non-repainting by design).
Avoid using non-standard chart types (Heikin Ashi, Renko, Range, etc.) for signals; use a clean, standard chart.
No lookahead, no higher-timeframe requests; alerts fire on closed bars only.
The Barking Rat PercentilesPercentile Reversion with Multi-Layered Smoothing
The Barking Rat Percentiles is a multi-tiered reversion strategy based on fixed percentage movements away from the mean, designed to capture price extremes through a structured, practical approach. It combines statistically derived percentile bands, RSI momentum filtering, and ATR-driven exits to identify potential turning points while managing opportunity with precision. The aim is to isolate high-quality reversal opportunities at progressively deeper extremes while avoiding noise and low-conviction setups.
At its core, the strategy measures the current market position relative to long-term percentile thresholds. When price moves significantly beyond these smoothed levels and momentum shows signs of exhaustion, staged entries are triggered. Exits are managed using independent ATR-based take profit and stop loss logic to adapt to varying volatility conditions.
🧠 Core Logic: Tiered Extremes & Structured Management
This strategy is intentionally methodical, layering multiple thresholds and validation checks before highlighting potential setups. By combining percentile-based extremes with momentum confirmation and adaptive trade management, it offers a disciplined and repeatable framework for mean reversion trading.
1. Percentile Thresholds as the Primary Framework
The script calculates the highest high and lowest low over a long lookback period of more than 1000 candles to define the overall price range. It then derives upper and lower percentile thresholds to determine extreme price levels. These thresholds are smoothed using a simple moving average to filter out short-term noise, ensuring that only statistically significant deviations from the mean are considered for potential trades.
2. Multi-Tier Entry Levels
Based on the percentile distance away from the mean, the script plots and references five discrete trigger levels beyond the primary thresholds for both long and short positions. Each tier represents progressively deeper extremes, typically 1–3% beyond the smoothed threshold, balancing the benefits of early entries with the safety of more confirmed extremes. Custom logic ensures only one signal is generated per threshold level, avoiding duplicate entries in the same zone.
3. RSI Momentum Filter
A 14-period RSI filter is applied to prevent entering trades against strong momentum. Long trades are only triggered when RSI falls below 30 (oversold), and short trades only when RSI rises above 70 (overbought). This helps align entries with potential exhaustion points, reducing the risk of entering prematurely into a strong ongoing trend.
4. ATR-Based Trade Management
For each trade sequence, the strategy will exit on the first exit condition met: either the take profit (TP) or the stop loss (SL). Because the TP uses a smaller ATR multiplier, it’s generally closer to the entry price, so most trades will hit the TP before reaching the SL. The SL is intentionally set with a larger ATR multiplier to give the trade room to develop, acting as a protective fallback rather than a frequent exit.
So in practice, you’ll usually see the TP executed for a trade, and the SL only triggers in cases where price moves further against the position than expected.
5. Position Reset Logic
Once price returns to the smoothed threshold region, all entry tiers in that direction are reset. This allows the system to prepare for new opportunities if the market revisits extreme levels, without triggering duplicate trades at the same threshold.
Why These Parameters Were Chosen
Multi-tier thresholds ensure that only meaningful extremes are acted upon, while the long-range SMA provides historical context and filters out noise. The staged entry logic per level balances the desire for early participation with the discipline of risk management. ATR-based TP and SL levels adapt to changing volatility, while the RSI filter improves timing by aligning trades with potential exhaustion points. Together, these elements create a balanced, structured, and repeatable approach to mean reversion trading.
📈 Chart Visuals: Clear & Intuitive
Green “▲” below a candle: Potential long entry
Red “▼” above a candle: Potential short entry
Blue “✔️”: Exit when ATR take profit is hit
Orange “✘”: Exit when ATR stop loss is hit
Tier threshold lines (smoothed upper/lower bounds)
🔔Alerts: Stay Notified Without Watching
The strategy supports real-time alerts on candle close, ensuring that signals are only triggered once fully confirmed.
You must manually set up alerts within your TradingView account. Once configured, you’ll be able to set up one alert per instrument. This one alert covers all relevant signals and exits — ideal for hands-free monitoring.
⚙️Strategy report properties
Position size: 25% equity per trade
Initial capital: 10,000.00 USDT
Pyramiding: 10 entries per direction
Slippage: 2 ticks
Commission: 0.055% per side
Backtest timeframe: 1-minute
Backtest instrument: SOLUSDT
Backtesting range: Jul 28, 2025 — Aug 14, 2025
Note on Sample Size:
You’ll notice the report displays fewer than the ideal 100 trades in the strategy report above. This is intentional. The goal of the script is to isolate high-quality, short-term reversal opportunities while filtering out low-conviction setups. This means that the Barking Rat Percentiles strategy is ultra-selective, filtering out over 90% of market noise by enforcing multiple validation layers. The brief timeframe shown in the strategy report here illustrates its filtering logic over a short window — not its full capabilities. As a result, even on lower timeframes like the 1-minute chart, signals are deliberately sparse — each one must pass all criteria before triggering.
For a larger dataset:
Once the strategy is applied to your chart, users are encouraged to expand the lookback range or apply the strategy to other volatile pairs to view a full sample.
💡Why 25% Equity Per Trade?
While it's always best to size positions based on personal risk tolerance, we defaulted to 25% equity per trade in the backtesting data — and here’s why:
Backtests using this sizing show manageable drawdowns even under volatile periods
The strategy generates a sizeable number of trades, reducing reliance on a single outcome
Combined with conservative filters, the 25% setting offers a balance between aggression and control
Users are strongly encouraged to customize this to suit their risk profile.
🔍 What Makes This Strategy Unique?
Multi-Tier Percentile Triggers – Instead of relying on a single overbought/oversold zone, this strategy uses five distinct entry tiers per direction, allowing for staged, precision entries at progressively deeper extremes.
Long-Term Percentile Smoothing – By calculating extremes over a 1000+ candle range and smoothing them with a moving average, the strategy focuses only on statistically significant deviations.
Custom One-Signal-Per-Tier Logic – Prevents duplicate trades at the same threshold level, reducing overtrading and noise.
Dual ATR Exit System – Independent TP and SL levels adapt to volatility. TP uses a smaller ATR multiplier for realistic, achievable exits and generally executes first, while the SL has a larger ATR multiplier to provide protective breathing room if the trade moves further against the position.
Momentum-Aware Filtering – A 14-period RSI filter ensures trades are only taken when momentum is likely exhausted, avoiding entries into strong trends.
Automatic Position Reset – Once price normalizes, tiers reset, allowing for fresh entries without interference from previous trades.
Advanced Gann S/R LevelsThis powerful Pine Script indicator brings the legendary forecasting methods of W.D. Gann directly onto your TradingView chart. It's designed to provide traders with a complete, automated framework for identifying high-probability intraday support and resistance levels.
By combining the principles of Gann Pivot Points with the harmonic relationships of the Gann Square of 9, this tool calculates and plots the most critical price levels for the current trading day, helping you anticipate market turning points with greater clarity.
Key Features
Dynamic Gann Pivots: Automatically calculates and displays the central Pivot Point along with three levels of support (S1, S2, S3) and resistance (R1, R2, R3) based on the previous day's data.
Gann Square of 9 Levels: Implements Gann's esoteric mathematical formula to find natural harmonic price levels, plotting the most significant static support and resistance zones for the day.
Fully Customizable Display: You have complete control over the indicator's appearance. From the settings menu, you can:
Toggle each set of levels on or off (e.g., show only the Pivot and S1/R1).
Change the line style (Solid, Dashed, Dotted).
Adjust the position of the price labels (Left or Right).
Set the line extension length.
On-Chart Information Table: A clean, non-intrusive table on the top-right of your chart displays the exact values of all key levels for quick reference.
Built-in Alerts: Set alerts for when the price crosses the main Pivot, R1, or S1 levels, so you never miss a potential trading opportunity.
Core Concepts Explained
Gann Pivot Point: Calculated as (High + Low + Close) / 3 from the previous day, this level represents the intraday "balance point." Trading above the pivot is generally considered bullish for the session, while trading below it is bearish.
Gann Square of 9: This is a more advanced Gann method based on the principle that prices move in a predictable way related to their square roots. This indicator calculates the most powerful "cardinal cross" levels, which often act as major reversal points.
How to Use This Indicator
Identify the Intraday Trend: Use the main Pivot Point as your guide. If the price is consistently holding above the pivot, look for buying opportunities. If it's holding below, look for shorting opportunities.
Look for Confluence: The most powerful signals occur when a Gann Pivot level lines up closely with a Square of 9 level. This "confluence" creates an extremely strong support or resistance zone.
Breakout Trading: When the price breaks decisively through a key level (e.g., R1), the next level above it (R2) becomes the logical price target.
Range Trading: In a sideways market, you can use the support and resistance levels as boundaries to trade between. Consider entering a long trade near a strong support level and taking profit near resistance.
Disclaimer: This indicator is for educational and informational purposes only. It does not constitute financial advice. Trading involves significant risk, and you should always conduct your own research and risk management before entering any trade.
EFXU Banker Level Price GridThe EFXU Banker Level Price Grid indicator draws fixed horizontal price levels at key whole-number intervals for Forex pairs, regardless of zoom level or timeframe. It’s designed for traders who want consistent visual reference points for major and minor price zones across all charts.
Features:
Major 1000-pip zones (bold lines) above and below a fixed origin price (auto-detects 1.00000 for non-JPY pairs and 100.000 for JPY pairs, or set manually).
500-pip median levels (dashed lines) between each major zone.
100-pip subdivisions (dotted lines) within each 1000-pip zone.
Adjustable number of zones above and below the origin.
Customizable colors, line widths, and label sizes.
Optional labels on the right edge for quick zone identification.
Works on all timeframes and stays visible regardless of zoom or price position.
Use case:
This tool is ideal for traders using institutional-level zones, psychological price levels, or “big money” areas for planning entries, exits, and risk management. Perfect for swing traders, position traders, and scalpers who rely on major pip milestones for market structure context.
Clean Pivot Lines with AlertsTechnical Overview
This Script is designed for detecting untouched pivot highs and lows. It draws horizontal levels only when those pivots remain unviolated within a configurable lookback window and removes them automatically upon price breaches or sweeps.
Key components include:
Pivot detection logic : Utilizes ta.pivothigh()/ta.pivotlow() (or equivalent via request.security for HTF) with parameterized pivotLength to ensure flexibility and adaptability to different timeframes.
Cleanliness filtering : Checks lookbackBars prior to line creation to skip levels already violated, ensuring only uncontaminated pivots are used.
Dynamic level tracking : Stores active levels in arrays (highLines, lowLines) for continuous real-time monitoring.
Violation logic : Detects both close-based breaks (breakAbove/breakBelow) and wick-based sweeps (sweepAbove/sweepBelow), triggering alerts and automatic teardown.
Periodic housekeeping : Every N (10) confirmed bars, re-verifies “clean” status and removes silently invalidated levels—maintaining chart hygiene and avoiding stale overlays.
Customization options : Supports pivot timeframe override, colors, line width/style, lookback length, and alert toggling.
Utility
This overlay script provides a disciplined workflow for drawing meaningful support/resistance levels, filtering out contaminated pivot points, and signaling validations (breaks/sweeps) with alerts. Its modular design and HTF support facilitate integration into systematic workflows, offering far more utility than mere static pivot plots.
Usage Instructions
1. Adjust `pivot_timeframe`, `pivot_length`, and `lookback_bars` to suit your strategy timeframe and volatility structure.
2. Customize visual parameters as required.
3. Enable alerts to receive in-platform messages upon pivot violations.
4. Use HTF override only if analyzing multi-timeframe pivot behavior; otherwise, leave empty to default to chart timeframe.
Performance & Limitations
- Pivot lines confirmation lags by `pivot_length` bars; real-time signals may be delayed.
- Excessive active lines may impact performance on low-TF charts.
- The “clean” logic is contingent on the `lookback_bars` parameter; choose sufficiently high values to avoid false cleanliness.
- Alerts distinguish between closes beyond and wick-only breaches to aid strategic nuance.
Spread Mean Reversion Strategy [SciQua]╭───────────────────────────────────────╮
Spread Mean Reversion Strategy
╰───────────────────────────────────────╯
This invite-only futures spread strategy applies a statistical mean reversion framework, executing limit orders exclusively at calculated Z-score thresholds for precise, rules-based entries and exits. It is designed for CME-style spreads and synthetic instruments with well-defined reversion tendencies.
╭────────────╮
Core Concept
╰────────────╯
The strategy calculates a rolling mean and standard deviation of a chosen spread or synthetic price series, then computes the Z-score to measure deviation from the mean in standard deviation units.
Long entries trigger when Z crosses upward through a negative entry threshold (`-devEnter`). A buy limit is placed exactly at the price corresponding to that Z-score, optionally offset by a configurable tick amount.
Short entries trigger when Z crosses downward through a positive entry threshold (`+devEnter`). A sell limit is placed at the corresponding threshold price, also with optional offset.
Exits use the same threshold method, with an independent `Close Limit Offset` to fine-tune exit placement.
╭────────────╮
Key Features
╰────────────╯
Persistence filter – Requires the Z-score to remain beyond threshold for a configurable number of bars before entry.
Cooldown after exits – Prevents immediate re-entry to reduce over-trading.
Daily and weekend flattening – Force-flattens positions via limit orders before exchange maintenance breaks and weekend closes.
Auto-rollover detection with persistence – Detects when the second contract month’s daily volume exceeds the first for a set number of days, then blocks new entries (optional).
Configurable tick offsets – Independently adjust entry and exit levels relative to threshold prices.
Minimum spread width filter – Blocks trades when long/short entry thresholds are too close together.
Contract multiplier override – Allows correct sizing for synthetic symbols where `syminfo.pointvalue` is incorrect or missing.
Limit-only execution – All entries, exits, and forced-flat actions are executed with limit orders for price control.
╭────────────────────╮
Entry Blocking Rules
╰────────────────────╯
New trades are blocked:
During daily maintenance break pre-windows
During weekend close pre-windows
After rollover triggers, if `Block After Roll` is enabled
╭────────────────────────╮
Intended Markets & Usage
╰────────────────────────╯
Built for futures spreads and synthetic instruments , including calendar spreads.
Performs best in markets with clear seasonal or statistical mean-reverting tendencies.
Not designed for strongly trending, non-reverting markets.
╭──────────────────────────╮
Risk Management & Defaults
╰──────────────────────────╯
Fixed default position size of 1 contract (qty calc function available for customization).
Realistic commission and slippage assumptions pre-set.
Pyramiding disabled by default.
Default Z-score levels: Entry at ±2.0, Exit at ±0.5.
Separate tick offset controls for entries and exits.
Note: This strategy is for research and backtesting purposes only. Past performance does not guarantee future results. All use is subject to explicit written permission from the author.
LANZ Strategy 6.0🔷 LANZ Strategy 6.0 — NY Session Entry Tool & Multi-Account Risk Manager
LANZ Strategy 6.0 - Is a trading tool designed to help traders plan, execute, and manage operations with a focus on risk management, multi-account handling, and visual clarity.
It works exclusively on the 1-hour timeframe ⏳ and is optimized for the New York market opening dynamics.
🧠 Core Concept
The strategy identifies bullish trading opportunities based on the 09:00 NY candle. Once detected, it automatically calculates and draws:
EP (Entry Price) — The exact level where the trade setup triggers.
SL (Stop Loss) — Based on a customizable percentage of the candle's high–low range or wick extremes.
TP (Take Profit) — Calculated using your chosen Risk–Reward Ratio (e.g., 1:5, 1:3, etc.).
⚙️ Main Features
⏳ Time-Specific Execution
Operates only when the 09:00 NY candle closes bullish.
Ideal for traders who align with the New York Session market structure.
💰 Multi-Account Lot Size Management
Up to 5 independent accounts can be configured with their own capital and risk %, showing the exact lot size to use for each.
📏 Adaptive Risk Control
Supports both Forex and non-Forex assets (indices, gold, oil).
For non-Forex, you can manually define the pip value according to your broker’s specs.
🎨 Visual Trade Map
Automatically plots clean and easy-to-read EP, SL, and TP lines with customizable colors, styles, and thickness.
A floating information panel displays levels, pip distances, and lot sizes.
🔔 Real-Time Alerts
Alerts for:
Entry signal detection.
Stop Loss hit.
Take Profit hit.
Manual close at the defined session end.
📊 Example
If you trade GBPUSD with Account #1 set to $10,000 and 2% risk,
and the 09:00 NY candle closes bullish with SL = 30 pips and RR = 5:1:
EP, SL, and TP levels are drawn instantly.
Risk = $200 (2% of $10,000).
Lot size is calculated automatically.
All details are shown in the on-chart panel.
🛠️ How to Use
Load the indicator on a 1-hour chart.
Configure risk settings and account data.
Wait for the 09:00 NY candle to close bullish.
Use the displayed lot size and levels to execute your trade.
Let the tool alert you for SL, TP, or manual close.
⚠️ Disclaimer:
This script is for educational purposes only. It does not guarantee profits and past performance does not represent future results. Always manage your risk responsibly.
👨💻 Credits:
💡 Developed by: LANZ
🧠 Execution Model & Logic Design: LANZ
📅 Designed for: 1H timeframe and NY-based entries
Harmonic Pattern Detection, Prediction, and Backtesting System3 Indikaotren in einem, Trendline, Patterns und Breaker Blocks
SmartTrade - ALMCorpHello everyone! I’d like to introduce my creation—the Smart Trade indicator. I’ve identified certain patterns and discovered that specific moving averages, at certain deviations, can have a strong impact on price. So, what does this indicator do?
It uses the daily timeframe as the basis for displaying levels. For each cryptocurrency, a unique deviation coefficient is calculated for each level. Essentially, we take two deviation zones—the buy zone and the sell zone—treating them as 0 and 1, respectively. From there, we can plot internal levels based on the Fibonacci sequence.
To summarize:
The indicator displays two main zones (buy/sell).
It also shows internal Fibonacci levels, which exert strong influence on price movements.
For convenience, each level is marked with its corresponding numerical value.
Key Levels for Altcoins: The 0.25–0.5 Range and Imbalance
For many altcoins, the most critical levels are 0.25 and 0.5. Prices tend to stay within this range most of the time—breaking beyond these levels signals a market imbalance, which is usually short-lived.
Example Scenario:
Normal Movement: Price moves between 0.25 (support) and 0.5 (resistance).
Downside Break (Imbalance): If price falls below 0.25 into the buy zone (green area), the failure to hold 0.25 creates a strong imbalance. This typically forces price back up into its usual range.
Upside Break (Imbalance): Similarly, if price breaks above 0.5 (e.g., reaching 0.75), this also creates imbalance, and price tends to revert back down into its standard range.
Conclusion:
Most altcoins trade primarily between 0.25 and 0.5.
A breakout in either direction usually results in a temporary imbalance, which the market quickly corrects.
By recognizing these patterns, we can make more informed trading decisions.
Visualizing Imbalances – From Small to Large
In the chart above, I’ve highlighted all imbalances, ranging from minor to major.
Why This Indicator is Perfect for Spot Trading
I’ve developed a trading strategy for this indicator that displays:
Buy signals (with entry zones)
Average entry price
Sell signals
How the Buy Signals Work:
BUY 1 – Triggered when price touches the upper boundary of the buy zone.
BUY 2 – Activated when price reaches the middle of the buy zone.
BUY 3 – Executed when price tests the lower boundary of the buy zone.
This structured approach ensures you capitalize on optimal entry points while managing risk.
Understanding the Average Entry Line & Profit-Taking System
You may have noticed an additional line on the chart above, displayed alongside the buy signals. This is the average entry line, which represents your mean entry price—calculated based on executing equal-sized purchases at each buy signal (BUY 1, BUY 2, BUY 3).
Where to Sell? Smart Profit-Taking Rules
While precise entries are critical, knowing when to exit is equally important. Here’s how the system works:
Primary Take-Profit Level (0.375)
Historically, this level offers the optimal balance for quick profit-taking.
Adaptive Exit Strategy
If the position is unprofitable by the time of closure, the system automatically shifts the exit to the next higher level (0.5).
This ensures you lock in greater gains when the market favors your trade.
Advanced Performance Tracking & Asset Selection
The indicator provides comprehensive trade analytics, displayed in the bottom-right information panel:
Trade count tracking (total number of executed trades)
Cumulative profitability (combined returns across all trades)
Average profitability per trade (total returns ÷ trade count)
How to Leverage This Data
These metrics allow you to:
Identify high-potential assets
Example: Asset A shows 5% average profit/trade vs. Asset B with 40% → prioritize Asset B for spot trading.
Filter for optimal volatility
Higher average profitability often correlates with stronger momentum/volatility.
Multi-Market Utility
While designed for spot trading, the indicator’s imbalance detection (described earlier) also works for:
Futures market analysis
Entry point identification
Apex Edge – Liquidity RaiderApex Edge – Liquidity Raider
The Predator That Hunts Where Retail Never Looks
The Liquidity Raider is not your average liquidity line plotter.
This is an institutional-grade hunting system that tracks the pools of liquidity Smart Money algos stalk — and tells you exactly when price is circling in for the strike.
Where most retail tools simply mark lines, this one acts like a predator:
Scans the chart dynamically to detect clustered highs & lows (pivot-based liquidity zones).
Filters noise with sensitivity & price rounding so you only get real liquidity levels — not every random swing.
Plots live BSL (Buy-Side Liquidity) & SSL (Sell-Side Liquidity) lines in clean dotted format.
Auto-deletes levels when swept, so your chart stays clean and focused.
Triggers directional arrows when price comes within your specified % distance to the target liquidity pool — before the market moves.
EMA confluence layer lets you align with institutional flow (customizable Fast & Slow EMAs).
Core Power
Cluster Logic – Finds high-probability liquidity zones using repeated pivot levels.
Sweep Awareness – Lines vanish the moment liquidity is taken, keeping focus on the next pool.
Proximity Strike Detection – Arrow signals only when price is within striking range.
Directional Clarity – Red arrows = targeting BSL, Green arrows = targeting SSL.
Scalable Across Timeframes – Adapts to your chart’s timeframe with dynamic lookback scaling.
Institutional Flow Filter – Optional EMA confirmation keeps you aligned with the real trend.
How to Use
Identify liquidity pools – Dotted green = buy-side, dotted red = sell-side.
Watch proximity arrows – These mean price is in range and hunting that pool.
Align with EMA bias – Enter only in the direction of institutional momentum.
Target the sweep – Your take profit is where the liquidity is resting.
Why Liquidity Raider Wins
This is not a lagging signal system.
It’s a real-time, clean, predictive tool designed to mimic the targeting logic of high-frequency algos.
By removing swept levels and focusing only on the next available pools, Liquidity Raider keeps you one step ahead of the crowd — and perfectly positioned for the kill shot.
DTLLC Time & PriceDTLLC Time and Price with Signals
This indicator is built for traders who understand ICT concepts and want a structured, visual way to align time-based price action with key market levels. By combining customizable trading windows, breakout logic, and daily reference points, it helps you identify high-probability trade opportunities while filtering out market noise.
Key Features
1. Dual Custom Time Ranges (Kill Zones)
Set two independent time ranges per day (start/end hour and minute).
Each range identifies the highest high and lowest low within its window.
Built-in breakout detection generates buy/sell signals when price moves beyond these levels.
2. Volatility Filtering
Adjustable volatility threshold based on True Range relative to ATR.
Filters out low-quality signals during choppy, low-volatility conditions.
3. ATR-Based Stop Loss
Custom ATR length and stop-loss multiplier settings.
Automatically plots ATR-based stop levels for triggered trades.
4. Daily Key Levels
Plots Previous Day High, Previous Day Low, and Midnight Open continuously on the chart.
Useful for spotting breakout and reversal opportunities in line with ICT market structure concepts.
5. Liquidity & Engulfing Candle Highlights
Highlights potential liquidity grab zones (yellow candles) when significant highs/lows are set within your lookback period.
Detects bullish (green) and bearish (red) engulfing patterns for added confluence.
6. Visual & Signal Tools
Buy/Sell signals plotted directly on chart (separate colors for Range 1 and Range 2). Continuous plotting of reference levels to maintain market context throughout the session.
Example Use Case:
A common ICT-inspired reversal setup:
Wait for price to sweep the Previous Day’s High or Low during your chosen time range.
Look for a buy or sell signal with volatility confirmation.
Manage risk using the ATR-based stop-loss plot.
Disclaimer: This script is for educational purposes only and is not financial advice. Trade responsibly and always test strategies before applying them in live markets.
VIV 1.0 // AN IDEA BY Sunil SethiVIV (Very Important Volume) is a custom-built TradingView indicator designed to decode the psychology behind price and volume behavior — whether you are a breakout trader, reversal trader, or use your own discretionary logic. VIV reveals where institutional activity is likely taking place, highlights trend stages, uncovers volume footprints, and identifies high-probability trading zones — all with zero lag & 100% price-action-based logic.
Key Features (Expanded Concepts)
01. Trend-Based Analysis with Stages and Background Colors
VIV breaks down the market into three color-coded stages based on trend confirmation:
Stage 3: Uptrend (Short-Term Trend Confirmation)
Marks early accumulation or consolidation.
Shows possible reversal zones.
Short-term traders use this to spot opportunities before a breakout.
Stage 2: Uptrend (Medium-Term Trend Confirmation)
Highlights the start of a strong directional move.
Confidence zone for position building and breakout-following strategies.
Stage 1: Uptrend (Long-Term Trend Confirmation)
Indicates long term strength.
These trend stages reflect the emotional phases of market participants and the shifting balance of power between buyers and sellers. You can toggle trend backgrounds for intraday, daily, weekly, and monthly trends and change their background colors.
Note : If the % difference in Stage 3 exceeds 10%, the stock is considered extended. Such setups should be evaluated with caution before making any trade decisions.
02. . Volume Footprints (➕ Signs)
VIV intelligently identifies past candles with high-volume activity (accumulation/distribution).
These are not typical breakout volumes, but subtle footprints of smart money.
Help spot reversal points, liquidity zones, and retest levels.
Valuable for both breakout and reversal traders to confirm zone strength.
You can enable or disable these lines, adjust color, style, and width via VIV Line Settings.
03. VIV || H, VIV || L and VIV || C Zones
Automatically plots horizontal levels from high-volume, high-activity candles—revealing the footprints of smart money.
VIV || H (High) = Top of important bar.
VIV || L (Low) = Bottom of important bar.
VIV || C (Close) = Close price of important bar.
Key levels used by traders for:
Entries
Stop-loss placement
Targets
These zones show where price historically reacted due to strong institutional presence. They come with customizable label colors and backgrounds.
04. Price Tightness Detection
Detects when two or more candles compress within the range of a larger parent candle.
Represents indecision, contraction, or coiling behavior before major price moves.
Ideal for both:
Breakout traders looking for base formations.
Reversal traders watching for exhaustion.
Color-coded markers indicate such tight price zones — disabled by default but can be enabled.
05. Technical Stats Panel (Important Data Table)
An insightful dashboard providing:
ADR% – Volatility-based movement expectations (change period via input).
ATR – Real volatility indicator.
Average Volume / Price Volume – Customizable average period and currency unit (INR/USD).
Trend Data:
10/20/200 SMAs
10-week & 20-week trend stages (custom SMA period/timeframe supported)
Relative Strength vs Benchmark
RS grade: GREAT, GOOD, FAIR, UNCERTAIN, UNDER PERFORMER, LAGGARD, POOR
When RS is comparing: BOTH STRONG, BOTH WEEK
You can also display the benchmark symbol name and change the symbol for relative strength comparison.
06. Relative Strength Grade Change Alerts
VIV tracks relative strength changes against a chosen benchmark (e.g., Nifty MidSmallCap).
The above tells us that if the stock is stronger or weaker than the benchmark.
Detects when relative strength shifts from:
Strong → Weak (e.g., EXCELLENT → GOOD → FAIR)
Weak → Strong (e.g., LAGGARD → POOR → FAIR → GOOD)
Sudden transitions (e.g., WORST → FAIR, BOTH WEAK → GOOD, BOTH GOOD → POOR)
BOTH WEAK → GOOD or BOTH GOOD → POOR means stock's strength is better/poor than the benchmark
and more.
These alerts can help in:
Early trend following
Exiting when RS degrades
Adding positions when RS improves
07. Smart Alerts (Built-in Conditions)
You can set alerts for (any timeframe)
Positive Trend
Negative Trend
Rise in Volume
Relative Strength Changed
Set your preferred interval and trigger type in TradingView to stay updated without chart-watching.
08. Pivot Points
VIV allows visualizing pivot highs and lows using a dynamic window (left/right lookback).
Customizable label text and background color.
Helpful in identifying support or resistance zones and breakout points.
09. Customization Options
Toggle modules like trend background, labels, stats, and volume zones.
Customize colors for:
Labels
Zones
Trend backgrounds
Table text, borders, and alignment
Adjust visibility per timeframe (inputs tab)
How to Use VIV Effectively
Use trend background colors to identify phase (base, uptrend, top).
Look for stage 1, stage 2 and stage 3 for short, medium and long term trend.
Watch for old high-volume candles (➕ marks) to plan entries/exits.
Trade around ➕ marks, VIV || H and VIV || L levels.
Use tight price zones to anticipate explosive moves.
Monitor table for ATR/ADR, RS grade, and moving averages.
Use alerts to automate monitoring of trend, volume, or RS shifts.
Best Suited For:
Reversal traders (demand/supply based)
Breakout traders using base-building logic
Systematic or discretionary traders
Anyone who values price-volume behavior over lagging indicators
Ethereum Logarithmic Regression BandsOverview
This indicator displays logarithmic regression bands for Ethereum. Logarithmic regression is a statistical method used to model data where growth slows down over time. I initially created these bands in 2021 using a spreadsheet, and later coded them in TradingView in 2022. Over time, the bands proved effective at capturing bull market peaks and bear market lows. In 2025, I decided to share this indicator because I believe these logarithmic regression bands offer the best fit for the Ethereum chart.
How It Works
The logarithmic regression lines are fitted to the Ethereum (ETHUSD) chart using two key factors: the 'a' factor (slope) and the 'b' factor (intercept). The formula for logarithmic regression is 10^((a * ln) - b).
How to Use the Logarithmic Regression Bands
1. Lower Band:
The lower (blue) band forms a potential support area for Ethereum’s price. Historically, Ethereum has found its lows within this band during past market cycles. When the price is within the lower band, it suggests that Ethereum is undervalued.
2. Upper Band:
The upper (red) band forms a potential resistance area for Ethereum’s price. The logarithmic band is fitted to the past two market cycle peaks; therefore, there is not enough historical data to be sure it will reach the upper band again. However, the chance is certainly there! If the price is within the upper band, it indicates that Ethereum is overvalued and that a potential price correction may be imminent.