Inside Bar Range Boxes — Volume Break out by Sparkfx v2 Confirm on close + buffer ticks (close must beat the box by a cushion)
Minimum box size (in ATR or %)
Minimum “compression length” (N consecutive inside bars)
Trend filter (EMA 200) (only buy above / sell below)
Volume filter (breakout vol > SMA vol)
Cooldown (no new signals for X bars after a breakout)
Mother-bar range box: When a candle is inside the previous candle (high ≤ prev high AND low ≥ prev low), the script marks the previous bar as the mother bar and draws a shaded box from that bar’s high/low.
The box extends to the right until price breaks out above the high or below the low.
On breakout it can color the border (green = up, red = down), optionally print BUY/SELL labels, and either keep the box or delete it.
Visuals
Box Fill / Border / Width: appearance of the range.
Bull/Bear Break Border: colors used once a breakout is detected.
Show BUY/SELL arrows: show small labels at the breakout.
Keep old boxes after breakout: leave history on chart.
Extend box forward (bars): safety limit so boxes don’t run forever.
Shrink to each NEW inside bar: if another inside bar appears within the active box, the range tightens to that newest mother
Require bar close outside box: wait for a candle close to confirm the break (less noise).
Buffer (ticks): require price to clear the box by N ticks (prevents 1-tick fakeouts).
Min box size (ATR x) and ATR length: ignore tiny boxes (e.g., min 0.25× ATR).
Min consecutive inside bars: only start a box after 2+ consecutive inside bars (more compression = cleaner moves).
Cooldown after breakout (bars): suppress new signals for X bars after a break..
Trend filter (EMA 200):
Buy only if price > EMA(200)
Sell only if price < EMA(200)
Volume filter: breakout volume must be > SMA(volume).
Maintain box: extend right each bar; optionally shrink to newer inside bars.
Breakout test:
Up: (close or high) > boxHigh + buffer
Down: (close or low) < boxLow - buffer
Apply trend, volume, and cooldown filters.
On breakout: color border (green/red), place label if enabled, optionally keep or delete the box, and fire an alertcondition.
Alerts included
Inside Bar Bullish Breakout (Filtered)
Inside Bar Bearish Breakout (Filtered)
They only trigger when all enabled filters pass.
How to use (quick playbook)
Turn on Require close and set Buffer = 1–2 ticks.
Set Min box size = 0.25–0.40 ATR, Min consecutive inside bars = 2.
Enable Trend filter (EMA 200) and optionally Cooldown = 5–10 bars.
Trade breakouts in the trend direction; place stops beyond the opposite side of the box.
If you want more trades, loosen ATR multiple or turn off the trend filter; if it’s too chatty, increase ATR multiple / consecutive bars.
Why your boxes may differ from other indicators
This script uses high/low wicks with optional tightening (if enabled), tolerance buffer, confirmation on close, and extra filters—all of which can make boxes and signals diverge from a “pure” inside-bar tool that draws on first detection without filters.
Grafik Desenleri
Ronin Pro Slingshot Trading SystemSlingshot Trading System is a comprehensive trend-following indicator that combines multiple technical analysis layers into one actionable dashboard. It identifies high-probability pullback entries in established trends using EMA alignment, RSI/MACD momentum confirmation, and ATR-based risk management.Key Features:
Dual visualization modes: EMA Ribbon (trend strength) or ATR Envelope (volatility zones)
Non-repainting signals with built-in cooldown to prevent spam
Live P&L tracking with automatic stop-loss and take-profit levels
Real-time dashboard showing all entry conditions (trend, momentum, pullback status)
Aggressive and conservative entry modes for different risk profiles
Smart pullback detection with consolidation filters
Best for: Swing traders and position traders looking for precise entries during trend pullbacks with clear risk/reward setups.
saodisengxiaoyu-lianghua-2.1- This indicator is a modular, signal-building framework designed to generate long and short signals by combining a chosen leading indicator with selectable confirmation filters. It runs on Pine Script version 5, overlays directly on price, and is built to be highly configurable so traders can tailor the signal logic to their market, timeframe, and trading style. It includes a dashboard to visualize which conditions are active and whether they validate a signal, and it outputs clear buy/sell labels and alert conditions so you can automate or monitor trades with confidence.
Core Design
- Leading Indicator: You choose one primary signal generator from a broad list (for example, Range Filter, Supertrend, MACD, RSI, Ichimoku, and many others). This serves as the anchor of the system and determines when a preliminary long or short setup exists.
- Confirmation Filters: You can enable additional filters that validate the leading signal before it becomes actionable. Each “respect…” input toggles a filter on or off. These filters include popular tools like EMA, 2/3 EMA crosses, RQK (Nadaraya Watson), ADX/DMI, Bollinger-based oscillators, MACD variations, QQE, Hull, VWAP, Choppiness Index, Damiani Volatility, and more.
- Signal Expiry: To avoid waiting indefinitely for confirmations, the indicator counts how many consecutive bars the leading condition holds. If confirmations do not align within a defined number of bars, the setup expires. This controls latency and helps reduce late or stale entries.
- Alternating Signals: An optional mode enforces alternation (long must follow short and vice versa), helping avoid repeated entries in the same direction without a meaningful reset.
- Aggregation Logic: The final long/short conditions are formed by combining the leading condition with all selected confirmation filters through logical conjunction. Only if all enabled filters validate the signal (within expiry constraints) does the indicator consider it a confirmed long or short.
- Visualization and Alerts: The script plots buy/sell labels at signal points, provides alert conditions for automation, and displays a compact dashboard summarizing the leading indicator’s status and each confirmation’s pass/fail result using checkmarks.
Leading Indicator Options
- The indicator includes a very large menu of leading tools, each with its own logic to determine uptrend or downtrend impulses. Highlights include:
- Range Filter: Uses a dynamic centerline and bands computed via conditional EMA/SMA and range sizing to define directional movement. It can operate in a default mode or an alternative “DW” mode.
- Rational Quadratic Kernel (RQK): Applies a kernel smoothing model (Nadaraya Watson) to detect uptrends and downtrends with a focus on noise reduction.
- Supertrend, Half Trend, SSL Channel: Classic trend-following tools that derive direction from ATR-based bands or moving average channels.
- Ichimoku Cloud and SuperIchi: Multi-component systems validating trend via cloud position, conversion/base line relationships, projected cloud, and lagging span.
- TSI (True Strength Index), DPO (Detrended Price Oscillator), AO (Awesome Oscillator), MACD, STC (Schaff Trend Cycle), QQE Mod: Momentum and cycle tools that parse direction from crossovers, zero-line behavior, and momentum shifts.
- Donchian Trend Ribbon, Chandelier Exit: Trend and exit tools that can validate breakouts or sustained trend strength.
- ADX/DMI: Measures trend strength and directional movement via +DI/-DI relationships and minimum ADX thresholds.
- RSI and Stochastic: Use crossovers, level exits, or threshold filters to gate entries based on overbought/oversold dynamics or relative strength trends.
- Vortex, Chaikin Money Flow, VWAP, Bull Bear Power, ROC, Wolfpack Id, Hull Suite: A diverse set of directional, momentum, and volume-based indicators to suit different markets and styles.
- Trendline Breakout and Range Detector: Price-behavior filters that confirm signals during breakouts or within defined ranges.
Confirmation Filters
- Each filter is optional. When enabled, it must validate the leading condition for a signal to pass. Examples:
- EMA Filter: Requires price to be above a specified EMA for longs and below for shorts, filtering signals that contradict broader trend or baseline levels.
- 2 EMA Cross and 3 EMA Cross: Enforce moving average cross conditions (fast above slow for long, the reverse for short) or a three-line stacking logic for more stringent trend alignment.
- RQK, Supertrend, Half Trend, Donchian, QQE, Hull, MACD (crossover vs. zero-line), AO (zero line or AC momentum variants), SSL: Each adds its characteristic validation pattern.
- RSI family (MA cross, exits OB/OS zones, threshold levels) plus RSI MA direction and RSI/RSI MA limits: Multiple ways to constrain signals via relative strength behavior and trajectories.
- Choppiness Index and Damiani Volatility: Prevent entries during ranging conditions or insufficient volatility; choppiness thresholds and volatility states gate the trade.
- VWAP, Volume modes (above MA, simple up/down, delta), Chaikin Money Flow: Volume and flow conditions that ensure signals happen in supportive liquidity or accumulation/distribution contexts.
- ADX/DMI thresholds: Demand a minimum trend strength and directional DI alignment to reduce whipsaw trades.
- Trendline Breakout and Range Detector: Confirm that the price is breaking structure or remains within active range consistent with the leading setup.
- By combining several filters you can create strict, conservative entries or looser setups depending on your goals.
Range Filter Engine
- A core building block, the Range Filter uses conditional EMA and SMA functions to compute adaptive bands around a dynamic centerline. It supports two types:
- Type 1: The centerline updates when price exceeds the band thresholds; bands define acceptable drift ranges.
- Type 2: Uses quantized steps (via floor operations) relative to the previous centerline to handle larger moves in discrete increments.
- The engine offers smoothing for range values using a secondary EMA and can switch between raw and averaged outputs. Its hi/lo bands and centerline compose a corridor that defines directional movement and potential breakout confirmation.
Signal Construction
- The script computes:
- leadinglongcond and leadingshortcond : The primary directional signals from the chosen leading indicator.
- longCond and shortCond : Final signals formed by combining the leading conditions with all enabled confirmations. Each confirmation contributes a boolean gate. If a filter is disabled, it contributes a neutral pass-through, keeping the logic intact without enforcing that condition.
- Expiry Logic: The code counts consecutive bars where the leading condition remains true. If confirmations do not line up within the user-defined “Signal Expiry Candle Count,” the setup is abandoned and the signal does not trigger.
- Alternation: An optional state ensures that long and short signals alternate. This can reduce repeated entries in the same direction without a clear reset.
- Finally, longCondition and shortCondition represent the actionable signals after expiry and alternation logic. These drive the label plotting and alert conditions.
Visualization
- Buy and Sell Labels: When longCondition or shortCondition confirm, the script plots annotated labels directly on the chart, making entries easy to see at a glance. The labels use color coding and clear text tags (“long” vs. “short”).
- Dashboard: A table summarizes the status of the leading indicator and all confirmations. Each row shows the indicator label and whether it passed (✔️) or failed (❌) on the current bar. This intensely practical UI helps you diagnose why a signal did or did not trigger, empowering faster strategy iteration and parameter tuning.
- Failed Confirmation Markers: If a setup expires (count exceeds the limit) and confirmations failed to align, the script can mark the chart with a small label and provide a tooltip listing which confirmations did not pass. It’s a helpful audit trail to understand missed trades or prevent “chasing” invalid signals.
- Data Window Values: The script outputs signal states to the data window, which can be useful for debugging or building composite conditions in multi-indicator templates.
Inputs and Parameters
- You control the indicator from a comprehensive input panel:
- Setup: Signal expiry count, whether to enforce alternating signals, and whether to display labels and the dashboard (including position and size).
- Leading Indicator: Choose the primary signal generator from the large list.
- Per-Filter Toggles: For each confirmation, a respect... toggle enables or disables it. Many include sub-options (like MACD type, Stochastic mode, RSI mode, ADX variants, thresholds for choppiness/volatility, etc.) to fine-tune behavior.
- Range Filter Settings: Choose type and behavior; select default vs. DW mode and smoothing. The underlying functions adjust band sizes using ATR, average change, standard deviation, or user-defined scales.
- Because everything is customizable, you can adapt the indicator to different assets, volatility regimes, and timeframes.
Alerts and Automation
- The script defines alert conditions tied to longCondition and shortCondition . You can set these alerts in your chart to trigger notifications or webhook calls for automated execution in external bots. The alert text is simple, and you can configure your own message template when creating alerts in the chart, including JSON payloads for algorithmic integration.
Typical Workflow
- Select a Leading Indicator aligned with your style. For trend following, Supertrend or SSL may be appropriate; for momentum, MACD or TSI; for range/trend-change detection, Range Filter, RQK, or Donchian.
- Add a few key Confirmation Filters that complement the leading signal. For example:
- Pair Supertrend with EMA Filter and RSI MA Direction to ensure trend alignment and positive momentum.
- Combine MACD Crossover with ADX/DMI and Volume Above MA to avoid signals in low-trend or low-liquidity conditions.
- Use RQK with Choppiness Index and Damiani Volatility to only act when the market is trending and volatile enough.
- Set a sensible Signal Expiry Candle Count. Shorter expiry keeps entries timely and reduces lag; longer expiry captures setups that mature slowly.
- Observe the Dashboard during live markets to see which filters pass or fail, then iterate. Tighten or loosen thresholds and filter combinations as needed.
- For automation, turn on alerts for the final conditions and use webhook payloads to notify your trading robot.
Strengths and Practical Notes
- Flexibility: The indicator is a toolkit rather than a single rigid model. It lets you test different combinations rapidly and visualize outcomes immediately.
- Clarity: Labels, dashboard, and failed-confirmation markers make it easy to audit behavior and refine settings without digging into code.
- Robustness: The expiry and alternation options add discipline, avoiding the temptation to enter late or repeatedly in one direction without a reset.
- Modular Design: The logical gates (“respect…”) make the behavior transparent: if a filter is on, it must pass; if it’s off, the signal ignores it. This keeps reasoning clean.
- Avoiding Overfitting: Because you can stack many filters, it’s tempting to over-constrain signals. Start simple (one leading indicator and one or two confirmations). Add complexity only if it demonstrably improves your edge across varied market regimes.
Limitations and Recommendations
- No single configuration is universally optimal. Markets change; tune filters for the instrument and timeframe you trade and revisit settings periodically.
- Trend filters can underperform in choppy markets; likewise, momentum filters can false-trigger in quiet periods. Consider using Choppiness Index or Damiani to gate signals by regime.
- Use expiry wisely. Too short may miss good setups that need a few bars to confirm; too long may cause late entries. Balance responsiveness and accuracy.
- Always consider risk management externally (position sizing, stops, profit targets). The indicator focuses on signal quality; combining it with robust trade management methods will improve results.
Example Configurations
- Trend-Following Setup:
- Leading: Supertrend uptrend for longs and downtrend for shorts.
- Confirmations: EMA Filter (price above 200 EMA for long, below for short), ADX/DMI (trend strength above threshold with +DI/-DI alignment), Volume Above MA.
- Expiry: 3–4 bars to keep entries timely.
- Result: Strong bias toward sustained moves while avoiding weak trends and thin liquidity.
- Mean-Reversion to Momentum Crossover:
- Leading: RSI exits from OB/OS zones (e.g., RSI leaves oversold for long and leaves overbought for short).
- Confirmations: 2 EMA Cross (fast crossing slow in the same direction), MACD zero-line behavior for added momentum validation.
- Expiry: 2–3 bars for responsive re-entry.
- Result: Captures momentum transitions after short-term extremes, with extra confirmation to reduce head-fakes.
- Range Breakout Focus:
- Leading: Range Filter Type 2 or Donchian Trend Ribbon to detect breakouts.
- Confirmations: Damiani Volatility (avoid low-volatility false breaks), Choppiness Index (prefer trend-ready states), ROC positive/negative threshold.
- Expiry: 1–3 bars to act on breakout windows.
- Result: Better alignment to breakout dynamics, gating trades by volatility and regime.
Conclusion
- This indicator is a comprehensive, configurable framework that merges a chosen leading signal with an array of corroborating filters, disciplined expiry handling, and intuitive visualization. It’s designed to help you build high-quality entry signals tailored to your approach, whether that’s trend-following, breakout trading, momentum capturing, or a hybrid. By surfacing pass/fail states in a dashboard and allowing alert-based automation, it bridges the gap between discretionary analysis and systematic execution. With sensible parameter tuning and thoughtful filter selection, it can serve as a robust backbone for signal generation across diverse instruments and timeframes.
Enhanced OB Retest Strategy v7.0The OB Retest Strategy is a full Order Block retest trading system that detects, plots, and trades OB zones across multiple timeframes. It uses structure breaks, retrace depth, and ATR filters to identify strong reversal or continuation setups.
⸻
⚙️ Core Features
• Multi-timeframe OB detection using break-of-structure (BOS) logic
• Automatic zone creation for bullish and bearish order blocks
• Smart merging of overlapping OB zones
• Dynamic flip-zone logic that turns invalidated OBs into new zones
• Wick zone detection for high-precision entries
• ATR-based trailing stop and optional breakeven
• Adjustable retrace depth, breakout %, and ATR filters
• Built-in performance table showing PnL, win rate, and total trades
• Fully backtestable with date range and commission control
⸻
🧠 Logic Summary
1. Detects a BOS on the higher timeframe.
2. Identifies the last opposing candle as the valid OB.
3. Validates the OB based on ATR size and breakout strength.
4. Waits for price to retest the zone to a set depth.
5. Executes trades and manages exits using trailing stop or breakeven.
6. Flips invalidated zones automatically.
⸻
💡 Usage Tips
• Best used on 1H to 4H charts for swing setups.
• Tune ATR and breakout thresholds for your market’s volatility.
• Combine with higher-timeframe bias or liquidity levels for better accuracy.
⸻
⚠️ Notes
• For educational and testing purposes only.
• Backtested results do not predict future performance.
• Always test before live use.
Ronin Pro Trading SystemRonin Pro Trading System is a comprehensive multi-timeframe trading indicator that combines trend analysis, momentum confirmation, volume validation, and Elliott Wave structure to provide high-probability entry and exit signals. Designed for serious traders who want a systematic approach to market analysis.
6am Candle High/Low Indicator with Highlight6am Candle High/Low Indicator with Highlight
6am Candle High/Low Indicator with Highlight
6am Candle High/Low Indicator with Highlight
6am Candle High/Low Indicator with Highlight 6am Candle High/Low Indicator with Highlight
Alerts Killzones + PD/WL/ML Levels (No Labels)This indicator automatically highlights the London and New York killzones and triggers alerts at key price levels — without adding any labels or text clutter to the chart.
Features:
Highlights London (10:00–13:00) and New York (15:00–17:00) sessions (GMT+3, Romania).
Draws and updates key levels automatically:
PDH / PDL – Previous Day High & Low
WH / WL – Previous Week High & Low
MH / ML – Previous Month High & Low
Alerts when price touches any of these levels.
Alerts at session opens and closes for both London and New York.
Clean interface – no labels or extra markers on chart.
Ideal for:
Traders who follow ICT concepts, session-based setups, or liquidity sweeps and want precise alerts without chart noise.
SD Demand & Supply IndicatorSD Demand & Supply Indicator automatically identifies and displays demand and supply zones across multiple timeframes.
The indicator detects:
Demand Zones: Drop–Boring–Rally (DBR) and Rally–Boring–Rally (RBR) formations
Supply Zones: Rally–Boring–Drop (RBR) and Drop–Boring–Drop (DBD) formations
When a Demand Zone is detected, it plots a blue Label below the relevant boring candle. When a Supply Zone is detected, it plots a red Label above the relevant boring candle — making it easy to visualize potential reversal areas.
With built-in alert functionality, you can also set alerts on your preferred symbols and timeframes to get instant notifications whenever new Demand or Supply Zones are formed.
How the Script Works?
1. The script scans the price action of three to five consecutive candles to identify potential Demand and Supply patterns based on the open, High, Low and close prices.
2. The script evaluates every candle’s price movement based on set conditions to confirm a valid demand or supply pattern.
3. For demand cases, the script recognizes specific formations such as Drop– Boring –Rally (DBR) and Rally– Boring –Rally (RBR), which indicate potential buying zones.
4. For supply cases, it identifies Rally– Boring –Drop (RBD) and Drop– Boring –Drop (DBD) structures, indicate potential selling zones.
5. When a valid Demand Zone is detected, the script plots a Blue label below the relevant Boring candle.
6. When a valid Supply Zone is found, it plots a Red label above the relevant Boring candle.
7. The script includes an alert feature that notifies users in real-time whenever a valid demand or supply pattern is formed, allowing timely action
How Users can get benefited using this Script?
1. The labels and text plotted by the script help traders visually identify potential entry and exit points.
2. When a valid Demand Zone is detected and the price revisits it, it may indicate a potential bullish reversal.
3. When a valid Supply Zone is detected and the price revisits it, it may indicate a potential bearish reversal.
4. Users can integrate this script with other indicators, fundamental data, or sentiment analysis to confirm signals and make more informed decisions.
5. Traders should use proper risk management strategies, including stop-loss orders to limit losses and targets when the trade moves in their favor.
Settings Explained
1. Boring & Legin Ratio
This is the ratio between the Legin candle and the Boring candle.
A default value of 2 means the Legin candle size (High–Low) is twice the size (High–Low) of the Boring candle.
2. Leg-In & Leg-Out Ratio
This is the ratio of Legin candle and Legout candle.
A default value 2 means the Legout candle size (High-Low) is twice the size (High-Low) of the Legin candle.
3. Leg-In & Three-Leg-Out Ratio
This is the ratio of Legin candle and to the combined size of three Legout candles. A default value 2 means the overall size of the three Legout candles is twice that of the Legin candle.
4. Leg-In Body to Wick Ratio
It is the ratio between the body size of a candle and its total wick length.
A default value of 0.6 means that 60% of the total candle length should be the body.
Zone Selection Filters
1. All Possible Zones
Displays all types of zones, including with or without Clear Area and with or without True Range (TR) vs Average True Range (ATR) criteria
2. All Zones with TR Vs ATR
Shows all zones but with True Range (TR) vs Average True Range (ATR) criteria.
3. Clear Area Zone Only
It will show the Zone with Clear Area and either with or without TR Vs ATR compliance
Clear Area Zone – is considered when the body of the Legout candle does not overlap the Boring candle. In other words, the right side of the Boring candle area remains completely free
4. Clear Area Zone with TR vs ATR Compliance
It will show the Zone with Clear Area and with TR Vs ATR compliance
Note: No. 1 and 2 is suitable for Forex, and crypto market segment
No. 3 and 4 is suitable for commodity and stock market segment
What is TR Vs ATR Criteria?
TR (True Range) vs ATR (Average True Range) criteria is used to validate the strength of a Demand or Supply Zone and it is very important criteria.
For Legin Candle (first candle of the pattern from left) — TR value should be greater than the ATR value.
For Boring Candle (second candle of the pattern from left) — TR value should be smaller than the ATR value.
For Legout Candle (third ,fourth & fifth candle of the pattern from left) — TR value should again be greater than the ATR value,
Important:
Due to the high calculation effort, the history is limited to maximum 10 Zones in total. All zones prior to that will not be displayed so that chart remain clear. Once our indicator has started displaying a Zone, then zone will be visible until it exceeds maximum 10 Zone history. This indicator does not repaint. All signals remain fixed once a candle closes.
What Makes this Indicator Unique?
The Smart Dude Indicator stands out because it doesn’t just mark Demand and Supply Zones — it qualifies them using advanced candle behavior and volatility analysis by using TR Vs ATR analysis .
Unlike typical zone indicators that rely only on price structure, Smart Dude combines candle-to-candle ratio logic with TR vs ATR criteria
Why traders use this indicator?
This strategy is already being used by many experienced traders, including some of my close trading associates. They’ve seen results and even encouraged me to publish it so that more traders can benefit from it. The indicator combines key elements like candle ratio and TR vs ATR criteria, giving users a structured and reliable way to identify zones.
How this Indicator Is Original?
The Smart Dude Indicator is a fully original work — designed and coded from scratch with a unique logic structure.
It is not copied or derived from any existing open-source script.
Key points that make it unique and original:
Exclusive Candle Ratio Logic
TR vs ATR Integration
Clear Area Detection
Fully Hand-Written Logic
Every condition — from candle identification to ratio calculation and plotting — has been manually coded line by line without importing or modifying any existing public logic.
Disclaimer:
This indicator is only for educational purposes and that highlights potential market opportunities. It should not be treated as financial or investment advice.
Trading in financial markets involves risk. The indicator is designed to assist you in making more informed decisions but outcomes depend on your due intelligence and zone validation skills
Market Cycle Detector-By ParthibMarket Cycle Detector – by Parthib
This indicator provides a clear visual guide to market cycles for any asset or index you trade. It highlights bullish and bearish phases, helping you better manage your risk. By knowing the current market cycle at a glance, you can decide when to increase your exposure and when to be more cautious. Simply paste it on the chart of any script (Preferably INDEX's, I use CNX500)
you trade and let it assist in your risk management decisions.
Lanxang Swing Trade V.2- Suggested settings: Base SMA Strength: 38 - ATR Multipier: 3.4 - ATR Length: 100
TrendLinePro IndicatorTrendLinePro Indicator — Simple Market Direction & Flip Detector
The TrendLinePro Indicator combines the precision of Supertrend, Money Line, and Heikin Ashi logic to create a smooth, adaptive trend line that responds intelligently to volatility using the ATR (Average True Range).
When momentum shifts, TrendLinePro instantly highlights the flip level and labels the new trend direction — helping traders stay aligned with the market’s true structure and avoid misleading noise.
Key Features
Automatic Trend Detection
Quickly identifies whether the market is in a bullish or bearish phase with a seamless color transition.
Flip Level Marker
Shows the exact price level where sentiment flipped — the line updates live as new candles form.
Visual Clarity
Green line for bullish conditions, red for bearish — clean, intuitive, and easy to read.
Smart Labels
“Bullish” and “Bearish” markers automatically appear at each reversal for instant visual confirmation.
Alerts Ready
Get notified the moment a flip occurs — stay informed without watching charts all day.
Clean Design
Minimalist and optimized for visibility — integrates effortlessly with any chart setup.
How to Use
Use the line’s direction and flips to time entries and exits with confidence.
Combine with support/resistance, volume, or order block tools for added confluence.
Adjust ATR Length and Factor to fine-tune responsiveness to your trading style.
For swing trading, the 4H or Daily chart offers the highest reliability.
For scalping, reduce the ATR period for quicker, more responsive flips.
Website: trendlineproindicator.com
The Vishnu Zone Ver 2 by Dr. Sudhir Khollam## 📜 **The Vishnu Zone — Trade When the Brahma Zone Ends**
**Author:** Dr. Sudhir Khollam (SALSA© Method of Astrology & Market Psychology)
**Category:** Volatility Phase Detection / Bollinger Band Expansion Analysis
---
### 🔶 **Concept Overview**
In the **SALSA© Market Philosophy**, every market phase follows a cosmic rhythm —
* **Brahma Phase** represents *creation and expansion* (high volatility and strong directional movement).
* **Vishnu Phase** represents *maintenance and stability* (where expansion cools down and balanced opportunities appear).
**“The Vishnu Zone”** indicator identifies the exact moments when the **Brahma Phase ends** — signaling that the expansion has completed and the market is likely to enter a more stable, tradable state.
This is a **precision-timing indicator** that helps traders avoid entering at the end of impulsive phases and instead prepare for equilibrium-based trades (mean reversion, range setups, or steady trends).
---
### ⚙️ **How It Works**
The indicator measures **Bollinger Band Width (BBW)** to quantify expansion and contraction in volatility.
1. It calculates the **adaptive expansion threshold** using the average BBW over a rolling lookback period.
2. When the current BBW **drops below** this adaptive threshold **after being above it**, the script marks it as the **end of the Brahma Phase**.
3. This moment is shown visually as:
* 🕉 **“Vishnu” label** above the candle
* A **horizontal dotted line** extending for several bars
Together, these mark a **Vishnu Zone**, where the market transitions from expansion to consolidation — an ideal time for stabilization or entry planning.
---
### 📊 **Inputs & Settings**
| Parameter | Description |
| ---------------------------------- | ------------------------------------------------------------------------------ |
| **Bollinger Band Length** | The number of bars used for SMA and standard deviation (default 20). |
| **Bollinger Multiplier** | Determines the width of Bollinger Bands (default 2.0). |
| **Adaptive Lookback Period** | Rolling window to calculate the mean BBW for dynamic adjustment (default 150). |
| **Expansion Multiplier** | Multiplies the mean BBW to define the expansion threshold (default 1.35). |
| **Horizontal Line Extension Bars** | Number of bars to extend the Vishnu Zone line into the future (default 40). |
| **Show End-of-Brahma Labels?** | Toggle 🕉 labels on/off. |
| **Show Horizontal Lines?** | Toggle Vishnu Zone lines on/off. |
---
### 🔔 **Alerts**
When the **Brahma Phase ends**, the indicator triggers an alert:
> *“Brahma Phase Ends, Vishnu has taken over.”*
This helps traders receive real-time notification of volatility contraction and possible entry zones.
---
### 🧠 **Best Practices**
* Works effectively on **5-minute to 1-hour timeframes** for intraday trading.
* Best paired with **momentum or volume filters** to confirm trend exhaustion.
* Avoid entering during rapid expansion (Brahma phase). Wait for a Vishnu signal to ensure market stabilization.
---
### 🌌 **Philosophical Interpretation (SALSA© Principle)**
Just as Vishnu sustains the universe after Brahma’s creation, the market too enters a **maintenance phase** after every burst of expansion.
Recognizing this shift allows traders to align with **cosmic rhythm and price psychology**, not just technical metrics.
---
### 🧩 **Summary**
✅ Detects when expansion volatility ends
✅ Marks transition zones between impulsive and stable phases
✅ Sends real-time alerts
✅ Adaptive and self-adjusting across markets and assets
✅ Simple, clean visualization — ideal for disciplined trading
---
### ⚡ **Use Case**
Perfect for traders who:
* Prefer **low-risk entries** after volatility spikes
* Trade **mean reversion**, **range breakouts**, or **volatility collapses**
* Believe in the **cyclic nature of market energy**
---
ADR + MOVE BoxADR + Move 20 day average Box for any ticker. Calculates the average daily range as well as the absolute delta from open to close. For Full day as well as NY session only
Previous day high lowThis script Identifies and draw Previous day High low on 15 min Intra day chart
Ronin Ichimoku Analyzer ProA comprehensive trading indicator combining traditional Ichimoku Cloud analysis with MACD momentum confirmation and intelligent signal scoring. Designed for TradingView Pine Script v6, this tool provides automated verdict generation and real-time visual signals.
1. Ichimoku Cloud System
Tenkan-sen: 9-period midpoint, short-term trend
Kijun-sen: 26-period midpoint, main trend line
Senkou Span A & B: Forward cloud, support/resistance
Chikou Span: 26-period lag for confirmation
Kumo Twist: Detects upcoming trend reversals
2. Multi-Indicator Confirmation
TK Cross: Golden/Death cross with cloud context
Cloud Position: Bullish (above), Bearish (below), Neutral (inside)
Three-Line Agreement: Confirms price, TK, Chikou, cloud color
MACD Check: Cross + histogram momentum strength
3. Verdict Engine
Weighted signal scoring:
Strong Bullish / Bullish / Neutral / Bearish / Strong Bearish
Dead Zone: Price in cloud
High Risk: Multiple warnings
4. Visual Signals
Markers: ▲ Golden Cross, ▼ Death Cross, ☁️ Cloud breakouts, 🔄 Kumo twist alerts
Dashboard: Color verdict (lime/red/orange), signal strength, cloud thickness, trading tips
5. Advanced Logic
Flat-line detection (0.1% threshold over 5 bars)
MACD momentum tracking (expand/contract/flat)
Zero-division safety in calculations
GainzAlgo Standard🧠 GainzAlgo Standard — Intelligent Multi-Filter Signal System
GainzAlgo Standard is a non-repainting signal system that identifies potential market reversals with structured precision. It does this by combining four analytical layers—candlestick structure, volatility dynamics, RSI momentum confirmation, and short-term trend analysis—into a single, cohesive decision process.
Unlike mashups that simply merge indicators, GainzAlgo integrates these components through conditional sequencing, where each layer must confirm the previous one before a signal is produced. This logical progression filters out noise and isolates high-probability reversal zones.
🔍 How It Works
1. Candlestick Reversal Detection
The algorithm first identifies key reversal structures (e.g., bullish or bearish engulfing patterns). These mark initial signs of exhaustion in directional momentum.
2. Volatility & Range Validation
Each detected candle is evaluated against a dynamically calculated volatility threshold. Only moves exceeding recent average true range or relative candle body strength are considered valid. This ensures weak or indecisive candles are excluded.
3. RSI Momentum Confirmation
The algorithm checks whether the RSI supports the expected direction:
● Bullish setups require RSI recovery from below the mid-range (typically < 50).
● Bearish setups require RSI rejection from above mid-range (> 50).
This momentum filter prevents counter-trend false positives.
4. 5-Bar Trend Context Filter
Finally, GainzAlgo assesses short-term trend direction by comparing the slope and structure of the last five bars. Reversal signals are plotted only if the prior trend contradicts the new signal direction, confirming a genuine shift rather than minor consolidation noise.
Each stage builds upon the previous one, forming a multi-layered validation pipeline. This design means a single noisy candle or RSI fluctuation cannot trigger a signal—only a consensus among volatility, structure, and momentum can.
⚙ Key Features
● ✅ Non-repainting: Signals are calculated and confirmed at bar close.
● 📊 Adaptive logic: Conditions automatically adjust to volatility changes.
● 🌍 Universal compatibility: Works across stocks, forex, crypto, indices, and commodities.
● ⏰ Multi-timeframe ready: Optimized for both intraday and swing analysis.
● 🎯 Signal clarity: Reduces noise through four-step confirmation logic.
📘 How to Use
1. Apply GainzAlgo Standard to your preferred chart and timeframe.
2. Wait for the plotted BUY (✅) or SELL (❌) labels.
3. Use these as confirmation or timing tools within your own strategy.
4. Always complement signals with independent risk management and higher-timeframe context.
💡 Originality & Concept
While the underlying components—candlestick patterns, RSI, volatility measures—are familiar tools, GainzAlgo’s originality lies in its hierarchical sequencing and conditional logic.
Instead of treating these indicators as parallel confirmations, GainzAlgo processes them in a defined order, where failure at any stage cancels the setup. This structured logic mimics discretionary decision-making used by professional traders, but automates it with strict, reproducible criteria.
The result is a systematic reversal detector that improves clarity, reduces over-signaling, and adapts to multiple market conditions.
🔒 Vendor Justification
GainzAlgo Standard is offered as an invite-only tool because it contains proprietary weighting and sequencing logic that determines which pattern and volatility interactions qualify as valid setups.
This logic is not available in public indicators and is designed to help traders:
● Identify cleaner reversal opportunities with less chart clutter.
● Quantify signal confidence through layered confirmations.
● Apply consistent logic across markets without manual tuning.
⚠ Disclaimer: GainzAlgo Standard is an analytical tool for educational purposes. It does not guarantee trading results. Always use proper risk management.
Major Trading Sessions IndicatorsThis indicator displays vertical lines on your chart to mark the opening times of the major global trading sessions (Tokyo, Shanghai/HK, London, and New York). As a crypto trader I want to find price action patterns after sessions open.
It's fully customizable and extendable (you could add closing time for sessions as well)
Works best on short timeframes.
Features:
6 configurable vertical lines (4 preset for major sessions + 2 custom)
Each line shows a customizable label (e.g., "Tokyo", "London")
Individual time and color settings for each line
UTC offset for each line to handle Daylight Saving Time
Option to fix all labels at a specific price level for cleaner appearance (need to set and save it for each chart, it becomes a mess if you don't). Default behavior and limit of Pine Script is that it will be attached to the price wick.
Default Sessions:
Tokyo: 00:00 UTC (midnight)
Shanghai/HK: 01:30 UTC
London: 08:00 UTC (winter) - adjust offset to +1 for summer
New York: 13:00 UTC (winter) - adjust offset to -4 for summer
DST Adjustments:
Simply change the UTC offset when daylight saving time begins/ends:
London: 0 (winter) or +1 (summer)
New York: -5 (winter) or -4 (summer)
Lines extend from top to bottom of the chart and appear precisely when each session opens.
My preferred configuration: shorten names and reduce opacity of colors to 20-30%.
TriAnchor Elastic Reversion US Market SPY and QQQ adaptedSummary in one paragraph
Mean-reversion strategy for liquid ETFs, index futures, large-cap equities, and major crypto on intraday to daily timeframes. It waits for three anchored VWAP stretches to become statistically extreme, aligns with bar-shape and breadth, and fades the move. Originality comes from fusing daily, weekly, and monthly AVWAP distances into a single ATR-normalized energy percentile, then gating with a robust Z-score and a session-safe gap filter.
Scope and intent
• Markets: SPY QQQ IWM NDX large caps liquid futures liquid crypto
• Timeframes: 5 min to 1 day
• Default demo: SPY on 60 min
• Purpose: fade stretched moves only when multi-anchor context and breadth agree
• Limits: strategy uses standard candles for signals and orders only
Originality and usefulness
• Unique fusion: tri-anchor AVWAP energy percentile plus robust Z of close plus shape-in-range gate plus breadth Z of SPY QQQ IWM
• Failure mode addressed: chasing extended moves and fading during index-wide thrusts
• Testability: each component is an input and visible in orders list via L and S tags
• Portable yardstick: distances are ATR-normalized so thresholds transfer across symbols
• Open source: method and implementation are disclosed for community review
Method overview in plain language
Base measures
• Range basis: ATR(length = atr_len) as the normalization unit
• Return basis: not used directly; we use rank statistics for stability
Components
• Tri-Anchor Energy: squared distances of price from daily, weekly, monthly AVWAPs, each divided by ATR, then summed and ranked to a percentile over base_len
• Robust Z of Close: median and MAD based Z to avoid outliers
• Shape Gate: position of close inside bar range to require capitulation for longs and exhaustion for shorts
• Breadth Gate: average robust Z of SPY QQQ IWM to avoid fading when the tape is one-sided
• Gap Shock: skip signals after large session gaps
Fusion rule
• All required gates must be true: Energy ≥ energy_trig_prc, |Robust Z| ≥ z_trig, Shape satisfied, Breadth confirmed, Gap filter clear
Signal rule
• Long: energy extreme, Z negative beyond threshold, close near bar low, breadth Z ≤ −breadth_z_ok
• Short: energy extreme, Z positive beyond threshold, close near bar high, breadth Z ≥ +breadth_z_ok
What you will see on the chart
• Standard strategy arrows for entries and exits
• Optional short-side brackets: ATR stop and ATR take profit if enabled
Inputs with guidance
Setup
• Base length: window for percentile ranks and medians. Typical 40 to 80. Longer smooths, shorter reacts.
• ATR length: normalization unit. Typical 10 to 20. Higher reduces noise.
• VWAP band stdev: volatility bands for anchors. Typical 2.0 to 4.0.
• Robust Z window: 40 to 100. Larger for stability.
• Robust Z entry magnitude: 1.2 to 2.2. Higher means stronger extremes only.
• Energy percentile trigger: 90 to 99.5. Higher limits signals to rare stretches.
• Bar close in range gate long: 0.05 to 0.25. Larger requires deeper capitulation for longs.
Regime and Breadth
• Use breadth gate: on when trading indices or broad ETFs.
• Breadth Z confirm magnitude: 0.8 to 1.8. Higher avoids fighting thrusts.
• Gap shock percent: 1.0 to 5.0. Larger allows more gaps to trade.
Risk — Short only
• Enable short SL TP: on to bracket shorts.
• Short ATR stop mult: 1.0 to 3.0.
• Short ATR take profit mult: 1.0 to 6.0.
Properties visible in this publication
• Initial capital: 25000USD
• Default order size: Percent of total equity 3%
• Pyramiding: 0
• Commission: 0.03 percent
• Slippage: 5 ticks
• Process orders on close: OFF
• Bar magnifier: OFF
• Recalculate after order is filled: OFF
• Calc on every tick: OFF
• request.security lookahead off where used
Realism and responsible publication
• No performance claims. Past results never guarantee future outcomes
• Fills and slippage vary by venue
• Shapes can move during bar formation and settle on close
• Standard candles only for strategies
Honest limitations and failure modes
• Economic releases or very thin liquidity can overwhelm mean-reversion logic
• Heavy gap regimes may require larger gap filter or TR-based tuning
• Very quiet regimes reduce signal contrast; extend windows or raise thresholds
Open source reuse and credits
• None
Strategy notice
Orders are simulated by TradingView on standard candles. request.security uses lookahead off where applicable. Non-standard charts are not supported for execution.
Entries and exits
• Entry logic: as in Signal rule above
• Exit logic: short side optional ATR stop and ATR take profit via brackets; long side closes on opposite setup
• Risk model: ATR-based brackets on shorts when enabled
• Tie handling: stop first when both could be touched inside one bar
Dataset and sample size
• Test across your visible history. For robust inference prefer 100 plus trades.
Aurum DCX AVE Gold and Silver StrategySummary in one paragraph
Aurum DCX AVE is a volatility break strategy for gold and silver on intraday and swing timeframes. It aligns a new Directional Convexity Index with an Adaptive Volatility Envelope and an optional USD/DXY bias so trades appear only when direction quality and expansion agree. It is original because it fuses three pieces rarely combined in one model for metals: a convexity aware trend strength score, a percentile based envelope that widens with regime heat, and an intermarket DXY filter.
Scope and intent
• Markets. Gold and silver futures or spot, other liquid commodities, major indices
• Timeframes. Five minutes to one day. Defaults to 30min for swing pace
• Default demo used in this publication. TVC:GOLD on 30m
• Purpose. Enter confirmed volatility breaks while muting chop using regime heat and USD bias
• Limits. This is a strategy. Orders are simulated on standard candles only
Originality and usefulness
• Unique fusion. DCX combines DI strength with path efficiency and curvature. AVE blends ATR with a high TR percentile and widens with DCX heat. DXY adds an intermarket bias
• Failure mode addressed. False starts inside compression and unconfirmed breakouts during USD swings
• Testability. Each component has a named input. Entry names L and S are visible in the list of trades
• Portable yardstick. Weekly ATR for stops and R multiples for targets
• Open source. Method and implementation are disclosed for community review
Method overview in plain language
You score direction quality with DCX, size an adaptive envelope with a blend of ATR and a high TR percentile, and only allow breaks that clear the band while DCX is above a heat threshold in the same direction. An optional DXY filter favors long when USD weakens and short when USD strengthens. Orders are bracketed with a Weekly ATR stop and an R multiple target, with optional trailing to the envelope.
Base measures
• Range basis. True Range and ATR over user windows. A high TR percentile captures expansion tails used by AVE
• Return basis. Not required
Components
• Directional Convexity Index DCX. Measures directional strength with DX, multiplies by path efficiency, blends a curvature term from acceleration, scales to 0 to 100, and uses a rise window
• Adaptive Volatility Envelope AVE. Midline ALMA or HMA or EMA plus bands sized by a blend of ATR and a high TR percentile. The blend weight follows volatility of volatility. Band width widens with DCX heat
• DXY Bias optional. Daily EMA trend of DXY. Long bias when USD weakens. Short bias when USD strengthens
• Risk block. Initial stop equals Weekly ATR times a multiplier. Target equals an R multiple of the initial risk. Optional trailing to AVE band
Fusion rule
• All gates must pass. DCX above threshold and rising. Directional lead agrees. Price breaks the AVE band in the same direction. DXY bias agrees when enabled
Signal rule
• Long. Close above AVE upper and DCX above threshold and DCX rising and plus DI leads and DXY bias is bearish
• Short. Close below AVE lower and DCX above threshold and DCX falling and minus DI leads and DXY bias is bullish
• Exit and flip. Bracket exit at stop or target. Optional trailing to AVE band
Inputs with guidance
Setup
• Symbol. Default TVC:GOLD (Correlation Asset for internal logic)
• Signal timeframe. Blank follows the chart
• Confirm timeframe. Default 1 day used by the bias block
Directional Convexity Index
• DCX window. Typical 10 to 21. Higher filters more. Lower reacts earlier
• DCX rise bars. Typical 3 to 6. Higher demands continuation
• DCX entry threshold. Typical 15 to 35. Higher avoids soft moves
• Efficiency floor. Typical 0.02 to 0.06. Stability in quiet tape
• Convexity weight 0..1. Typical 0.25 to 0.50. Higher gives curvature more influence
Adaptive Volatility Envelope
• AVE window. Typical 24 to 48. Higher smooths more
• Midline type. ALMA or HMA or EMA per preference
• TR percentile 0..100. Typical 75 to 90. Higher favors only strong expansions
• Vol of vol reference. Typical 0.05 to 0.30. Controls how much the percentile term weighs against ATR
• Base envelope mult. Typical 1.4 to 2.2. Width of bands
• Regime adapt 0..1. Typical 0.6 to 0.95. How much DCX heat widens or narrows the bands
Intermarket Bias
• Use DXY bias. Default ON
• DXY timeframe. Default 1 day
• DXY trend window. Typical 10 to 50
Risk
• Risk percent per trade. Reporting field. Keep live risk near one to two percent
• Weekly ATR. Default 14. Basis for stops
• Stop ATR weekly mult. Typical 1.5 to 3.0
• Take profit R multiple. Typical 1.5 to 3.0
• Trail with AVE band. Optional. OFF by default
Properties visible in this publication
• Initial capital. 20000
• Base currency. USD
• request.security lookahead off everywhere
• Commission. 0.03 percent
• Slippage. 5 ticks
• Default order size method percent of equity with value 3% of the total capital available
• Pyramiding 0
• Process orders on close ON
• Bar magnifier ON
• Recalculate after order is filled OFF
• Calc on every tick OFF
Realism and responsible publication
• No performance claims. Past results never guarantee future outcomes
• Shapes can move while a bar forms and settle on close
• Strategies use standard candles for signals and orders only
Honest limitations and failure modes
• Economic releases and thin liquidity can break assumptions behind the expansion logic
• Gap heavy symbols may prefer a longer ATR window
• Very quiet regimes can reduce signal contrast. Consider higher DCX thresholds or wider bands
• Session time follows the exchange of the chart and can change symbol to symbol
• Symbol sensitivity is expected. Use the gates and length inputs to find stable settings
Open source reuse and credits
• None
Mode
Public open source. Source is visible and free to reuse within TradingView House Rules
Legal
Education and research only. Not investment advice. You are responsible for your decisions. Test on historical data and in simulation before any live use. Use realistic costs.
FluxGate Daily Swing StrategySummary in one paragraph
FluxGate treats long and short as different ecosystems. It runs two independent engines so the long side can be bold when the tape rewards upside persistence while the short side can stay selective when downside is messy. The core reads three directional drivers from price geometry then removes overlap before gating with clean path checks. The complementary risk module anchors stop distance to a higher timeframe ATR so a unit means the same thing on SPY and BTC. It can add take profit breakeven and an ATR trail that only activates after the trade earns it. If a stop is hit the strategy can re enter in the same direction on the next bar with a daily retry cap that you control. Add it to a clean chart. Use defaults to see the intended behavior. For conservative workflows evaluate on bar close.
Scope and intent
• Markets. Large cap equities and liquid ETFs major FX pairs US index futures and liquid crypto pairs
• Timeframes. From one minute to daily
• Default demo in this publication. SPY on one day timeframe
• Purpose. Reduce false starts without missing sustained trends by fusing independent drivers and suppressing activity when the path is noisy
• Limits. This is a strategy. Orders are simulated on standard candles. Non standard chart types are not supported for execution
Originality and usefulness
• Unique fusion. FluxGate extracts three drivers that look at price from different angles. Direction measures slope of a smoothed guide and scales by realized volatility so a point of slope does not mean a different thing on different symbols. Persistence looks at short sign agreement to reward series of closes that keep direction. Curvature measures the second difference of a local fit to wake up during convex pushes. These three are then orthonormalized so a strong reading in one does not double count through another.
• Gates that matter. Efficiency ratio prefers direct paths over treadmills. Entropy turns up versus down frequency into an information read. Light fractal cohesion punishes wrinkly paths. Together they slow the system in chop and allow it to open up when the path is clean.
• Separate long and short engines. Threshold tilts adapt to the skew of score excursions. That lets long engage earlier when upside distribution supports it and keeps short cautious where downside surprise and venue frictions are common.
• Practical risk behavior. Stops are ATR anchored on a higher timeframe so the unit is portable. Take profit is expressed in R so two R means the same concept across symbols. Breakeven and trailing only activate after a chosen R so early noise does not squeeze a good entry. Re entry after stop lets the system try again without you babysitting the chart.
• Testability. Every major window and the aggression controls live in Inputs. There is no hidden magic number.
Method overview in plain language
Base measures
• Return basis. Natural log of close over prior close for stability and easy aggregation through time. Realized volatility is the standard deviation of returns over a moving window.
• Range basis for risk. ATR computed on a higher timeframe anchor such as day week or month. That anchor is steady across venues and avoids chasing chart specific quirks.
Components
• Directional intensity. Use an EMA of typical price as a guide. Take the day to day slope as raw direction. Divide by realized volatility to get a unit free measure. Soft clip to keep outliers from dominating.
• Persistence. Encode whether each bar closed up or down. Measure short sign agreement so a string of higher closes scores better than a jittery sequence. This favors push continuity without guessing tops or bottoms.
• Curvature. Fit a short linear regression and compute the second difference of the fitted series. Strong curvature flags acceleration that slope alone may miss.
• Efficiency gate. Compare net move to path length over a gate window. Values near one indicate direct paths. Values near zero indicate treadmill behavior.
• Entropy gate. Convert up versus down frequency into a probability of direction. High entropy means coin toss. The gate narrows there.
• Fractal cohesion. A light read of path wrinkliness relative to span. Lower cohesion reduces the urge to act.
• Phase assist. Map price inside a recent channel to a small signed bias that grows with confidence. This helps entries lean toward the right half of the channel without becoming a breakout rule.
• Shock control. Compare short volatility to long volatility. When short term volatility spikes the shock gate temporarily damps activity so the system waits for pressure to normalize.
Fusion rule
• Normalize the three drivers after removing overlap
• Blend with weights that adapt to your aggression input
• Multiply by the gates to respect path quality
• Smooth just enough to avoid jitter while keeping timing responsive
• Compute an adaptive mean and deviation of the score and set separate long and short thresholds with a small tilt informed by skew sign
• The result is one long score and one short score that can cross their thresholds at different times for the same tape which is a feature not a bug
Signal rule
• A long suggestion appears when the long score crosses above its long threshold while all gates are active
• A short suggestion appears when the short score crosses below its short threshold while all gates are active
• If any required gate is missing the state is wait
• When a position is open the status is in long or in short until the complementary risk engine exits or your entry mode closes and flips
Inputs with guidance
Setup Long
• Base length Long. Master window for the long engine. Typical range twenty four to eighty. Raising it improves selectivity and reduces trade count. Lowering it reacts faster but can increase noise
• Aggression Long. Zero to one. Higher values make thresholds more permissive and shorten smoothing
Setup Short
• Base length Short. Master window for the short engine. Typical range twenty eight to ninety six
• Aggression Short. Zero to one. Lower values keep shorts conservative which is often useful on upward drifting symbols
Entries and UI
• Entry mode. Both or Long only or Short only
Complementary risk engine
• Enable risk engine. Turns on bracket exits while keeping your signal logic untouched
• ATR anchor timeframe. Day Week or Month. This sets the structural unit of stop distance
• ATR length. Default fourteen
• Stop multiple. Default one point five times the anchor ATR
• Use take profit. On by default
• Take profit in R. Default two R
• Breakeven trigger in R. Default one R
Usage recipes
Intraday trend focus
• Entry mode Both
• ATR anchor Week
• Aggression Long zero point five Aggression Short zero point three
• Stop multiple one point five Take profit two R
• Expect fewer trades that stick to directional pushes and skip treadmill noise
Intraday mean reversion focus
• Session windows optional if you add them in your copy
• ATR anchor Day
• Lower aggression both sides
• Breakeven later and trailing later so the first bounce has room
• This favors fade entries that still convert into trends when the path stays clean
Swing continuation
• Signal timeframe four hours or one day
• Confirm timeframe one day if you choose to include bias
• ATR anchor Week or Month
• Larger base windows and a steady two R target
• This accepts fewer entries and aims for larger holds
Properties visible in this publication
• Initial capital 25.000
• Base currency USD
• Default order size percent of equity value three - 3% of the total capital
• Pyramiding zero
• Commission zero point zero three percent - 0.03% of total capital
• Slippage five ticks
• Process orders on close off
• Recalculate after order is filled off
• Calc on every tick off
• Bar magnifier off
• Any request security calls use lookahead off everywhere
Realism and responsible publication
• No performance promises. Past results never guarantee future outcomes
• Fills and slippage vary by venue and feed
• Strategies run on standard candles only
• Shapes can update while a bar is forming and settle on close
• Keep risk per trade sensible. Around one percent is typical for study. Above five to ten percent is rarely sustainable
Honest limitations and failure modes
• Sudden news and thin liquidity can break assumptions behind entropy and cohesion reads
• Gap heavy symbols often behave better with a True Range basis for risk than a simple range
• Very quiet regimes can reduce score contrast. Consider longer windows or higher thresholds when markets sleep
• Session windows follow the exchange time of the chart if you add them
• If stop and target can both be inside a single bar this strategy prefers stop first to keep accounting conservative
Open source reuse and credits
• No reused open source beyond public domain building blocks such as ATR EMA and linear regression concepts
Legal
Education and research only. Not investment advice. You are responsible for your decisions. Test on history and in simulation with realistic costs
Match on Selectable Percentage Change + RangeIndicator Overview:
Match on Selectable Percentage Change + Range is a powerful analytical tool designed for traders and analysts who want to identify historical price bars that match a specific percentage variation, and then evaluate how price evolved in the following days. It combines precision filtering with visual tabular feedback, making it ideal for pattern recognition, backtesting, and scenario analysis.
What It Does
This indicator scans historical bars to find instances where the percentage change between two consecutive closes matches a user-defined target (± a customizable tolerance). Once matches are found, it displays:
The date of each match (most recent first)
The actual variation searched
The percentage change after 2, 10, 20, and 30 bars
The min-max range (in %) over those same periods
All results are shown in a dynamic table directly on the chart.
Inputs & Controls
Input Description
Which variation do you want to analyze? (%)
Set the target percentage change to look for (e.g. 2.5%)
% deviation from the variation to be considered (%) Define the tolerance range around the target (e.g. ±0.5%)
Bars to analyze (max 9999) Set how many past bars to scan
Show match table Toggle to enable/disable the entire table
Show percentage variations (2d, 10d, 20d, 30d) Toggle to show/hide post-match percentage changes
Show min-max ranges (2d, 10d, 20d, 30d) Toggle to show/hide post-match high/low ranges
Table Structure
Each row in the table represents a historical match. Columns include:
Date: When the match occurred
Variation in: The actual % change that triggered the match
2d / 10d / 20d / 30d: % change after those days
Min-Max 2d / 10d / 20d / 30d: Range of price movement after those days
Color coding helps quickly identify bullish (green) vs bearish (red) outcomes.
Use Cases
Backtesting: See how similar past moves evolved over time
Scenario modeling: Estimate potential outcomes after a known variation
Pattern recognition: Spot recurring setups or volatility clusters
Risk analysis: Understand post-variation drawdowns and upside potential
Tips for Use
Use tighter deviation (e.g. 0.3%) for precision, or wider (e.g. 1%) for broader pattern capture.
Combine with other indicators to validate setups (e.g. volume, RSI, trend filters).
Toggle off variation or range columns to focus only on the metrics you need.






















