BankNifty Aggregate Weighted OBVDescription-
This indicator calculates the aggregate On Balance Volume (OBV) of the entire Bank Nifty Index by analyzing its 12 individual constituents rather than the index futures volume.
Why is this different?
Standard OBV on the Bank Nifty Index usually analyzes the volume of the Index Futures or the raw index volume (which can be inaccurate or derivative-heavy). This script queries the real-time volume and price action of the 12 specific banks that make up the index (HDFC, ICICI, SBI, Axis, Kotak, etc.).
How it works-
Weighted Calculation:- It calculates the Net Flow (Volume * Weightage) for every single bank for the current bar.
Aggregation:- It sums the Net Flow of all 12 banks to create a "Total Sector Flow."
Accumulation:- It generates the OBV line based on this aggregated sector flow.
Normalization:- Unlike simple summation scripts, this calculates flow per bar before accumulating, ensuring that stocks with longer trading histories do not skew the data.
Features:
Customizable Weights:- Users can adjust the weightage of each bank if NSE rebalances the index.
Toggle Constituents:- You can turn specific banks on/off to see their impact.
Signal Line:- Includes an SMA/EMA signal line to help identify volume trend reversals.
Trend Coloring:- The fill color changes (Green/Red) based on the OBV's position relative to the signal line.
How to use:
Trend Confirmation: If Bank Nifty price is rising but this Weighted OBV is falling, it indicates a divergence and potential weakness in the move (lack of institutional participation).
Breakouts: Use the Signal Line crossover to validate breakout moves.
Análise de Tendência
Alper-EMAAlper-EMA
Description:
This indicator allows you to display 5 customizable EMAs (Exponential Moving Averages) on a single chart. Each EMA can be configured independently with length, color, visibility, and calculation timeframe.
Features:
5 fully customizable EMAs
Set individual length and color for each EMA
Toggle visibility for each EMA
Multi-timeframe calculation: e.g., display EMA300 calculated on a 30-minute timeframe while viewing a 1-minute chart
Labels display EMA period and timeframe for clarity
Adjustable label size: tiny / small / normal / large
Clear and readable plot lines
Use Cases:
Monitor multiple timeframe EMAs simultaneously
Analyze trend and support/resistance levels
Track EMA crossovers for strategy development
Note:
This indicator is suitable for both short-term (scalping) and medium-to-long term analysis. The multi-timeframe feature allows you to see different EMA perspectives on a single chart quickly.
DTR Volume TrendDTR Volume Trend is a volume-based oscillator designed to measure trend strength, momentum shifts, and mean-reversion opportunities using volume-weighted price data. The indicator analyzes recent volume profiles, VWAP deviation, and smoothed signals to create a responsive oscillator that adapts to market conditions.
Key Features:
- Volume-weighted oscillator based on VWAP and volume distribution.
- Mean reversion mode to detect when price deviates strongly from its volume-weighted average.
- Adaptive midline that adjusts automatically to recent oscillator behavior.
- Bull and bear zones that highlight potential exhaustion or reversal areas.
- Fast and slow signal lines to show momentum changes through crossovers.
- Optional bar coloring to highlight bullish or bearish conditions on the chart.
How to Use:
- When the oscillator is above the midline, momentum tends to be bullish.
- When it is below the midline, momentum tends to be bearish.
- Upper zones may indicate overbought or exhaustion levels.
- Lower zones may indicate oversold or accumulation levels.
- Crossovers between fast and slow signals can highlight early trend or momentum shifts.
Best For:
- Trend confirmation
- Mean-reversion strategies
- Identifying momentum changes
- Spotting volume-driven extremes
KVS-Ultimate FVG & iFVG System [MTF + Distance Filter]Description: This indicator identifies Fair Value Gaps (FVG) and Inversion FVGs (iFVG) across multiple timeframes (MTF) with an advanced visualization system. Unlike standard FVG indicators, this script solves the "chart clutter" problem with a unique Distance Filter and offers a customizable Split Label System.
Key Features:
1. Unique Distance Filter (Clean Screen Mode):
When enabled, the script only shows the closest FVGs to the current price within a user-defined limit.
Keeps your chart clean while focusing on relevant price action levels.
2. Split Label System (Tabular Design):
Completely customizable label positioning, sizing, and coloring.
Separate controls for Normal FVGs and iFVGs.
Smart Label Logic: If you hide the FVG box, its label automatically hides. If an FVG breaks and becomes an iFVG (or fades), the label logic switches automatically to the iFVG settings.
3. Strict Mode Filtering:
Enabled: Checks if the candle closing price effectively breaks the previous structure (High/Low of the 1st candle), ensuring high-quality gaps.
Disabled: Detects all gaps between wicks (Standard calculation).
4. Multi-Timeframe (MTF) Support:
Monitor FVGs from up to 5 different timeframes simultaneously on a single chart.
5. Dynamic Interaction:
Choose how the script reacts when an FVG is broken: Turn it into an iFVG (Inversion) or simply fade the color (Ghost/Fade mode).
How to Use:
Use the "Distance Filter" checkbox in settings to clean up old/far blocks.
Adjust "TF1" to "TF5" to set up your multi-timeframe analysis.
Customize the Label Panel to align text perfectly with your chart style.
Disclaimer: This tool is for educational purposes and support for technical analysis.
Digs Special Buy Sell Alert based on RSI and ADX and ema
Buy Signal
1. Above EMA 33 high
2. Above RSI 55
3. +di > -di and above 25
Sell Signal
1. Below EMA 33 low
2. Below RSI 45
3. -di < + di and -DI > 25
FX COT (TT314)Part of FX Dashboard, based on @lord_fed document:
www.lordfed.co.uk
CFTC Commitment of Traders - large speculators view by default.
Crypto Grail Crypto Grail — Advanced Multi-Factor Market Intelligence System
Crypto Grail is an institutional-grade multi-factor trading system designed to identify high-probability market conditions through structured trend analysis, volatility modeling, volume diagnostics and candle-level momentum evaluation. The tool operates as an adaptive decision framework that highlights only the most meaningful market alignments while filtering out low-quality noise.
Core Trend Architecture
Crypto Grail builds directional bias using a layered trend framework that integrates:
• EMA21, EMA50 and EMA200 structural mapping
• SuperTrend confirmation
• ADX trend-strength assessment
• EMA-spread evaluation for macro bias
This architecture allows Crypto Grail to distinguish impulsive directional movement from non-directional consolidation phases with high precision.
Quality Scoring Engine
Every potential long or short setup is processed through a quantitative scoring model that evaluates:
• Trend alignment across EMA structure
• SuperTrend directional confirmation
• ADX intensity
• RSI zone positioning
• Candle delta (close-location value)
• Volume deviation relative to baseline
• Volatility state (compressed / normal / explosive)
• Movement percentage vs recent history
• Impulse strength within the current bar
Only setups that satisfy the required quality threshold are eligible for display.
Volatility Regime Modeling
The system dynamically identifies volatility regimes by analyzing:
• ATR-based volatility gradient
• Recent movement amplitude
• Candle impulse relative to volatility envelope
• Expansion and compression cycles
• Chaotic transitions and unstable bursts
This allows the script to identify when the market environment supports sustained follow-through versus when conditions are structurally noisy.
Volume Deviation Framework
Crypto Grail evaluates volume behavior using a rolling baseline to detect:
• Genuine volume expansion
• Volume contraction
• Spike clusters
• Impulse confirmation with volume alignment
Volume states are incorporated directly into the quality-scoring engine, ensuring signals appear only when supported by underlying market participation.
Early & Hybrid Entry Logic
Two optional entry modes expand the system’s capability during dynamic phases:
• Early Mode: identifies strong impulse shifts confirmed by volume + delta
• Hybrid Mode: merges early detection with trend-filtered confirmation
These modes enable more aggressive entries without compromising structural integrity.
Sideways Market Filter
The system includes a consolidation-detection layer that restricts signal generation during:
• Flat ranges
• Low-energy volatility clusters
• ADX-weak trend environments
• EMA compression zones
This significantly increases average signal reliability.
Integrated Trade Simulation Engine
Crypto Grail includes a full visual trade-simulation module featuring:
• ATR-based dynamic stop loss
• Risk-to-reward take profit engine
• Optional ATR trailing stop
• Trade cooldown control
• Complete entry/exit marking
• SL/TP visualization
• Automatic exit-reason tagging
This makes each signal structurally transparent and easy to analyze.
Market Condition Panel
A real-time performance and condition dashboard displays:
• Total trades
• Wins and losses
• Long/short distribution
• Early-entry analytics
• Volume regime
• Volatility regime
• Trend condition
• Current directional bias
This provides ongoing contextual insight during live market conditions.
System Purpose
Crypto Grail is designed as a professional decision-support system that isolates high-probability market structures through multi-layer technical validation. The tool does not guarantee results and should be used with proper risk management.
All-in-One (PHT)All-in-One (PHT) — Modular Multi-Tool Market Analyzer (Pine Script v6)
All-in-One (PHT) is a complete, modular market-analysis toolkit designed for traders who want clean, reliable, and professional-grade charting - in a single indicator.
Built using Pine Script® v6 and structured with reusable PHT-Libraries (EMA Band, Bollinger Band, Fractal, Session), this indicator delivers clarity, precision, and consistent performance across all markets and timeframes.
Unlike traditional indicators that mix logic and visuals, AIO (PHT) uses a fully modular architecture. All calculations come from dedicated libraries, and this main script focuses purely on visual output and clean plotting.
This ensures:
Stable plot references
Zero repainting in all included modules
High performance even with complex overlays
Easy extensibility for future upgrades
🔥 Included Modules
1. EMA Band (PHT Library)
A triple-EMA band designed for trend clarity and structure.
Provides:
EMA of High
EMA of Close
EMA of Low
Band fill visualization
Ideal for identifying trend strength, momentum pockets, and mean-reversion zones.
2. Bollinger Band Suite
A complete Bollinger framework with:
SMA / EMA / WMA midline options
Dual standard-deviation envelopes
Multi-zone band fills (upper, middle, lower)
User-controlled visibility for each layer
Perfect for volatility detection, squeeze identification, and precision envelope trading.
3. Fractal Engine (High/Low Pivots)
Fast, reliable fractal detection using user-defined left/right periods.
Features:
Pivot Highs & Pivot Lows
Multiple marker sizes (Tiny → Large)
Zero-lag plotting with proper offset handling
Useful for swing structure, breakout confirmation, and automated level marking.
4. Market Session Tracker
A powerful session-mapping module that visually highlights market sessions with:
Dynamic session boxes
High & Low markers
Persistent historical sessions
Auto-managed labels, lines, and live updates
Timezone-aware session boundaries (supports IANA zones)
Designed for identifying daily ranges, session liquidity, volatility pockets, and market timing.
🧠 Why This Indicator Is Different
Most “all-in-one” tools mix plotting, logic, and calculations in a single heavy script, causing lag, reference instability, and repainting issues.
All-in-One (PHT) solves this by using a Pine v6 library architecture:
Each component is computed in its own library
The main script handles only visuals
No hidden code, no repainting tricks
Maximum clarity and maintainability
This design mirrors professional software architecture:
clear separation of logic, visuals, and user interface.
🎯 Ideal For
Trend traders
Scalpers & intraday traders
Swing and positional traders
Volatility analysts
Structure-based price action traders
Anyone who wants multiple high-quality tools in one clean indicator
Whether you analyze markets manually or build algorithmic systems, AIO (PHT) provides a solid foundation.
⚙️ Features at a Glance
Fully modular Pine v6 design
Complete EMA band engine
Advanced Bollinger band system (multi-deviation, multi-fill)
Configurable fractal high/low markers
Smart session boxing with history
Clean visuals and transparent settings
No repainting
Fully customizable colors & visibility
Optimized for performance
💡 How to Use
Choose the modules you want to display (EMA, BB, Fractals, Sessions).
Adjust lengths, deviations, or fractal periods as per your trading style.
Use session boxes to understand volatility timing.
Combine bands + fractals for advanced structure-based decisions.
The indicator is designed to overlay on price for maximum clarity.
🚀 Future Upgrades
The PHT framework supports smooth future expansion. Planned modules include:
ATR/volatility engines
Trend switches
Supertrend/Donchian plugins
Volume profile extensions
Updates will remain backward compatible across all modules.
⭐ Summary
All-in-One (PHT) is not just another overlay — it’s a complete multi-tool trading framework built using professional engineering practices in Pine Script v6.
If you want cleaner charts, smarter signals, and a high-performance modular system, this indicator gives you everything in one reliable package.
Magic Equity Trend & PivotsMagic Equity Trend & Pivots is a robust technical analysis engine designed specifically for equity and index traders. It serves as a comprehensive "Trend & Level" companion, combining institutional Pivot Points with a proprietary EMA trend filtering system to identify high-probability setups.
How the Magic Works
This indicator simplifies complex market data into a clear visual workflow:
1. The Magic Equity Trend (Trend Identification) The script uses a weighted system to determine the dominant market direction:
Bullish Trend: Price holds above the primary Trend SMA + a Volatility Buffer (Green Zone).
Bearish Trend: Price is rejected below the Trend SMA - Buffer (Red Zone).
No-Trade Zone: When the price is trapped inside the buffer (Gray Channel), the trend is considered weak or ranging.
2. Institutional Pivot Points Price often reacts at hidden levels. This tool calculates and overlays these levels automatically:
Multi-Type Support: Choose between Traditional, Fibonacci, Woodie, Classic, DM, and Camarilla pivots.
Timeframe Smart-Switching: Use fixed timeframes (e.g., Weekly Pivots on a Daily chart) or let the "Auto" mode decide the best reference period for your current view.
Historical Mode: Unlike standard pivots, these can be back-tested visually to see how prices respected levels in the past.
3. Precision Entry & Exit Logic Trade signals are not random; they are based on a strict confluence of "Magic" factors:
Entry Signal: Requires Trend Alignment + Fast/Slow EMA Crossover + RSI Strength (>60) + Relative Volume Spike.
Top-Up (Add-on): Detects low-risk opportunities to add to a position when price pulls back to the EMA10/20 during a strong trend.
Two-Stage Exit: Secures profits using either an ATR Trailing Stop or an Intraday RSI Breakdown, depending on your settings.
4. Divergence & Momentum
RSI Divergence: Automatically plots Regular Bullish and Bearish divergences to warn of potential reversals at tops or bottoms.
Darvas Boxes: Visualizes consolidation ranges to help identify breakouts.
5. Performance Dashboard A data table provides a snapshot of the asset's health:
Mean Reversion: Measures the % distance from key EMAs (10, 20, 50).
RVOL & ADR: Displays Relative Volume and Average Daily Range to gauge volatility.
Performance Tracker: A theoretical summary table showing how the trend signals have performed over the last 1W, 1M, and 1Y periods.
Settings & Customization
Visuals: Fully customizable colors for the Trend Cloud, Pivots, and Backgrounds.
Filters: Toggle specific filters (Volume, RSI, Trend Buffer) to adapt the sensitivity to different asset classes.
Disclaimer: This tool is for educational purposes and technical analysis assistance only. Past performance displayed in the dashboard does not guarantee future results.
ClearView Structure° by ClearViewLabsClearView Structure is a comprehensive market structure indicator that identifies key swing points, structural breaks, and imbalance zones in real-time.
Features:
Swing Structure Detection – Automatically identifies and labels swing highs/lows (HH, HL, LH, LL) to determine market bias
CISD Lines – Plots Change in State of Delivery levels that signal confirmed structural shifts
Fair Value Gaps (FVG) – Detects bullish and bearish imbalances with multi-timeframe support
Inverse FVG (iFVG) – Identifies when FVGs get invalidated and flip polarity
Volume Imbalance (VI) – Highlights gaps between candle bodies across timeframes
Real-time Dashboard – Displays current bias, internal direction, and distance to key levels
Customizable Alerts – Get notified on FVG approach, iFVG formation, and VI detection
Use Cases:
Ideal for traders who use price action and smart money concepts to identify trend direction, potential reversal zones, and high-probability entry areas.
Magic Swing Suite: Trend, Pullback & Risk DashboardMagic Swing Suite: Trend, Pullback & Risk Dashboard
This indicator is a complete Swing Trading System designed to identify high-probability trend continuation setups. It combines classic trend-following principles with a unique "3-Bar Retest" logic and provides a real-time Strategy Dashboard to help you manage positions without needing a separate strategy script.
How it Works:
The system looks for a "Confluence" of factors before generating a signal. It scores every bar out of 140 points based on the following criteria:
Trend Alignment: Price must be above EMA 10, and EMA 10 must be above EMA 20.
Momentum (RSI): RSI must be in the "Bullish Control Zone" (60-80) and above its SMA.
Volume: Volume must be significantly higher than the average (1.5x by default).
The "Magic" Retest: The script checks the last 2-5 bars to see if the price has pulled back to "kiss" the EMA 10. This ensures we are buying a dip in a trend, not chasing a top.
Breakout Confirmation: Checks for Darvas Box breakouts and price position relative to Pivot R1.
Features:
🎯 Virtual Strategy Dashboard: A table that mimics a strategy tester. It tracks Entry, Stop Loss (Trailing), Target 1, and Target 2 in real-time.
📊 Confluence Scorecard: A detailed table showing exactly why a signal was (or wasn't) generated (Trend, Retest, RSI, Volume, etc.).
🛡️ Risk Management: automatically calculates a Trailing Stop (EMA 10) and fixed Risk:Reward targets based on recent highs.
📉 Multi-Layered Overlays: Includes Auto-Pivots (Traditional, Fib, Woodie, etc.) and Darvas Boxes to identify support/resistance levels.
How to Use:
Wait for a Signal:
"FULL BUY SIGNAL" (Green): All conditions are met, including a recent retest of the EMA. This is the highest probability setup.
"BUY - NO RETEST" (Orange): Trend and momentum are strong, but price hasn't pulled back recently. Use caution, as this may be a breakout trade.
Monitor the Dashboard: Once a trade is active, the dashboard will change to "IN POSITION." Follow the "Action" row.
If the trend weakens, the Trailing Stop (EMA 10) will move up to protect profits.
Targets:
T1: Previous Swing High (or 5% if no high found).
T2: 1:1.6 Risk/Reward extension.
Settings:
Volume Spike Factor: Adjust how much volume is needed to confirm a move. Default is 1.2.
Retest Tolerance: Adjust how close the price needs to get to the EMA 10 to count as a "retest."
Dashboard Toggles: You can hide the tables if you prefer a clean chart.
Pivot Timeframes: customizable lookback for S/R levels.
FAQ:
Does this repaint?
No. All signals trigger only on confirmed bars.
Can I use this intraday?
Yes. Works great from 5m to 1D.
Are exits manual or automated?
The indicator tracks SL, T1, and T2, and marks them on the chart.
Does retest affect the buy signal?
Retest is optional. The buy logic does not require it, but adds weight to the score.
Disclaimer: This tool is for educational purposes only. The "Strategy Dashboard" is a simulation based on script calculations and does not execute real trades. Always manage your own risk.
LPC Rebate HunterLPC Rebate Hunter Version 1.3.5
From Static to Dynamic Momentum: Replaced the rigid RSI filter with a Multi-Engine Oscillator (WaveTrend, MFI, or RSI), allowing for smoother cycle detection.
From "Pivots" to "Smart Structure": The liquidity engine now detects Swing Failure Patterns (SFP)—identifying when price "pokes" a level to trap traders before reversing—and automatically cleans up mitigated zones.
Choppy Market Protection: Added an ADX (Average Directional Index) integration to strictly filter out signals during flat/sideways markets.
Risk Management Layer: Introduced a Smart Trailing Stop (ATR-based Chandelier Exit) to help traders manage active positions objectively.
Visual Overhaul: Features a modern gradient trend cloud and a fully adaptive "Heads-Up Display" (HUD) that provides real-time market stats.
Superior-Range Bound Renko - Strategy - 11-29-25 - SignalLynxSuperior-Range Bound Renko Strategy with Advanced Risk Management Template
Signal Lynx | Free Scripts supporting Automation for the Night-Shift Nation 🌙
1. Overview
Welcome to Superior-Range Bound Renko (RBR) — a volatility-aware, structure-respecting swing-trading system built on top of a full Risk Management (RM) Template from Signal Lynx.
Instead of relying on static lookbacks (like “14-period RSI”) or plain MA crosses, Superior RBR:
Adapts its range definition to market volatility in real time
Emulates Renko Bricks on a standard, time-based chart (no Renko chart type required)
Uses a stack of Laguerre Filters to detect genuine impulse vs. noise
Adds an Adaptive SuperTrend powered by a small k-means-style clustering routine on volatility
Under the hood, this script also includes the full Signal Lynx Risk Management Engine:
A state machine that separates “Signal” from “Execution”
Layered exit tools: Stop Loss, Trailing Stop, Staged Take Profit, Advanced Adaptive Trailing Stop (AATS), and an RSI-style stop (RSIS)
Designed for non-repainting behavior on closed candles by basing execution-critical logic on previous-bar data
We are publishing this as an open-source template so traders and developers can leverage a professional-grade RM engine while integrating their own signal logic if they wish.
2. Quick Action Guide (TL;DR)
Best Timeframe:
4 Hours (H4) and above. This is a high-conviction swing-trading system, not a scalper.
Best Assets:
Volatile instruments that still respect market structure:
Bitcoin, Ethereum, Gold (XAUUSD), high-volatility Forex pairs (e.g., GBPJPY), indices with clean ranges.
Strategy Type:
Volatility-Adaptive Trend Following + Impulse Detection.
It hunts for genuine expansion out of ranges, not tiny mean-reversion nibbles.
Key Feature:
Renko Emulation on time-based candles.
We mathematically model Renko Bricks and overlay them on your standard chart to define:
“Equilibrium” zones (inside the brick structure)
“Breakout / impulse” zones (when price AND the impulse line depart from the bricks)
Repainting:
Designed to be non-repainting on closed candles.
All RM execution logic uses confirmed historical data (no future bars, no security() lookahead). Intrabar flicker during formation is allowed, but once a bar closes the engine’s decisions are stable.
Core Toggles & Filters:
Enable Longs and Shorts independently
Optional Weekend filter (block trades on Saturday/Sunday)
Per-module toggles: Stop Loss, Trailing Stop, Staged Take Profits, AATS, RSIS
3. Detailed Report: How It Works
A. The Strategy Logic: Superior RBR
Superior RBR builds its entry signal from multiple mathematical layers working together.
1) Adaptive Lookback (Volatility Normalization)
Instead of a fixed 100-bar or 200-bar range, the script:
Computes ATR-based volatility over a user-defined period.
Normalizes that volatility relative to its recent min/max.
Maps the normalized value into a dynamic lookback window between a minimum and maximum (e.g., 4 to 100 bars).
High Volatility:
The lookback shrinks, so the system reacts faster to explosive moves.
Low Volatility:
The lookback expands, so the system sees a “bigger picture” and filters out chop.
All the core “Range High/Low” and “Range Close High/Low” boundaries are built on top of this adaptive window.
2) Range Construction & Quick Ranges
The engine constructs several nested ranges:
Outer Range:
rangeHighFinal – dynamic highest high
rangeLowFinal – dynamic lowest low
Inner Close Range:
rangeCloseHighFinal – highest close
rangeCloseLowFinal – lowest close
Quick Ranges:
“Half-length” variants of those, used to detect more responsive changes in structure and volatility.
These ranges define:
The macro box price is trading inside
Shorter-term “pressure zones” where price is coiling before expansion
3) Renko Emulation (The Bricks)
Rather than using the Renko chart type (which discards time), this script emulates Renko behavior on your normal candles:
A “brick size” is defined either:
As a standard percentage move, or
As a volatility-driven (ATR) brick, optionally inhibited by a minimum standard size
The engine tracks a base value and derives:
brickUpper – top of the emulated brick
brickLower – bottom of the emulated brick
When price moves sufficiently beyond those levels, the brick “shifts”, and the directional memory (renkoDir) updates:
renkoDir = +2 when bricks are advancing upward
renkoDir = -2 when bricks are stepping downward
You can think of this as a synthetic Renko tape overlaid on time-based candles:
Inside the brick: equilibrium / consolidation
Breaking away from the brick: momentum / expansion
4) Impulse Tracking with Laguerre Filters
The script uses multiple Laguerre Filters to smooth price and brick-derived data without traditional lag.
Key filters include:
LagF_1 / LagF_W: Based on brick upper/lower baselines
LagF_Q: Based on HLCC4 (high + low + 2×close)/4
LagF_Y / LagF_P: Complex averages combining brick structures and range averages
LagF_V (Primary Impulse Line):
A smooth, high-level impulse line derived from a blend of the above plus the outer ranges
Conceptually:
When the impulse line pushes away from the brick structure and continues in one direction, an impulse move is underway.
When its direction flips and begins to roll over, the impulse is fading, hinting at mean reversion back into the range.
5) Fib-Based Structure & Swaps
The system also layers in Fib levels derived from the adaptive ranges:
Standard levels (12%, 23.6%, 38.2%, 50%, 61%, 76.8%, 88%) from the main range
A secondary “swap” set derived from close-range dynamics (fib12Swap, fib23Swap, etc.)
These Fibs are used to:
Bucket price into structural zones (below 12, between 23–38, etc.)
Detect breakouts when price and Laguerre move beyond key Fib thresholds
Drive zSwap logic (where a secondary Fib set becomes the active structure once certain conditions are met)
6) Adaptive SuperTrend with K-Means-Style Volatility Clustering
Under the hood, the script uses a small k-means-style clustering routine on ATR:
ATR is measured over a fixed period
The range of ATR values is split into Low, Medium, High volatility centroids
Current ATR is assigned to the nearest centroid (cluster)
From that, a SuperTrend variant (STK) is computed with dynamic sensitivity:
In quiet markets, SuperTrend can afford to be tighter
In wild markets, it widens appropriately to avoid constant whipsaw
This SuperTrend-based oscillator (LagF_K and its signals) is then combined with the brick and Laguerre stack to confirm valid trend regimes.
7) Final Baseline Signals (+2 / -2)
The “brain” of Superior RBR lives in the Baseline & Signal Generation block:
Two composite signals are built: B1 and B2:
They combine:
Fib breakouts
Renko direction (renkoDir)
Expansion direction (expansionQuickDir)
Multiple Laguerre alignments (LagF_Q, LagF_W, LagF_Y, LagF_Z, LagF_P, LagF_V)
They also factor in whether Fib structures are expanding or contracting.
A user toggle selects the “Baseline” signal:
finalSig = B2 (default) or B1 (alternate baseline)
finalSig is then filtered through the RM state machine and only when everything aligns, we emit:
+2 = Long / Buy signal
-2 = Short / Sell signal
0 = No new trade
Those +2 / -2 values are what feed the Risk Management Engine.
B. The Risk Management (RM) Engine
This script features the Signal Lynx Risk Management Engine, a proprietary state machine built to separate Signal from Execution.
Instead of firing orders directly on indicator conditions, we:
Convert the raw signal into a clean integer (Fin = +2 / -2 / 0)
Feed it into a Trade State Machine that understands:
Are we flat?
Are we in a long or short?
Are we in a closing sequence?
Should we permit re-entry now or wait?
Logic Injection / Template Concept:
The RM engine expects a simple integer:
+2 → Buy
-2 → Sell
Everything else (0) is “no new trade”
This makes the script a template:
You can remove the Superior RBR block
Drop in your own logic (RSI, MACD, price action, etc.)
As long as you output +2 or -2 into the same signal channel, the RM engine can drive all exits and state transitions.
Aggressive vs Conservative Modes:
The input AgressiveRM (Aggressive RM) governs how we interpret signals:
Conservative Mode (Aggressive RM = false):
Uses a more filtered internal signal (AF) to open trades
Effectively waits for a clean trend flip / confirmation before new entries
Minimizes whipsaw at the cost of fewer trades
Aggressive Mode (Aggressive RM = true):
Reacts directly to the fresh alert (AO) pulses
Allows faster re-entries in the same direction after RM-based exits
Still respects your pyramiding setting; this script ships with pyramiding = 0 by default, so it will not stack multiple positions unless you change that parameter in the strategy() call.
The state machine enforces discipline on top of your signal logic, reducing double-fires and signal spam.
C. Advanced Exit Protocols (Layered Defense)
The exit side is where this template really shines. Instead of a single “take profit or stop loss,” it uses multiple, cooperating layers.
1) Hard Stop Loss
A classic percentage-based Stop Loss (SL) relative to the entry price.
Acts as a final “catastrophic protection” layer for unexpected moves.
2) Standard Trailing Stop
A percentage-based Trailing Stop (TS) that:
Activates only after price has moved a certain percentage in your favor (tsActivation)
Then trails price by a configurable percentage (ts)
This is a straightforward, battle-tested trailing mechanism.
3) Staged Take Profits (Three Levels)
The script supports three staged Take Profit levels (TP1, TP2, TP3):
Each stage has:
Activation percentage (how far price must move in your favor)
Trailing amount for that stage
Position percentage to close
Example setup:
TP1:
Activate at +10%
Trailing 5%
Close 10% of the position
TP2:
Activate at +20%
Trailing 10%
Close another 10%
TP3:
Activate at +30%
Trailing 5%
Close the remaining 80% (“runner”)
You can tailor these quantities for partial scaling out vs. letting a core position ride.
4) Advanced Adaptive Trailing Stop (AATS)
AATS is a sophisticated volatility- and structure-aware stop:
Uses Hirashima Sugita style levels (HSRS) to model “floors” and “ceilings” of price:
Dungeon → Lower floors → Mid → Upper floors → Penthouse
These levels classify where current price sits within a long-term distribution.
Combines HSRS with Bollinger-style envelopes and EMAs to determine:
Is price extended far into the upper structure?
Is it compressed near the lower ranges?
From this, it computes an adaptive factor that controls how tight or loose the trailing level (aATS / bATS) should be:
High Volatility / Penthouse areas:
Stop loosens to avoid getting wicked out by inevitable spikes.
Low Volatility / compressed structure:
Stop tightens to lock in and protect profit.
AATS is designed to be the “smart last line” that responds to context instead of a single fixed percentage.
5) RSI-Style Stop (RSIS)
On top of AATS, the script includes a RSI-like regime filter:
A McGinley Dynamic mean of price plus ATR bands creates a dynamic channel.
Crosses above the top band and below the lower band change a directional state.
When enabled (UseRSIS):
RSIS can confirm or veto AATS closes:
For longs: A shift to bearish RSIS can force exits sooner.
For shorts: A shift to bullish RSIS can do the same.
This extra layer helps avoid over-reactive stops in strong trends while still respecting a regime change when it happens.
D. Repainting Protection
Many strategies look incredible in the Strategy Tester but fail in live trading because they rely on intrabar values or future-knowledge functions.
This template is built with closed-candle realism in mind:
The Risk Management logic explicitly uses previous bar data (open , high , low , close ) for the key decisions on:
Trailing stop updates
TP triggers
SL hits
RM state transitions
No security() lookahead or future-bar access is used.
This means:
Backtest behavior is designed to match what you can actually get with TradingView alerts and live automation.
Signals may “flicker” intrabar while the candle is forming (as with any strategy), but on closed candles, the RM decisions are stable and non-repainting.
4. For Developers & Modders
We strongly encourage you to mod this script.
To plug your own strategy into the RM engine:
Look for the section titled:
// BASELINE & SIGNAL GENERATION
You will see composite logic building B1 and B2, and then selecting:
baseSig = B2
altSig = B1
finalSig = sigSwap ? baseSig : altSig
You can replace the content used to generate baseSig / altSig with your own logic, for example:
RSI crosses
MACD histogram flips
Candle pattern detectors
External condition flags
Requirements are simple:
Your final logic must output:
2 → Buy signal
-2 → Sell signal
0 → No new trade
That output flows into the RM engine via finalSig → AlertOpen → state machine → Fin.
Once you wire your signals into finalSig, the entire Risk Management system (Stops, TPs, AATS, RSIS, re-entry logic, weekend filters, long/short toggles) becomes available for your custom strategy without re-inventing the wheel.
This makes Superior RBR not just a strategy, but a reference architecture for serious Pine dev work.
5. About Signal Lynx
Automation for the Night-Shift Nation 🌙
Signal Lynx focuses on helping traders and developers bridge the gap between indicator logic and real-world automation. The same RM engine you see here powers multiple internal systems and templates, including other public scripts like the Super-AO Strategy with Advanced Risk Management.
We provide this code open source under the Mozilla Public License 2.0 (MPL-2.0) to:
Demonstrate how Adaptive Logic and structured Risk Management can outperform static, one-layer indicators
Give Pine Script users a battle-tested RM backbone they can reuse, remix, and extend
If you are looking to automate your TradingView strategies, route signals to exchanges, or simply want safer, smarter strategy structures, please keep Signal Lynx in your search.
License: Mozilla Public License 2.0 (Open Source).
If you make beneficial modifications, please consider releasing them back to the community so everyone can benefit.
Ghost Cipher [Bit2Billions]Ghost Cipher — Adaptive Market Flow Engine
*A structured, intelligence-driven framework that decodes market flow using smoothing, liquidity distribution, volatility behavior, and range-based logic.*
Ghost Cipher translates complex price action into a clean, intuitive visual environment. It combines multiple analytical modules—including adaptive smoothing, liquidity mapping, volatility profiling, and CRT range-theory detection—into a cohesive, rule-based system. Each component is designed to complement the others: smoothing reduces noise for clearer trend detection, liquidity mapping identifies imbalance zones for potential reversals, and range theory structures intra-day and multi-timeframe price dynamics.
This integration provides traders with a streamlined, actionable view of market flow from micro swings to macro transitions, supporting both decision-making and workflow efficiency.
Why This Script Is Original and Useful
* Ghost Cipher is not a simple mashup: each module is developed with proprietary logic and integrates dynamically with others.
* Classic elements like moving averages, volatility bands, and order blocks are adapted and enhanced, not copied from public scripts.
* Closed-source design ensures that traders see what the script does (trend, liquidity, range signals) without exposing full underlying code.
* All visual and analytical outputs are designed to add tangible value over existing indicators, reducing manual analysis and improving clarity.
Key Features & Components
1. Candles & Visualization
* Custom Heikin-Ashi–style candle coloring for a clean chart.
* Multi-timeframe overlays to highlight higher-timeframe influence.
2. Smoothed Trend Processin g
* Proprietary smoothing for noise-reduced trend detection.
* Zero-Lag Multi-Ribbon: layered momentum ribbon with gradient shading for lag-free directional assessment.
3. Liquidity & Institutional Mapping
* Real-time liquidity depth visualization.
* Detection of pockets, imbalance zones, and resting liquidity clusters.
* Smart Bullish & Bearish Order Blocks with mitigation-focused logic.
4. Dynamic Demand & Supply Engine
* Auto-detection of institutional demand/supply zones.
* Adaptive boundaries respond to volatility, displacement, and liquidity conditions.
5. Volatility & Channel Tools
* Adaptive Bollinger-style volatility bands.
* Macro trendlines, break structures, and volumetric channel mapping.
6. Intelligent Market Flow Tools
* Dynamic Magic Line: adapts to real-time volatility, range compression, and volume shifts.
* CRT Candle Range Theory: detects ranges, equilibrium zones, and breakout/reaction signals.
7. Market Sessions
* Highlights bull/bear sessions for directional bias and structural insight.
Dashboard Metrics
* Volume Delta Dashboard: aggregated BTC delta across major exchanges; multi-asset pairing for comparison.
* Market Overview Panel: current bias, trend regime, and structured analyst notes.
Chart Clarity & Design Standards
* Only essential real-time labels displayed; historical labels hidden.
* Organized visuals with consistent colors, line types, and modular design for quick interpretation.
How to Use / What Traders Gain
* Reduces manual charting and repetitive analysis.
* Speeds workflow using rule-based, automated visualization.
* Cuts through market noise for consistent, structured insights.
* Supports multi-timeframe and multi-market analysis.
Inputs & Settings
* Default settings pre-configured
* Simple Show/Hide toggles for modules
* Minimal exposed fields for ease of use
Recommended Timeframes & Markets
* Works best on 15M, 1H, 4H, Daily, and higher
* Suitable across forex, crypto, indices, and liquid equities
* Pivot-based modules may show noise on illiquid assets
Performance & Limitations
* May draw many objects → disable unused modules for speed
* Refresh the chart if historical buffer issues occur
* TradingView platform limitations handled internally
License & Legal
* Proprietary © 2025
* Redistribution, resale, or disclosure prohibited
* Independently developed with proprietary extensions
* Any resemblance to other tools may result from public-domain concepts
Respect & Transparency
* Built on widely recognized public trading concepts.
* Developed with respect for the TradingView community.
* Any overlaps or similarities can be addressed constructively.
Disclaimer
* Educational purposes only
* Not financial advice
* Trading carries risk — always use paper testing and proper risk management
FAQs
* Source code is not public
* Works best on 15m, 1H, 4H, Daily, Weekly charts
* Modules can be hidden/shown with toggles
* Alerts can be set up manually by users
* Supports multiple markets: forex, crypto, indices, and equities
About Ghost Trading Suite
Author: BIT2BILLIONS
Project: Ghost Trading Suite © 2025
Indicators: Ghost Matrix, Ghost Protocol, Ghost Cipher, Ghost Shadow
Strategies: Ghost Robo, Ghost Robo Plus
Pine Version: V6
The Ghost Trading Suite is designed to simplify and automate many aspects of chart analysis. It helps traders identify market structure, divergences, support and resistance levels, and momentum efficiently, reducing manual charting time.
The suite includes several integrated tools — such as Ghost Matrix, Ghost Protocol, Ghost Cipher, Ghost Shadow, Ghost Robo, and Ghost Robo Plus — each combining analytical modules for enhanced clarity in trend direction, volatility, pivot detection, and momentum tracking.
Together, these tools form a cohesive framework that assists in visualizing market behavior, measuring momentum, detecting pivots, and analyzing price structure effectively.
This project focuses on providing adaptable and professional-grade tools that turn complex market data into clear, actionable insights for technical analysis.
Crafted with 💖 by BIT2BILLIONS for Traders. That's All Folks!
Changelog
v1.0 Core Release
* Custom Heikin-Ashi Candles: Clean, visually intuitive candle designs for effortless chart reading.
* Smoothed Moving Averages: Advanced smoothing algorithms for precise trend tracking and confirmation.
* Liquidity Depth Visualization: Real-time insight into liquidity levels, depth pockets, and imbalance zones.
* Dynamic Demand & Supply Mapping: Automatic detection of institutional demand and supply zones with adaptive boundaries.
* High-Timeframe Candle Zones (HTF): Dual HTF candle overlays for macro-level trend context and control over candle count.
* Trend Lines & Channels: Macro and aggressive volumetric trendlines for structured market flow analysis.
* Zero-Lag Moving Average Ribbon: Layered ribbon with shaded gradients for smoother, lag-free momentum visualization.
* Volatility Bands: Adaptive Bollinger-style bands for dynamic range analysis.
* Dynamic Magic Line: Self-adjusting line responding to real-time volatility and volume shifts.
* CRT Candle Range Theory: Automatic detection and visualization of CRT candle ranges and range-based signals.
* Bull & Bear Sessions: Highlights key market sessions to identify directional bias and volatility shifts.
* Order Blocks: Smart detection of bullish and bearish institutional order blocks.
* Dashboard Module:
* Volume Delta Dashboard: Aggregated delta volume from all major exchanges for BTC, with the ability to pair up to 4 additional assets.
* Market Overview Panel: Displays current bias, trend insights, and actionable analyst notes.
RSI SFP + flexi TP/SL + WT JSON bot RSI SFP + Smart TP/SL + Auto-Trading JSON for WunderTrading
Precision reversal detection for fully automated long/short execution
RSI SFP is a next-generation reversal detection engine combining market structure (Swing Failure Pattern) with RSI divergence confirmation.
It is designed for professional users who require fast, non-repainting, and broker-integrated signals that can be used for automation.
This Invite-Only script offers:
🔷 Core Features
✔ Real-time SFP detection (no candle close required)
The algorithm triggers as soon as price touches previous swing high/low and RSI forms a confirmed divergence.
Ideal for users who want the earliest, most reactive entries.
✔ RSI Divergence Engine
Bullish RSI divergence at prior lows
Bearish RSI divergence at prior highs
Adjustable divergence threshold (RSI difference)
Ultra-low latency decision logic
✔ Smart TP/SL Automation
TP = ±1% fixed profit from entry (configurable)
SL based on swing structure or user-defined %
TP/SL displayed visually on the chart
No repainting once triggered
✔ Full Backtesting Module
Tracks wins/losses across last N trades
Displays monthly statistics (last 4 months)
Tracks estimated P&L using user leverage model
Built-in visual tags for every TP / SL hit
✔ Integrated Auto-Trading for WunderTrading
When enabled, the indicator automatically sends structured JSON signals through TradingView alerts.
Supported actions:
Enter Long
Enter Short
Exit All
Each entry includes:
Market order
Position size based on capital & leverage
Exchange-level TP & SL placement
Your bot on WunderTrading can mirror the exact chart signals in real time.
🔷 Use Cases
Full automation using TradingView → Webhook → WunderTrading
Intraday reversal trading
Swing trading
Multi-exchange automated bot execution
Reversal scalping with tight stops
🔷 Important Notes
This indicator does not repaint after signal confirmation.
Real-time signals may flash while the candle is forming (normal for non-close divergence detection).
Only Invite-Only users can access the script.
No source code is shared.
If you want access, please message me directly on TradingView.
A full setup guide, alerts template, and WT bot configuration are included for subscribers.
🇨🇳 中文版(专业销售版)
RSI SFP + 智能 TP/SL + WunderTrading 自动交易 JSON 引擎
专为自动化反转交易打造的实时 SFP + RSI 背离策略
RSI SFP 指标将 Swing Failure Pattern(SFP 假突破结构)与 RSI 背离进行整合,
用于捕捉极早期的反转机会。
本脚本专为需要 实时、无重绘、可自动化执行 的专业交易者设计。
这是一个 Invite-Only(仅邀请)脚本,专供订阅用户授权使用。
🔷 核心功能
✔ 实时信号(不需要 K 线收盘)
只要价格触及前高/前低 + RSI 背离确认,
立即给出 Long / Short 反转信号,属于极短延迟结构逻辑。
✔ 高级 RSI 背离系统
价格 vs RSI 顶背离
价格 vs RSI 底背离
最小 RSI 差值可调
精准且稳定,不重绘
✔ 智能 TP / SL 自动管理
固定 TP = ±1%(可调)
SL 支持 swing 结构或固定百分比
图表上自动绘制 TP/SL 虚线
信号一旦触发后不重绘
✔ 强大回测统计系统
可追踪最近 N 笔交易
最近 4 个月的月度统计
盈亏汇总表(含杠杆模型)
每次 TP/SL 都自动标注在图表上
✔ 内置 WunderTrading 自动化 JSON
启用后,指标会自动通过 TradingView Alerts → Webhook
向 WT 机器人发送标准化 JSON:
开多(Enter Long)
开空(Enter Short)
全部平仓(Exit All)
并自动包含:
市价下单
杠杆
手数
TP/SL 自动挂单
完全同步图表上的信号。
🔷 适用人群
想要全自动交易(TV → WT → 交易所)
反转交易 / SFP 策略
日内 / 轻量级高频反转
Swing 反转捕捉
需要稳定 TP/SL 的量化用户
🔷 注意事项
信号不会在收盘后重绘,但在 K 线形成中可能闪烁(实时逻辑正常现象)
脚本为 Invite-Only 私密指标,源码不会公开
订阅用户可随时获得使用授权
提供详细 WT 机器人设置教程
如需访问权限,请通过 TradingView 私信联系我。
订阅用户将获得完整的使用指南与设置模板。
Blockchain Fundamentals: PPT [CR]Blockchain Fundamentals: PPT
A proprietary market positioning indicator that analyzes price behavior using percentile-based statistical methods. The PPT (Percentile Position Transform) provides a normalized oscillator view of market conditions, helping traders identify potential trend exhaustion and reversal zones through multi-timeframe statistical analysis.
█ FEATURES
Dual Signal Lines
The indicator plots two distinct signals:
- White Line — Primary signal representing the normalized, smoothed market position. This is the main signal used for trading decisions.
- Red Line — Raw statistical measurement before final normalization. Useful for identifying divergences and signal development.
Background Coloring
Dynamic background colors provide at-a-glance market context:
- Green Background — Indicates bullish positioning when the primary signal exceeds the buffer threshold.
- Red Background — Indicates bearish positioning when the primary signal falls below the buffer threshold.
- Gray Background — Neutral zone where no clear directional bias is present.
Flip Buffer
An adjustable threshold system designed to reduce noise and false signals:
- Enable Flip Buffer — Toggle the buffer system on or off.
- Buffer Size — Adjustable threshold level (default -0.1) that determines when background colors change. Higher values reduce sensitivity; lower values increase responsiveness.
Reference Levels
Three horizontal reference lines provide context:
- Center line at 0 — Neutral market position.
- Upper dashed line at +1 — Extreme bullish positioning threshold.
- Lower dashed line at -1 — Extreme bearish positioning threshold.
█ HOW TO USE
Signal Interpretation
The indicator operates as a mean-reversion oscillator within a normalized range:
1 — Values approaching +1 suggest extended bullish conditions where price may be overextended relative to recent history.
2 — Values approaching -1 suggest extended bearish conditions where price may be oversold relative to recent history.
3 — Crosses of the center line (0) indicate shifts in the underlying statistical trend.
Trading Applications
While specific trading strategies will vary by individual approach and market conditions:
- Consider the extremes (+1 and -1 levels) as potential areas of interest for mean-reversion setups.
- Background color changes can help identify when market positioning shifts from one regime to another.
- Divergences between the white and red lines may provide early warning of potential trend changes.
- The buffer zone (gray background) represents areas where market positioning is relatively neutral.
█ LIMITATIONS
- The indicator requires sufficient historical data to function properly. In assets with limited price history, the statistical measurements may be less reliable during early data periods.
- As a percentile-based system, the indicator is relative to recent history. Changing market regimes may require interpretation adjustments.
- Not designed for high-frequency or scalping strategies due to its daily data dependency.
- Background colors are visual aids and should not be used as standalone trading signals without additional confirmation.
█ NOTES
This indicator is part of the Blockchain Fundamentals suite and represents proprietary research into statistical market positioning analysis.
Users should experiment with the buffer settings to match their risk tolerance and trading style. More conservative traders may prefer larger buffer values to reduce signal frequency, while active traders might benefit from smaller buffers that provide earlier warnings.
Super-AO Engine - Sentiment Ribbon - 11-29-25Super-AO Sentiment Ribbon by Signal Lynx
Overview:
The Super-AO Sentiment Ribbon is the visual companion to the Super-AO Strategy Suite.
While the main strategy handles the complex mathematics of entries and risk management, this tool provides a simple "Traffic Light" visual at the top of your chart to gauge the overall health of the market.
How It Works:
This indicator takes the core components of the Super-AO strategy (The SuperTrend and the Awesome Oscillator), calculates the spread between them and the current price, and generates a normalized "Sentiment Score."
Reading the Colors:
🟢 Lime / Green: Strong Upward Momentum. Ideally, you only want to take Longs here.
🟤 Olive / Yellow: Trend is weakening. Be careful with new entries, or consider taking profit.
⚪ Gray: The "Kill Zone." The market is chopping sideways. Automated strategies usually suffer here.
🟠 Orange / Red: Strong Downward Momentum. Ideally, you only want to take Shorts here.
Integration:
This script uses the same default inputs as our Super-AO Strategy Template and Alerts Template. Use them together to confirm your automated entries visually.
About Signal Lynx:
Free Scripts supporting Automation for the Night-Shift Nation 🌙
(www.signallynx.com)
SPY Scalping Mobile Compact v3 - Ben PhamUse this Spy Scalping Mobile Compact toolkit as handrail to climb up or down the stair. It help you visualize market trend clearly on those SMA line 5/8/13. First rule of entry is wait for all 3 MA lines start to separate and above vwap line for call, below for put, confluence with RSI > 50 for call, <50 for put. Second rule of entry is NEVER chase on first breakout candle, ALWAYS wait for pull back into SMA 8 or 13 with wick touch the line but candle closed back to confirmed direction. Stop loss if candle closed other side of SMA 13 line. If position turn green, use SMA 5 (blue) or SMA 8 (yellow) to trail for max profit. Only exit after candle body show smaller / doji or when blue line curve into yellow line. Best to use this indicator with my other Multi Time Frame Bias indicator for confirming entry with level of confidence.
Default color code lines:
- Blue – SMA 5, Yellow SMA 8, Red SMA 13, Purple VWAP
- Horizontal lines: Green – Opening range high, Red – Opening range low
Teal – premarket high and low
Orange thick – previous day high and low
- Red dots line – equal high, green dots line – equal low
Trade Assist (D4 & D4a) v1Trade Assist - Professional Trading Setup Validator
Overview
Trade Assist is a comprehensive systematic trading indicator designed for forex traders who follow disciplined, rule-based approaches. This indicator eliminates subjectivity by providing clear setup validation with visual confirmations and real-time alerts.
Key Features
Dual Strategy System
- D4 Strategy: Conservative approach for higher-probability setups
- D4a Strategy: Aggressive variant for increased trading opportunities
- Simple dropdown selector to switch between strategies
Real-Time Setup Validation
Trade Assist analyses multiple market conditions simultaneously and provides instant feedback on whether a valid trading setup exists. The indicator displays clear visual signals:
- 🟢 Valid Buy/Sell - All criteria met, setup confirmed
- ⚠️ Check 1:1 - Valid setup with caution flag (requires additional verification)
- ❌ No Valid Setup - Specific failure reason displayed
Intelligent Filtering System
The indicator applies multiple validation layers to filter out low-quality setups:
- Trend confirmation requirements
- Range position analysis
- Candle structure validation
- Support/Resistance clearance checks
- Weekly level awareness
Visual Trading Aids
- SL/TP Guide: Dynamic bands showing optimal stop loss and take profit zones
- Pip Counter: Real-time pip distance calculations adjusted for JPY and non-JPY pairs
- Trend Display: Clear bullish/bearish trend identification
Smart Alerts
Integrated TradingView alert system notifies you the moment a valid setup appears:
- Instant notifications to mobile/desktop
- Customizable alert messages showing pair and direction
- "Only Once" frequency recommended to avoid alert spam
Grey Zone Protection
Automatically detects when price action becomes unclear or choppy, protecting you from marginal trades during uncertain market conditions.
Position Grading System
Not all valid setups are equal. Trade Assist grades entry positions:
- Clean Zone: Optimal entry location within range
- Warning Zone: Valid but less ideal positioning
- No Trade Zone: Entry location fails risk/reward criteria
Designed For
- Systematic forex traders on 4-hour timeframes
- Traders who value mechanical rules over discretion
- Anyone seeking to eliminate emotional decision-making
- Traders managing multiple currency pairs (optimized for 28 major pairs)
What You Get
✅ Objective setup validation - no guesswork
✅ Clear entry signals with specific failure reasons when criteria aren't met
✅ Automated pip calculations for SL/TP planning
✅ Multi-strategy flexibility in a single indicator
✅ Real-time alerts for valid setups
✅ Risk management guidance through visual zones
Important Notes
- This is a setup validation tool, NOT A SIGNAL SERVICE
- Designed for traders who understand price action and risk management
- Works best when combined with proper trading plan and money management
- Optimized for forex pairs (28 majors including JPY crosses)
- Recommended timeframe: 4H
Customization Options
- Strategy selection (D4/D4a)
- SL/TP band colours
- Display positions for tables
- Optional 50% ATR display
- Pip counter toggle
- Visual element customization
---
Access: Invite-only
Best For: Disciplined systematic traders
Markets: Forex (optimized)
Timeframes: 4H
Trade Assist brings clarity to your trading decisions by providing objective, rule-based validation for every potential setup. Stop guessing, start trading with confidence.
Bull/Bear/Consolidation Zones Hariss 369This indicator helps to identify bullish, bearish, and consolidation zones using EMA and ATR-based calculations. It visually highlights zones on the chart and provides buy and sell signals with ATR-based stop-loss (SL) and take-profit (TP) levels.
Key Features:
EMA Trend Filter: Determines the direction of the market.
Bull / Bear / Consolidation Zones: Colored zones to easily spot market phases.
ATR-Based SL & TP: Automatic calculation for each trade signal.
Buy / Sell Signals: Based on price relative to EMA and consolidation zones.
Relative Volume (RVOL) Filter: Optional filter to trade only when volume is significant, helping reduce low-probability signals.
Extended Zones: Option to extend zones forward until a breakout occurs.
Customizable Inputs: EMA length, ATR length, multipliers, RVOL period & multiplier, and toggle RVOL filter.
How to Use:
Identify bull/bear/consolidation zones on your chart. (These are already there) You can change the line as well zone color according to your needs.
Look for buy signals above EMA and consolidation zone, or sell signals below EMA and consolidation zone. The buy and sell labels are already there.
Confirm with RVOL filter (optional) to ensure higher volume support.
Use the plotted SL and TP levels for trade management.
This tool is designed for trend-following and market structure traders who want a visual guide to high-probability trading zones combined with volume confirmation.
One can also trail with EMA in trending market.
Super-AO with Risk Management Alerts Template - 11-29-25Super-AO with Risk Management: ALERTS & AUTOMATION Edition
Signal Lynx | Free Scripts supporting Automation for the Night-Shift Nation 🌙
1. Overview
This is the Indicator / Alerts companion to the Super-AO Strategy.
While the Strategy version is built for backtesting (verifying profitability and checking historical performance), this Indicator version is built for Live Execution.
We understand the frustration of finding a great strategy, only to realize you can't easily hook it up to your trading bot. This script solves that. It contains the exact same "Super-AO" logic and "Risk Management Engine" as the strategy version, but it is optimized to send signals to automation platforms like Signal Lynx, 3Commas, or any Webhook listener.
2. Quick Action Guide (TL;DR)
Purpose: Live Signal Generation & Automation.
Workflow:
Use the Strategy Version to find profitable settings.
Copy those settings into this Indicator Version.
Set a TradingView Alert using the "Any Alert() function call" condition.
Best Timeframe: 4 Hours (H4) and above.
Compatibility: Works with any webhook-based automation service.
3. Why Two Scripts?
Pine Script operates in two distinct modes:
Strategy Mode: Calculates equity, drawdowns, and simulates orders. Great for research, but sometimes complex to automate.
Indicator Mode: Plots visual data on the chart. This is the preferred method for setting up robust alerts because it is lighter weight and plots specific values that automation services can read easily.
The Golden Rule: Always backtest on the Strategy, but trade on the Indicator. This ensures that what you see in your history matches what you execute in real-time.
4. How to Automate This Script
This script uses a "Visual Spike" method to trigger alerts. Instead of drawing equity curves, it plots numerical values at the bottom of your chart when a trade event occurs.
The Signal Map:
Blue Spike (2 / -2): Entry Signal (Long / Short).
Yellow Spike (1 / -1): Risk Management Close (Stop Loss / Trend Reversal).
Green Spikes (1, 2, 3): Take Profit Levels 1, 2, and 3.
Setup Instructions:
Add this indicator to your chart.
Open your TradingView "Alerts" tab.
Create a new Alert.
Condition: Select SAO - RM Alerts Template.
Trigger: Select Any Alert() function call.
Message: Paste your JSON webhook message (provided by your bot service).
5. The Logic Under the Hood
Just like the Strategy version, this indicator utilizes:
SuperTrend + Awesome Oscillator: High-probability swing trading logic.
Non-Repainting Engine: Calculates signals based on confirmed candle closes to ensure the alert you get matches the chart reality.
Advanced Adaptive Trailing Stop (AATS): Internally calculates volatility to determine when to send a "Close" signal.
6. About Signal Lynx
Automation for the Night-Shift Nation 🌙
We are providing this code open source to help traders bridge the gap between manual backtesting and live automation. This code has been in action since 2022.
If you are looking to automate your strategies, please take a look at Signal Lynx in your search.
License: Mozilla Public License 2.0 (Open Source). If you make beneficial modifications, please release them back to the community!
Super-AO with Risk Management Strategy Template - 11-29-25Super-AO Strategy with Advanced Risk Management Template
Signal Lynx | Free Scripts supporting Automation for the Night-Shift Nation 🌙
1. Overview
Welcome to the Super-AO Strategy. This is more than just a buy/sell indicator; it is a complete, open-source Risk Management (RM) Template designed for the Pine Script community.
At its core, this script implements a robust swing-trading strategy combining the SuperTrend (for macro direction) and the Awesome Oscillator (for momentum). However, the real power lies under the hood: a custom-built Risk Management Engine that handles trade states, prevents repainting, and manages complex exit conditions like Staged Take Profits and Advanced Adaptive Trailing Stops (AATS).
We are releasing this code to help traders transition from simple indicators to professional-grade strategy structures.
2. Quick Action Guide (TL;DR)
Best Timeframe: 4 Hours (H4) and above. Designed for Swing Trading.
Best Assets: "Well-behaved" assets with clear liquidity (Major Forex pairs, BTC, ETH, Indices).
Strategy Type: Trend Following + Momentum Confirmation.
Key Feature: The Risk Management Engine is modular. You can strip out the "Super-AO" logic and insert your own strategy logic into the template easily.
Repainting: Strictly Non-Repainting. The engine calculates logic based on confirmed candle closes.
3. Detailed Report: How It Works
A. The Strategy Logic: Super-AO
The entry logic is based on the convergence of two classic indicators:
SuperTrend: Determines the overall trend bias (Green/Red).
Awesome Oscillator (AO): Measures market momentum.
The Signal:
LONG (+2): SuperTrend is Green AND AO is above the Zero Line AND AO is Rising.
SHORT (-2): SuperTrend is Red AND AO is below the Zero Line AND AO is Falling.
By requiring momentum to agree with the trend, this system filters out many false signals found in ranging markets.
B. The Risk Management (RM) Engine
This script features a proprietary State Machine designed by Signal Lynx. Unlike standard strategies that simply fire orders, this engine separates the Signal from the Execution.
Logic Injection: The engine listens for a specific integer signal: +2 (Buy) or -2 (Sell). This makes the code a Template. You can delete the Super-AO section, write your own logic, and simply pass a +2 or -2 to the RM_EngineInput variable. The engine handles the rest.
Trade States: The engine tracks the state of the trade (Entry, In-Trade, Exiting) to prevent signal spamming.
Aggressive vs. Conservative:
Conservative Mode: Waits for a full trend reversal before taking a new trade.
Aggressive Mode: Allows for re-entries if the trend is strong and valid conditions present themselves again (Pyramiding Type 1).
C. Advanced Exit Protocols
The strategy does not rely on a single exit point. It employs a "Layered Defense" approach:
Hard Stop Loss: A fixed percentage safety net.
Staged Take Profits (Scaling Out): The script allows you to set 3 distinct Take Profit levels. For example, you can close 10% of your position at TP1, 10% at TP2, and let the remaining 80% ride the trend.
Trailing Stop: A standard percentage-based trailer.
Advanced Adaptive Trailing Stop (AATS): This is a highly sophisticated volatility stop. It calculates market structure using Hirashima Sugita (HSRS) levels and Bollinger Bands to determine the "floor" and "ceiling" of price action.
If volatility is high: The stop loosens to prevent wicking out.
If volatility is low: The stop tightens to protect profit.
D. Repainting Protection
Many Pine Script strategies look great in backtesting but fail in live trading because they rely on "real-time" price data that disappears when the candle closes.
This Risk Management engine explicitly pulls data from the previous candle close (close , high , low ) for its calculations. This ensures that the backtest results you see match the reality of live execution.
4. For Developers & Modders
We encourage you to tear this code apart!
Look for the section titled // Super-AO Strategy Logic.
Replace that block with your own RSI, MACD, or Price Action logic.
Ensure your logic outputs a 2 for Buy and -2 for Sell.
Connect it to RM_EngineInput.
You now have a fully functioning Risk Management system for your custom strategy.
5. About Signal Lynx
Automation for the Night-Shift Nation 🌙
This code has been in action since 2022 and is a known performer in PineScript v5. We provide this open source to help the community build better, safer automated systems.
If you are looking to automate your strategies, please take a look at Signal Lynx in your search.
License: Mozilla Public License 2.0 (Open Source). If you make beneficial modifications, please release them back to the community!






















