RSI MA PercentagePlace updated RSI MA percentage as the stock price updates
Will indicate if the RSI MA is overbought or oversold
Oscillators
RV Indicator This Pine Script defines a custom Relative Volatility (RV) Indicator, which measures the ratio of directional price movement to volatility over a specified number of bars. Below is a full explanation of what this script does.
Title:
RV Indicator — Relative Volatility Oscillator
Purpose:
This indicator measures how aggressively price is moving compared to recent volatility, and smooths the result with a signal line. It can be used to gauge momentum shifts and trend strength.
How It Works – Step by Step
1. Measuring Price Momentum (v1)
It calculates the difference between the close and open prices of the last 4 candles.
A weighted average is applied:
The current candle and the one 3 bars ago get weight 1.
The two middle candles (1 and 2 bars ago) get weight 2.
This creates a smoothed momentum measure:
If close > open (bullish), v1 is positive.
If close < open (bearish), v1 is negative.
2. Measuring Volatility (v2)
Similarly, it calculates the high-low range for the last 4 candles.
The same weighting (1, 2, 2, 1) is applied.
This gives a smoothed volatility measure.
3. Combining Momentum and Volatility (RV Ratio)
For the past ti bars (default: 10), it sums up:
All v1 values (momentum sum)
All v2 values (volatility sum)
Then it divides them:
𝑅𝑉= sum of price momentum % sum of volatility
This produces the RV value:
RV > 0: Momentum is bullish (price is generally moving up relative to its volatility).
RV < 0: Momentum is bearish (price is moving down relative to its volatility).
4. Smoothed Signal Line (rvsig)
A smoothed version of the RV is created using a weighted average of the latest 4 RV values.
This acts like a signal line, similar to how MACD uses a signal line.
Crossovers between RV and this signal line can be used to detect shifts in momentum.
5. Visual Output
Orange Line (RV): Shows the raw momentum/volatility ratio.
Blue Line (Signal): A smoother line that follows RV more slowly.
Zero Line: Divides bullish vs. bearish momentum.
How to Use It in Trading
1. Look for Crossovers:
If RV crosses above its signal line → Possible buy signal (momentum turning bullish).
If RV crosses below its signal line → Possible sell signal (momentum turning bearish).
2. Check the Zero Line:
If both RV and Signal are above zero, momentum is bullish.
If both are below zero, momentum is bearish.
3. Filter False Signals:
Combine RV with a trend filter (like a 50 or 200 EMA) to avoid trading against the main trend.
Disclaimer: This script is for informational and educational purposes only. It does not constitute financial advice or a recommendation to buy or sell any asset. All trading decisions are solely your responsibility. Use at your own risk.
The Boring Strategy (TQQQ 2h) TQQQ strategy on 2h timeframe.
Based on a combination of stochastic oscillator and moving average filters.
Please use it on TQQQ chart in 2h. You can use signals to trade any NASDAQ Index product (Futures, CFDs, ETFs, Prop-firms assets, etc..) but keep the chart on TQQQ for charting and volume structure.
Settings are already optimized.
You just have to setup your Buy / Sell alerts ont the Indicator
The Boring Strategy (TQQQ 2h Signals Only)TQQQ strategy on 2h timeframe.
Based on a combination of stochastic oscillator and moving average filters.
Please use it on TQQQ chart in 2h. You can use signals to trade any NASDAQ Index product (Futures, CFDs, ETFs, Prop-firms assets, etc..) but keep the chart on TQQQ for charting and volume structure.
Settings are already optimized.
You just have to setup your Buy / Sell alerts.
My Ultimate Reversal Probability Signal (Adaptive)Adaptive indicator combining RSI, T3, ZigZag, Torben, TDI, POB, and reversal probability (credit to original Author) to identify potential trend reversals with customizable settings.
My Ultimate Reversal Probability Signal (Adaptive)
Overview:
This advanced technical indicator is designed to help traders identify potential trend reversals by combining multiple analytical methods into a single, customizable tool. It integrates adaptive RSI, T3 Moving Average, ZigZag Multi-Scale, Torben Moving Median, Trend Direction Index (TDI), Point of Balance (POB) Oscillator, and a Trend Reversal Probability model. The indicator provides clear visual signals and a detailed table for real-time market analysis, making it suitable for traders of all experience levels.
Key Features:
Adaptive RSI: Dynamically adjusts RSI length based on market volatility, with customizable min/max lengths (5–50).
T3 Moving Average: Smooths price data with adaptive length (5–50) for trend detection.
ZigZag Multi-Scale: Identifies key swing points with adaptive length (3–20) and plots an average line.
Torben Moving Median: Provides robust trend bands using a median-based approach (5–50).
Trend Direction Index (TDI): Assesses future trend direction with adaptive length (3–7) and ADX integration.
Point of Balance (POB) Oscillator: Measures market equilibrium with adaptive length (5–50).
Trend Reversal Probability: Estimates reversal likelihood using a statistical model based on SMA crossovers.
Reversal Zones: Highlights overbought/oversold conditions with RSI-based zones (default: 70/30).
Future Trend Visualization: Projects potential price movements using volume delta analysis.
Comprehensive Table: Displays real-time values for RSI length, T3 length, ZigZag length, Torben length, TDI length, POB length, Delta1, and reversal probability.
Backtesting Metrics: Tracks win rate, profit factor, and total trades within a user-defined date range.
Customizable Settings: Extensive input options for enabling/disabling components, adjusting lengths, and tweaking volatility influence.
How It Works:
The indicator combines multiple signals to generate buy/sell conditions, visualized as upward (▲) or downward (▼) arrows on the chart. Each component (RSI, T3, etc.) can be enabled or disabled via the settings panel, allowing traders to tailor the tool to their strategy. The adaptive lengths adjust dynamically based on market conditions, ensuring relevance across different timeframes and assets. A table in the bottom-left corner provides a snapshot of key metrics, including the newly added Delta1 (volume delta for the first period), enhancing decision-making.
Usage Tips:
Timeframes: Works on any timeframe, but higher timeframes (e.g., 1H, 4H, Daily) may reduce noise.
Assets: Suitable for stocks, forex, cryptocurrencies, and commodities.
Confirmation: Combine with price action or other indicators for stronger signals.
Settings: Adjust RSI overbought/oversold levels (default 70/30) and enable/disable components to match your trading style.
Backtesting: Use the built-in win rate and profit factor metrics to evaluate performance within a custom date range.
Settings:
Main Settings: ATR period (14), RSI length (min 5, max 50, default 14).
Signal Filtering: Enable/disable T3, ZigZag, VolDelta, Torben, TDI, POB, Reversal Probability, and Reversal Zones.
T3 Settings: Adaptive/static length (5–50), volume factor (0.7), volatility influence (0.3).
VolDelta Settings: Adaptive/static length (3–20), volatility influence (0.3).
Torben Settings: Adaptive/static length (5–50), volatility influence (0.3).
Trend Reversal Settings: Adaptive/static length (5–50), SMA periods (5/34).
TDI Settings: Adaptive/static length (3–7), ATR/ADX periods (14), smoothing factor (0.5).
POB Settings: Adaptive/static length (5–50), volatility influence (0.3).
Colors: Customize up/down colors and volatility band display.
Backtest Date Range: Set start/end dates for performance metrics.
Visual Elements:
Plots: T3 line, ZigZag average line, Torben bands, volatility bands, reversal zones.
Shapes: Buy (▲) and sell (▼) signals, T3 crossover markers (🞛).
Boxes: Volume delta-based future trend boxes (drawn on the last bar).
Table: Displays adaptive lengths, Delta1, and reversal probability.
Labels: Optional reversal labels for overbought/oversold conditions.
Intended Audience:
Day traders seeking precise reversal signals.
Swing traders analyzing multi-timeframe trends.
Technical analysts combining multiple indicators.
Beginners learning adaptive indicator mechanics.
Disclaimer:
This indicator is for educational and analytical purposes only. It does not guarantee profits or predict future market movements. Always conduct your own research, use proper risk management, and consider market conditions before trading. The author is not responsible for any financial losses incurred.
Feedback:
I welcome your feedback and suggestions to improve this indicator. Please share your experience in the comments or contact me directly. Happy trading!
BTCÐ&SOL 5M Sinal IndicatorThis is a signal indicator that combines MACD, RSI, and three moving averages. When all signals match, the entry signal is determined based on the golden cross/death cross of the moving averages.
The entry signal is set so that it does not occur when the RSI value is below 30 or above 70.
It also prevents countertrend trading based on the long-term moving average.
Based on Ethereum, it can achieve a 70% win rate and a 3:1 profit-to-loss ratio.
Compatible with Luxalgo S&O indicator.
Williams Percent Range with ThresholdEnhance your trading analysis with the "Williams Percent Range with Threshold" indicator, a powerful modification of the classic Williams %R oscillator. This custom version introduces customizable uptrend and downtrend thresholds, combined with dynamic candlestick coloring to visually highlight market trends. Originally designed to identify overbought and oversold conditions, this script takes it a step further by allowing traders to define specific threshold levels for trend detection, making it a versatile tool for momentum and trend-following strategies.
Key Features:
Customizable Thresholds: Set your own uptrend (default: -16) and downtrend (default: -67) thresholds to adapt the indicator to your trading style.
Dynamic Candlestick Coloring: Candles turn green during uptrends, red during downtrends, and gray in neutral conditions, providing an intuitive visual cue directly on the price chart.
Flexible Length: Adjust the lookback period (default: 50) to fine-tune sensitivity.
Overlay Design: Integrates seamlessly with your price chart, enhancing readability without clutter.
How It Works:
The Williams %R calculates the current closing price's position relative to the highest and lowest prices over a specified period, expressed as a percentage between -100 and 0. This version adds trend detection based on user-defined thresholds, with candlestick colors reflecting the trend state. The indicator plots the %R line with color changes (green for uptrend, red for downtrend) and includes dashed lines for the custom thresholds.
Usage Tips:
Use the uptrend threshold (-16 by default) to identify potential buying opportunities when %R exceeds this level.
Apply the downtrend threshold (-67 by default) to spot selling opportunities when %R falls below.
Combine with other indicators (e.g., moving averages or support/resistance levels) for confirmation signals.
Adjust the length and thresholds based on the asset's volatility and your trading timeframe.
Delta Weighted Momentum Oscillator @MaxMaserati DELTA WEIGHTED MOMENTUM OSCILLATOR
This advanced indicator analyzes the battle between buyers and sellers by measuring volume distribution within each candle. Unlike traditional volume indicators, it reveals WHO is winning the fight - buyers or sellers - and shows you when smart money is accumulating or distributing.
📊 KEY FEATURES:
- Normalized 0-100 scale (works on any timeframe/instrument)
- Real-time delta pressure detection
- Cumulative session flow tracking
- Volume-weighted signal confirmation
- Smart money flow detection
- Multi-signal system (triangles, circles, diamonds)
- Customizable signal sizes and colors
- Professional info panel
🎯 TRADING SIGNALS EXPLAINED:
🔺 TRIANGLES (Main Entry Signals):
- Green Triangle UP: Buying pressure takes control (above 50 line)
- Red Triangle DOWN: Selling pressure takes control (below 50 line)
- Best used with volume confirmation
⚫ CIRCLES (Zone Confirmations):
- Green Circle: Strong bullish zone entry (above 70)
- Red Circle: Strong bearish zone entry (below 30)
- Use for position additions or late entries
💎 DIAMONDS (Extreme Warnings):
- Green Diamond: Extreme bullish levels (above 85) - Consider profit-taking
- Red Diamond: Extreme bearish levels (below 15) - Consider profit-taking
🎨 VISUAL ELEMENTS:
📏 KEY LINES:
- Black Dotted Line (50): The decision zone - above = bullish control, below = bearish control
- Main Delta Line: Real-time buying vs selling pressure (thick line)
- Cumulative Flow Line: Session's net money flow direction (thin line)
- Volume Area: Bottom colored area showing participation levels
🎨 BACKGROUND ZONES:
- Light Green: Bullish zones (70-85)
- Light Red: Bearish zones (15-30)
- Stronger colors: Extreme zones (above 85 / below 15)
📋 INFO PANEL:
- Delta: Current pressure reading (0-100)
- Cumulative: Session's total flow direction
- Volume: Current participation level
- Trend: Overall market sentiment
- Signal: Current recommended action
⚙️ CUSTOMIZATION OPTIONS:
- Session length (for cumulative tracking)
- Lookback period (for normalization)
- Delta smoothing (noise reduction)
- Zone thresholds (bullish/bearish/extreme levels)
- Signal sizes (tiny/small/normal)
- All colors and visual elements
- Show/hide any component
⚠️ REVERSAL SIGNALS:
1. Watch for diamonds in extreme zones
2. Look for divergence between delta and price
3. Wait for opposite triangle for confirmation
4. Manage risk carefully in extreme zones
💡 PRO TIPS:
- Don't trade triangles alone - wait for circle confirmation
- Higher volume = stronger signals
- The 50 line is your key decision point
- Diamonds = caution, not new entries
- Cumulative line shows session bias
- Works best when delta aligns with price action
⚡ BEST TIMEFRAMES:
- 1-5 minutes: Scalping and day trading
- 15-60 minutes: Swing trading
- Daily: Position trading and trend analysis
🎯 UNIQUE ADVANTAGES:
- Normalized scale works on any market
- Combines delta, volume, and flow analysis
- Clear visual hierarchy
- Professional-grade normalization
- Real-time smart money detection
- Session-based cumulative tracking
This indicator is perfect for traders who want to understand the real market sentiment beyond just price action. See exactly when institutions are buying or selling, and trade with the smart money flow!
RSS-Stochastik [afterworktrading]Hi all,
this is the first script from the series "afterworktrading". The goal is to develop and provide tools for traders with a fulltime job or little time for trading/analyzing charts.
Over time some of the scripts will also be linked to complete trading systems.
Let's start with my favourite one, the "RSS-Stochastik" with alert function.
The RSS-concept (Relative Spread Strength, developed by Ian Copsey) is based on the variance between a "short" and a "long" moving averages (or "slow" and "fast"), here between two EMA.
This variance is calculated and plotted in a RSI-diagram to show "overbought" and "oversold" conditions, helping to identify an ideal entry setup for trend continuation or catching a possible reversal.
Compared to the conventional RSI etc., possible reversal or trend continuation areas are often better represented in terms of quality, as an example see the Amazon-Chart.
The EMA-values, limit value thresholds and background colors can be set in the script. As a special feature, alarms can be set to be notified when a value has reached the extreme range. This reduces the screen time to the minimum.
In my personal trading, this indicator forms the basis for almost all trades, but is not a pure signal indicator on its own.
However, the informative value can be further improved if volume or support/resistance zones etc. are linked to the RSS, see example NASDAQ future with support zone price or 200 EMA.
Example for a possible RSS-Trade-Setup:
- choose an asset with a strong trend
- set alerts for crossing the oversold or overbought condition in direction of the trend
- in case of an alert check possible support/resistance areas on the current chart level (EMA, price zones, volume zones, anchored VWAP etc.)
- trade in the direction of the trend using your preferred entry setup
In my opinion, the system can be used very well, especially in trend phases, in order to obtain optimal entries.
Does it works also on lower timeframes?
Yes, it might work on every timeframe with a strong trend of high quality. Please see attached a 5m-Chart of GPBUSD-pair, notice the signal quality in direction of the trend.
Like every trading system this is not the "holy grail setup" and you will have losing trades. But handling this indicator with care you can have better entries especially in trend direction with less screen time due to the alert function.
Good luck with it! Further indicators will be published in the coming months, some will also be based on the RSS system.
As always: no liability for losing trades, no investment advice etc. Observe the risk limit for every trade!
Signalgo BBSignalgo BB: Technical Overview
Signalgo BB is a Bollinger Bands (BB) indicator for TradingView, designed to provide a multi-dimensional view of volatility, trend, and trading opportunities within a single overlay. Below is a detailed, impartial explanation of its workings, inputs, and trading logic.
Core Mechanics
Signalgo BB operates on the principle of nested volatility bands and moving averages. It calculates:
Fast & Slow Bands: Two sets of Bollinger Bands (BB), using different moving average types (EMA or SMA), lengths, and standard deviation multipliers.
Volatility Cloud: A dynamic visual layer indicating when price is inside both, one, or neither band.
Filtering: A short-term RSI is used to confirm trend direction and filter out weak signals.
Inputs & Components
MA Type: Choice between EMA, SMA for both fast and slow MA calculations.
Fast/Slow Lengths
Fast/Slow Deviations
RSI Length/Thresholds
Show Cloud: Toggle for the visual volatility cloud.
Signal Mode: Band Break.
Prevent Repeated Signals: Option to suppress duplicate signals in the same direction.
TP/SL & Trailing Logic: Advanced, automated trade management with ATR-based distances, three take-profit levels, and a dynamic trailing stop.
Signal Generation
Band Break: Triggers when price crosses the fast BB band.
RSI Filter: All signals require RSI confirmation.
Prevent Repeated Signals: Optionally only marks the first breakout in a series to reduce overtrading.
Entry/Exit Marks: Labels are plotted for visual clarity, and signals can trigger TradingView alerts.
Trade Management
Stop Loss (SL): Set at a multiple of ATR from the entry price, adapting to current volatility.
Take Profits (TP1, TP2, TP3): Three levels scaled by risk-reward ratios, supporting partial exits.
Trailing Stop: After the first TP is hit, SL moves to breakeven and then trails at a user-defined multiple of ATR, locking in further gains.
Event Markers: Each TP, SL, and trailing stop event is labeled on the chart.
Direction State: The indicator tracks active trades, allowing for only one open position per direction at a time.
Cloud Visualization: The background color changes depending on whether price is inside both, one, or no bands, making it easier to visualize market conditions.
Multiple Signal Logics: It doesn’t just look at breakouts, it includes cloud crossings, mean reversion, and a choice of how to combine them.
Rigorous Filtering: Signals require RSI trend confirmation, reducing false entries during weak phases.
Automated Trade Management: Built-in TP/SL and trailing logic, dynamically adapting to volatility.
Signal Suppression: Option to prevent repeated signals, reducing noise and overtrading.
Customizable MA Types: Supports EMA, SMA, and a selection algorithm for future expansion.
Trading Strategy Application
Volatility Regimes: The cloud’s color indicates whether price is inside, between, or outside the bands, helping traders identify trending, ranging, or breakout conditions.
Signals: entries can be based on breakouts filtered by RSI trend strength.
Risk Management: All active trades are managed by TP/SL logic, trailing stops after TP1, and visual feedback on exits.
Visual Alerts: Both signals and TP/SL events are marked on the chart for manual review.
Flexibility: Users can switch modes or suppress repeated signals as needed, depending on trading style.
Practical Usage
Intraday to Swing: Suitable for timeframes from minutes to days, depending on the MA periods and volatility profile.
Manual or Automated: The visual overlay and alerts support both manual trading and automated strategies.
Education & Review: The colored cloud and event markers make it easy to review past price action and learn from signals.
What separates this indicator from traditional ones:
1. Dual Bollinger Bands
Traditional: Most indicators use a single set of Bollinger Bands (two standard deviations above/below a moving average).
Signalgo BB: Implements two sets of bands—a "fast" set (shorter moving average, narrower deviation) and a "slow" set (longer moving average, wider deviation). This provides both immediate (fast) and broader context (slow) for volatility and price action.
2. Volatility Cloud Visualization
Traditional: Standard Bollinger Bands display as two lines, with the area between sometimes shaded as a "band" but without dynamic color changes.
Signalgo BB: The background is colored differently depending on whether price is within both, one, or neither band, offering a visual "cloud" that distinguishes trending, ranging, or breakout regimes at a glance.
3. RSI Filtering
Traditional: Many indicators either don’t filter signals, or if they do, it’s not always configurable.
Signalgo BB: Adds an optional RSI filter, requiring signals to be confirmed by short-term RSI overbought/oversold conditions. This reduces false signals in range-bound or low-trend environments.
4. Prevention of Repeated Signals
Traditional: Most indicators will keep firing signals as long as conditions are met, which can cause overtrading.
Signalgo BB: Offers a user-toggleable option to suppress repeated signals in the same direction until the opposite signal occurs. This reduces noise for discretionary traders.
5. Integrated Trade Management
Traditional: Manual or separate coding is required for stop-loss, take-profit, and trailing stop logic.
Signalgo BB: Builds in dynamic, ATR-based stop-loss; up to three take-profit levels and a trailing stop that activates after the first TP is hit. All levels are visually plotted on the chart, and events (TP/SL hits) are labeled, aiding strategy review and automation.
6. Event Labeling and Alerts
Traditional: Alerts may exist for entry/exit, but rarely for each TP/SL event.
Signalgo BB: Places labels for every entry, exit, and TP/SL event. It also provides TradingView alertconditions for each event, enabling automated notifications or integration with trading bots.
7. Directional State Tracking
Traditional: Indicators typically do not track the "state" of a trade (e.g., active long/short/flat) beyond simple signals.
Signalgo BB: Maintains persistent variables for entry price, SL, TP, trailing stop, and trade direction, ensuring only one active signal per direction. This prevents overlapping entries and mimics realistic trade management.
8. User Customization
Traditional: Default settings are often hardcoded, or customization is limited.
Signalgo BB: Offers extensive user inputs for MA type and TP/SL logic—making the tool adaptable to many strategies and timeframes.
BanShen MACD Ultimate Multi Signal System[SpeculationLab]🧠 How This Script Works (Detailed Logic Breakdown)
This script is a closed-source, fully self-developed modular trading system centered around MACD divergence detection. It also includes auxiliary modules such as:
Vegas Tunnel trend filtering
Dynamic ATR-based stop placement
Engulfing candlestick pattern detection
RSI/OBV divergence modules
Fair Value Gap (FVG) recognition
A smart signal panel that consolidates all signals in real time
These components work together through a signal resonance framework, helping traders identify high-confluence, high-probability entry opportunities.
🔍 Why MACD Divergence Is the Core (Real-World Strategy Basis)
This system is based on a real-world trading strategy I’ve personally used and refined over time.
Through discretionary trading and backtesting, I discovered that divergence between price action and the MACD histogram — especially when certain structural conditions are met — produces a very high win rate.
Key observations include:
MACD peaks/troughs that are clean and well-shaped (defined pivot structure)
Large vertical differences between two MACD histogram extremes
Price making a higher high or lower low, while MACD does the opposite
Two or more divergences appearing consecutively, which creates a powerful reversal signal
These setups have proven extremely reliable in my experience. This script automates the detection of these conditions using strict logic filters.
🔷 1. MACD Divergence Engine (Core Module)
At its core, this script implements a multi-layered MACD divergence detection system, capable of identifying both **regular** and **consecutive** bullish/bearish divergences.
Key components of the logic:
- **Pivot-Based Peak Detection:**
Peaks and troughs in the MACD histogram are located using left/right lookback lengths.
These define valid turning points by requiring the center bar to be the highest (or lowest) compared to its neighbors.
- **Peak Size Thresholding:**
The height of the histogram peaks is compared to the standard deviation of MACD values.
Only peaks above a configurable multiplier (e.g., 0.1× stdev) are considered significant, filtering out noise.
- **Peak Ratio Filtering:**
For divergence to be valid, the size ratio between two histogram peaks must exceed a minimum threshold.
This prevents "flat" divergences with no meaningful MACD movement from triggering false signals.
- **Noise Suppression:**
A customizable threshold filters out weak histogram fluctuations between divergence points.
- **Price Action Confirmation:**
The divergence is only confirmed when the price forms a new high or low (depending on the type), and the MACD forms an opposing structure.
- **Consecutive Divergence Detection:**
For high-conviction setups, the script detects sequences of two or more divergences in the same direction.
These use stricter filters and flag rare but powerful market turning points.
Signals are plotted using plotshape() with visual differentiation between regular and consecutive setups. You can enable/disable each type individually.
⏰ Note: Histogram colors are styled similarly to TradingView’s built-in MACD for visual familiarity. However, this script is built entirely from scratch and does not reuse any internal TV code.
---
🔷 2. Trend Filtering via Vegas Tunnel
The **Vegas Tunnel** module plots 5 configurable EMAs (default: 12, 144, 169, 576, 676) to evaluate trend direction.
The trend is considered **bullish** when short EMAs (144/169) are positioned above long EMAs (576/676), and the price is interacting with the short EMA tunnel.
Conversely, a bearish condition is detected when the opposite is true.
A visual triangle marker highlights trend zones, and users can hide/show individual EMAs.
---
🔷 3. ATR-Based Dynamic Stop Loss
This module plots dynamic stop levels above and below the current price based on ATR.
Default setting uses 13-period ATR, and users can customize the multiplier or disable the plot.
It serves as a visual guide for risk management in live trades.
---
🔷 4. Engulfing Pattern Recognition
Candlestick-based signal detection:
- **Bullish Engulfing** occurs when a candle closes above the prior high, and the prior bar is bearish.
- **Bearish Engulfing** when a candle closes below the prior low, and the prior bar is bullish.
Users can modify the logic to use open/close levels for looser or stricter detection.
These patterns are highlighted using plotshape markers and optionally included in the signal table.
---
🔷 5. RSI and OBV Divergence Modules
These modules follow similar logic to the MACD engine:
- Use pivotlow() / pivothigh() to detect swing points.
- Confirm divergence only when price moves in one direction while RSI or OBV moves in the opposite direction.
- Require a minimum distance (in bars) between the two pivots.
- Require a certain ratio between two indicator values and their corresponding prices.
You can only enable **one of MACD/RSI/OBV divergences at a time** to avoid visual overlap, as they share the same subplot.
---
🔷 6. FVG (Fair Value Gap) Auto Detection
This module detects large single-direction price moves where price leaves a visible gap between candle 3 bars ago and 1 bar ago.
- **Bullish FVG**: high < low
- **Bearish FVG**: low > high
ATR-based filters are applied to eliminate minor gaps.
Each gap is drawn as a box and optionally extended, with a central line marking the midpoint (CE - Consequent Encroachment) level.
Traders often look for price to return to this level as an entry signal.
---
🔷 7. Smart Signal Table
All active signals (MACD, Vegas, RSI, OBV, Engulfing) are collected into a **real-time table** that displays current market bias.
- Each module reports whether it is currently giving a bullish (🟢) or bearish (🔴) condition.
- Helps users assess signal alignment (confluence).
- The table is updated every bar and appears in the bottom-right corner.
---
🔷 8. Watermark & Branding
The watermark displays the script name and author at the top-right, and can be toggled via settings.
📌 Not a Mashup — Structured System, Not a Stack of Indicators
⚠️ This is not a random mashup of unrelated indicators.
Every module in this system was intentionally designed to support the core MACD divergence logic by filtering, validating, or amplifying its signals.
Here's how the system achieves signal confluence and structure:
Vegas Tunnel acts as a macro trend filter, helping users determine whether to favor long or short trades.
For example, bullish MACD divergence is more reliable when confirmed by an uptrend in the Vegas EMAs. This prevents users from trading against momentum.
Engulfing Patterns serve as entry-level price action confirmation.
When a bullish engulfing candle appears near a MACD bullish divergence — and trend conditions from Vegas are aligned — the confluence increases dramatically.
This is especially powerful when multiple modules confirm in the same direction on the right side of the chart.
RSI and OBV Divergence modules offer redundant but independent momentum views.
Users may enable them selectively to validate MACD signals, or to use them as standalone alternatives when MACD is flat or noisy.
FVG Zones provide context for entries or targets.
For instance, a MACD bullish divergence forming near a bullish FVG gap increases the odds of reversal.
Price often "fills" these imbalances, which aligns well with reversal setups.
The Smart Signal Table aggregates signals from all modules and provides a visual, real-time overview of the current market bias.
This allows traders to act only when multiple signals are aligned — for example, when MACD is bullish, trend is up, and a bullish engulfing just printed.
Together, this framework creates a coherent decision-making system, where each tool has a defined role: trend filtering, signal confirmation, risk management, or entry detection.
🧩 It is modular in architecture, but not modular in purpose.
This system was not built by stacking indicators, but by integrating logic across modules to support a high-conviction MACD-based strategy.
🧬 Originality Statement
This script is entirely original, developed from scratch without using external libraries or public script code. The logic is fully custom, especially the consecutive divergence detection system and signal integration.
⚠️ Disclaimer
This script is for educational and informational purposes only and does not constitute financial advice. Trade at your own risk.
---
📘 中文简要说明:
这是一个完全原创、闭源的交易系统,核心逻辑为 MACD 柱状图背离信号的识别,配合多模块共振判断,构建出一个高胜率的多信号共振策略。
本指标模块化结构清晰,主要包括:
- MACD 背离识别(支持连续背离)
- Vegas EMA 隧道趋势过滤
- RSI / OBV 背离模块
- 吞没形态识别
- FVG 平衡区间自动标注
- ATR 动态止损提示
- 智能信号面板(整合所有信号并可视化)
所有模块均可单独开启/关闭,适配顺势、逆势或多周期的交易风格。
本脚本为个人实战策略的程序化实现,逻辑完全由零开发,未使用任何公用代码。适合希望提高交易胜率和信号精准度的用户使用。
免责声明:本指标仅用于技术分析学习与参考,不构成任何投资建议。请您独立判断,自行承担交易风险。
Elite RSI Strategy Elite RSI Strategy
________________________________________
🔍 Overview
The Elite RSI Strategy combines multiple technical indicators into a unified visual toolkit, providing deep insights into market strength, reversals, and momentum shifts. Designed for serious traders who value confluence, clarity, and customizability.
________________________________________
📊 Core Components
🔸 Relative Strength Index (RSI)
• Classic RSI calculation with customizable length and price source.
• Dynamic background shading on RSI/MA crosses.
• Gradient fills highlight overbought and oversold zones.
• Alerts on RSI-MA crossovers for bullish or bearish momentum signals.
🔸 Smoothing Moving Averages (MA)
• Choose from SMA, EMA, SMMA, WMA, or VWMA.
• Configurable length and style.
• MA plotted over RSI for cross signal visualization.
________________________________________
🔸 WaveTrend Oscillator (WT)
• Built-in WaveTrend calculation using dual smoothing.
• Color-coded histogram based on oscillator direction:
o 🟢 Green: Bullish momentum
o 🔴 Red: Bearish momentum
• Optional candle coloring based on WT sentiment.
• Alert system for WT trend shifts.
________________________________________
🔸 Money Flow Index (MFI)
• Centered around 0 for clear trend polarity:
o Positive → Bullish Bias
o Negative → Bearish Bias
• Includes custom MFI smoothing, not available in standard indicators.
• Custom levels plotted: +30, +15, 0, -15, -30 for confluence.
• Dynamic color changes on zero-line crosses.
• Alert-ready behavior on trend shifts.
________________________________________
🖌️ Customization & Styling
• Toggle visibility for:
o RSI
o WT
o MFI
o Bar Colors
o Level Lines
• Style options for all plot types: line, area, or columns.
• Full color customization for bullish and bearish signals.
________________________________________
🚨 Built-In Alerts
• 📈 RSI crosses above MA
• 📉 RSI crosses below MA
• 🔄 RSI/MA Cross (any)
• 🟢 WT turns Bullish
• 🔴 WT turns Bearish
• 🔁 WT Direction Change
________________________________________
🧠 Why Use Elite RSI Strategy?
• Combines momentum, volume flow, and trend structure.
• Helps filter false signals through multi-layer confluence.
• Increases confidence in entry/exit decisions.
• Fully customizable to suit any trading style.
________________________________________
Disclaimer:
This indicator script is intended for educational and informational purposes only. It does not constitute investment advice or a recommendation to buy or sell any asset.
Always seek guidance from a licensed financial advisor or broker. You are solely responsible for your own trading decisions.
Thank you.
xGhozt Stoch RSI Consecutive Candles StrategyThis is a customizable strategy using the Stochastic RSI (Stoch RSI) to identify reversal points.
This strategy enters **Longs** when Stoch RSI's %K line is **below the `Lower Band` for `N` consecutive bars** (oversold confirmation), and **Shorts** when %K is **above the `Upper Band` for `N` consecutive bars** (overbought confirmation).
**Key Features:**
* **N-Bar Entry Confirmation:** Define how many consecutive bars Stoch RSI must spend in overbought/oversold zones before a trade is triggered, reducing false signals.
* **ATR-Based Risk Management:** Optional dynamic Stop Loss and Take Profit calculated using ATR.
* **Customizable:** Adjust Stoch RSI settings, bands, trade direction (longs/shorts), and signal reversal.
[Pandora] Laguerre Ultimate Explorations MulticatorIt's time to begin demonstrations differentiating the difference between known and actual feasibility beyond imagination... Welcome to my algorithmic twilight zone .
INTRODUCTION:
Hot off my press, I present this Laguerre multicator employing PSv6.0, originally formulated by John Ehlers for TASC - July 2025 Traders Tips. Basically I transcended Ehlers' notions of transversal filtration with an overhaul of his Laguerre design with my "what if" Pandora notions included. Striving beyond John Ehlers' original intended design. This action packed indicator is a radically revamped version of his original filter using novel techniques. My aim was to explore whether providing even more enhanced responsiveness and lesser lag is possible and how. Presented here is my mind warping results to witness.
EHLERS' LAGUERRE EXPLAINED:
First and foremost, the concept of Ehlers' Laguerre-izing method deserves a comprehensive deep dive. Ehlers' Laguerre filter design, as it functions originally, begins with his Ultimate Smoother (US) followed by a gang of four LERP (jargon for Linear intERPolation) filters. Following a myriad of cascading LERPs is a window-like FIR filter tapped into the LERP delay values to provide extra smoothness via the output.
On a side note, damping factor controlled LERP filters resemble EMAs indeed, but aren't exactly "periodic" filters that would have a period/length parameter and their subsequent calculations. I won't go into fine-grained relationship details, but EMA and LERP are indeed related in approach, being cousins of similar pedigree.
EXAMINING LAGUERRE:
I focused firstly on US initialization obstacles at Pine's bar_index==0 with nz() in abundance. The next primary notion of intrigue I mostly wondered about was, why are there four LERP elements instead of fewer or more. Why not three or why not two LERPs, etc... 1-4-6-4-1, I remember seeing those coefficients before in high pass filters.
Gathering my thoughts from that highpass knowledge base, I devised other tapped configuration modes to inspect their behavior out of curiosity. Eureka! There is actually more to Laguerre than Ehlers' mind provided, now that I had formulated additional modes. Each mode exhibits it's own lag/smoothness characteristics better than the quad LERPed version. I narrowed it down to a total of 5 modes for exploration. Mode 0 is just the raw US by itself.
ANALYZING FILTER BEHAVIORS:
Which option might be possibly superior, and how may I determine that? Fortunately, I have a custom-built analyzer allowing me to thoroughly examine transient responses across multiple periodicities simultaneously, providing remarkable visual insights.
While Ehlers has meagerly touched upon presenting general frequency responses in his books, I have excelled far beyond that. This robust filter analysis capability enables me to observe finer aspects hidden to others, ultimately leading to the deprecation of numerous existing filters. Not only this, but inventing entirely new species of filtration whether lowpass, highpass, or bandpass is already possible with a thorough comprehensive evaluation.
Revealing what's quirky with each filter and having the ability to discover what filters may be lacking in performance, is one of it's implications. I'm just going to explain this: For example US has a little too much overshoot to my liking, along with nonconformant cutoff frequency compliance with the period parameter. Perhaps Ehlers should inspect US coefficients a bit closer... I hope stating this is not received in an ill manner, as it's not my intention here.
What this technically eludes to is that UltimateSmoother can be further improved, analogous to my Laguerre alterations described above. I will also state Laguerre can indeed be reformulated to an even greater extent concerning group delay, from what I have already discussed. Another exciting time though... More investigative research is warranted.
LAGUERRE CONCLUSIONS:
After analyzing Laguerre's frequency compliance, transient responses, amplitudes, lag, symmetry across periodicities, noise rejection, and smoothness... I favor mode 3 for a multitude of reasons over the mode 4 configuration, but mostly superb smoothing with less lag, AND I also appreciated mode 1 & 2 for it's lower lag performance options.
Each mode and lag (phase shift) damping value has it's own unique characteristics at extremes, yet they demonstrate additional finesse in it's new hybrid form without adding too much more complexity. This multicator has a bunch of Laguerre filters in the overlay chart over many periodicities so you can easily witness it's differing periodic symmetries on an input signal while adjusting lag and mode.
LAGUERRE OSCILLATOR:
The oscillator is integrated into the laguerreMulti() function for the intention of posterity only. I performed no evaluation on it, only providing the code in Pine. That wasn't part of my intended exploration adventure, as I'm more TREND oriented for the time being, focusing my efforts there.
Market analysis has two primary aspects in my observations, one cyclic while the other is trending dynamics... There's endless oscillators, but my expectations for trend analysis seems a little lesser explored in my opinion, hence my laborious trend endeavors. Ehlers provided both indicator facets this time around, and I hope you find the filtration aspect more intriguing after absorption of this reading.
FUNCTION MODULES EXPLAINED:
The Ultimate Smoother is an advanced IIR lowpass smoothing filter intended to minimize noise in time series data with minimal group delay, similar to a traditional biquad filter. This calculation helps to create a smoother version of the original signal without the distortions of short-term fluctuations and with minimal lag, adjustable by period.
The Modified Laguerre Lowpass Filter (MLLF) enhances the functionality of US by introducing a Laguerre mode parameter along side the lag parameter to refine control over the amount of additional smoothing/lag applied to the signal. By tethering US with this LERPed lag mechanism, MLLF achieves an effective balance between responsiveness and smoothness, allowing for customizable lag adjustments via multiple inputs. This filter ends with selecting from a choice of weighted averages derived from a gang of up to four cascading LERP calculations, resulting with smoother representations of the data.
The Laguerre Oscillator is a momentum-like indicator derived from the output of US and a singular LERPed lowpass filter. It calculates the difference between the US data and Laguerre filter data, normalizing it by the root mean square (RMS). This quasi-normalization technique helps to assess the intensity of the momentum on any timeframe within an expected bound range centered around 0.0. When the Laguerre Oscillator is positive, it suggests that the smoothed data is trending upward, while a negative value indicates a downward trend. Adjustability is controlled with period, lag, Laguerre mode, and RMS period.
MVRV Altcoins📌 Technical Description of Indicator: MVRV Altcoins
This advanced script calculates the Market Value to Realized Value (MVRV) ratio across multiple cryptocurrencies simultaneously. It offers two analytical modes: Normal and Z-Score, optimized for visual comparison and real-time monitoring of up to 13 predefined assets. If a user applies the indicator to a symbol that is not among the 13 programmed assets, the default behavior displays the Bitcoin chart as a fallback reference.
🔍 What Is MVRV and Why Is It Important?
MVRV is an on-chain metric designed to assess whether a cryptocurrency is overvalued or undervalued by comparing its market capitalization to its realized capitalization.
- Market Cap: The total circulating supply multiplied by the current market price.
- Realized Cap: The sum value of all coins based on the price at the time they last moved on-chain, offering a time-weighted valuation.
Normal Calculation:
MVRV_Normal = Market Cap / Realized Cap
This version reflects investor profitability and identifies potential accumulation or distribution zones.
📊 Z-Score Calculation:
MVRV_ZScore = (Market Cap − Realized Cap) / Standard Deviation of Market Cap
This formula evaluates how extreme the current market conditions are compared to historical norms. It normalizes the difference using statistical dispersion, turning it into a volatility-aware metric that better reflects valuation extremes.
🔎 How Market Cap Is Computed
Unlike conventional indicators relying on consolidated feeds, this script uses modular components from CoinMetrics to construct the active capitalization more accurately, especially for altcoins. Here's the breakdown:
Active Capitalization = MARKETCAPFF + MARKETCAPACTSPLY
Realized Capitalization = MARKETCAPREAL
Component Definitions:
- MARKETCAPFF: Market Cap Free Float — total valuation based only on truly circulating coins.
- MARKETCAPACTSPLY: Capitalization from actively circulating supply — filters dormant or locked coins.
- MARKETCAPREAL: Realized Cap — historical valuation weighted by the last on-chain movement of each coin.
This method offers enhanced precision and compatibility across assets that may lack comprehensive data from centralized providers.
⚙️ User-Configurable Parameters
- MVRV Mode: Choose between Normal and Z-Score.
- Percentage Scale View: If enabled, visual output is scaled using predefined divisors (100 / 3.5 or 100 / 6).
- Thresholds for Analysis:
- Normal mode: Define overbought and oversold levels (default 1.0 and 3.5).
- Z-Score mode: Configure statistical boundaries (default 0.0 and 6.0).
- Table Controls:
- Adjustable position on screen (9 options).
- Font size customization: tiny, small, normal, large.
- Color scheme personalization:
- Header: text and background
- Body: text and background
- Central column separator color
📊 Multicrypto Table Architecture
The indicator renders a high-performance visual table displaying data from up to 13 assets simultaneously. Each asset is represented as a vertical column featuring eigth historical data points plus the most recent value.
- Assets are displayed in two blocks separated by a decorative column.
- Each value is rounded to one decimal place for clarity.
- Cells are styled dynamically based on user settings.
🎨 Decorative Column Separator
Since the entire table is built as a unified structure, a color-configurable empty column is inserted mid-table to act as a visual divider. This approach improves readability and aesthetic balance without duplicating code or splitting table logic.
🔁 Default Behavior on Unsupported Assets
If the active chart is not one of the 13 predefined assets, the indicator will automatically display Bitcoin’s data. This ensures the chart remains functional and informative even outside the target asset group.
🎯 Color Interpretation by Condition
The MVRV value for each asset is highlighted using a traffic light system:
- Green: Undervalued (below oversold threshold)
- Red: Overvalued (above overbought threshold)
- Yellow: Neutral zone
This coding simplifies decision-making and visual scanning across assets.
Final Notes
This indicator is modular and fully adaptable, with well-commented sections designed for efficient customization. Its multiactive architecture makes it a valuable tool for crypto analysts tracking diversified portfolios beyond Bitcoin and Ethereum.
It supports visual storytelling across assets, comparative historical evaluation, and identification of strategic zones — whether for accumulation, distribution, or monitoring on-chain sentiment.
PRO Investing - Apex EnginePRO Investing - Apex Engine
1. Core Concept: Why Does This Indicator Exist?
Traditional momentum oscillators like RSI or Stochastic use a fixed "lookback period" (e.g., 14). This creates a fundamental problem: a 14-period setting that works well in a fast, trending market will generate constant false signals in a slow, choppy market, and vice-versa. The market's character is dynamic, but most tools are static.
The Apex Engine was built to solve this problem. Its primary innovation is a self-optimizing core that continuously adapts to changing market conditions. Instead of relying on one fixed setting, it actively tests three different momentum profiles (Fast, Mid, and Slow) in real-time and selects the one that is most synchronized with the current price action.
This is not just a random combination of indicators; it's a deliberate synthesis designed to create a more robust momentum tool. It combines:
Volatility analysis (ATR) to generate adaptive lookback periods.
Momentum measurement (ROC) to gauge the speed of price changes.
Statistical analysis (Correlation) to validate which momentum measurement is most effective right now.
Classic trend filters (Moving Average, ADX) to ensure signals are only taken in favorable market conditions.
The result is an oscillator that aims to be more responsive in volatile trends and more stable in quiet periods, providing a more intelligent and adaptive signal.
2. How It Works: The Engine's Three-Stage Process
To be transparent, it's important to understand the step-by-step logic the indicator follows on every bar. It's a process of Adapt -> Validate -> Signal.
Stage 1: Adapt (Dynamic Length Calculation)
The engine first measures market volatility using the Average True Range (ATR) relative to its own long-term average. This creates a volatility_factor. In high-volatility environments, this factor causes the base calculation lengths to shorten. In low-volatility, they lengthen. This produces three potential Rate of Change (ROC) lengths: dynamic_fast_len, dynamic_mid_len, and dynamic_slow_len.
Stage 2: Validate (Self-Optimizing Mode Selection)
This is the core of the engine. It calculates the ROC for all three dynamic lengths. To determine which is best, it uses the ta.correlation() function to measure how well each ROC's movement has correlated with the actual bar-to-bar price changes over the "Optimization Lookback" period. The ROC length with the highest correlation score is chosen as the most effective profile for the current moment. This "active" mode is reflected in the oscillator's color and the dashboard.
Stage 3: Signal (Normalized Velocity Oscillator)
The winning ROC series is then normalized into a consistent oscillator (the Velocity line) that ranges from -100 (extreme oversold) to +100 (extreme overbought). This ensures signals are comparable across any asset or timeframe. Signals are only generated when this Velocity line crosses its signal line and the trend filters (explained below) give a green light.
3. How to Use the Indicator: A Practical Guide
Reading the Visuals:
Velocity Line (Blue/Yellow/Pink): The main oscillator line. Its color indicates which mode is active (Fast, Mid, or Slow).
Signal Line (White): A moving average of the Velocity line. Crossovers generate potential signals.
Buy/Sell Triangles (▲ / ▼): These are your primary entry signals. They are intentionally strict and only appear when momentum, trend, and price action align.
Background Color (Green/Red/Gray): This is your trend context.
Green: Bullish trend confirmed (e.g., price above a rising 200 EMA and ADX > 20). Only Buy signals (▲) can appear.
Red: Bearish trend confirmed. Only Sell signals (▼) can appear.
Gray: No clear trend. The market is likely choppy or consolidating. No signals will appear; it is best to stay out.
Trading Strategy Example:
Wait for a colored background. A green or red background indicates the market is in a tradable trend.
Look for a signal. For a green background, wait for a lime Buy triangle (▲) to appear.
Confirm the trade. Before entering, confirm the signal aligns with your own analysis (e.g., support/resistance levels, chart patterns).
Manage the trade. Set a stop-loss according to your risk management rules. An exit can be considered on a fixed target, a trailing stop, or when an opposing signal appears.
4. Settings and Customization
This script is open-source, and its settings are transparent. You are encouraged to understand them.
Synaptic Engine Group:
Volatility Period: The master control for the adaptive engine. Higher values are slower and more stable.
Optimization Lookback: How many bars to use for the correlation check.
Switch Sensitivity: A buffer to prevent frantic switching between modes.
Advanced Configuration & Filters Group:
Price Source: The data source for momentum calculation (default close).
Trend Filter MA Type & Length: Define your long-term trend.
Filter by MA Slope: A key feature. If ON, allows for "buy the dip" entries below a rising MA. If OFF, it's stricter, requiring price to be above the MA.
ADX Length & Threshold: Filters out non-trending, choppy markets. Signals will not fire if the ADX is below this threshold.
5. Important Disclaimer
This indicator is a decision-support tool for discretionary traders, not an automated trading system or financial advice. Past performance is not indicative of future results. All trading involves substantial risk. You should always use proper risk management, including setting stop-losses, and never risk more than you are prepared to lose. The signals generated by this script should be used as one component of a broader trading plan.
xGhozt Stoch RSI StrategyA Stochastic RSI-based strategy that enters long or short when the K line exits extreme zones. Includes optional ATR-based stop loss and take profit levels. Supports both trend-following and reversal logic. Fully configurable.
xGhozt Stoch RSI StatsQuantify Stochastic RSI behavior with this unique analytical tool. It measures the average number of candles and total occurrences your chosen Stochastic RSI spends within its overbought and oversold zones. All historical data is presented in a clean, customizable table directly on your chart, helping you understand the typical persistence and frequency of extreme conditions to sharpen your market analysis.
Previous Price Action## Previous Price Action - Market Structure Visualization Tool
**Three time-segmented boxes for enhanced market structure analysis:**
🟢 **240 Candles Box (Green)** - Historical context (candles -240 to -120)
🟡 **120 Candles Box (Yellow)** - Medium-term trend (candles -120 to -10)
🔴 **10 Candles Box (Red)** - Recent price action (last 10 candles)
**Key Features:**
- Non-overlapping time segments for clear trend analysis
- Uniform height based on 240-candle range for easy comparison
- 50% transparency to maintain chart readability
- Ideal for identifying momentum vs mean reversion conditions
**Perfect for:**
- Crypto day trading and scalping
- Market regime identification (trending vs choppy)
- Entry timing and trade management
- Duration of trend analysis
**Settings:** Fully customizable colors, transparency, and individual box toggle switches.
RSI with Williams %R Coloringsimple fusion of RSI to seek divergence and williams % R coloring to see overbought/oversold price.
not my own work, just merely took two standard indicators and infused them.
RSI Long Only with Confirmed CrossbacksThis RSI-based long-only strategy aims to identify and trade potential reversals with confirmation to reduce false signals. It enters a long position only after the Relative Strength Index (RSI) first dips below a specified oversold threshold (default 44) and then crosses back above it, signaling a possible bullish reversal with momentum. The strategy avoids premature entries by requiring this two-step confirmation. Similarly, it exits the long position only after RSI first rises above the overbought threshold (default 70) and then crosses back below it, indicating a potential loss of bullish momentum. By waiting for RSI to travel beyond the thresholds and then revert, the strategy attempts to capture stronger and more reliable directional moves while filtering out temporary spikes.
Unified Signal EngineThis Pine Script titled "Unified Signal Engine" is a comprehensive multi-indicator trading tool designed to generate buy and sell signals based on the combined logic of five different technical indicators:
🔍 Core Components
PMO (Price Momentum Oscillator)
Uses double-smoothed rate of change to detect momentum shifts.
Buy signal: when PMO crosses above its signal line.
Average Force
Measures the strength of price movement within a range.
Buy signal: when the force is positive.
Dynamic Sentiment RSI
A sentiment-weighted RSI with smoothing and step rounding.
Buy signal: when sentiment RSI is above zero.
Adaptive Resonance Oscillator
Uses Hilbert Transform and adaptive RSI logic.
Buy signal: when RSI crossover occurs and RSI is above 50 (added filter for stronger confirmation).
Turbo Oscillator
Combines RSI, MFI, and Stochastic indicators with divergence detection and take-profit logic.
Buy signal: when oscillator conditions and reversal patterns align.
📈 Signal Logic
Buy Signal (long) is triggered when all selected indicators (based on user input toggles) align positively.
Sell Signal (short) is triggered when all selected indicators align negatively.
🔔 Alerts and Visuals
Plots triangle shapes below/above bars for buy/sell signals.
Alerts are configured for buy, sell, and combined conditions.
🧠 Customisation
Users can toggle each indicator on/off.
Includes smoothing, divergence detection, and visual styling options.
This script is ideal for traders looking to unify multiple momentum and sentiment indicators into a single decision engine, offering flexibility and layered confirmation for entries and exits.
Cross-Correlation Lead/Lag AnalyzerCross-Correlation Lead/Lag Analyzer (XCorr)
Discover which instrument moves first with advanced cross-correlation analysis.
This indicator analyzes the lead/lag relationship between any two financial instruments using rolling cross-correlation at multiple time offsets. Perfect for pairs trading, market timing, and understanding inter-market relationships.
Key Features:
Universal compatibility - Works with any two symbols (stocks, futures, forex, crypto, commodities)
Multi-timeframe analysis - Automatically adjusts lag periods based on your chart timeframe
Real-time correlation table - Shows current correlation values for all lag scenarios
Visual lead/lag detection - Color-coded plots make it easy to spot which instrument leads
Smart "Best" indicator - Automatically identifies the strongest relationship
How to Use:
Set your symbols in the indicator settings (default: NQ1! vs RTY1!)
Adjust correlation length (default: 20 periods for smooth but responsive analysis)
Watch the colored lines:
• Red/Orange: Symbol 2 leads Symbol 1 by 1-2 periods
• Blue: Instruments move simultaneously
• Green/Purple: Symbol 1 leads Symbol 2 by 1-2 periods
Check the table for exact correlation values and the "Best" relationship
Interpreting Results:
Correlation > 0.7: Strong positive relationship
Correlation 0.3-0.7: Moderate relationship
Correlation < 0.3: Weak/no relationship
Highest line indicates the optimal timing relationship
Popular Use Cases:
Index Futures : NQ vs ES, RTY vs IWM
Sector Rotation : XLF vs XLK, QQQ vs SPY
Commodities : GC vs SI, CL vs NG
Currency Pairs : EURUSD vs GBPUSD
Crypto : BTC vs ETH correlation analysis
Technical Notes:
Cross-correlation measures linear relationships between two time series at different time lags. This implementation uses Pearson correlation with adjustable periods, calculating correlations from -2 to +2 period offsets to detect leading/lagging behavior.
Perfect for quantitative analysts, pairs traders, and anyone studying inter-market relationships.
NWE-cRSI-StochRSI增强反转信号 [2分钟专用]The NWE-cRSI-StochRSI Reversal System is a sophisticated trading indicator designed exclusively for 2-minute charts. It combines three powerful technical components—Nadaraya-Watson Envelope (NWE), Cyclical RSI (cRSI), and Stochastic RSI (StochRSI)—to identify high-probability reversal opportunities in fast-moving markets. This triple-confirmation system filters noise while capturing early reversal signals with precision.