MTF RSI MA System + Adaptive BandsMTF RSI MA System + Adaptive Bands
Overview
MTF RSI MA System + Adaptive Bands is a highly customizable Pine Script indicator for traders seeking a versatile tool for multi-timeframe (MTF) analysis. Unlike traditional RSI, it focuses on the Moving Average of RSI (RSI MA), delivering smoother and more flexible trading signals. The main screenshot displays the indicator in two panels to showcase its diverse capabilities.
Important: Timeframes do not adjust automatically – users must manually set them to match the chart’s timeframe.
Features
Core Component: Built around RSI MA, not raw RSI, for smoother trend signals.
Multi-Timeframe: Analyze RSI MA across three customizable timeframes (default: 4H, 8H, 12H).
Adaptive Bands: Three band calculation methods (Fixed, Percent, StdDev) for dynamic signals.
Flexible Signals: Generated via RSI MA crossovers, band interactions, or directional alignment across timeframes.
Background Coloring: Highlights when RSI MAs across timeframes move in the same direction, aiding trend confirmation.
Screenshot Panels Configuration
Upper Panel: Shows RSI, RSI MA, and fixed bands for reversal strategies (RSI crossing bands).
Lower Panel: Displays three RSI MAs (Alligator-style) for trend-following, with background coloring for directional alignment.
Band Calculation Methods
The indicator offers three ways to calculate bands around RSI MA, each with unique characteristics:
Fixed Bands
Set at a fixed point value (default: 10) above and below RSI MA.
Example: If RSI MA = 50, band value = 10 → upper band = 60, lower = 40.
Use Case: Best for stable markets or fixed-range preferences.
Tip: Adjust the band value to widen or narrow the range based on asset volatility.
Percent Bands
Calculated as a percentage of RSI MA (default: 10%).
Example: If RSI MA = 50, band value = 10% → upper band = 55, lower = 45.
Use Case: Ideal for assets with varying volatility, as bands scale with RSI MA.
Tip: Experiment with percentage values to match typical price swings.
Standard Deviation Bands (StdDev)
Based on RSI’s standard deviation over the MA period, multiplied by a user-defined factor (default: 10).
Example: If RSI MA = 50, standard deviation = 5, factor = 2 → upper band = 60, lower = 40.
Important: The default value (10) may produce wide bands. Reduce to 1–2 for tighter, practical bands.
Use Case: Best for dynamic markets with fluctuating volatility.
Configuration Options
RSI Length: Set RSI calculation period (default: 20).
MA Length: Set RSI MA period (default: 20).
MA Type: Choose SMA or EMA for RSI MA (default: EMA).
Timeframes: Configure three timeframes (default: 4H, 8H, 12H) for MTF analysis.
Overbought/Oversold Levels: Optionally display fixed levels (default: 70/30).
Background Coloring: Enable/disable for each timeframe to highlight directional alignment.
How to Use
Add Indicator: Load it onto your TradingView chart.
Setup:
Reversals: Configure like the upper panel (RSI, RSI MA, bands) and watch for RSI crossing bands.
Trends: Configure like the lower panel (three RSI MAs) and look for fastest MA crossovers and background coloring.
Adjust Timeframes: Manually set tf1, tf2, tf3 (e.g., 1H, 2H, 4H on a 1H chart) to suit your strategy.
Adjust Bands: Choose band type (Fixed, Percent, StdDev) and value. For StdDev, reduce to 1–2 for tighter bands.
Experiment: Test settings to match your trading style, whether scalping, swing trading, or long-term.
Notes
Timeframes: Always match tf1, tf2, tf3 to your chart’s needs, as they don’t auto-adjust.
StdDev Bands: Lower the default value (10) to avoid overly wide bands.
Versatility: Works across markets (stocks, forex, crypto).
Moving Averages
Market Matrix ViewThis technical indicator is designed to provide traders with a quick and integrated view of market dynamics by combining several popular indicators into a single tool. It's not a magic bullet, but a practical aid for analyzing buying/selling pressure, trends, volume, and divergences, saving you time in the decision-making process. Built for flexibility, the indicator adapts to various trading styles (scalping, swing, or long-term) and offers customizable settings to suit your needs.
🟡 Multi-Timeframe Trends
➤ This section displays the trend direction (bullish, bearish, or neutral) across 15-minute, 1-hour, 4-hour, and Daily timeframes, providing multi-timeframe market context. Timeframes lower than the one currently selected will show "N/A."
➤It utilizes fast and slow Exponential Moving Averages (EMAs) for each timeframe:
15m: Fast EMA 42, Slow EMA 170
1h: Fast EMA 40, Slow EMA 100
4h: Fast EMA 36, Slow EMA 107
Daily: Fast EMA 20, Slow EMA 60
🟡 Smart Flow & RVOL
➤ This section displays "Buying Pressure" or "Selling Pressure" signals based on indicator confluence, alongside volume activity ("High Activity," "Normal Activity," or "Low Activity").
➤ Smart Flow combines Chaikin Money Flow (CMF) and Money Flow Index (MFI) to detect buying/selling pressure. CMF measures money flow based on price position within the high-low range, while MFI analyzes money flow considering typical price and volume. A signal is generated only when both indicators simultaneously increase/decrease beyond an adjustable threshold ("Buy/Sell Sensitivity") and volume exceeds a Simple Moving Average (SMA) scaled by the "Volume Multiplier."
➤ RVOL (Relative Volume) calculates relative volume separately for bullish and bearish candles, comparing recent volume (fast SMA) with a reference volume (slow SMA). Thresholds are adjusted based on the selected mode.
🟡 ADX & RSI
This section displays trend strength ("Strong," "Moderate," or "Weak"), its direction ("Bullish" or "Bearish"), and the RSI momentum status ("Overbought," "Oversold," "Buy/Sell Momentum," or "Neutral").
➤ ADX (Average Directional Index) measures trend strength (above 40 = "Strong," 20–40 = "Moderate," below 20 = "Weak"). Direction is determined by comparing +DI (upward movement) with -DI (downward movement). Additionally, an arrow indicates whether the trend's strength is decreasing or increasing.
➤RSI (Relative Strength Index) evaluates price momentum. Extreme levels (above 80/85 = "Overbought," below 15/20 = "Oversold") and intermediate zones (47–53 = "Neutral," above 53 = "Buy Momentum," below 47 = "Sell Momentum") are adjusted based on the selected mode.
🟡 When these signals are active for a potential trade setup, the table's background lights up green or red, respectively.
🟡 Volume Spikes
➤This feature highlights bars with significantly higher volume than the recent average, coloring them yellow on the chart to draw attention to intense market activity.
➤It uses the Z-Score method to detect volume anomalies. Current volume is compared to a 10-bar Simple Moving Average (SMA) and the standard deviation of volume over the same period. If the Z-Score exceeds a certain threshold, the bar is marked as a volume spike.
🟡 Divergences (Volume Divergence Detection)
➤ This feature marks divergences between price and technical indicators on the chart, using diamond-shaped labels (green for bullish divergences, red for bearish divergences) to signal potential trend reversals.
➤ It compares price deviations from a Simple Moving Average (SMA) with deviations of three indicators: Chaikin Money Flow (CMF), Money Flow Index (MFI), and On-Balance Volume (OBV). A bullish divergence occurs when price falls below its average, but CMF, MFI, and OBV rise above their averages, indicating hidden accumulation. A bearish divergence occurs when price rises above its average, but CMF, MFI, and OBV fall, suggesting distribution. The length of the moving averages is adjustable (default 13/10/5 bars for Scalping/Balanced/Swing), and detection thresholds are scaled by "Divergence Sensitivity" (default 1.0).
🟡 Adaptive Stop-Loss (ATR)
➤Draws dynamic stop-loss lines (red, dashed) on the chart for buy or sell signals, helping traders manage risk.Uses the Average True Range (ATR) to calculate stop-loss levels, set at low/high ± ATR × multiplier
🟡 Alerts for trend direction changes in the Info Panel:
➤ Triggers notifications when the trend shifts to Bullish (when +DI crosses above -DI) or Bearish (when +DI crosses below -DI), helping you stay informed about key market shifts.
How to use: Set alerts in Trading View for “Trend Changed to Bullish” or “Trend Changed to Bearish” with “Once Per Bar Close” for reliable signals.
🟡 Settings (Inputs)
➤ The indicator offers customizable settings to fit your trading style, but it's already optimized for Scalping (1m–15m), Balanced (16m–3h59m), and Swing (4h–Daily) modes, which automatically adjust based on the selected timeframe. The visible inputs allow you to adjust the following parameters:
Show Info Panel: Enables/disables the information panel (default: enabled).
Show Volume Spikes: Turns on/off coloring for volume spike bars (default: enabled).
Spike Sensitivity: Controls the Z-Score threshold for detecting volume spikes (default: 2.0; lower values increase signal frequency).
Show Divergence: Enables/disables the display of divergence labels (default: enabled).
Divergence Sensitivity: Adjusts the thresholds for divergence detection (default: 1.0; higher values reduce sensitivity).
Divergence Lookback Length: Sets the length of the moving averages used for divergences (default: 5, automatically adjusted to 13/10/5 for Scalping/Balanced/Swing).
RVOL Reference Period: Defines the reference period for relative volume (default: 20, automatically adjusted to 7/15/20).
RSI Length: Sets the RSI length (default: 14, automatically adjusted to 5/10/14).
Buy Sensitivity: Controls the increase threshold for Buying Pressure signals (default: 0.007; higher values reduce frequency).
Sell Sensitivity: Controls the decrease threshold for Selling Pressure signals (default: 0.007; higher values reduce frequency).
Volume Multiplier (B/S Pressure): Adjusts the volume threshold for Smart Flow signals (default: 0.6; higher values require greater volume).
🟡 This indicator is created to simplify market analysis, but I am not a professional in Pine Script or technical indicators. This indicator is not a standalone solution. For optimal results, it must be integrated into a well-defined trading strategy that includes risk management and other confirmations.
Adaptive Multi-MA OptimizerAdaptive Multi-MA Optimizer
This indicator provides a powerful, customizable solution for traders seeking dynamically optimized moving averages with precision and control. It integrates multiple custom-built moving average types, applies real-time volatility-based optimization, and includes an optional composite smoothing engine.
🧠 Key Features
Dynamic Optimization:
Automatically selects the optimal lookback length based on market volatility stability using a custom standard deviation differential model.
Multiple Custom MA Types:
Includes fully custom implementations of:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
WMA (Weighted Moving Average)
VWMA (Volume Weighted MA)
DEMA (Double EMA)
TEMA (Triple EMA)
Hull MA
ALMA (Arnaud Legoux MA)
Composite MA Option:
A unique "Composite" mode blends all supported MAs into a single average, then applies optional smoothing for enhanced signal clarity.
Dynamic Smoothing:
The composite mode supports volatility-adjusted smoothing (based on optimized lookback), making it adaptable to different market regimes.
Fully Custom Logic:
No built-in MA functions are used — every moving average is hand-coded for transparency and educational value.
⚙️ How It Works
Optimization:
The script evaluates a range of lengths (minLen to maxLen) using the standard deviation of price returns. It selects the length with the most stable recent volatility profile.
Calculation:
The selected MA type is calculated using that optimized length. If "Composite" is chosen, all MA types are averaged and smoothed dynamically.
Visualization:
The adaptive MA is plotted on the chart, changing color based on its position relative to price.
📌 Use Cases
Trend-following strategies that adapt to different market conditions.
Traders wanting a high-fidelity composite of multiple MAs.
Analysts interested in visualizing market smoothness without lag-heavy signals.
Coders looking to learn how to build custom indicators from scratch.
🧪 Inputs
MA Type: Choose from 8 MA types or a blended Composite.
Lookback Range: Control min/max and step size for optimization.
Source: Choose any price series (e.g., close, hl2).
⚠️ Disclaimer
This indicator is for educational and informational purposes only and does not constitute financial advice, trading advice, or investment recommendations. Use of this script is at your own risk. Past performance does not guarantee future results. Always perform your own analysis and consult with a qualified financial advisor before making trading decisions.
Dynamic Laguerre Filter Bands | OttoThis indicator combines trend-following and volatility analysis by enhancing the traditional Laguerre filter with a dynamic, volatility-adjusted band system. Instead of using fixed thresholds, the bands adapt in real-time to changing market conditions by applying smoothed standard deviation calculations. This design keeps the indicator responsive to significant price movements while effectively filtering out short-term market noise, resulting in more accurate trend identification and breakout signals.
Core Concept
The indicator is built around the following key components:
Laguerre Filter:
The Laguerre filter is designed to smooth out price data by reducing market noise while still being quick enough to detect real changes in price direction. Its goal is to create a clear, smooth trend line that helps traders/investors focus on the overall market trend without getting distracted by small, random price swings.
It uses a parameter called gamma to control how it balances smoothness and responsiveness:
A lower gamma gives more weight to recent price data, making the filter react faster to new price changes. This means the trend line is more sensitive but may also be less smooth and more prone to small fluctuations.
A higher gamma gives more weight to past price data, making the filter smoother and less sensitive to quick changes. This helps reduce noise and produces a steadier trend line, but it also introduces more lag, meaning the filter reacts slower to new price moves.
By adjusting gamma, the Laguerre filter lets you choose the balance between following price changes quickly and having a stable, noise-free trend signal.
Standard Deviation:
shows how much price varies from the mean. In this indicator, it’s used to measure market volatility.
Volatility Bands: The upper and lower bands are based on an EMA-smoothed standard deviation of price. The EMA reduces sudden jumps in volatility, creating smoother and more stable bands that still respond to changing market conditions. These bands are plotted around the Laguerre filter line, expanding and contracting in a controlled way to stay aligned with real market movement while avoiding short-term noise.
Signal Logic:
A long signal is triggered when the close price crosses above the upper band.
A short signal occurs when the close price falls below the lower band.
⚙️ Inputs
Source: Price source used in calculations
Gamma: Adjusts how much the Laguerre filter responds to price changes. Lower gamma values make the filter react more to recent prices, while higher values give more influence to older data, making the line smoother but slower to respond.
Volatility Length: Period used to calculate standard deviation
Volatility Smoothing Length: EMA smoothing length for standard deviation
Multiplier: Scales the width of the bands based on volatility
📈 Visual Output
Laguerre Filter Line: Plots the laguerre filter line, colored dynamically based on signal direction (green for bullish, purple for bearish)
Upper & Lower Bands: Volatility-based bands that adjust with market conditions. (green for bullish, purple for bearish)
Glow Effect: Optional glow layer to enhance visibility of the laguerre filter trend line (green for bullish, purple for bearish)
Bar Coloring: Candlesticks and bar colors reflect the active signal state for fast visual interpretation (green for bullish, purple for bearish)
How to Use
Apply the indicator to your chart and monitor for signal events:
Long Signal: When price closes above the upper band
Short Signal: When price closes below the lower band
🔔 Alerts
This indicator supports optional alert conditions you can enable for:
Long Signal: Close price crossing above the upper band
Short Signal: Close price crossing below the lower band
⚠️ Disclaimer:
This indicator is intended for educational and informational purposes only. Trading/investing involves risk, and past performance does not guarantee future results. Always test and evaluate indicators/strategies before applying them in live markets. Use at your own risk.
PRO Investing - LevelPRO Investing - Level
📊 Dynamic Support/Resistance
This indicator plots the PRO Investing Level, defined as the midpoint between the highest high and lowest low over the past 252 trading days (default lookback period, equivalent to ~1 year). It acts as a key mean-reversion reference level, useful for identifying potential support/resistance zones or market equilibrium levels.
Features:
🕰️ Option to display only today’s level or historical levels.
⚙️ Customizable lookback period for flexibility across timeframes and strategies.
📉 Teal line plotted directly on the chart, highlighting this institutional-grade level.
Ideal for traders looking to anchor price action to significant historical ranges—particularly useful in mean-reversion, breakout, or volatility compression strategies.
Adaptive RSI Oscillator📌 Adaptive RSI Oscillator
This indicator transforms the classic RSI into a fully adaptive, self-optimizing oscillator — normalized between -1 and 1, dynamically smoothed, and enhanced with divergence detection.
🔧 Key Features
Self-Optimizing RSI: Automatically selects the optimal RSI lookback length based on return stability (no hardcoded periods).
Dynamic Smoothing: Adapts to market conditions using a fraction of the optimized length.
Normalized Output : Converts traditional RSI to a consistent scale across all assets and timeframes.
Divergence Detection: Compares RSI behavior vs. price percentile ranks and scales the signal accordingly.
Gradient Visualization: Color-coded background and plot lines reflect the strength and direction of the signal with soft transitions.
Neutral Zone Adaptation: Dynamically widens or narrows the zone of inaction based on volatility, reducing noise.
🎯 Use Cases
Identify extreme momentum zones without relying on fixed 70/30 RSI levels
Detect divergences early with adaptive filtering
Highlight potential exhaustion or continuation
⚠️ Disclaimer: This indicator is for informational and educational purposes only. It does not constitute financial advice or a recommendation to buy or sell any security. Always conduct your own research and consult a licensed financial advisor before making investment decisions. Use at your own risk.
Multi-Volatility Adjusted Moving Average🎯 Core Concept
The Multi-Volatility Adjusted Moving Average (MVAMA) is an advanced technical indicator that creates an adaptive moving average with a built-in upward bias. Unlike traditional moving averages that simply follow price, this indicator adjusts upward based on market volatility, making it particularly useful for identifying dynamic resistance levels and trend strength.
🔧 How It Works
Key Principle: Upward Volatility Bias
Base Calculation: Starts with your chosen moving average (EMA, SMA, etc.)
Volatility Measurement: Calculates market volatility using one of 5 different methods
Upward Adjustment: Always adds volatility adjustment upward: Adaptive MA = Base MA + Volatility Adjustment
Dynamic Resistance: Creates a moving resistance level that adapts to market conditions
📊 5 Volatility Calculation Methods
1. Simple (High-Low Range)
Method: (High - Low) / Close × 100
Best For: Clean, straightforward volatility measurement
Use Case: General purpose, all market conditions
2. Parkinson (Range-Based Log Volatility)
Method: √(ln(High/Low)²) with safety bounds
Best For: Intraday volatility without using open/close gaps
Use Case: Choppy markets, day trading
3. ATR (Average True Range)
Method: Traditional ATR as percentage of price
Best For: Handling gaps and limit moves
Use Case: Swing trading, gap-prone markets
4. Standard Deviation (Statistical)
Method: Standard deviation of price returns
Best For: Academic/statistical approach
Use Case: Backtesting, quantitative analysis
5. Garman-Klass (OHLC Optimized)
Method: 0.5×ln(H/L)² - (2ln2-1)×ln(C/O)²
Best For: Most comprehensive volatility using all OHLC data
Use Case: Professional trading, maximum accuracy
🎛️ 12 Moving Average Types
Fast & Responsive:
HMA (Hull): Minimal lag, very responsive
DEMA/TEMA: Double/Triple exponential for speed
WMA: Weighted for recent price emphasis
Balanced:
EMA: Classic exponential (default)
ALMA: Arnaud Legoux for balanced response
LSMA: Linear regression trend following
Smooth & Stable:
SMA: Simple moving average
SMMA/RMA: Smoothed for noise reduction
TRIMA: Triangular for maximum smoothness
VWMA: Volume-weighted for market participation
💡 Practical Applications
Trading Uses:
Dynamic Resistance: Acts as adaptive resistance level
Trend Strength: Higher volatility = stronger adjustment = more significant level
Entry Timing: Price touching the adaptive MA can signal rejection points
Risk Management: Volatility bands show market uncertainty
Market Analysis:
Low Volatility: Adaptive MA stays close to base MA (consolidation)
High Volatility: Adaptive MA moves significantly above base MA (trending/breakout)
Trend Confirmation: Sustained distance between price and adaptive MA shows trend strength
⚙️ Key Features
Risk Management:
Volatility Capping: Prevents extreme adjustments (default 15% max)
Safety Bounds: All calculations protected against infinite/NaN values
Parameter Limits: Sensible ranges for all inputs
Visualization Options:
Base MA Display: Show underlying moving average
Volatility Bands: Visual representation of volatility adjustment
Custom Colors: Professional color schemes
Clean Interface: Organized input groups
Professional Features:
Multi-timeframe Support: Works on any timeframe
Alert Framework: Ready-to-enable price crossover alerts
🎯 Ideal For:
Traders Who Want:
Dynamic support/resistance levels
Volatility-aware trend analysis
Adaptive position sizing based on market conditions
Professional-grade technical analysis tools
Market Conditions:
Trending Markets: Volatility creates meaningful resistance levels
Volatile Markets: Adaptive adjustment handles changing conditions
All Timeframes: From scalping to position trading
🔍 Unique Advantages:
Always Upward Bias: Unlike oscillating indicators, always provides clear directional bias
Multi-Volatility Support: Choose the best volatility method for your market/style
Comprehensive MA Library: 12 different moving average types
Built-in Risk Management: Prevents extreme values that break other indicators
Professional Implementation: Publication-ready code with proper documentation
This script transforms traditional moving averages into intelligent, volatility-aware tools that adapt to market conditions while maintaining a consistent upward bias for clear directional guidance.
ATR-Multiple from 50SMAThis indicator provides a nuanced view of price extension by calculating the distance between the current price and its 50-period Simple Moving Average. This distance is not measured in simple percentage terms but is quantified in multiples of the Average True Range (ATR), offering a volatility-adjusted perspective on how far an asset has moved from its mean.
The primary goal is to help traders identify potentially overextended conditions, which can often precede price consolidation or reversals. As a general guideline, when an asset's price stretches to multiples of 7 ATRs or more above its 50-day SMA, it often enters a zone where significant profit-taking may occur. By visualizing this extension, the indicator can serve as a powerful tool for gauging when to consider taking profits on existing long positions. Furthermore, it can act as a cautionary signal, helping traders avoid initiating new long positions in assets that are already significantly stretched and may be poised for a pullback.
Features
Volatility-Adjusted Extension
Measures the distance from the 50 SMA in terms of ATR multiples, providing a more standardized way to compare extension across different assets and time periods.
Daily Timeframe Consistency
By default, the indicator uses the daily SMA and ATR for its calculations, regardless of the chart's current timeframe. This ensures a consistent and meaningful measure of extension rooted in the daily trend.
Histogram Visualization
Displays the result as a clear histogram in a separate pane, making it easy to track the extension level over time and identify historical extremes.
Dynamic Color-Coding
The histogram bars are color-coded to visually highlight different levels of extension. The colors shift as the price moves further from the mean, providing an intuitive at-a-glance reading.
Key Threshold Markers
Includes pre-set horizontal lines at the 7 and 10 ATR multiples to clearly mark the zones of potential profit-taking and extreme extension, respectively.
Built-in Alerts
Comes with configurable alert conditions that can notify you when the price reaches the "profit-taking" threshold (7 ATRs) or the "extreme extension" threshold (10 ATRs).
Customization Options
MA & ATR Periods
You can adjust the length for the Simple Moving Average (default 50) and the Average True Range (default 14) to suit your specific analytical needs.
Timeframe Source
A toggle allows you to switch between always calculating using daily data (the default and recommended setting) or using the data from the current chart's timeframe.
Color Display Style
You can choose between a smooth color gradient that transitions elegantly with the extension level or a distinct, step-based color display for a clearer visual separation of the defined zones.
Full Color Scheme Control
Every visual element is fully customizable. You can change the colors for the regular extension, the "get ready," "profit-taking," and "extreme" levels, as well as the horizontal reference lines.
Dynamic Flow Ribbons [BigBeluga]🔵 OVERVIEW
A dynamic multi-band trend visualization system that adapts to market volatility and reveals trend momentum with layered ribbon channels.
Dynamic Flow Ribbons transforms price action into flowing trend bands that expand and contract with volatility. It not only shows the active directional bias but also visualizes how strong or weak the trend is through layered ribbons, making it easier to assess trend quality and structure.
🔵 CONCEPTS
Uses an adaptive trend detection system built on a volatility envelope derived from an EMA of the average price (HLC3).
Measures volatility using a long-period average of the high-low range, which scales the envelope width dynamically.
Trend direction flips when the average price crosses above or below these envelopes.
Ribbons form around the trend line to show how far price is stretching or compressing relative to the mean.
🔵 FEATURES
Volatility-Based Trend Line:
A thick, color-coded line tracks the current trend with smoother transitions between phases.
Multi-Layered Flow Ribbons:
Up to 10 bands (5 above and 5 below) radiate outward from the upper and lower envelopes, reflecting volatility strength and direction.
Trend Coloring & Transitions:
Ribbons and candles are dynamically colored based on trend direction— green for bullish , orange for bearish . Transparency fades with distance from the core trend band.
Real-Time Responsiveness:
Ribbon structure and trend shifts update in real time, adapting instantly to fast market changes.
🔵 HOW TO USE
Use the color and thickness of the core trend line to follow directional bias.
When ribbons widen symmetrically, it signals strong trend momentum .
Narrowing or overlapping ribbons can suggest consolidation or transition zones .
Combine with breakout systems or volume tools to confirm impulsive or corrective phases .
Adjust the “Length” (factor) input to tune sensitivity—higher values smooth trends more.
🔵 CONCLUSION
Dynamic Flow Ribbons offers a sleek and insightful view into trend strength and structure. By visualizing volatility expansion with directional flow, it becomes a powerful overlay for momentum traders, swing strategists, and trend followers who want to stay ahead of evolving market flows
Market Balance LevelMarket Balance Level (MBL)
This indicator dynamically identifies price consolidation zones (market balance levels) and plots a horizontal line at the average midpoint of the range once a valid breakout occurs. It helps traders visualize key zones where the market was previously in equilibrium and is likely to retest before continuing its trend.
How It Works:
Detects consolidation ranges using consecutive candles within a tight high-low structure.
When a breakout occurs (above or below the range), it plots a line at the average midpoint of the consolidation.
Triangles are drawn on breakouts to visually confirm the breakout direction.
Lines can be customized by color, width, and breakout direction (bullish, bearish, or both).
Recommended Use:
Wait for price to return to the Market Balance Level (MBL). These levels often act as strong support or resistance.
Enter upon engulfment (candle closes strongly in the direction of the breakout), confirming continuation.
Features:
Adjustable consolidation sensitivity and line length.
Option to show/hide bullish or bearish MBLs.
Visual breakout markers (triangles) with alert support.
Optional alert messages for breakout events.
Use this tool to enhance your structure-based or SMC-style trading strategies.
ADX Cross 30 & EMA 20 Touch SignalHOLY GRAIL: ADX Cross 30 & EMA 20 Touch Signal
This TradingView script is a powerful tool designed to help traders identify high-probability trend-following opportunities, drawing inspiration from the renowned "HOLY GRAIL" strategy outlined in the Street Smarts book by Linda Bradford Raschke and Laurence A. Connors. It combines the Average Directional Index (ADX) with the Exponential Moving Average (EMA) to generate precise trading signals directly on your chart.
How it Works (Inspired by the "HOLY GRAIL" Strategy):
The script generates a "Buy Signal" when two crucial technical conditions align simultaneously on the same price bar, mirroring the core principles of the "HOLY GRAIL" setup:
ADX Trend Strength Confirmation (ADX Cross Above 30):
The ADX indicator, which measures the strength of a trend (regardless of its direction), crosses above the 30 level.
An ADX reading above 30 typically indicates that a strong and well-defined trend is developing and gaining momentum. This condition filters out choppy or range-bound markets, focusing on clear trending environments, as emphasized in the "HOLY GRAIL" approach.
Price Retest/Interaction with EMA (EMA 20 Touch):
The current price candle (its body or wick) touches or encompasses the 20-period Exponential Moving Average (EMA). This means the low of the candle is at or below the EMA, and the high of the candle is at or above the EMA.
This condition identifies moments within a strong trend where price retraces or consolidates to interact with the EMA, which often acts as a dynamic support or resistance level. This interaction, a key component of the "HOLY GRAIL" strategy, can signal a potential entry point for a continuation of the prevailing trend.
The combination of these two conditions aims to provide a robust signal for trend continuation, ensuring both strong trend presence and a favorable entry point, as per the strategy's design.
Key Features & On-Chart Visuals:
Customizable Parameters:
ADX Length: Easily adjust the lookback period for the ADX calculation (default: 14).
EMA Length: Customize the length of the Exponential Moving Average (default: 20).
20 EMA Plot: The 20-period EMA is clearly plotted on your main price chart as a prominent dark blue line, making it easy to observe price interaction.
Combined Buy Signal: When both the ADX cross above 30 and the EMA touch conditions are met, a green upward-pointing triangle (▲) is displayed directly below the relevant price bar, indicating a confirmed buy signal.
Background Highlight: The background of the chart is subtly highlighted in a soft green color when a combined buy signal is active, drawing your attention to the signal bar for quick identification.
Debugging & Analysis Aids:
To assist traders in understanding the individual components of the signal and for fine-tuning the indicator, the script includes two helpful debugging plots:
"ADX Cross Only" (Orange Circle (●) above bar): This small orange circle appears above the price bar when only the ADX has crossed above 30, but the EMA touch condition was not met. This helps identify periods of strong trend development without an EMA retest.
"EMA Touch Only" (Purple Square (■) above bar): A small purple square is plotted above the price bar when only the price has touched the 20 EMA, but the ADX has not yet crossed above 30. This highlights instances of EMA interaction without strong trend confirmation.
These debugging plots are invaluable for refining your understanding of the script's logic and for optimizing input parameters for different market conditions.
Important Recommendation for Users:
To gain a deeper insight into the ADX and its directional components (+DI and -DI) and to cross-reference the script's signals, it is strongly recommended to:
Navigate to your TradingView chart.
Click on the "Indicators" or "fx" icon.
Search for and add the built-in "ADX / DMI" indicator to a separate pane below your main chart.
Ensure that its "Length" setting is synchronized with the ADX Length input you are using in this custom script (default 14).
This will provide a clear visual representation of the ADX indicator itself, which is crucial for comprehensive analysis and informed decision-making based on the "HOLY GRAIL" principles.
Fibonacci Entry Bands [AlgoAlpha]OVERVIEW
This script plots Fibonacci Entry Bands, a trend-following and mean-reversion hybrid system built around dynamic volatility-adjusted bands scaled using key Fibonacci levels. It calculates a smoothed basis line and overlays multiple bands at fixed Fibonacci multipliers of either ATR or standard deviation. Depending on the trend direction, specific upper or lower bands become active, offering a clear framework for entry timing, trend identification, and profit-taking zones.
CONCEPTS
The core idea is to use Fibonacci levels—0.618, 1.0, 1.618, and 2.618—as multipliers on a volatility measure to form layered price bands around a trend-following moving average. Trends are defined by whether the basis is rising or falling. The trend determines which side of the bands is emphasized: upper bands for downtrends, lower bands for uptrends. This approach captures both directional bias and extreme price extensions. Take-profit logic is built in via crossovers relative to the outermost bands, scaled by user-selected aggressiveness.
FEATURES
Basis Line – A double EMA smoothing of the source defines trend direction and acts as the central mean.
Volatility Bands – Four levels per side (based on selected ATR or stdev) mark the Fibonacci bands. These become visible only when trend direction matches the side (e.g., only lower bands plot in an uptrend).
Bar Coloring – Bars are shaded with adjustable transparency depending on distance from the basis, with color intensity helping gauge overextension.
Entry Arrows – A trend shift triggers either a long or short signal, with a marker at the outermost band with ▲/▼ signs.
Take-Profit Crosses – If price rejects near the outer band (based on aggressiveness setting), a cross appears marking potential profit-taking.
Bounce Signals – Minor pullbacks that respect the basis line are marked with triangle arrows, hinting at continuation setups.
Customization – Users can toggle bar coloring, signal markers, and select between ATR/stdev as well as take-profit aggressiveness.
Alerts – All major signals, including entries, take-profits, and bounces, are available as alert conditions.
USAGE
To use this tool, load it on your chart, adjust the inputs for volatility method and aggressiveness, and wait for entries to form on trend changes. Use TP crosses and bounce arrows as potential exit or scale-in signals.
PKSE Buy/Sell Signals Table - Two Columns with VWAPndicator Description: PKSE Buy/Sell Signals Table - Two Columns with VWAP
Overview
The PKSE Buy/Sell Signals Table - Two Columns with VWAP is a robust Pine Script indicator for Pakistan Stock Exchange (PSX) traders. It generates buy and sell signals for 19 PSX stocks based on Simple Moving Average (SMA) crossovers, KSE100 Index trends, and daily Volume Weighted Average Price (VWAP) conditions, displayed in two compact, side-by-side tables optimized for monitor viewing.
Purpose
This indicator helps traders identify high-probability trading opportunities by filtering signals with VWAP to reduce noise, ideal for swing traders, day traders, and investors monitoring PSX stocks.
Key Features
Dual-Table Layout: Displays 19 stocks in two side-by-side tables (10 and 9 stocks) for a monitor-friendly view.
Enhanced Signal Logic: Combines three conditions:
KSE100 Trend: Signals depend on the KSE100 Index being above/below its SMA.
Stock SMA: Signals based on stock price crossing or being above/below its SMA.
Daily VWAP Filter: Buy signals require the stock to be above its daily VWAP; sell signals require it to be below.
Signal Types:
Buy NOW: Stock crosses above SMA, KSE100 is bullish, stock above VWAP.
Buy: Stock above SMA, KSE100 bullish, stock above VWAP.
Sell NOW: Stock crosses below SMA, KSE100 bearish, stock below VWAP.
Sell: Stock below SMA, KSE100 bearish, stock below VWAP.
Neutral: Conditions not fully met.
No Data: Invalid or missing data.
Customizable Inputs:
SMA length (default: 5).
Timeframe (5, 15, 30, 60 minutes, daily; default: 30 minutes).
KSE100 symbol (default: "PSX:KSE100").
Color-Coded Signals: Green (Buy), lime (Buy NOW), red (Sell), orange (Sell NOW), gray (No Data), white (Neutral).
Stock Coverage: Tracks 19 PSX stocks (e.g., FFC, OGDC, HUBC, UBL, MCB, LUCK).
Error Handling: Handles invalid symbols or missing data with "No Data" signals.
How It Works
Fetches KSE100 and stock prices in the selected timeframe (default: 30 minutes) and daily VWAP.
Calculates SMA for KSE100 and stocks; evaluates VWAP position.
Generates signals when all conditions align, based on the 30-minute candle close.
Displays results in two tables (Stock, Signal, Timeframe) at top-right and top-center.
Usage Instructions
Add the indicator to your TradingView chart.
Configure inputs: SMA length, timeframe, KSE100 symbol.
View tables showing signals for 19 PSX stocks.
Use signals to guide trading, combining with other analysis.
Adjust table positions if needed (modify position.top_right/top_center).
Ideal For
PSX traders using SMA and VWAP strategies.
Swing/day traders seeking filtered signals.
Investors tracking KSE100 and stock trends.
Limitations
Limited to 19 stocks due to TradingView’s 40-security-call limit.
Signals rely on SMA, VWAP, and KSE100; combine with other analysis.
Hardcoded stock list; contact the author for customizations.
Notes
Verify stock symbols are valid on your TradingView platform.
Best on 1920x1080+ resolution. Adjust chart scaling if tables overlap.
Published on June 12, 2025, at 11:50 AM PKT.
Disclaimer
Trading carries risk. This indicator is for informational purposes only and not financial advice. Conduct your own research before trading.
NonLag MAThe Non-Lag Moving Average (MA) is a technical analysis indicator designed to track price trends with significantly less lag than traditional moving averages like the SMA or EMA.
Its primary purpose is to provide a smoother, more responsive representation of the current price direction. It achieves this by using a complex, adaptive filtering algorithm—often involving trigonometric functions (like the cosine function in the code you provided)—to assign weights to past price data. This sophisticated calculation allows it to stay closer to the price action, aiming to give earlier and more reliable trend signals.
Traders use the Non-Lag MA to:
Identify Trend Direction : The slope and color of the indicator line clearly signal whether the market is in an uptrend (rising) or a downtrend (falling).
Generate Crossover Signals : Like other moving averages, a faster Non-Lag MA crossing above a slower one can indicate a buy signal, while a cross below can signal a sell.
---
Just another publicly available indicator from MT5 translated.
A+ Trade CheckList with Comprehensive Relative StrengthThe indicator designed for traders who need real-time market assessment across multiple timeframes and benchmarks. This comprehensive tool combines traditional technical analysis with sophisticated relative strength measurements to provide a complete market picture in one convenient table display.
The indicator tracks essential trading levels including:
QQQ and SPY trend analysis using exponential moving averages
Previous day and week high/low levels for key support and resistance
Market open levels from the first 5 and 15 minutes of trading (9:30 AM ET)
VWAP positioning for institutional price reference
Short-term EMA positioning for momentum assessment
Advanced Relative Strength Analysis
The standout feature of this indicator is its comprehensive 8-metric relative strength scoring system that compares your current ticker against both QQQ (Nasdaq-100) and SPY (S&P 500) benchmarks.
The 4-Metric Relative Strength System Explained
Metric 1: Relative Strength Ratio (RSR)
Purpose: Measures whether your ticker is outperforming or underperforming relative to its historical relationship with the benchmarks.
How it works:
Calculates the ratio of your ticker's price to QQQ/SPY prices
Compares current ratio to a 20-period moving average of the ratio
Scores +1 if ratio is above average (relative strength), -1 if below (relative weakness)
Trading significance: Identifies when a stock is breaking out of its normal correlation pattern with major indices.
Metric 2: Percentage-Based Relative Performance
Purpose: Compares short-term percentage changes to identify immediate relative momentum.
How it works:
Calculates 5-day percentage change for your ticker and benchmarks
Subtracts benchmark performance from ticker performance
Scores +1 if outperforming by >1%, -1 if underperforming by >1%, 0 for neutral
Trading significance: Captures recent momentum shifts and identifies stocks moving independently of market direction.
Metric 3: Beta-Adjusted Relative Strength (Alpha)
Purpose: Measures risk-adjusted performance by accounting for the ticker's natural volatility relationship with benchmarks.
How it works:
Calculates rolling beta (correlation and variance relationship)
Determines expected returns based on benchmark moves and beta
Measures alpha (excess returns above/below expectations)
Scores based on whether alpha is consistently positive or negative
Trading significance: Identifies stocks generating returns beyond what their risk profile would suggest, indicating fundamental strength or weakness.
Metric 4: Volume-Weighted Relative Strength
Purpose: Incorporates volume analysis to validate price-based relative strength signals.
How it works:
Compares VWAP-based percentage changes between ticker and benchmarks
Applies volume weighting factor based on relative volume strength
Enhances score when high relative volume confirms price movements
Trading significance: Distinguishes between genuine institutional-driven moves and low-volume price action that may not sustain.
Combined Scoring System
The indicator generates 8 individual scores (4 metrics × 2 benchmarks) that combine into a single strength assessment:
Score Interpretation
Strong (4-8 points): Ticker significantly outperforming both benchmarks across multiple methodologies
Moderate Strong (1-3 points): Ticker showing good relative strength with some mixed signals
Neutral (0 points): Balanced performance relative to benchmarks
Moderate Weak (-1 to -3 points): Ticker showing relative weakness with some mixed signals
Weak (-4 to -8 points): Ticker significantly underperforming both benchmarks
Display Format
The indicator shows results as: "Strong (6/8)" indicating the ticker scored 6 out of 8 possible points.
Toolbar-FrenToolbar-Fren is a comprehensive, data-rich toolbar designed to present a wide array of key metrics in a compact and intuitive format. The core philosophy of this indicator is to maximize the amount of relevant, actionable data available to the trader while occupying minimal chart space. It leverages a dynamic color-coded system to provide at-a-glance insights into market conditions, instantly highlighting positive/negative values, trend strength, and proximity to important technical levels.
Features and Data Displayed
The toolbar displays a vertical column of critical data points, primarily calculated on the Daily timeframe to give a broader market context. Each cell is color-coded for quick interpretation.
DAY:
The percentage change of the current price compared to the previous day's close. The cell is colored green for a positive change and red for a negative one.
LOD:
The current price's percentage distance from the Low of the Day.
HOD
The current price's percentage distance from the High of the Day.
MA Distances (9/21 or 10/20, 50, 200)
These cells show how far the current price is from key Daily moving averages (MAs).
The values are displayed either as a percentage distance or as a multiple of the Average Daily Range (ADR), which can be toggled in the settings.
The cells are colored green if the price is above the corresponding MA (bullish) and red if it is below (bearish).
ADR
Shows the 14-period Average Daily Range as a percentage of the current price. The cell background uses a smooth gradient from green (low volatility) to red (high volatility) to visualize the current daily range expansion.
ADR%/50: A unique metric showing the distance from the Daily 50 SMA, measured in multiples of the 14-period Average True Range (ATR). This helps quantify how extended the price is from its mean. The cell is color-coded from green (close to the mean) to red (highly extended).
RSI
The standard 14-period Relative Strength Index calculated on the Daily timeframe. The background color changes to indicate potentially overbought (orange/red) or oversold (green) conditions.
ADX
The 14-period Average Directional Index (ADX) from the Daily timeframe, which measures trend strength. The cell is colored to reflect the strength of the trend (e.g., green for a strong trend, red for a weak/non-trending market). An arrow (▲/▼) is also displayed to indicate if the ADX value is sloping up or down.
User Customization
The indicator offers several options for personalization to fit your trading style and visual preferences:
MA Type
Choose between using Exponential Moving Averages (EMA 9/21) or Simple Moving Averages (SMA 10/20) for the primary MA calculations.
MA Distance Display
Toggle the display of moving average distances between standard percentage values and multiples of the Average Daily Range (ADR).
Display Settings
Fully customize the on-chart appearance by selecting the table's position (e.g., Top Right, Bottom Left) and the text size. An option for a larger top margin is also available.
Colors
Personalize the core Green, Yellow, Orange, and Red colors used throughout the indicator to match your chart's theme.
Technical Parameters
Fine-tune the length settings for the ADX and DI calculations.
EMA 50/200 Pullback + RSI/SMA RSI
Strategy Description: EMA 50/200 Pullback + RSI/SMA RSI
1. Trend Identification with EMA:
Uses two Exponential Moving Averages (EMA): a fast EMA (default 50) and a slow EMA (default 200).
When the fast EMA crosses above the slow EMA (bullish crossover), an uptrend is identified.
When the fast EMA crosses below the slow EMA (bearish crossover), a downtrend is identified.
The lengths of both EMAs are fully customizable.
2. EMA Distance Condition:
Signals are only valid when the absolute percentage distance between the two EMAs is within a user-defined range (default: 0.4% to 1%).
This helps filter out weak signals when the EMAs are too close or too far apart.
3. Pullback Condition:
After a new trend is detected (EMA crossover), the strategy waits for the price to pull back to touch or cross the fast EMA (EMA 50).
This ensures entries are not taken immediately at the crossover, but after a retracement to a dynamic support/resistance area.
4. RSI Confirmation:
Uses the RSI indicator (default 14) and its Simple Moving Average (SMA RSI, default 14).
Buy signal: RSI crosses above its SMA.
Sell signal: RSI crosses below its SMA.
Both RSI and SMA RSI lengths are fully customizable.
5. Entry Rules:
The indicator only gives the first buy/sell signal after each EMA crossover (start of a new trend), and will not repeat signals until the next EMA crossover.
Buy signal:
Fast EMA crosses above slow EMA
EMA distance is within the valid range
Price pulls back to the fast EMA
RSI crosses above its SMA
Sell signal:
Fast EMA crosses below slow EMA
EMA distance is within the valid range
Price pulls back to the fast EMA
RSI crosses below its SMA
6. Customization:
All parameters (EMA lengths, RSI length, SMA RSI length, EMA distance range) can be adjusted in the indicator’s settings.
Note:
This is a signal indicator, not a complete trading strategy. For real trading, always combine with risk management and additional confirmations.
4-EMA Signals + MTF Analysis4-EMA Signals + MTF Analysis Indicator: User Guide
This indicator is designed for active traders; from scalpers / intra-day traders to swing-traders who simply want an easy to understand, simple, but yet comprehensive and easy-to-understand indicator with a quick overview of initial market momentum and overall market direction to assist the trader in their initial trading.
The main feature of this indicator is that It overlays four exponential moving averages (EMAs), and provides a dashboard of real-time trend signals for both buy and sell (long/short) scenarios.
Settings Overview
MA Period Setup
Custom: Set your own EMA periods.
Conservative, Aggressive, Fibonacci: Quickly apply preset EMA period combinations for different trading styles.
EMA Periods (Custom Setup)
Fast EMA: Shortest EMA, reacts quickly to price (default 7).
Medium-Short EMA: Intermediate speed (default 25).
Medium-Long EMA: Slower, filters out more noise (default 70).
Slow EMA: Longest-term trend (default 200).
(These settings can be adjusted to suit your individual needs)
Main Indicator Features
Four EMAs : Plotted in distinct colors (green, yellow, orange, red) for quick trend recognition - this can be altered in colour to your personal preferences.
Buy/Sell Signals : Triangles appear below/above bars when EMA crossovers occur, optionally filtered by volume - the volume filter when applied greatly reduces the influx of signals, only giving high-quality signals!
Trading Sessions + Backgrounds : A trading session feature has been added: (London, New York, Asia, Sydney) with the choice of a background to indicate each global trading session.
Volume Overlay : Volume bars and a blue volume moving average line for context.
Dashboard Table (Top Right):
Market Direction: Shows the overall EMA alignment (bullish, bearish, weak, consolidating).
The initial trend on the 5m, 15m, 1H, and 4H time-frame to give a quick snapshot of overall trend direction.
How to Use
Trend Identification :
-- Use the EMA alignment and dashboard table to quickly see if the market is bullish, bearish, or consolidating.
EMA Set-up
-- Adjust the EMA settings to your specific requirements, the signals will alter depending on the volatility of the instrument your trading.
Signal Confirmation :
-- ''Buy'' signals simply appear when the faster EMAs cross above slower EMAs in and ''Sell'' signals simply appear when they cross below.
Volume Context :
--Use the volume moving average and the optional volume filter to avoid signals during low-activity periods.
No Repainting :
-- All signals and dashboard readings are calculated using only confirmed, closed bars. What you see in real time is exactly what will appear in your back-test — no repainting or look-ahead bias.
Alerts / Notifications
Now for the fun part:
1. Enable Buy/Sell Signal Alerts: Get notifications when buy or sell signals occur.
2. For Alerts to function correctly, set the ''condition'' to the indicator itself.
3. Select ''EMA Bearish Cross'' or ''EMA Bullish Cross'' depending whether you want alerts for either buy/sell signals - Or one can simply set alerts for both scenarios.
4. For ''Interval'' set to ''Same as chart'' - So, the time-frame which you'd like to trade on.
5. For ''Trigger'' set to ''Once Per Bar Close''.
6. Save.
7. Wait for a signal to occur!
NOTE: Before placing a trade, it's often best to also assess the market conditions at that time also - and not rely solely on the signals, the signals are to assist, and it's often occurred a signal has shown, but a pull-back occurs, and a FVG in discount holds -- it's this FVG holding, accompanied by volume, that's the real entry, possibly.
Tip: For the cleanest results, use the indicator during the most active sessions and always check multi-time-frame trend alignment before entering trades. Good Luck! :)
Advanced MA Crossover with RSI Filter
===============================================================================
INDICATOR NAME: "Advanced MA Crossover with RSI Filter"
ALTERNATIVE NAME: "Triple-Filter Moving Average Crossover System"
SHORT NAME: "AMAC-RSI"
CATEGORY: Trend Following / Momentum
VERSION: 1.0
===============================================================================
ACADEMIC DESCRIPTION
===============================================================================
## ABSTRACT
The Advanced MA Crossover with RSI Filter (AMAC-RSI) is a sophisticated technical analysis indicator that combines classical moving average crossover methodology with momentum-based filtering to enhance signal reliability and reduce false positives. This indicator employs a triple-filter system incorporating trend analysis, momentum confirmation, and price action validation to generate high-probability trading signals.
## THEORETICAL FOUNDATION
### Moving Average Crossover Theory
The foundation of this indicator rests on the well-established moving average crossover principle, first documented by Granville (1963) and later refined by Appel (1979). The crossover methodology identifies trend changes by analyzing the intersection points between short-term and long-term moving averages, providing traders with objective entry and exit signals.
### Mathematical Framework
The indicator utilizes the following mathematical constructs:
**Primary Signal Generation:**
- Fast MA(t) = Exponential Moving Average of price over n1 periods
- Slow MA(t) = Exponential Moving Average of price over n2 periods
- Crossover Signal = Fast MA(t) ⋈ Slow MA(t-1)
**RSI Momentum Filter:**
- RSI(t) = 100 -
- RS = Average Gain / Average Loss over 14 periods
- Filter Condition: 30 < RSI(t) < 70
**Price Action Confirmation:**
- Bullish Confirmation: Price(t) > Fast MA(t) AND Price(t) > Slow MA(t)
- Bearish Confirmation: Price(t) < Fast MA(t) AND Price(t) < Slow MA(t)
## METHODOLOGY
### Triple-Filter System Architecture
#### Filter 1: Moving Average Crossover Detection
The primary filter employs exponential moving averages (EMA) with default periods of 20 (fast) and 50 (slow). The exponential weighting function provides greater sensitivity to recent price movements while maintaining trend stability.
**Signal Conditions:**
- Long Signal: Fast EMA crosses above Slow EMA
- Short Signal: Fast EMA crosses below Slow EMA
#### Filter 2: RSI Momentum Validation
The Relative Strength Index (RSI) serves as a momentum oscillator to filter signals during extreme market conditions. The indicator only generates signals when RSI values fall within the neutral zone (30-70), avoiding overbought and oversold conditions that typically result in false breakouts.
**Validation Logic:**
- RSI Range: 30 ≤ RSI ≤ 70
- Purpose: Eliminate signals during momentum extremes
- Benefit: Reduces false signals by approximately 40%
#### Filter 3: Price Action Confirmation
The final filter ensures that price action aligns with the indicated trend direction, providing additional confirmation of signal validity.
**Confirmation Requirements:**
- Long Signals: Current price must exceed both moving averages
- Short Signals: Current price must be below both moving averages
### Signal Generation Algorithm
```
IF (Fast_MA crosses above Slow_MA) AND
(30 < RSI < 70) AND
(Price > Fast_MA AND Price > Slow_MA)
THEN Generate LONG Signal
IF (Fast_MA crosses below Slow_MA) AND
(30 < RSI < 70) AND
(Price < Fast_MA AND Price < Slow_MA)
THEN Generate SHORT Signal
```
## TECHNICAL SPECIFICATIONS
### Input Parameters
- **MA Type**: SMA, EMA, WMA, VWMA (Default: EMA)
- **Fast Period**: Integer, Default 20
- **Slow Period**: Integer, Default 50
- **RSI Period**: Integer, Default 14
- **RSI Oversold**: Integer, Default 30
- **RSI Overbought**: Integer, Default 70
### Output Components
- **Visual Elements**: Moving average lines, fill areas, signal labels
- **Alert System**: Automated notifications for signal generation
- **Information Panel**: Real-time parameter display and trend status
### Performance Metrics
- **Signal Accuracy**: Approximately 65-70% win rate in trending markets
- **False Signal Reduction**: 40% improvement over basic MA crossover
- **Optimal Timeframes**: H1, H4, D1 for swing trading; M15, M30 for intraday
- **Market Suitability**: Most effective in trending markets, less reliable in ranging conditions
## EMPIRICAL VALIDATION
### Backtesting Results
Extensive backtesting across multiple asset classes (Forex, Cryptocurrencies, Stocks, Commodities) demonstrates consistent performance improvements over traditional moving average crossover systems:
- **Win Rate**: 67.3% (vs 52.1% for basic MA crossover)
- **Profit Factor**: 1.84 (vs 1.23 for basic MA crossover)
- **Maximum Drawdown**: 12.4% (vs 18.7% for basic MA crossover)
- **Sharpe Ratio**: 1.67 (vs 1.12 for basic MA crossover)
### Statistical Significance
Chi-square tests confirm statistical significance (p < 0.01) of performance improvements across all tested timeframes and asset classes.
## PRACTICAL APPLICATIONS
### Recommended Usage
1. **Trend Following**: Primary application for capturing medium to long-term trends
2. **Swing Trading**: Optimal for 1-7 day holding periods
3. **Position Trading**: Suitable for longer-term investment strategies
4. **Risk Management**: Integration with stop-loss and take-profit mechanisms
### Parameter Optimization
- **Conservative Setup**: 20/50 EMA, RSI 14, H4 timeframe
- **Aggressive Setup**: 12/26 EMA, RSI 14, H1 timeframe
- **Scalping Setup**: 5/15 EMA, RSI 7, M5 timeframe
### Market Conditions
- **Optimal**: Strong trending markets with clear directional bias
- **Moderate**: Mild trending conditions with occasional consolidation
- **Avoid**: Highly volatile, range-bound, or news-driven markets
## LIMITATIONS AND CONSIDERATIONS
### Known Limitations
1. **Lagging Nature**: Inherent delay due to moving average calculations
2. **Whipsaw Risk**: Potential for false signals in choppy market conditions
3. **Range-Bound Performance**: Reduced effectiveness in sideways markets
### Risk Considerations
- Always implement proper risk management protocols
- Consider market volatility and liquidity conditions
- Validate signals with additional technical analysis tools
- Avoid over-reliance on any single indicator
## INNOVATION AND CONTRIBUTION
### Novel Features
1. **Triple-Filter Architecture**: Unique combination of trend, momentum, and price action filters
2. **Adaptive Alert System**: Context-aware notifications with detailed signal information
3. **Real-Time Analytics**: Comprehensive information panel with live market data
4. **Multi-Timeframe Compatibility**: Optimized for various trading styles and timeframes
### Academic Contribution
This indicator advances the field of technical analysis by:
- Demonstrating quantifiable improvements in signal reliability
- Providing a systematic approach to filter optimization
- Establishing a framework for multi-factor signal validation
## CONCLUSION
The Advanced MA Crossover with RSI Filter represents a significant evolution of classical moving average crossover methodology. Through the implementation of a sophisticated triple-filter system, this indicator achieves superior performance metrics while maintaining the simplicity and interpretability that make moving average systems popular among traders.
The indicator's robust theoretical foundation, empirical validation, and practical applicability make it a valuable addition to any trader's technical analysis toolkit. Its systematic approach to signal generation and false positive reduction addresses key limitations of traditional crossover systems while preserving their fundamental strengths.
## REFERENCES
1. Granville, J. (1963). "Granville's New Key to Stock Market Profits"
2. Appel, G. (1979). "The Moving Average Convergence-Divergence Trading Method"
3. Wilder, J.W. (1978). "New Concepts in Technical Trading Systems"
4. Murphy, J.J. (1999). "Technical Analysis of the Financial Markets"
5. Pring, M.J. (2002). "Technical Analysis Explained"
M2 GLI SD BandsHighly customizable M2 Global Liquidity Index with adaptive standard deviation bands.
The SD bands incorporate data from M2 with varying lags to capture M2's full impact on the price of Bitcoin spread across multiple weeks.
EMAs are used for smoothing. Offset, smoothing, and other features are customizable.
Price Imbalance Flow Tracker (PIFT)Price Imbalance Flow Tracker (PIFT)
PIFT is a visual volatility and structure indicator that maps market imbalance zones using dynamic envelope logic. It plots three sets of envelope bands derived from different moving averages — short, medium, and long — with volatility-based offsets scaled by ATR. These envelopes adapt in real time to reflect momentum expansion, compression, and directional pressure.
- The system highlights only the dominant envelope layer at any given moment (short cancels medium/long, medium cancels long) to reduce clutter and help you focus on the most reactive structure.
- There’s also a central yellow zone representing the core trend channel — a tighter band derived from the short MA, helping you track price containment and breakout zones.
- The green and red fills show where price is expanding beyond core levels, acting as pressure zones. These fills compress during consolidations and widen during impulse moves, giving you a clean read on momentum shifts.
You can toggle:
- Full grid view (all envelopes)
- Core channel only
- Price tracks (moving averages)
- Dynamic pressure zones
Use PIFT to:
- Identify clean trend continuation inside the yellow zone
- Spot momentum exhaustion when price rides the outer bands
- Filter false moves when fills contract but price keeps drifting
- See structure shifts before standard indicators like Bollinger Bands react
This isn’t just another moving average overlay. It’s a dynamic envelope hierarchy built for traders who want to read price flow — not just lagging trend direction.
See the following images for a more in-depth breakdown.
1.)
2.)
3.)
4.)
5.)
6.)
7.)
8.)
9.)
10.)
11.)
12.)
13.)
14.)
Uptrick: Mean ReversionOverview
Uptrick: Mean Reversion is a technical indicator designed to identify statistically significant reversal opportunities by monitoring market extremes. It presents a unified view of multiple analytical layers—momentum shifts, extreme zones, divergence patterns, and a multi-factor bias dashboard—within a single pane. By translating price momentum into a normalized framework, it highlights areas where prices are likely to revert to their average range.
Introduction
Uptrick: Mean Reversion relies on several core concepts:
Volatility normalization
The indicator rescales recent market momentum into a common scale so that extreme readings can be interpreted consistently across different assets and timeframes.
Mean reversion principle
Markets often oscillate around an average level. When values stray too far beyond typical ranges, a return toward the mean is likely. Uptrick: Mean Reversion detects when these extremes occur.
Momentum inflection
Sharp changes in momentum direction frequently presage turning points. The indicator watches for shifts from upward momentum to downward momentum (and vice versa) to help time entries and exits.
Divergence
When price trends and internal momentum readings move in opposite directions, it can signal weakening momentum and an impending reversal. Uptrick: Mean Reversion flags such divergence conditions directly on the indicator pane.
Multi-factor sentiment
No single metric tells the entire story. By combining several independent sentiment measures—price structure, momentum, oscillators, and external market context—Uptrick: Mean Reversion offers a more balanced view of overall market bias.
Purpose
Uptrick: Mean Reversion was created for traders who focus on countertrend opportunities rather than simply following established trends. Its main objectives are:
Spot extreme conditions
By normalizing momentum into a standardized scale, the indicator clearly marks when the market is in overbought or oversold territory. These conditions often align with points where a snapback toward average is more probable.
Provide reversal signals
Built-in logic detects when momentum shifts direction within extreme zones and displays clear buy or sell markers to guide countertrend entries and exits.
Highlight hidden divergences
Divergence between price and internal momentum can suggest underlying weakness or strength ahead of actual price moves. Uptrick: Mean Reversion plots these divergences directly, allowing traders to anticipate reversals earlier.
Offer contextual bias
A dynamic dashboard aggregates multiple independent indicators—based on recent price action, momentum readings, common oscillators, and broader market context—to produce a single sentiment label. This helps traders determine whether mean reversion signals align with or contradict overall market conditions.
Cater to lower timeframes
Mean reversion tends to occur more frequently and reliably on shorter timeframes (for example, 5-minute, 15-minute, or 1-hour charts). Uptrick: Mean Reversion is optimized for these nimble environments, where rapid reversals can be captured before a larger trend takes hold.
Originality and Uniqueness
Uptrick: Mean Reversion stands out for several reasons:
Proprietary normalization framework
Instead of relying on raw oscillator values, it transforms momentum into a standardized scale. This ensures that extreme readings carry consistent meaning across different assets and volatility regimes.
Inflection-based signals
The indicator waits for a clear shift in momentum direction within extreme zones before plotting reversal markers. This approach reduces false signals compared to methods that rely solely on fixed threshold crossings.
Embedded divergence logic
Divergence detection is handled entirely within the same pane. Rather than requiring a separate indicator window, Uptrick: Mean Reversion identifies instances where price and internal momentum readings do not align and signals those setups directly on the chart.
Adjustable sensitivity profiles
Traders can choose from predefined risk profiles—ranging from very conservative to very aggressive—to automatically adjust how extreme a reading must be before triggering a signal. This customization helps balance between capturing only the most significant reversals or generating more frequent, smaller opportunities.
Multi-factor bias dashboard
While many indicators focus on a single metric, Uptrick: Mean Reversion aggregates five distinct sentiment measures. By balancing price-based bias, momentum conditions, and broader market context, it offers a more nuanced view of when to take—or avoid—countertrend trades.
Why Indicators Were Merged
Proprietary momentum oscillator
A custom-built oscillator rescales recent price movement into a normalized range. This core component underpins all signal logic and divergence checks, allowing extreme readings to be identified consistently.
Inflection detection
By comparing recent momentum values over a configurable lookback interval, the indicator identifies clear shifts from rising to falling momentum (and vice versa). These inflection points serve as a prerequisite for reversal signals when combined with extreme conditions.
Divergence framework
Local peaks and troughs are identified within the normalized oscillator and compared to corresponding price highs and lows. When momentum peaks fail to follow price to new extremes (or vice versa), a divergence alert appears, suggesting weakening momentum ahead of a price turn.
Classic price bias
Recent bar structures are examined to infer whether the immediate past price action was predominantly bullish, bearish, or neutral. This provides one piece of the overall sentiment picture.
Smoothed oscillator bias
A secondary oscillator reading is smoothed and compared to a central midpoint to generate a simple bullish or bearish reading.
Range-based oscillator bias
A familiar range-bound oscillator is used to detect oversold or overbought readings, contributing to the sentiment score.
Classic momentum crossover bias
A traditional momentum check confirms whether momentum currently leans bullish or bearish.
External market trend bias
The indicator monitors a major currency’s short-term trend to gauge broader market risk appetite. A falling currency—often associated with higher risk tolerance—contributes a bullish bias point, while a rising currency adds a bearish point.
All these elements run concurrently. Each piece provides a “vote” toward an overall sentiment reading. At the same time, the proprietary momentum oscillator drives both extreme-zone detection and divergence identification. By merging these inputs, the final result is a single pane showing both precise reversal signals and a unified market bias.
How It Works
At runtime, the indicator proceeds through the following conceptual steps:
Read user inputs (risk profile, lookback index, visual mode, color scheme, background highlighting, bias table display, divergence toggles).
Fetch the latest price data.
Process recent price movement through a proprietary normalization engine to produce a single, standardized momentum reading for each bar.
Track momentum over a configurable lookback interval to detect shifts in direction.
Compare the current momentum reading to dynamically determined extreme thresholds (based on the chosen risk profile).
If momentum has flipped from down to up within an oversold area, display a discrete buy marker. If momentum flips from up to down within an overbought area, display a sell marker.
Identify local peaks and troughs in the proprietary momentum series and compare to price highs and lows over a configurable range. When divergence criteria are met, display bullish or bearish divergence labels
Evaluate five independent sentiment measures—price bar bias, smoothed oscillator bias, range oscillator bias, traditional momentum crossover bias, and an external market trend bias—and assign each a +1 (bullish), –1 (bearish), or 0 (neutral) vote.
Average the five votes to produce an overall sentiment score. If the average exceeds a positive threshold, label the bias as bullish; if it falls below a negative threshold, label it as bearish; otherwise label it neutral.
Update the on-screen bias table at regular intervals, showing each individual metric’s value and vote, as well as the combined sentiment label.
Apply color fills to highlight extreme zones in the background and draw horizontal guideline bands around those extremes.
In complex visual mode, draw a cloud-like band that instantly changes color when momentum shifts. In simple mode, plot only a clean line of the normalized reading in a contrasting color.
Expose alert triggers whenever a buy/sell signal, divergence confirmation, or bias flip occurs, for use in automated notifications.
Inputs
Here is how each input affects the indicator:
Trading Style (very conservative / conservative / neutral / aggressive / very aggressive)
Determines how sensitive the indicator is to extreme readings. Conservative settings require more pronounced market deviations before signaling a reversal; aggressive settings signal more frequently at smaller deviations.
Slope Detection Index (integer)
Controls how many bars back the indicator looks to compare momentum for inflection detection. Lower numbers respond more quickly but can be noisy; higher numbers smooth out short-term fluctuations.
Visual Mode (simple / complex)
Simple mode plots only the normalized momentum line, colored according to the chosen palette. Complex mode draws a candle-style block for each bar—showing the range of momentum movement within that bar—with colored fills that switch instantly when momentum direction changes.
Color Scheme (multiple themes)
Select from preset color palettes to style bullish vs. bearish elements (fills, lines, labels). Options include bright neon tones, classic contrasting pairs, dark-mode palettes, and more, ensuring signals stand out against any chart background.
Enable Background Highlighting (true / false)
When true, extreme overbought or oversold zones are shaded in a semi-transparent color behind the main pane. This helps traders “see” when the market is in a normalized extreme state without relying solely on lines or markers.
Show Helper Scale Lines (true / false)
When true, hidden horizontal lines force the vertical scale to include a fixed range of extreme values—even if the indicator rarely reaches them—so traders always know where the most extreme limits lie.
Enable Divergence Detection (true / false)
Toggles whether the script looks for divergences between price and the proprietary momentum reading. When enabled, bullish/bearish divergence markers appear automatically whenever defined conditions are met.
Pivot Lookback Left & Pivot Lookback Right (integers)
Define how many bars to the left and right the indicator examines when identifying a local peak or trough in the momentum reading. Adjust these to capture divergences on different swing lengths.
Minimum and Maximum Bars Between Pivots (integers)
Set the minimum and maximum number of bars allowed between two identified peaks or troughs for a valid divergence. This helps filter out insignificant or overly extended divergence patterns.
Show Bias Table (true / false)
When enabled, displays a small table in the upper-right corner summarizing five independent sentiment votes and the combined bias label. Disable to keep the pane focused on only the momentum series and signals.
Features
1. Extreme-zone highlighting
Overbought and oversold areas appear as colored backgrounds when the proprietary momentum reading crosses dynamically determined thresholds. This gives an immediate visual cue whenever the market moves into a highly extreme condition.
2. Discrete reversal markers
Whenever momentum shifts direction within an extreme zone, the indicator plots a concise “Buy” or “Sell” label directly on the normalized series. These signals combine both extreme-zone detection and inflection confirmation, reducing false triggers.
3. Dynamic divergence flags
Local peaks and troughs of the proprietary momentum reading are continuously compared to corresponding price points. Bullish divergence (momentum trough rising while price trough falls) and bearish divergence (momentum peak falling while price peak rises) are flagged with small labels and lines. These alerts help traders anticipate reversals before price charts show clear signals.
4. Multi-factor sentiment dashboard
Five independent “votes” are tallied each bar:
• Price bar bias (based on recent bar structure)
• Smoothed oscillator bias (based on a popular momentum oscillator)
• Range oscillator bias (based on an overbought/oversold oscillator)
• Traditional momentum crossover bias (whether momentum is above or below its own smoothing)
• External market trend bias (derived from a major currency index’s short-term trend)
Each vote is +1 (bullish), –1 (bearish), or 0 (neutral). The average of these votes produces an overall sentiment label (Bullish, Bearish, or Neutral). The table updates periodically, showing each metric’s value, its vote, and the combined bias.
5. Versatile visual modes
Simple mode: Plots a single normalized momentum line in a chosen color. Ideal for clean charts.
Complex mode: Renders each bar’s momentum range as a candle-like block, with filled bodies that immediately change color when momentum direction flips. Edge lines emphasize the high/low range of momentum for that bar. This mode makes subtle momentum shifts visually striking.
6. Configurable sensitivity profiles
Five risk profiles (very conservative → very aggressive) automatically adjust how extreme the momentum reading must be before signaling. Conservative traders can wait for only the most dramatic reversals, while aggressive traders can capture more frequent, smaller mean-reversion moves.
7. Customizable color palettes
Twenty distinct color themes let users match the indicator to any chart background. Each theme defines separate colors for bullish fills, bearish fills, the momentum series, and divergence labels. Options range from classic contrasting pairs to neon-style palettes to dark-mode complements.
8. Unified plotting interface
Instead of scattering multiple indicators in separate panes, Uptrick: Mean Reversion consolidates everything—normalized momentum, background shading, threshold bands, reversal labels, divergence flags, and bias table—into a single indicator pane. This reduces screen clutter and places all relevant information in one view.
9. Built-in alert triggers
Six alert conditions are exposed:
Mean reversion buy signal (momentum flips in oversold zone)
Mean reversion sell signal (momentum flips in overbought zone)
Bullish divergence confirmation
Bearish divergence confirmation
Bias flip to bullish (when combined sentiment shifts from non-bullish to bullish)
Bias flip to bearish (when combined sentiment shifts from non-bearish to bearish)
Traders can attach alerts to any of these conditions to receive real-time notifications.
10. Scale anchoring
By forcing invisible horizontal lines at fixed extreme levels, the indicator ensures that the vertical axis always includes those extremes—even if the normalized reading rarely reaches them. This constant frame of reference helps traders judge how significant current readings are.
Line features:
Conclusion
Uptrick: Mean Reversion offers a layered, all-in-one approach to spotting countertrend opportunities. By converting price movement into a proprietary normalized momentum scale, it highlights extreme overbought and oversold zones. Inflection detection within those extremes produces clear reversal markers. Embedded divergence logic calls out hidden momentum weaknesses. A five-factor sentiment dashboard helps gauge whether a reversal signal aligns with broader market context. Users can tailor sensitivity, visual presentation, and color schemes, making it equally suitable for minimalist or richly detailed chart layouts. Optimized for lower timeframes, Uptrick: Mean Reversion helps traders anticipate statistically significant mean reversion moves.
Disclaimer
This indicator is provided for informational purposes only. It does not guarantee any trading outcome. Trading carries inherent risks, including the potential loss of invested capital. Users should perform their own due diligence, apply proper risk management, and consult a financial professional if needed. Past performance does not ensure future results.
Breakout TrendTiltFolio Breakout Trend indicator
The Breakout Trend indicator is designed to help traders clearly visualize trend direction by combining two complementary techniques: moving averages and Donchian-style breakout logic.
Rather than relying on just one type of signal, this indicator merges short-term and long-term moving averages with breakout levels based on recent highs and lows. The moving averages define the broader trend regime, while the breakout logic pinpoints moments when price confirms directional momentum. This layered approach filters out many false signals while still capturing high-conviction moves.
Yes, these are lagging indicators by design — and that’s the point. Instead of predicting every wiggle, the Breakout Trend waits for confirmation, offering higher signal quality and fewer whipsaws. When the price breaks above a recent high and sits above the long-term moving average, the trend is more likely to persist. That’s when this indicator shines.
While it performs best on higher timeframes (daily/weekly), it's also adaptable to shorter timeframes for intraday traders who value clean, systematic trend signals.
For early signal detection, we recommend pairing this with TiltFolio’s Buying/Selling Proxy, which anticipates pressure buildups—albeit with more noise.
It's easy to read and built for real-world trading discipline.