Ghost Cipher [Bit2Billions]📌 Ghost Cipher — Range-State & Volatility Flow Engine
Ghost Cipher is a closed-source market state indicator built to identify **whether price is ranging, transitioning, or expanding**, using a volatility-driven range-state model.
Most indicators assume markets are either “trending” or “ranging” based on slope or moving averages. This approach fails during compression, false breakouts, and regime transitions.
Ghost Cipher solves this by classifying price into **distinct range states** using volatility behavior, range efficiency, and expansion pressure — before interpreting direction.
📌 Core Calculation Concept (Range-State Logic)
Ghost Cipher does not attempt to predict direction first.
Instead, it evaluates **how price is behaving** by measuring:
* Volatility compression vs expansion
* Range containment vs escape
* Directional efficiency within a defined range
* Breakout follow-through probability
Price is continuously classified into one of several internal **range states**, such as:
* Balanced / Contained range
* Compression / coil state
* Expansion / breakout phase
* Post-expansion transition
Directional tools only activate once the range state allows them to be meaningful.
This avoids false signals caused by applying trend logic inside non-trending conditions.
📌 Reason for Mashup (Why Multiple Elements Exist)
Ghost Cipher combines smoothing, volatility, liquidity context, and range logic **because range-state determination cannot be made from a single measurement**.
* Volatility alone cannot define structure
* Trend slope alone ignores compression
* Liquidity zones without range context are unreliable
Each component exists **only to support range-state classification**.
This is not a mashup of tools — it is **one range-state model expressed through multiple analytical outputs**.
📌 How the Components Work Together
All modules in Ghost Cipher reference the same internal range-state engine:
1. **Adaptive Smoothing Layer** filters noise and defines the active price envelope.
2. **Volatility Engine** measures compression, expansion, and regime pressure.
3. **Range Boundary Logic** detects containment, equilibrium, and escape attempts.
4. **Liquidity & Reaction Zones** are identified only at range extremes or expansion points.
5. **Trend Bias Tools** activate only during expansion-approved states.
6. **Dashboard Layer** summarizes the current range state and volatility condition.
Because all outputs depend on the same range-state classification:
* Trend signals do not appear during compression
* Liquidity zones are contextually valid
* Breakouts are evaluated by expansion quality, not candle count
📌 What Problem This Script Solves
Ghost Cipher is designed for traders who experience:
* False breakouts
* Trend signals inside ranges
* Overtrading during compression
* Conflicting volatility and trend tools
* Difficulty identifying regime transitions
By classifying market state first, Ghost Cipher provides:
* Clear identification of non-trading conditions
* Valid breakout vs fakeout context
* Controlled activation of directional bias
* Cleaner charts with fewer false signals
📌 How Traders Use Ghost Cipher
Ghost Cipher is **not** an entry system.
Traders use it to:
* Identify when the market is tradable
* Avoid compression and chop
* Confirm valid expansion phases
* Understand post-breakout behavior
* Maintain consistency across markets and timeframes
All outputs are **contextual**, not automated trades.
📌 Why This Script Is Original
Ghost Cipher does not rely on:
* Fixed Bollinger logic
* Simple ATR thresholds
* Moving-average slope detection
Its originality lies in:
* Continuous range-state classification
* Volatility-driven regime validation
* Conditional activation of directional logic
* Unified state engine shared across all modules
This behavior cannot be achieved by combining standard volatility or trend indicators.
📌 Why This Script Is Invite-Only
Ghost Cipher replaces multiple manual processes:
* Range marking
* Compression detection
* Breakout validation
* Volatility regime filtering
* Trend activation timing
Its value lies in **how range-state and volatility flow are classified and enforced**, which requires proprietary logic and is therefore provided as a closed-source, invite-only script.
📌 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 Processing
* 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.
Trend Analysis
Eagle Algo Pro v0.2This script, "Eagle Algo Pro v0.2," combines trend-following and mean-reversion concepts to assist traders in identifying potential trade entries. It is designed to work on various timeframes and integrates three distinct analytical components:
1. Eagle Trend Strategy (Channel Breakout):
This module utilizes a Donchian-style channel (Highest High and Lowest Low over a user-defined period) to detect trend breakouts.
- Logic: A "CALL" signal is generated when the price closes above the upper channel line, indicating bullish momentum. Conversely, a "PUT" signal is generated when the price closes below the lower channel line.
- Utility: Helps traders spot the beginning of new trends or breakouts from consolidation.
2. S/R & Reversal Strategy (Support/Resistance & Pivots):
This component identifies key Support and Resistance zones using Pivot Points derived from historical price action.
- Logic: The script calculates pivot highs and lows to draw dynamic support/resistance boxes. It then looks for price rejections (wicks) near these zones combined with RSI filtering (Overbought/Oversold conditions).
- Utility: Useful for finding reversal points where price is likely to bounce.
3. RiViL Channel (Linear Regression):
A Linear Regression Channel that visually displays the current trend direction and deviation levels.
- Utility: Provides visual context on whether the price is overextended (near the edges of the channel) or moving with the mean trend.
Dashboard Features:
The script includes a performance dashboard that tracks historical signals for both strategies, displaying Total Signals, Wins, Losses, and Win Rate based on the chart history. This allows for quick backtesting and parameter tuning.
Disclaimer:
This tool is for educational purposes and market analysis only. Past performance does not guarantee future results.
Sri - Pivot (Daily /Weekly / Monthly / 6M)📌 Sri – Pivot (Daily / Weekly / Monthly / 6M)
Sri – Pivot+ is a multi-timeframe pivot and CPR framework designed to visualize short-term trading zones and higher-timeframe market structure simultaneously on a single chart.
The script combines fixed higher-timeframe pivots (Weekly, Monthly, 6-Month) with an independently configurable CPR engine (CPR2) that supports multiple pivot methodologies and developing levels.
This indicator is built to help traders contextualize intraday price action within higher-timeframe support, resistance, and equilibrium zones, rather than treating pivots as isolated levels.
🔹 Core Concepts Used
This script is not a single pivot calculator, but a layered pivot architecture built around:
Higher-Timeframe Structural Levels
Central Pivot Range (CPR) compression & expansion logic
Dynamic time-adaptive pivot resolution
Developing (in-progress) CPR projection
🔹 What Makes This Script Different
1️⃣ Fixed Higher-Timeframe Structural Pivots (Auto-Anchored)
The script automatically plots only the current active levels for:
Weekly pivots
Monthly pivots
6-Month (Half-Yearly) pivots
Each timeframe uses:
Full Pivot + BC + TC (CPR)
S1–S5 / R1–R5
Distinct color systems and line styles to visually separate structural importance
These levels are anchored to the exact period open/close timestamps, avoiding repainting and misalignment issues commonly seen in simpler pivot scripts.
Purpose: Identify institutional reference zones where reactions are statistically more meaningful.
2️⃣ CPR2 – Independent Advanced CPR Engine
CPR2 is a separate pivot engine running alongside structural pivots, allowing traders to overlay short-term tradable zones without interfering with higher-timeframe context.
CPR2 supports:
Traditional
Fibonacci
Classic
Camarilla pivots
Selectable CPR resolutions:
Auto
Daily
Weekly
Monthly
Quarterly
Half-Yearly
Yearly
The Auto mode adapts to the chart timeframe, switching resolution intelligently (e.g., intraday → Daily / Weekly).
3️⃣ Developing CPR (Forward Projection)
Unlike static pivots, this script calculates and projects:
Developing CPR
Developing R1 / S1
These levels update during the active session using evolving OHLC data and can be:
Extended forward (holiday-aware)
Visualized as filled CPR zones
Purpose: Anticipate future equilibrium zones before the session closes.
4️⃣ Historical vs Current Pivot Control
Users can independently choose:
Only current session levels
Or historical pivot levels (lookback-controlled)
This prevents chart clutter while still allowing contextual back-analysis.
🔹 Practical Trading Use Cases
Trend Days
Price holding above CPR and respecting higher-timeframe R/S levels.
Range Days
CPR compression with price oscillating between S1–R1.
Reversal Zones
Confluence between:
Weekly / Monthly pivots
Developing CPR boundaries
Camarilla or Fibonacci extensions
🔹 Design & Performance Considerations
Uses time-anchored security calls to avoid repainting
Optimized drawing logic to respect TradingView limits
Clear visual hierarchy (Weekly → Monthly → 6M → CPR2)
Suitable for index, equity, and futures markets
⚠️ Important Notes
This is not a buy/sell signal indicator
Designed for context, planning, and confluence
Best used alongside price action, volume, or trend tools
📊 Recommended Chart Usage
Intraday charts: 5m / 15m / 30m
Swing charts: 1H / 4H / Daily
Works on all liquid instruments
Angular Moving AveragesMETHODOLOGICAL GUIDE: ANGULAR MOVING AVERAGES
Pedagogical Introduction
Most traders make the mistake of viewing moving averages as simple support or resistance lines. However, the true power of a moving average lies in its slope vector. This script is designed to transform visual subjectivity into precise mathematical data, allowing the trader to quantify the acceleration or deceleration of a trend through an angular measurement system and a dynamic "pool" of alerts.
1. Dynamic Level System (Highs & Lows)
This module projects horizontal lines marking the most recent significant highs and lows detected by the algorithm. While its primary function is structural, its true power lies in its integration with the RSI.
• Color Logic: These lines are not static; they change color based on the state of the RSI oscillator (user-configurable).
◦ Fuchsia (Overbought/Oversold): Activated when the RSI reaches critical thresholds (default >= 70 or <= 30). It indicates that the price has reached a threshold of mass participation or exhaustion.
◦ Yellow (Transition Zones): Indicates that the price is entering cautionary terrain (60-70 or 30-40).
◦ Gray (Neutral Zone): The market is in a relative equilibrium (40-60), ideal for identifying consolidation phases.
• Utility: Allows the trader to know at a glance whether current support and resistance levels are validated by a momentum condition in the RSI.
2. Fibonacci Reference Frame (Background Structure)
As a visual complement, the script integrates an Automatic Fibonacci Retracement based on recent highs and lows. This system is designed as a low-opacity "watermark" to avoid obstructing price action.
• Reaction Zones: The system delimits three key bands:
1. Zone 23.6% to 38.2%: The first retracement filter.
2. Zone 38.2% to 50.0%: The movement's equilibrium level.
3. Zone 50.0% to 61.8%: The area of maximum relevance for continuity or reversal.
3. The Control Center (Angular Dashboard)
The table is a real-time data processor that divides its analysis into three fundamental pillars, as shown in the technical capture:
A. Moving Average Angle Matrix
Located in the upper left, it measures the vectorial slope of 5 different moving average architectures: Simple (S), Exponential (E), Weighted (W), Hull (H), and ALMA (A).
• Data Interpretation: The numbers inside the cells represent the exact angle of the vector. A positive number indicates an ascent, and a negative number indicates a descent.
• Period Versatility: The system allows for custom lengths for each type. For example, a user can compare three ALMA 10-period averages simultaneously to observe subtle variations in the micro-trend.
B. Quantitative High/Low Reference
The yellow section of the table displays the nominal values (exact prices) of the last detected Highs and Lows. This facilitates quick and precise order management (Stop Loss or Take Profit) without the need for external tools.
C. Angular Alerts Pool (Alert & Color Logic)
This is the most critical and advanced section of the table. It acts as the "filter" that decides which information is relevant to the trader.
• Smart Color-Coding: Cells turn Green or Red when angles meet specific pre-configured criteria.
• Lateralization Detection: A key pedagogical aspect is observing when short-term averages (following the price) mark green while long-term ones remain red. This divergence alerts the trader to transition or sideways phases, preventing entries in false trends.
• "Waterfall" Configuration: Allows for confirming that the movement has constant inertia (such as the three cascading ALMA 10s) before executing a trade.
• Total Integration: The Alerts Pool can also affect the visualization of the high and low levels on the chart.
Customization and Technical Restrictions
This system has been designed as a highly adaptable tool for any trading style. All numerical values, moving average lengths, colors, and visualization elements are fully user-configurable, with one single exception:
• Fibonacci Values: The levels 23.6%, 38.2%, 50.0%, and 61.8% remain fixed to ensure the integrity of the mathematical retracement metric. However, their colors and visibility can be customized to suit any visual theme (Dark or Light).
MODULAR CONFIGURATION & HYPER-SCALABLE ALERTS POOL
This system is not a rigid tool; it is a technical engineering environment designed for objective market measurement. Although specific setups are shown in the visual examples, the user has absolute control to adapt the indicator to their own analysis methodology.
1. Moving Average Configuration & Algorithmic Versatility
The engine processes 5 families of algorithms (SMA, EMA, WMA, HULL, and ALMA) with total flexibility:
• Custom Lengths: Although the system includes default values (10, 50, 100, 200), you can freely reconfigure them. For example, you can work with "pairs" of averages (two 20-period and two 55-period) to analyze different sensitivities.
• Style Personalization: The user decides which averages to display on the chart to maintain operational clarity, while the engine continues to process the rest of the data in the background.
• Instant Refresh: Any change in configuration is immediately updated in both the 20 vectors and the data table (Dashboard).
2. The Technical Alerts Pool: Centralized Intelligence
The alert management unifies up to 22 technical variables into a single output, optimizing TradingView resources and the trader's attention.
• Operational Efficiency: When the alarm sounds on your device, the Dashboard will accurately indicate which of the 22 variables (Price Breakouts or Angular Vectors) triggered the signal.
• Threshold Logic:
◦ Value 0: Alert disabled.
◦ Positive Value ($>0$): Identifies the strengthening of a bullish trend. The alert triggers when the angle is greater than or equal to the programmed value.
◦ Negative Value ($<0$): Identifies the strengthening of a bearish trend. The alert triggers when the angle is less than or equal to the programmed value.
• Mathematical Integrity: The program operates internally with high-precision decimals. If you program an alert at 20°, the system will only trigger it upon reaching the exact value (e.g., 20.00°). The Dashboard's visual rounding to whole numbers is purely aesthetic; the execution is strictly technical.
Technical Case Analysis (visual examples)
The following sequence of attached screenshots demonstrates the system's filtering and detection capabilities:
1. Bearish Trend Scenario
1. Initial Setup: This image shows two overlapping menus. First, the Style tab (where Hull averages are selected as a visual reference) and, second, the Alerts menu with negative values configured to detect downward trend strength.
2. Chart Response: The next capture shows the technical result: 20 aligned vectors and the price confirming the downward movement after the programmed breakouts.
2. Bullish Trend Scenario.
1. Threshold Setup: Capture showing the adjustment of values in the configuration menu, this time set with positive parameters to identify upward trend acceleration.
2. Chart Response: Image illustrating the expansion of the vectorial fan and the health of the bullish trend in full development.
Consolidation Filtering:
In these examples, a critical feature is evident: during periods of consolidation or sideways ranges, fast averages react to price noise, but slow ones maintain their trajectory. Thanks to the Alerts Pool, the user can filter this behavior and receive notifications only when the trend regains its real angular strength.
TECHNICAL ARCHITECTURE: VECTORIAL PRECISION
Total scale independence and cross-device consistency
The major problem with conventional angular indicators is that their appearance changes depending on the zoom level or screen size, leading to subjective and erroneous signals. This indicator solves this issue through a vector-based architecture that maintains absolute integrity.
You can observe the same asset, on the same timeframe and at the same time, from a mobile phone or a large desktop monitor; the angle and projected force will be identical. The inclination of the vectors is an objective measurement that does not depend on how you stretch or compress the chart on your screen.
Visual stability example (Standard scenario):
In this first link , you can observe the behavior of the vectors on a chart with normal proportions. I have used the Bar Replay tool to keep the scenario fixed and allow for a real comparison.
Visual stability example (Deformed chart):
In this second link , I have extremely deformed the chart. As you can see, while the price and candles change their visual appearance, the vectors maintain the exact same angle and position, proving that the force measurement is undisturbed by scaling.
TRADING ECOSYSTEM: ANGULAR VOLATILITY & EDITOR'S PICK SEAL
This moving average indicator serves as a complement to my Angular Volatility methodology. It is part of an analytical system that I have shared chronologically and transparently, allowing for a clear understanding of how these tools evolve within the market.
It is important to highlight that the technical robustness of this approach was officially recognized when my second publication in this series received the Editor’s Pick distinction. This endorsement from TradingView moderators validates the technical foundation of the angular analysis that I continue to expand today with this new script, designed to measure vector and force.
To fully understand the ecosystem and how this indicator enhances volatility and directional readings, you may consult the following public publications in their order of development:
1. Core Methodology (Script):
2. Awarded Market Analysis (Editor’s Pick):
3. Technical Educational Series (Case Studies):
EVALUATION ACCESS & CONTACT PROTOCOL
To allow you to personally verify the effectiveness of this vector and force system in your own trading, I am granting a 15-day temporary evaluation access.
How to request and manage your access:
1. Initial Request: Leave a comment directly on this publication requesting the trial. This allows me to immediately identify your profile and enable the invitation.
2. Activation and Location: Once I receive your comment, I will activate your access. You can find the indicator on your TradingView chart by going to the "Indicators" menu and looking for the folder named "Invite-only scripts". I will reply to your comment simply to confirm that access has been granted and to provide the expiration date.
3. Communication: To avoid cluttering the public comments section, I will send you a Private Message (TradingView Chat) with additional details. Through this private chat, we can maintain fluid communication. If you require permanent access, you can contact me via Facebook (link available in my author profile).
Important Note on Privacy:
Please do not share emails, phone numbers, or external links in the public comments. TradingView prohibits the exchange of personal data in this section, and both parties could face sanctions. For any details requiring external contact, please use the link in my profile or the private chat.
MARKET CALIBRATION, TIMEFRAMES, AND FUTURE UPDATES
It is fundamental to understand that this system does not use a generic formula. Each market and each timeframe requires exhaustive study and individual calibration to ensure that the vectors accurately represent the real force of the movement.
Currently, the script is calibrated exclusively for Cryptocurrency and Forex markets (options you will find in the settings menu). If there is solid interest from the community, I will undertake the calibration process for other assets such as Stocks, Indices, or Commodities—a task that requires time, patience, and rigorous technical study.
Regarding timeframes, the system is optimized to work on 1m, 5m, 15m, 30m, 1h, 4h, Daily, and Weekly charts. Outside of these ranges, the indicator will not perform readings to protect the integrity of the analysis. However, additional timeframes can be added upon direct request from subscribers, with the understanding that each new timeframe must undergo its own individual calibration process before being integrated into the code.
ADAPTABILITY AND FUTURE MOVING AVERAGES
Although the core of the indicator is optimized for a specific moving average configuration, the system has been designed with a flexible architecture that allows for the integration of other types of averages based on trading needs.
Technical Limits and Customized Versions:
It is important to consider that each added type of moving average consumes processing resources within TradingView. Due to the calculation and validation limits imposed by the platform to maintain chart performance, it is not feasible to include every possible variation within a single script.
However, this limitation is easily resolved through the creation of derivative or specific versions. Upon request from subscribers, these new moving averages can be incorporated into future releases or customized versions, ensuring that the tool adapts to your strategy without sacrificing fluid performance and vectorial precision.
Wyckoff Accumulation Distribution [Wisco]Labels Accumulation, Manipulation and Distribution areas on the chart in real time, non repainted. Many settings to adjust line thickness, opacity, color, etc.
Flexible Moving Average SuiteFlexible Moving Average Suite is a customizable moving average indicator that allows traders to configure up to 4 independent moving average lines with full control over calculation method, period, source, color, and line width.
Key Features:
Dual Calculation Methods: Choose between Simple Moving Average (SMA) or Exponential Moving Average (EMA) for each line independently
Full Customization: Adjust period length (1-∞), data source (close, open, high, low, etc.), color, and line width for each MA
Individual Toggle Controls: Show or hide each moving average line as needed
Default Configuration: Pre-configured with commonly used Fibonacci-based periods (5, 13, 21, 34) for quick start
Clean Visualization: Professional color scheme with distinct colors for easy identification
How to Use:
Add the indicator to your chart
Open Settings → "均线系统设置" (Moving Average Settings)
For each MA line (MA1-MA4):
Toggle visibility on/off
Select calculation type (SMA/EMA)
Choose data source (default: close)
Set period length
Adjust line width
Pick your preferred color
Click "OK" to apply changes
Best Practices:
Use multiple timeframes to identify trend alignment
Shorter periods (5-13) respond quickly to price changes, suitable for entry signals
Longer periods (21-34+) help identify major trend direction
Color-code your MAs consistently across charts for better visual recognition
Combine with price action and volume for confirmation
Technical Details:
Written in Pine Script v6
Overlay indicator (displays on price chart)
Lightweight and efficient
Open source under Mozilla Public License 2.0
No repainting
Default Settings:
MA1: EMA(5) - Yellow (#f6c309)
MA2: EMA(13) - Orange (#fb9800)
MA3: EMA(21) - Deep Orange (#fb6500)
MA4: EMA(34) - Red (#f60c0c)
This indicator is ideal for traders who need a simple, reliable, and highly customizable moving average solution without unnecessary complexity.
中文说明 (Chinese Description)
灵活均线系统 是一个可定制的移动平均线指标,允许交易者配置最多4条独立的移动平均线,并完全控制计算方法、周期、数据源、颜色和线宽。
主要特点:
双重计算方法: 每条线可独立选择简单移动平均线(SMA)或指数移动平均线(EMA)
完全自定义: 为每条MA调整周期长度(1-∞)、数据源(收盘、开盘、最高、最低等)、颜色和线宽
独立开关控制: 根据需要显示或隐藏每条移动平均线
默认配置: 预配置常用的斐波那契周期(5、13、21、34)以便快速开始
清晰可视化: 专业配色方案,不同颜色便于识别
使用方法:
将指标添加到图表
打开设置 → "均线系统设置"
对于每条MA线(MA1-MA4):
切换显示/隐藏
选择计算类型(SMA/EMA)
选择数据源(默认:收盘价)
设置周期长度
调整线宽
选择您喜欢的颜色
点击"确定"应用更改
最佳实践:
使用多个时间周期识别趋势一致性
较短周期(5-13)快速响应价格变化,适合入场信号
较长周期(21-34+)帮助识别主要趋势方向
在不同图表上一致地为MA配色,以获得更好的视觉识别
结合价格行为和成交量进行确认
技术详情:
使用Pine Script v6编写
覆盖指标(显示在价格图表上)
轻量高效
Mozilla Public License 2.0开源
不会重绘
默认设置:
MA1: EMA(5) - 黄色 (#f6c309)
MA2: EMA(13) - 橙色 (#fb9800)
MA3: EMA(21) - 深橙色 (#fb6500)
MA4: EMA(34) - 红色 (#f60c0c)
该指标非常适合需要简单、可靠且高度可定制的移动平均线解决方案的交易者。
PK Scalper Pro Neon Cloud Killzone Dashboard 📌 Overview
PK Scalper Pro — Neon Cloud + Killzone Dashboard (JST) combines a Wilders ATR trail,
Fibonacci entry zones, session/killzone context, and a 7-factor environment score
to form a dynamic trend-following scalping strategy.
It adapts in real time to volatility, aiming for higher entry precision and optimized risk.
⚠️ For educational and research purposes only. Past performance does not guarantee future results.
🎯 Strategy Objectives
React quickly to sharp moves and reversals while using hysteresis (bar confirmation)
to suppress noise and deliver stable scalping signals.
✨ Key Features
Neon Cloud visualization (Full / Entry / Premium-Discount / Fib Bands / Upper / Middle / Lower modes)
7-factor scalping score (ATR compression / ADX / Volume / Candle range / Range compression / RSI / BB width)
— quantified 0–10 to measure environment suitability
Stable state machine combining Sensitivity × Stability (confirmation bars)
to determine start/end states reliably
📊 Trading Rules
Long Entry:
Trend = +1 and price <= f2 (78.6%), with is_scalping_time = true
Optimal zone: between f3 (88.6%) and l100 (trail); automatic “Fib Entry (Long)” label
Short Entry:
Trend = −1 and price >= f2 (78.6%), with is_scalping_time = true
Optimal zone: between f3 and l100; automatic “Fib Entry (Short)” label
Exit / Reversal:
Reverse or close on Trend crossover/crossunder
When is_scalping_time = false is confirmed, prioritize taking profit
💰 Risk Management Parameters
Recommended timeframes: 1–15m (FX / Indices / Crypto)
Example: Account $10,000 / Commission 0.02% / Slippage 1.0 pips / Risk 1% per trade
SL = ATR(14) × 1.5, TP = SL × Target R:R (default 2.0)
⚙️ Trading Parameters & Considerations
ATRPeriod = 200 / ATRFactor = 8 / trailType = "modified"
Sensitivity = "Medium" (entry ≈6, exit ≈4) / Stability = "Normal" (confirmation bars = 3)
Fibonacci: ex↔trail range → f1=61.8, f2=78.6, f3=88.6, eq=50, l100=trail
Killzone shown in JST; priority order NY > LDN > TKY, with remaining time countdown
🖼 Visual Support
Highlights optimal zone (f3→100%) and Premium/Discount areas; PRIME conditions shown with purple background
Dashboard displays direction 📈/📉, score, confirmation progress, Killzone (JST), TP/SL guidance, and Session info
🔧 Strategy Improvements & Uniqueness
Introduces a 7-factor score + hysteresis to quantify and stabilize “enter/stop” conditions
Defines precise deep pullback zone (88.6–100%) as optimal entry area
Neon multi-layer cloud + fixed-row dashboard for high visibility and live stability
✅ Summary
PK Scalper Pro integrates momentum (Trend), volatility adjustment (ATR), and multi-factor scoring
into a responsive scalping framework.
Its clear visuals and practical design improve reproducibility and decision confidence.
⚠️ No guarantee of future profits — always apply disciplined position sizing and risk management.
Harmonic Oscillator - Multi-Component Momentum ConsensusHarmonic Oscillator - Multi-Component Momentum Consensus
Harmonic Oscillator is a seven-component momentum analysis system that transforms standard oscillators into a unified consensus framework. The indicator combines RSI, Stochastic RSI, MACD, EMA Trend, Momentum, Volume, and Divergence Zone detection into a single composite oscillator with automatic regime classification and qualified voting.
Rather than monitoring multiple separate indicators, traders can observe how these momentum calculations align or diverge through a single panel displaying vote count (X/7), regime state (TRENDING/BIAS/RANGING), and a normalized composite line.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔶 𝗢𝗩𝗘𝗥𝗩𝗜𝗘𝗪
Traditional momentum analysis often requires monitoring multiple oscillators simultaneously: RSI for momentum strength, Stochastic for extreme zones, MACD for trend-following momentum, and so on. Each indicator has its own scale, its own interpretation rules, and its own blind spots.
Harmonic Oscillator addresses this by implementing a voting system where seven independent components each cast a vote based on their specific criteria. The indicator then:
• Counts votes to show consensus level (displayed as X/7)
• Blends three oscillators into a single normalized composite line (0-100 scale)
• Classifies market regime based on composite position and baseline confirmation
• Detects divergences between price structure and oscillator structure
• Filters signals through optional higher timeframe trend alignment
The result is a unified view of momentum conditions that may help traders identify when multiple factors are agreeing versus conflicting.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔶 𝗛𝗢𝗪 𝗜𝗧 𝗪𝗢𝗥𝗞𝗦
The indicator is built around one core principle: momentum readings are more meaningful when multiple independent calculations agree.
𝗧𝗵𝗲 𝗦𝗲𝘃𝗲𝗻 𝗩𝗼𝘁𝗶𝗻𝗴 𝗖𝗼𝗺𝗽𝗼𝗻𝗲𝗻𝘁𝘀
Each component analyzes a different aspect of momentum and casts a bullish, bearish, or neutral vote:
𝟭. 𝗥𝗦𝗜 (𝗠𝗼𝗺𝗲𝗻𝘁𝘂𝗺-𝗔𝘄𝗮𝗿𝗲)
What it does: RSI is calculated with additional RMA smoothing to reduce noise. The voting logic requires both threshold position AND slope confirmation. RSI must be above 50 with rising slope to vote bullish, or below 50 with falling slope to vote bearish. Special conditions detect potential reversals (RSI below 30 but rising).
How to interpret it: A green RSI arrow in the panel indicates bullish momentum with directional confirmation. A red arrow indicates bearish. Gray dash means RSI is not showing clear directional conviction.
𝟮. 𝗦𝘁𝗼𝗰𝗵𝗮𝘀𝘁𝗶𝗰 𝗥𝗦𝗜 (𝗦𝗹𝗼𝗽𝗲 𝗔𝗻𝗮𝗹𝘆𝘀𝗶𝘀)
What it does: Stochastic RSI uses EMA smoothing on K and D lines for stability. The vote requires K-line momentum alignment: K above D with positive slope for bullish, K below D with negative slope for bearish.
How to interpret it: This component captures turning points in momentum. When SRSI votes while RSI doesn't (or vice versa), it may indicate the oscillators are at different phases of a move.
𝟯. 𝗠𝗔𝗖𝗗 (𝗛𝗶𝘀𝘁𝗼𝗴𝗿𝗮𝗺 𝗔𝗰𝗰𝗲𝗹𝗲𝗿𝗮𝘁𝗶𝗼𝗻)
What it does: Rather than voting on histogram direction alone, MACD votes on histogram acceleration, which is the rate of change of the histogram. This approach aims to identify momentum shifts before the histogram crosses zero.
How to interpret it: MACD acceleration can signal momentum changes early. A bullish vote means histogram is positive and accelerating, OR negative but accelerating upward.
𝟰. 𝗘𝗠𝗔 𝗧𝗿𝗲𝗻𝗱 (𝗣𝗼𝘀𝗶𝘁𝗶𝗼𝗻 + 𝗦𝗹𝗼𝗽𝗲)
What it does: Requires both price position relative to EMA AND slope confirmation. Price above EMA with positive EMA slope = bullish vote. Price below EMA with negative slope = bearish vote.
How to interpret it: This prevents votes in ambiguous situations where price is above a falling EMA or below a rising EMA. The EMA vote indicates clear trend alignment.
𝟱. 𝗠𝗼𝗺𝗲𝗻𝘁𝘂𝗺 (𝗥𝗮𝘁𝗲 𝗼𝗳 𝗖𝗵𝗮𝗻𝗴𝗲)
What it does: Uses smoothed Rate of Change (ROC) with the same qualification requirement: ROC positive AND increasing for bullish, ROC negative AND decreasing for bearish.
How to interpret it: Pure momentum measurement. When MOM agrees with trend components, directional conviction may be higher.
𝟲. 𝗩𝗼𝗹𝘂𝗺𝗲 (𝗖𝗼𝗻𝗳𝗶𝗿𝗺𝗮𝘁𝗶𝗼𝗻)
What it does: Compares current volume to recent average. Votes bullish when volume is elevated (1.2x+ average) on an up candle. Votes bearish when elevated volume accompanies a down candle.
How to interpret it: Volume confirmation adds weight to directional moves. Low volume readings during directional moves may indicate less conviction.
𝟳. 𝗗𝗶𝘃𝗲𝗿𝗴𝗲𝗻𝗰𝗲 𝗭𝗼𝗻𝗲
What it does: Detects when price and oscillator are in extreme zones with structural disagreement. Votes bullish when oscillator is oversold but price is making higher lows. Votes bearish when oscillator is overbought but price is making lower highs.
How to interpret it: This component specifically looks for potential reversal setups where momentum and price structure are disagreeing.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔶 𝗪𝗛𝗬 𝗧𝗛𝗘𝗦𝗘 𝗖𝗢𝗠𝗣𝗢𝗡𝗘𝗡𝗧𝗦 𝗪𝗢𝗥𝗞 𝗧𝗢𝗚𝗘𝗧𝗛𝗘𝗥
The seven components are designed to capture different aspects of momentum:
1. 𝗥𝗦𝗜 + 𝗦𝘁𝗼𝗰𝗵𝗮𝘀𝘁𝗶𝗰 𝗥𝗦𝗜: Two approaches to measuring momentum strength and turning points
2. 𝗠𝗔𝗖𝗗 + 𝗠𝗼𝗺𝗲𝗻𝘁𝘂𝗺: Trend-following momentum and pure rate of change
3. 𝗘𝗠𝗔 𝗧𝗿𝗲𝗻𝗱: Price position relative to moving average with slope confirmation
4. 𝗩𝗼𝗹𝘂𝗺𝗲: Participation confirmation on directional moves
5. 𝗗𝗶𝘃𝗲𝗿𝗴𝗲𝗻𝗰𝗲 𝗭𝗼𝗻𝗲: Structural disagreement detection in extreme zones
When multiple factors align (RSI slope confirms, MACD accelerates, EMA trend agrees, volume confirms), this represents broad momentum agreement. Such conditions may warrant attention, though they do not guarantee any particular outcome.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔶 𝗛𝗢𝗪 𝗧𝗢 𝗨𝗦𝗘
This section provides step-by-step guidance for interpreting the indicator's visual elements.
𝗦𝘁𝗲𝗽 𝟭: 𝗖𝗵𝗲𝗰𝗸 𝘁𝗵𝗲 𝗥𝗲𝗴𝗶𝗺𝗲 𝗖𝗹𝗮𝘀𝘀𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻
The regime label at the top of the status panel provides immediate market context:
• TRENDING ▲ or TRENDING ▼: Composite oscillator at extremes (above 65 or below 35) with 200 EMA baseline confirming direction. This may indicate sustained directional momentum.
• BIAS ▲ or BIAS ▼: Composite showing moderate lean (above 55 or below 45) without extreme readings. Directional tendency without full momentum extension.
• RANGING: Composite near midpoint (45-55 zone). This may indicate consolidation, indecision, or transition between directional moves.
The regime classification helps contextualize other readings. A high vote count during TRENDING may indicate trend continuation. The same vote count during RANGING may indicate an emerging directional move.
𝗦𝘁𝗲𝗽 𝟮: 𝗢𝗯𝘀𝗲𝗿𝘃𝗲 𝘁𝗵𝗲 𝗩𝗼𝘁𝗲 𝗖𝗼𝘂𝗻𝘁
The vote count (displayed as X/7) shows how many components currently agree:
• 6/7 or 7/7: High consensus. Most or all components showing directional agreement through their different calculation methods.
• 4/7 or 5/7: Moderate consensus. Majority agreement with some components neutral or conflicting.
• 1/7 to 3/7: Low consensus. Components are in disagreement or showing mixed readings.
The consensus meter bar at the bottom of the oscillator panel also visualizes this. Brighter colors indicate higher consensus.
𝗦𝘁𝗲𝗽 𝟯: 𝗥𝗲𝗮𝗱 𝘁𝗵𝗲 𝗖𝗼𝗺𝗽𝗼𝘀𝗶𝘁𝗲 𝗢𝘀𝗰𝗶𝗹𝗹𝗮𝘁𝗼𝗿
The main oscillator line blends RSI, Stochastic RSI, and MACD using winsorized normalization:
• Above 75 zone: Extended bullish momentum (overbought region)
• Above 85 zone: Extreme overbought
• Below 25 zone: Extended bearish momentum (oversold region)
• Below 15 zone: Extreme oversold
• 45-55 zone: Neutral/consolidation area
The signal line (thinner line) provides crossover reference. When composite crosses above signal = bullish momentum shift. Below = bearish shift.
Important: Like all oscillators, the composite can remain at extremes during strong directional moves. Overbought does not mean "sell"; it means momentum is extended.
𝗦𝘁𝗲𝗽 𝟰: 𝗖𝗵𝗲𝗰𝗸 𝗜𝗻𝗱𝗶𝘃𝗶𝗱𝘂𝗮𝗹 𝗖𝗼𝗺𝗽𝗼𝗻𝗲𝗻𝘁𝘀
The status panel shows each component's current vote with arrows:
• ▲ (green): Component voting bullish
• ▼ (red): Component voting bearish
• — (gray): Component neutral/no vote
This breakdown helps identify which factors are agreeing and which are diverging. For example, if RSI and SRSI show bullish but MACD shows bearish, momentum may be mixed.
𝗦𝘁𝗲𝗽 𝟱: 𝗪𝗮𝘁𝗰𝗵 𝗳𝗼𝗿 𝗗𝗶𝘃𝗲𝗿𝗴𝗲𝗻𝗰𝗲𝘀
Divergence labels appear when price and oscillator structure disagree:
• ▲ DIV (bullish): Price makes lower low, oscillator makes higher low. Appears only in oversold zone (below 25).
• ▼ DIV (bearish): Price makes higher high, oscillator makes lower high. Appears only in overbought zone (above 75).
Divergences indicate structural disagreement that may precede reversals. However, divergences can persist or resolve without reversal. They are one input for analysis, not standalone signals.
𝗦𝘁𝗲𝗽 𝟲: 𝗖𝗼𝗺𝗯𝗶𝗻𝗲 𝗠𝘂𝗹𝘁𝗶𝗽𝗹𝗲 𝗙𝗮𝗰𝘁𝗼𝗿𝘀
The indicator provides the most context when multiple elements align:
Example Scenario A (Trend Continuation):
Composite holding above 65 for eight bars. Regime reads TRENDING▲, votes at 6/7, no divergence labels. The oscillator hasn't touched the 85 extreme zone yet. Components are aligned with room to extend before reaching overbought conditions.
Example Scenario B (Momentum Fading):
Regime shows BIAS▼ during a two-day selloff. But votes just dropped from 5/7 to 3/7, and the composite crossed above the signal line. The regime label says bearish while components are losing agreement. This type of disconnect often appears before moves stall or reverse.
Example Scenario C (Exhaustion Warning):
After a rally, composite hits 87 in the extreme zone. A ▼ DIV label appears. Votes drop from 7/7 to 4/7 over three bars. None of this guarantees reversal, but multiple warning signs appearing together (extreme reading, divergence, falling consensus) suggest caution.
Example Scenario D (Breakout From Consolidation):
Regime has shown RANGING for two days, composite hovering 48-52, votes stuck at 2/7 to 3/7. Then regime flips to BIAS▲, votes jump to 5/7, composite breaks above 55. When all three shift together after a quiet period, consolidation may be resolving into a directional move.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔶 𝗡𝗔𝗩𝗜𝗚𝗔𝗧𝗜𝗡𝗚 𝗗𝗜𝗙𝗙𝗘𝗥𝗘𝗡𝗧 𝗠𝗔𝗥𝗞𝗘𝗧 𝗖𝗢𝗡𝗗𝗜𝗧𝗜𝗢𝗡𝗦
𝗧𝗿𝗲𝗻𝗱𝗶𝗻𝗴 𝗠𝗮𝗿𝗸𝗲𝘁𝘀
In trending conditions, traders may observe the regime classification showing "TRENDING" with baseline confirmation, composite remaining in the upper or lower half of the range, and high consensus readings (5-7 votes) persisting across multiple bars. The qualification requirements help maintain agreement during trends. A sustained move where RSI stays above 50 with positive slope, MACD histogram accelerates, and EMA slope confirms will show consistent directional votes. Divergences may appear in extreme zones but may not resolve immediately during strong trends.
𝗥𝗮𝗻𝗴𝗶𝗻𝗴 𝗠𝗮𝗿𝗸𝗲𝘁𝘀
In ranging or consolidating conditions, the regime classification will often show "RANGING" or alternate between brief directional readings. The composite typically oscillates around the 50 line without reaching sustained extremes, and vote counts fluctuate without reaching high consensus for extended periods. Divergences appearing at range extremes may be more significant in these conditions, potentially indicating range boundaries.
𝗛𝗶𝗴𝗵 𝗩𝗼𝗹𝗮𝘁𝗶𝗹𝗶𝘁𝘆 𝗘𝘃𝗲𝗻𝘁𝘀
During high volatility events, components may respond rapidly to price changes. Vote counts can swing from high bullish to high bearish consensus quickly. The regime classification helps contextualize whether these swings are occurring within a larger trending structure or representing genuine momentum reversals. The composite may reach extreme zones (85+ or 15-) during volatility spikes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔶 𝗧𝗘𝗖𝗛𝗡𝗜𝗖𝗔𝗟 𝗗𝗘𝗧𝗔𝗜𝗟𝗦
• Normalization uses winsorized statistics: extreme values are clipped before scaling to prevent outliers from dominating the composite blend
• Qualification logic requires directional confirmation (slope, acceleration) beyond simple threshold positions
• Divergence detection uses pivot comparison with left/right bar lookback, filtered to extreme zones only
• Regime classification combines composite position thresholds with 200 EMA slope direction
• HTF data uses confirmed bars only with request.security() lookahead disabled
• All signals fire on bar close only (non-repainting): historical display matches live behavior
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔶 𝗨𝗡𝗜𝗤𝗨𝗘 𝗙𝗘𝗔𝗧𝗨𝗥𝗘𝗦
• 𝗦𝗲𝘃𝗲𝗻-𝗖𝗼𝗺𝗽𝗼𝗻𝗲𝗻𝘁 𝗩𝗼𝘁𝗶𝗻𝗴: Each component uses qualification criteria beyond simple thresholds, reducing noise from single-indicator false signals
• 𝗤𝘂𝗮𝗹𝗶𝗳𝗶𝗲𝗱 𝗩𝗼𝘁𝗲𝘀: Components only vote when showing directional conviction (slope confirmation, acceleration, etc.), not just static positions
• 𝗖𝗼𝗺𝗽𝗼𝘀𝗶𝘁𝗲 𝗡𝗼𝗿𝗺𝗮𝗹𝗶𝘇𝗮𝘁𝗶𝗼𝗻: Three oscillators blended using winsorized statistics for a smoother, more stable reading than any single oscillator
• 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗶𝗰 𝗥𝗲𝗴𝗶𝗺𝗲 𝗗𝗲𝘁𝗲𝗰𝘁𝗶𝗼𝗻: TRENDING/BIAS/RANGING classification provides immediate market context
• 𝗛𝗧𝗙 𝗗𝗶𝘃𝗲𝗿𝗴𝗲𝗻𝗰𝗲 𝗙𝗶𝗹𝘁𝗲𝗿: When enabled, divergence signals are filtered by higher timeframe trend direction to reduce counter-trend noise
• 𝗡𝗼𝗻-𝗥𝗲𝗽𝗮𝗶𝗻𝘁𝗶𝗻𝗴: All calculations use confirmed bar data only. Historical display matches what was shown in real-time.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔶 𝗦𝗘𝗧𝗧𝗜𝗡𝗚𝗦 𝗢𝗩𝗘𝗥𝗩𝗜𝗘𝗪
𝗖𝗼𝗿𝗲 𝗦𝗲𝘁𝘁𝗶𝗻𝗴𝘀
• 𝗦𝗶𝗴𝗻𝗮𝗹 𝗠𝗼𝗱𝗲: Alert threshold only (no visual change). Controls when High Consensus alerts fire:
- Conservative = 6+ votes to trigger alert
- Balanced = 5+ votes (default)
- Aggressive = 4+ votes
• 𝗛𝗧𝗙 𝗙𝗶𝗹𝘁𝗲𝗿: When enabled, divergence signals are filtered by higher timeframe trend. Bullish divergences only appear when HTF is bullish (price above HTF EMA). Bearish divergences only appear when HTF is bearish. Helps avoid counter-trend signals.
• 𝗛𝗧𝗙 𝗧𝗶𝗺𝗲𝗳𝗿𝗮𝗺𝗲: Timeframe used for HTF filter (default 4H). The indicator checks if price is above/below the 50 EMA on this timeframe.
𝗗𝗶𝘀𝗽𝗹𝗮𝘆 𝗦𝗲𝘁𝘁𝗶𝗻𝗴𝘀
• Show Divergences: Toggle divergence labels on/off
• Show Consensus Meter: Toggle vote count bar at bottom of oscillator
• Show Status Panel: Toggle the info table
• Show OB/OS Zone Fills: Toggle colored fill zones for extreme areas
𝗧𝗮𝗯𝗹𝗲 𝗦𝗲𝘁𝘁𝗶𝗻𝗴𝘀
• Table Position: 9 position options (corners, centers, edges)
• Table Font Size: Tiny/Small/Normal
• Table Layout: Horizontal (wide, desktop) or Vertical (compact, mobile-friendly)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔶 𝗔𝗟𝗘𝗥𝗧𝗦
14 alert conditions available:
𝗗𝗶𝘃𝗲𝗿𝗴𝗲𝗻𝗰𝗲 𝗔𝗹𝗲𝗿𝘁𝘀
• Bullish Divergence / Bearish Divergence: Divergence detected in extreme zone
• Any Divergence: Either type detected
𝗖𝗿𝗼𝘀𝘀𝗼𝘃𝗲𝗿 𝗔𝗹𝗲𝗿𝘁𝘀
• Bullish Crossover / Bearish Crossover: Composite crosses signal line
• Any Crossover: Either type detected
𝗘𝘅𝘁𝗿𝗲𝗺𝗲 𝗭𝗼𝗻𝗲 𝗔𝗹𝗲𝗿𝘁𝘀
• Extreme Overbought / Extreme Oversold: Composite enters 85/15 zones
• Exit Overbought / Exit Oversold: Composite exits 85/15 zones
𝗥𝗲𝗴𝗶𝗺𝗲 𝗔𝗹𝗲𝗿𝘁𝘀
• Regime to Bullish / Regime to Bearish: Regime classification changes direction
𝗖𝗼𝗻𝘀𝗲𝗻𝘀𝘂𝘀 𝗔𝗹𝗲𝗿𝘁𝘀
• High Bull Consensus / High Bear Consensus: Vote count reaches Signal Mode threshold (6+/5+/4+ depending on mode). Alert only, no visual change.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔶 𝗟𝗜𝗠𝗜𝗧𝗔𝗧𝗜𝗢𝗡𝗦
• 𝗔𝗻𝗮𝗹𝘆𝘀𝗶𝘀 𝘁𝗼𝗼𝗹, 𝗻𝗼𝘁 𝗮 𝘀𝗶𝗴𝗻𝗮𝗹 𝗴𝗲𝗻𝗲𝗿𝗮𝘁𝗼𝗿: This indicator displays consensus, regime state, and divergences for the trader to interpret. It does not tell you when to buy or sell.
• 𝗖𝗼𝗻𝘀𝗲𝗻𝘀𝘂𝘀 𝗰𝗮𝗻 𝗹𝗮𝗴: By the time all components agree, price movement may have already begun. High consensus readings indicate current agreement, not future direction.
• 𝗘𝘅𝘁𝗿𝗲𝗺𝗲𝘀 𝗰𝗮𝗻 𝗽𝗲𝗿𝘀𝗶𝘀𝘁: Like all oscillators, the composite can remain at extremes during strong directional moves. Overbought does not mean "must reverse."
• 𝗗𝗶𝘃𝗲𝗿𝗴𝗲𝗻𝗰𝗲𝘀 𝗮𝗿𝗲 𝗻𝗼𝘁 𝗴𝘂𝗮𝗿𝗮𝗻𝘁𝗲𝗲𝗱: Divergences indicate structural disagreement. They may precede reversals but can also persist or resolve without reversal.
• 𝗟𝗮𝗴𝗴𝗶𝗻𝗴 𝗶𝗻𝗱𝗶𝗰𝗮𝘁𝗼𝗿: All signals are derived from historical price data and confirm on bar close.
• 𝗣𝗮𝘀𝘁 𝗽𝗮𝘁𝘁𝗲𝗿𝗻𝘀 𝗱𝗼 𝗻𝗼𝘁 𝗴𝘂𝗮𝗿𝗮𝗻𝘁𝗲𝗲 𝗳𝘂𝘁𝘂𝗿𝗲 𝗿𝗲𝘀𝘂𝗹𝘁𝘀.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔶 𝗖𝗢𝗡𝗖𝗟𝗨𝗦𝗜𝗢𝗡
Harmonic Oscillator provides a structured framework for analyzing momentum through seven independent components, a normalized composite oscillator, and automatic regime classification. The indicator is designed to help traders identify when multiple momentum factors are agreeing versus conflicting, which may provide useful context for analysis.
The voting system, qualification requirements, and regime detection work together to present a unified view of momentum conditions that would otherwise require monitoring multiple separate indicators.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔶 𝗗𝗜𝗦𝗖𝗟𝗔𝗜𝗠𝗘𝗥
Trading is risky and most traders lose money. This indicator is provided for informational and educational purposes only. It does not constitute financial advice, and past performance does not guarantee future results. All content, tools, and analysis should not be considered as recommendations to buy or sell any asset. Users are solely responsible for their own trading decisions. Always use proper risk management and consider consulting a qualified financial advisor before making trading decisions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built with PineScript v6. Non-repainting. All signals confirmed on bar close.
Dealing Range Auto-Zone v2.1Dealing Range Auto-Zone v2.1 - Summary
Purpose: Automatically creates zone-based support/resistance levels within a dealing range using percentage-based spacing with ATR-driven recommendations.
How It Works:
Click two points to define dealing range (high and low)
Set step % (e.g., 0.25% = one zone every 0.25% move)
Indicator calculates exact zone count and draws upper/lower zone boundaries
Optional center lines show midpoint of each zone
Key Features:
Zone-based S/R - Upper and lower boundaries instead of single lines (creates "price zones" rather than precise levels)
Auto-calculated spacing - Uses exact % steps with math.round() for optimal coverage (minimizes gaps near boundaries)
Adjustable zone width - Default 50% of step (e.g., 0.25% step = 0.125% zone width on each side)
Ghost zones - Extends zones above/below range for anticipating breakouts
ATR-based recommendations - Calculates Daily ATR and suggests Tight/Balanced/Wide step % based on current volatility
Smart validation - Compares your step % to ATR recommendations and shows if it's appropriate for current market conditions
Use Case:
Converts dealing ranges into tradeable S/R zones for 15s-5m intraday scalping. Makes it clear when price is "in a zone" vs "at a precise line." Ideal for MNQ, MGC, and other liquid futures/crypto.
Version 2.1 Changes:
New Features:
Daily ATR calculation with automatic Tight/Balanced/Wide step % recommendations
Volatility-based auto-recommendations (compares ATR(14) vs ATR(50))
Smart validation system that evaluates your step % choice and provides feedback
Info table shows all three ATR recommendations (Tight/Balanced/Wide)
Improvements:
Changed from math.floor() to math.round() for zone count calculation (eliminates gaps near boundaries)
Streamlined info table (removed redundant rows: Range points, Step %, Total Lines)
Added color-coded validation (green checkmark for appropriate settings, orange warning for extreme values)
Bug Fixes:
Fixed tooltip compilation error (moved dynamic ATR data to info table only)
Corrected validation logic to properly categorize step % ranges
Info Table Now Shows:
Range % (dealing range size as %)
Exact Zones (calculated, including fractional)
Zones Drawn (rounded to nearest whole number)
Zone Width (in price points and % of step)
Daily ATR (value and %)
Auto Rec (all three recommendations: T/B/W)
Your Step (with validation: ✓ Tight/Balanced/Wide or ⚠️ Very Tight/Wide)
Ticker DataTicker Data is a high-efficiency dashboard designed for traders and analysts who need immediate context on a ticker without cluttering their chart.
This script aggregates fundamental data, price performance, and key institutional support levels into a single, customizable table. It allows you to assess the "character" of a stock in seconds by overlaying essential metrics directly onto your chart.
Key Features
1. Institutional Anchors (Auto-VWAPs)
Instead of manually drawing Anchored VWAPs for every ticker, this script automatically calculates and displays the three most important levels for trend management:
VWAP IPO: The volume-weighted average price since the stock's inception.
VWAP YTD: The volume-weighted average price starting from Jan 1st of the current year.
VWAP Earnings: The volume-weighted average price since the most recent earnings report.
Visual Logic: Text turns Green if price is above the VWAP, and Red if below.
2. Trend & Momentum
5-Day MA: Displays the 5-day Simple Moving Average based on Daily data. This serves as a "momentum guardrail"—if the price is above the 5DMA, short-term momentum is bullish.
Timeframe Independence: The 5DMA and performance stats are forced to the Daily timeframe, ensuring consistent data even if you view the chart on 15m or 1H intervals.
3. Fundamental Context
Market Cap: Current market capitalization.
Float & Float %: Displays the number of floating shares and the percentage of total shares they represent. Vital for gauging volatility potential (low float = higher volatility).
4. Price Performance & Range
Performance: % change over the last Week (1W), Month (1M), and Quarter (3M).
52-Week High/Low:
Off 52W High: The % drawdown from the 52-week high.
Above 52W Low: The % extension from the 52-week low.
5. Event & History Awareness
Earnings Countdown: Displays the number of days until the next earnings report. Text turns Red inside the "Danger Zone" (less than 7 days).
IPO Timer: Calculates exactly how many years have passed since the stock's public listing, allowing you to quickly filter for fresh merchandise vs. mature assets.
Settings & Customization
This script is built for "Chart Real Estate" management. You have full control over the visual layout via the inputs tab:
Display Toggles: Every metric (Float %, Dist from High/Low, IPO Timer, VWAPs, etc.) has its own checkbox. Uncheck what you don't need to keep the table compact.
Table Positioning:
Location: Pin the table to any corner (Top/Bottom, Left/Right).
Size: Scale the table from Tiny to Large to fit your resolution.
Push Down: A unique feature that adds empty transparent rows to the top of the table. This pushes the data down so it does not obscure the most recent price candles or the ticker header.
Visual Styling:
Alignment: Independently control the text alignment (Left, Center, Right) for both the Labels and the Data columns.
Colors: Fully customizable Background and Text colors.
Note: The default text color is Black (optimized for Light Mode charts). If you use Dark Mode, simply switch the "Text Color" input to White.
Technical Notes
Data Source: Moving averages and VWAP anchors are calculated using Daily ('D') data to ensure institutional relevance.
Ryan-Trend PulseOverview
Ryan-Trend Pulse is a volatility-adjusted trend-following indicator designed to identify institutional-grade shifts in market momentum. Unlike static moving averages that lag significantly, This indicator utilizes a modified ATR-based trailing logic to create dynamic ranges. This allows the indicator to remain stable during consolidation but react decisively when a genuine trend breakout occurs.
The core philosophy of this tool is to provide traders with clear, visual "Zones of Interest" (Target and Stoploss) that adapt in real-time to current market volatility.
How It Works: The Logic
The indicator is built around a proprietary Adaptive Average function. Here is the technical breakdown:
1. Volatility Anchoring : The script calculates a base ATR (Average True Range) multiplied by a user-defined factor. This creates a "volatility buffer" around the price.
2. Range Displacement : The center line (Trend Average) only moves when the price closes outside of the volatility buffer. This filtering mechanism eliminates market noise and "whipsaws" often found in standard trend-following tools.
3. Dynamic Band Scaling : Once a new range is established, the upper and lower bands are calculated based on 50% of the current volatility. This provides a mathematically consistent frame for potential price action.
Indicator Specifications & Features
- Zero-Lag Range Shifts: The range updates instantly upon a confirmed break, providing the trader with immediate feedback on trend direction.
- Multi-Timeframe Compatible: Users can pull data from higher timeframes (HTF) to filter lower timeframe noise via the built-in Timeframe input.
How to Trade with Ryan-Trend Pulse
The indicator features a Dual-State Dynamic Coloring System:
1. 🔵 The Blue Center channel: This is your Trend Pivot. As long as price remains within the current range, the trend is considered stable.
2. 🟢 Bullish Breakout (Long): When price breaks the upper channel and shifts the range upward:
- The Upper channel turns Green, representing your primary Target Zone.
- The Lower channel turns Red, representing your Logical Stop Loss.
3. 🔴 Bearish Breakout (Short) : When price breaks the lower channel and shifts the range downward:
- The Lower channel turns Green, representing your primary Target Zone.
- The Upper channel turns Red, representing your Logical Stop Loss.
Settings Guidance
- Length (Default 200): Optimized for long-term trend health. Lowering this to 50-100 will make the indicator more aggressive for scalping.
- Factor (Default 5.0): This controls the "tightness" of the range. A higher factor requires a more significant move to trigger a trend change, suitable for volatile assets like Crypto or Indices.
Disclaimer: Past performance does not guarantee future results. This indicator is a tool for technical analysis and should be used in conjunction with a complete trading plan and proper risk management.
COT Index TT Tools Questo indicatore nasce come ispirazione diretta dallo script TradingView “COT Index” di Dixon_Chai 👉
La logica di base rimane quella del COT Index in stile Larry Williams (calcolo dell’indice su più finestre temporali), ma questa versione TT Tools introduce funzionalità operative aggiuntive pensate per una lettura immediata del posizionamento dei Commercials e per individuare con precisione i cambi di regime delle Net Position.
🔹 Cosa aggiunge questa versione (TT Tools)
✅ Riquadro “Net State” nella tabella di verifica
LONG quando le Net Position dei Commercials sono positive
SHORT quando sono negative
colorazione verde / rossa coerente con lo stato
✅ Segnalazione visiva dello switch
“⚠️ ALERT CHANGE LONG” quando le Net Position passano da negative a positive
“⚠️ ALERT CHANGE SHORT” quando passano da positive a negative
la segnalazione appare solo nella settimana del cambio
✅ Alert TradingView integrati
Possibilità di creare alert automatici per essere notificati esattamente nel momento in cui avviene lo switch LONG/SHORT, senza dover monitorare manualmente il grafico.
🔹 Utilizzo consigliato
Questo indicatore è pensato per essere utilizzato in combinazione con
“Contango/Backwardation Futures Box Desk – TT Tools”.
La lettura congiunta permette di:
contestualizzare il posizionamento dei Commercials
verificare la struttura della curva (contango / backwardation)
individuare fasi di rotazione, accumulo o distribuzione con maggiore probabilità
Note
Dati COT forniti tramite libreria ufficiale TradingView (COT Library)
Mapping manuale dei codici CFTC per gli strumenti supportati
Focus principale sulle Net Position dei Commercials
_____________________________________________________________
Description
This indicator is directly inspired by the TradingView script “COT Index” by Dixon_Chai
👉
It preserves the original Larry Williams–style COT Index logic (index calculation over multiple lookback periods), while this TT Tools version introduces additional operational features designed for a faster and more actionable reading of Commercials’ positioning, with a specific focus on regime changes in Net Positions.
🔹 What this TT Tools version adds
✅ “Net State” box inside the verification table
LONG when Commercials’ Net Positions are positive
SHORT when they are negative
green / red coloring consistent with the current state
✅ Visual regime-change signal
“⚠️ ALERT CHANGE LONG” when Net Positions switch from negative to positive
“⚠️ ALERT CHANGE SHORT” when they switch from positive to negative
the alert appears only on the exact week of the switch
✅ Built-in TradingView alerts
You can link TradingView alerts to be notified precisely when a LONG/SHORT regime change occurs, without manual chart monitoring.
🔹 Recommended usage
This indicator is designed to be used in combination with
“Contango/Backwardation Futures Box Desk – TT Tools”.
Using both tools together allows you to:
contextualize Commercials’ positioning
evaluate the futures curve structure (contango / backwardation)
identify potential rotation, accumulation, or distribution phases with higher confidence
Notes
COT data provided via the official TradingView COT Library
Manual mapping of CFTC codes for supported instruments
Primary focus on Commercials’ Net Positions
AKKTABLEIt contains table of 10 stocks/Indices i.e. NIFTY, BANKNIFTY, SENSEX, TMPV, RELIANCE, ITC, TATASTEEL, HDFC BANK, INFY AND SBIN.
MACD POWER MACD POWER is a refined MACD built to reduce sideways noise: it only flags POWER BUY/SELL when the MACD cross happens in the right zone, with real strength (spread + momentum expansion), aligned with the EMA trend, and supported by enough volatility (ATR filter). It also offers confirmed-bar signals (less repaint), a cooldown (less spam), and a clean, polished UI.
Weekly Trend Eligibility PanelWeekly Trend Eligibility Panel
Weekly Trend Eligibility Panel is a read-only, context-first indicator designed to answer a simple but critical question:
“Is this stock structurally ready right now — or is the timing wrong?”
Many traders focus on what stock to watch. This tool focuses on when conditions are aligned.
What this indicator does
Evaluates a weekly-first set of trend and quality conditions
Summarizes results in a single, easy-to-read panel
Helps distinguish between:
Strong stocks at the wrong time, and
Stocks where multiple structural conditions are aligned
The panel reports:
Eligibility status (Eligible / Not Eligible)
How many conditions passed (all are required for eligibility)
A brief failure summary when conditions are not met
Optional tags showing which criteria are in effect
What makes it unique
Unlike traditional indicators that plot signals or overlays on price, this script acts as an eligibility checkpoint:
No entries, exits, or buy/sell signals
No performance claims or predictions
No need to interpret multiple lines or oscillators
Instead, it consolidates several weekly-based structural checks into a single decision-support panel, making it easier to avoid forcing trades when conditions are incomplete.
This is especially useful when a stock looks “right” fundamentally or technically, but broader trend, structure, or participation conditions are not yet aligned.
Important notes
Indicator only — no trade execution
Educational and informational use only
All calculations use confirmed bar data
Weekly data is requested with lookahead disabled
Results vary by symbol, timeframe, and settings
Intended use
Use this tool as a watchlist filter or timing aid, alongside your own analysis and risk management process — not as a standalone decision system.
EMA 200 Distance ATR Normalized Oscillator# 📊 EMA 200 Distance Oscillator
## What Does This Indicator Do?
This oscillator measures how far the price is from the **EMA 200** (Exponential Moving Average) and transforms it into a **normalized 0-100 scale** using mathematical sigmoid function.
### Core Formula
```
1. Calculate: Price - EMA(200)
2. Normalize: (Price - EMA) / ATR
3. Transform: Sigmoid(normalized_value) × 100
```
The sigmoid function smoothly maps any distance into a readable 0-100 range, making it easy to spot trends and extremes.
---
## 📈 Key Levels
- **50** = Neutral (price at EMA 200)
- **> 50** = Price above EMA (bullish territory)
- **< 50** = Price below EMA (bearish territory)
- **> 80** = Overbought zone
- **< 20** = Oversold zone
---
## 🎯 Trading Philosophy: Stay With The Trend
**The most important principle in trading is to stay with the trend.**
This oscillator helps you:
✅ **Identify the dominant trend** (above or below 50)
✅ **Avoid counter-trend trades** (don't fight the momentum)
✅ **Spot trend exhaustion** (overbought/oversold zones)
✅ **Time your entries** (wait for pullbacks in strong trends)
### Remember:
- Values consistently above 50 = **Stay bullish**
- Values consistently below 50 = **Stay bearish**
- Don't try to catch falling knives or short strong uptrends
- **The trend is your friend until it ends**
---
## 🎨 Visual Features
- **Color gradient line**: Transitions from red (0) to green (100)
- **Histogram bars**: Shows deviation from neutral (50)
- **Background zones**: Highlights overbought/oversold areas
- **Signal triangles**: Marks trend changes at 50 level
- **Live info table**: Displays real-time metrics with vibrant colors
---
## ⚙️ Customizable Parameters
- **EMA Length** (default: 200)
- **ATR Length** (default: 14)
- **Sigmoid Multiplier** (default: 1.0) - Controls sensitivity
---
## 🔔 Built-in Alerts
- Bullish signal (crosses above 50)
- Bearish signal (crosses below 50)
- Overbought alert (enters > 80)
- Oversold alert (enters < 20)
---
## ⚠️ Disclaimer
**This indicator is for educational and informational purposes only.**
- Not financial advice
- Past performance does not guarantee future results
- Always use proper risk management
- Combine with other analysis methods
- Trade at your own risk
---
## 💬 Feedback Welcome
If you found this indicator helpful, I'd appreciate:
- A **follow** to see more trading tools
- Your **comments** and suggestions for improvement
- Sharing your experience using it
Your feedback helps me create better indicators for the community!
---
**Happy Trading & Stay With The Trend! 📈**
Abde/Thomas Tages-Hoch/Tief + Session Hoch/Tief High Low From the Day
Session High Low from the Day
Is a Indictor for Scalping Timeframe 1 min
Institutional Volume Trend [Structure Filter]Overview
The Institutional Volume Trend is a hybrid trend-following system designed to solve the single biggest problem in technical analysis: False Breakouts (Fakeouts).
Most trend indicators are purely price-reactive. If price moves up, they signal "Buy"—even if that move is driven by low liquidity and retail FOMO. This often leads to traders getting trapped in "chop" or weak reversals.
This script introduces a Volume-Verification Layer to market structure. It operates on a simple institutional premise: "Price advertises, Volume validates." A break of structure (BOS) is only considered a valid signal if it is backed by significant institutional volume.
Special thanks to the legendary Kıvanç Özbilgiç , whose extensive work on Supertrend and AlphaTrend concepts has paved the way for modern volatility-based trend systems. This script builds upon those foundational principles by adding a volume-weighted regime filter.
How It Works
This indicator combines two distinct engines to filter market noise:
Structure Engine (ATR Volatility):
It uses an ATR-based trailing stop mechanism (inspired by the classic Supertrend logic) to detect the underlying market structure. This creates the "Floor" (Support) and "Ceiling" (Resistance) of the current trend.
Institutional Volume Filter:
It calculates a relative volume average. If a trend change occurs without volume exceeding the average by a user-defined threshold (default 1.2x), the signal is flagged as Weak .
📖 Visual Guide: How to Interpret the Signs
This indicator communicates through Color and Labels . Here is exactly what each sign means:
1. The Ribbon Colors
🟢 Bright Green Ribbon: CONFIRMED BULLISH.
Meaning: The trend is Up AND Volume is supporting the move.
Action: Look for long entries or hold existing long positions.
🔴 Bright Red Ribbon: CONFIRMED BEARISH.
Meaning: The trend is Down AND Selling pressure is high.
Action: Look for short entries or hold existing short positions.
⚪ Gray / Dimmed Ribbon: WEAK / CHOP ZONE.
Meaning: The price has broken structure, BUT there is no volume to back it up. The market is undecided or resting.
Action: CAUTION. Do not open new trades. Wait for the color to turn Bright Green or Red.
2. The Labels
🏷️ "BOS + Vol" (Break of Structure + Volume):
Meaning: A high-probability signal. Price broke the trend line with a burst of volume.
Interpretation: This is your primary entry trigger.
🏷️ "Low Vol" (Small 'x' or Label):
Meaning: Price crossed the line, but volume was weak.
Interpretation: WARNING. This is likely a fakeout or a liquidity grab. Be very careful trusting this move.
3. The Trailing Line
The solid line running along the price is your Dynamic Stop Loss .
Bullish: As long as candles close above or touch (you choose) this line, the uptrend is valid.
Bearish: As long as candles close below or touch (you choose) this line, the downtrend is valid.
How to Use This Indicator
For Trend Following (Swing Trading)
Wait for the Flip: Look for the ribbon to flip from Red to Green (or vice versa).
Check the Validation: Ensure the ribbon is Bright Green/Red and not Gray. A "BOS + Vol" label is your confirmation.
Set the Stop: Use the plotted Trailing Structure Line as your dynamic Stop Loss.
For Scalping (1m - 15m Timeframes)
Filter the Noise: The most powerful feature for scalpers is the Gray Zone . If the market enters a low-volume drift (lunch hour or pre-market), the ribbon turns Gray. Avoid taking new entries during these periods to prevent "death by a thousand cuts."
Settings & Customization
Structure Lookback: Controls the sensitivity of the trend line. Higher numbers = fewer signals, longer trends.
Filter Low Volume (Chop): Toggle this ON to see the Gray zones. Toggle OFF if you want a standard trend view.
Volume Threshold: The multiplier required to validate a move.
1.2 (Default): Balanced.
1.5+ : Strict (Only catches massive breakouts).
1.0 : Loose (More signals, more noise).
Who Should Use This?
Breakout Traders: To distinguish between a true breakout and a "liquidity sweep."
Crypto Traders: To filter out the low-volume weekend chop.
Beginners: To learn the discipline of waiting for volume confirmation before entering a trade.
Open Source & Transparency
This script is open source to foster learning. The core logic utilizes a modified ATR trailing stop calculation combined with a boolean volume filter (volume > sma(volume) * mult). Traders are encouraged to inspect the code to understand exactly how their signals are generated.
⚠️ Disclaimer
Trading involves a high risk of losing money. This tool is designed for educational and analytical purposes only and does not constitute financial advice.
No indicator is 100% accurate. The "Volume Filter" reduces false signals but cannot eliminate them entirely.
Lag Warning: Like all trend-following tools, this indicator is reactive. It will perform best in trending markets and may produce losses in tight, sideways ranges (though the Gray filter helps mitigate this).
Risk Management: Always use a stop loss and proper position sizing. Never trade solely based on the color of a ribbon.
Laguerre Filter [BackQuant]Laguerre Filter
Overview
The Laguerre Filter is a powerful trend-following tool designed to smooth price action while maintaining responsiveness to market changes. It is based on the Laguerre recursive filter, which is a type of signal processing filter that adapts to both the current price dynamics and the underlying trend. The Laguerre Filter can be seen as a method to reduce market noise, enabling traders to more easily identify the strength and direction of trends while minimizing lag.
The Laguerre Filter is well-suited for markets with varying volatility levels, offering a smoother representation of price action without the delay associated with traditional moving averages. By dynamically adjusting to price movements, the Laguerre Filter provides a more adaptive and reliable signal compared to simpler smoothing techniques.
What is the Laguerre Filter?
The Laguerre Filter is derived from the Laguerre polynomial, which is used in signal processing for smooth filtering of data. The Laguerre filter is a recursive filter, meaning that each new value is calculated based on both the current price data and previous values, with a weighting system that allows it to adapt to market conditions. This recursive nature helps reduce the impact of short-term fluctuations, enabling the filter to focus on the underlying trend.
The Laguerre filter uses a feedback mechanism, where the input signal (price data) is smoothed iteratively. This iterative process helps avoid the lag that is typically associated with traditional moving averages while still capturing the overall trend direction.
The filter is designed to have:
Adaptive behavior: It reacts quickly to significant price changes while ignoring minor fluctuations.
Reduced noise: By filtering out random short-term price movements, it provides a clearer view of the underlying trend.
Customizability: Traders can adjust the filter’s sensitivity through user inputs, making it adaptable to different market conditions.
Core Calculation Methodology
The core of the Laguerre Filter lies in its recursive calculation:
Each new value is calculated using the previous value along with the current price input.
The recursive formula is governed by two key parameters: the damping factor (gamma) and the order of the filter (number of Laguerre elements).
The damping factor controls how responsive the filter is to changes in price. A higher gamma value makes the filter smoother but introduces more lag, while a lower gamma value makes it more reactive to price changes but can introduce more noise.
The order defines how many Laguerre elements are used in the calculation. A higher order results in a smoother output but with more delay, while a lower order provides a faster response but less smoothing.
The filter works by weighting previous values with a binomial weighting system, which assigns more weight to recent values and less weight to older values. This creates a dynamic smoothing effect that adapts to price volatility, ensuring that the filter is neither too slow nor too noisy.
Signal Logic and Trend Detection
The Laguerre Filter continuously evaluates the strength and direction of the trend by comparing the current smoothed value to the previous value:
If the current value is greater than the previous value, the trend is considered bullish, and the filter will signal a long condition.
If the current value is less than the previous value, the trend is considered bearish, and the filter will signal a short condition.
The trend detection logic is based on the recursive nature of the filter, which smooths price movements over time. This allows the filter to capture the broader trend while minimizing the influence of short-term price fluctuations.
The trend state is also visually represented by color-coding:
Green color represents an uptrend (bullish condition).
Red color represents a downtrend (bearish condition).
Neutral (white) indicates no clear trend direction.
This color-coding helps traders easily identify the prevailing trend and decide whether to enter or exit trades based on the trend's strength.
Laguerre Filter Behavior and Performance
The performance of the Laguerre Filter can be influenced by several factors:
Gamma (Damping Factor): A higher gamma value results in a smoother filter but increases lag. A lower gamma value allows for a faster response but may introduce more noise, making it more reactive to smaller price changes.
Filter Order: The order determines how many Laguerre elements are used in the filter calculation. A higher order provides more smoothing but increases lag, while a lower order results in a quicker response but less smoothing.
The sweet spot for gamma is typically between 0.7 and 0.85, where the filter offers a good balance between smoothness and responsiveness. The filter order is usually set to 4 for classic Laguerre filtering, but higher orders can be used for more smoothing if needed.
The Laguerre Filter’s performance shines in markets with sustained trends, where the filter can effectively capture and represent the underlying direction without excessive lag. It is particularly useful in volatile markets, as it helps smooth out noise while providing a clear picture of the trend.
Visual Presentation
The Laguerre Filter provides a dynamic, color-coded line that follows the trend direction. This line can be displayed alongside price data to visually highlight the market trend. In addition to the main Laguerre line, several visual enhancements can be applied:
Gradient fill between the price and the Laguerre Filter line, providing a visual cue for bullish or bearish market conditions.
Candle coloring to reflect the current trend, making it easier to spot trend reversals or confirmations directly on the chart.
Background shading to visually highlight areas of strong trend or consolidation.
Edge glow effect that highlights trend boundaries, making it easy to spot key levels of support or resistance.
These visual elements enhance the usability of the Laguerre Filter, allowing traders to quickly assess the market trend and make informed decisions.
Practical Use Cases
1) Trend Following
The Laguerre Filter is ideal for trend-following strategies. By using the filter to identify the prevailing trend, traders can:
Enter long positions when the Laguerre Filter turns bullish (green).
Enter short positions when the Laguerre Filter turns bearish (red).
By aligning trades with the dominant trend, traders can improve their chances of success.
2) Trend Strength Assessment
The Laguerre Filter can also be used to assess the strength of the trend:
A rising Laguerre value indicates a strengthening uptrend.
A falling Laguerre value indicates a strengthening downtrend.
A flattening Laguerre value signals weakening momentum or consolidation.
This information can be used to adjust position sizing or to decide when to enter or exit a trade.
3) Trade Management
The Laguerre Filter can also assist in trade management:
Use the Laguerre line as a trailing stop for long positions in an uptrend.
Scale out of positions as the Laguerre value begins to flatten or reverse.
Use the Laguerre Filter to avoid trades when the market is in consolidation or lacks a clear trend.
Tuning Guidelines
The Laguerre Filter can be adjusted for different market conditions using the following parameters:
Gamma (Damping Factor): Adjust for the desired level of responsiveness versus smoothness. Typical values range from 0.7 to 0.85.
Filter Order: Adjust to control the level of smoothing. The default value of 4 is a good starting point, but higher orders can be used for smoother filters.
Summary
The Laguerre Filter is a versatile and adaptive trend-following indicator that smooths price data and reduces noise, making it easier to identify and follow trends. By using recursive smoothing techniques and adjustable parameters, the Laguerre Filter provides an accurate representation of market conditions with minimal lag. It is especially useful in volatile markets where traditional moving averages may fail to capture the underlying trend. With its color-coded trend detection, gradient fills, and customizable settings, the Laguerre Filter is a powerful tool for traders looking to stay aligned with the prevailing market direction.
88Targets - Buy & Sell88Targets - Buy & Sell Zones
This indicator automatically detects and draws high-probability **Supply** (Sell) and **Demand** (Buy) zones based on swing highs and lows — a classic price action / institutional trading approach (often called Order Blocks / POI in Smart Money Concepts).
Main features:
• Swing-based zone creation
→ Fresh supply zones form at recent swing highs
→ Fresh demand zones form at recent swing lows
→ Zone thickness is dynamic (ATR-based width — adjustable)
• Overlap filter
→ Prevents drawing redundant / heavily overlapping zones (using 2×ATR separation logic)
• Break of Structure (BOS / SS) detection
→ When price closes through a supply zone → zone converts to BOS (Structure Shift label "SS")
→ When price closes through a demand zone → same logic
→ Helps visualize when structure has flipped / momentum has shifted
• Point of Interest (POI) labels
→ Small label box showing the approximate center (POI) of each active zone
→ Makes it easy to see where the "heart" of the zone is located
• Optional visuals
→ ZigZag line (classic swing connection — toggleable)
→ Price action labels (HH / LH / HL / LL) at swing points — very small & toggleable
• Zone entry alerts
→ Optional alerts when price **closes inside** an active supply or demand zone
→ Useful for re-test / reaction setups (enable in settings)
Settings highlights:
Swing Length .............. 10 (controls sensitivity of pivots)
History to Keep ........... 20 (how many recent zones are displayed)
Box Width ................. 2.5 (controls zone thickness — × ATR)
Show ZigZag ............... off (clean chart default)
Show Price Action Labels .. off
Enable Zone Entry Alerts .. on
Colors are semi-transparent by default so the price action remains clearly visible.
Best used on:
• Forex, Indices, Crypto, Futures
• Timeframes: 5 min - 4h - 1D (higher timeframes usually give cleaner / more reliable zones)
Not financial advice — use with proper risk management.
Enjoy trading!
@88targets
PSP with Color ThemesEnglish Description
The PSP with Color Themes indicator is a sophisticated tool for detecting price swing divergences between the current trading instrument and a selected reference asset. This indicator implements PSP (Price Swing Divergence) logic to identify moments when price movements between two correlated assets diverge from their typical relationship. Traders can select from multiple professionally designed color themes or customize their own color scheme, with adjustable opacity for optimal chart visibility. The core functionality compares candlestick patterns between the current chart and the reference symbol, highlighting bullish signals when the current asset rises while the reference falls (or vice versa in inverse mode). This divergence detection helps identify potential momentum shifts and trading opportunities before they become apparent in single-asset analysis. The indicator offers flexible configuration including inverse correlation mode for negatively correlated pairs and a clean visual presentation that doesn't clutter the price chart while providing immediate visual cues through colored candlesticks.
Русское описание
Индикатор PSP с цветовыми темами представляет собой продвинутый инструмент для обнаружения дивергенций колебаний цены между текущим торговым инструментом и выбранным эталонным активом. Этот индикатор реализует логику PSP (Price Swing Divergence) для выявления моментов, когда движения цен между двумя коррелирующими активами отклоняются от их типичной взаимосвязи. Трейдеры могут выбирать из нескольких профессионально разработанных цветовых тем или настраивать собственную цветовую схему с регулируемой прозрачностью для оптимальной видимости на графике. Основная функция сравнивает свечные модели между текущим графиком и эталонным символом, выделяя бычьи сигналы, когда текущий актив растет, а эталонный падает (или наоборот в инверсном режиме). Это обнаружение дивергенций помогает выявить потенциальные сдвиги импульса и торговые возможности до того, как они станут очевидными при анализе одного актива. Индикатор предлагает гибкую настройку, включая режим обратной корреляции для отрицательно коррелированных пар, и чистое визуальное представление, которое не загромождает ценовой график, обеспечивая при этом мгновенные визуальные подсказки через окрашенные свечи.
SMART MONEY SMT+BOS+ENTRYThis advanced trading indicator combines Smart Money Theory (SMT) and Break of Structure (BOS) analysis with synchronized multi-asset monitoring. The core concept identifies institutional activity by detecting discrepancies between correlated assets, revealing potential accumulation zones and reversal points before they become apparent to retail traders.
Key Features
Smart Money Detection:
Real-time divergence analysis between two selected assets (e.g., BTC/ETH, Gold/Silver, Currency pairs)
Identification of institutional accumulation/distribution patterns
Trend confirmation through structural sweeps and momentum shifts
Structural Analysis:
Break of Structure (BOS) detection with multi-factor confirmation
ATR-based candle size filtering to eliminate false breakouts
Clear structural shift identification with visual confirmation
Risk-Managed Execution:
Dual entry modes: Immediate (on BOS close) or Retest (on pullback to level)
Automated stop-loss placement at last structural extreme
Dynamic take-profit calculation based on user-defined risk/reward ratio
Support for long-only, short-only, or bidirectional trading strategies
Visual Interface
Colored arrows signaling buy/sell opportunities at optimal entry points
Real-time stop-loss and take-profit level visualization
SMT divergence markers above/below price action
Structural level indicators for clear market context
Configuration Options
Asset Pair Selection - Primary and secondary symbols for comparative analysis
Trading Direction - Long, Short, or Both directions
Swing Sensitivity - Adjustable pivot point detection period
Risk/Reward Ratio - Customizable profit targets relative to risk
BOS Confirmation Filter - Minimum candle body size requirement via ATR percentage
Optimal Application
Best performance on correlated assets (crypto pairs, commodities, indices)
Effective across multiple timeframes (M15 for entries, H4/D1 for context)
Combines well with volume profile and order flow analysis
Suitable for both discretionary and systematic trading approaches
Technical Advantages
Dual-asset synchronization for early signal detection
Multi-layer filtering system reducing false positives
Integrated risk management with visual guidance
Customizable sensitivity for different market conditions
Русская версия
Индикатор Smart Money Theory (SMT) + Break of Structure (BOS)
Обзор
Этот продвинутый торговый индикатор объединяет анализ Smart Money Theory (SMT) и Break of Structure (BOS) с синхронизированным мониторингом нескольких активов. Основная концепция выявляет активность институциональных игроков путем обнаружения расхождений между коррелирующими активами, показывая зоны накопления и точки разворота до того, как они становятся очевидными для розничных трейдеров.
Ключевые возможности
Детекция "умных денег":
Анализ дивергенций в реальном времени между двумя выбранными активами
Выявление паттернов накопления/распределения институциональными участниками
Подтверждение тренда через структурные сдвиги и изменения импульса
Структурный анализ:
Обнаружение Break of Structure (BOS) с многофакторным подтверждением
Фильтрация по размеру свечи на основе ATR для устранения ложных пробоев
Четкая идентификация структурных сдвигов с визуальным подтверждением
Управление рисками:
Два режима входа: Немедленный (при закрытии BOS) или Ретест (при откате к уровню)
Автоматическое размещение стоп-лосса на последнем структурном экстремуме
Динамический расчет тейк-профита на основе заданного риск-риворда
Поддержка лонг-стратегий, шорт-стратегий или обоих направлений
Визуальный интерфейс
Цветные стрелки, сигнализирующие о точках входа на покупку/продажу
Визуализация уровней стоп-лосса и тейк-профита в реальном времени
Маркеры SMT-дивергенций над/под ценовым действием
Индикаторы структурных уровней для четкого контекста рынка
Настройки
Выбор пары активов - Основной и вторичный символы для сравнительного анализа
Направление торговли - Лонг, Шорт или Оба направления
Чувствительность свингов - Настраиваемый период детекции точек разворота
Коэффициент риск/вознаграждение - Настраиваемые цели по прибыли относительно риска
Фильтр подтверждения BOS - Минимальный размер тела свечи в процентах от ATR
Оптимальное применение
Наилучшие результаты на коррелирующих активах (криптопары, товары, индексы)
Эффективен на различных таймфреймах (M15 для входов, H4/D1 для контекста)
Хорошо сочетается с анализом Volume Profile и ордерного потока
Подходит как для дискреционного, так и для системного трейдинга
Технические преимущества
Синхронизация двух активов для раннего обнаружения сигналов
Многоуровневая система фильтрации, снижающая ложные срабатывания
Интегрированное управление рисками с визуальным сопровождением
Настраиваемая чувствительность под разные рыночные условия






















