Sigma Reversal Print [FxScripts]Indicator Overview
The Sigma Reversal Print is a powerful tool designed for traders who like to trade reversal strategies plus trend traders looking to enter on strong pullbacks. It integrates advanced price action with volume analysis, highlighting areas where a trend reversal or pullback may be in progress, providing insights into where markets may be exhausted or about to surge.
Key Features and Functionality
Reversal Trading: Tailored primarily for reversal traders, the Sigma Reversal Print highlights zones where the market is likely to change direction. While this approach offers significant potential, it inherently carries a degree of risk due to the precision required in predicting market turning points. The Sigma Reversal Print uses advanced methodology to forecast such reversals with a high degree of accuracy.
Signal Generation Based on Reversal and Pullback Zones: The Reversal Print generates signals when price enters specific conditions, representing exhaustion followed by a change in order flow. These conditions allow the indicator to filter out low-probability signals and focus on those with higher potential for a trend change.
Settings
Sensitivity Control: The sensitivity setting allows traders to adjust the strength of the pattern required for a signal to be generated. The scale ranges from 2-10 with higher sensitivity demanding more confirmation, leading to fewer, generally more reliable, signals however backtesting is highly recommended. Adjusting the sensitivity enables traders to balance early entries with signal accuracy, accommodating both aggressive and more conservative strategies.
Customizable Length: The length setting allows users to fine-tune the calculation period, adjusting the indicator’s responsiveness to overall market conditions. Adjusting length allows the Reversal Print to adapt to the user’s trading style and timeframe of choice. Similar to the sensitivity control, the scale ranges from 2-10 with a higher length demanding more confirmation. This can lead to fewer, often more reliable, signals however, once again, backtesting is highly recommended.
Advanced Filters
Opening Gap Filter: Turning this on allows the system to avoid painting false signals that can be triggered by the daily or weekly opening gap at market open. This setting is toggled on by default.
Price Filter: This filter applies an additional weighted price action algorithm to the signal being painted thus further filtering out weaker signals. Warning dots will still paint however the larger break arrow will no longer paint if the filter is triggered. This setting is toggled on by default.
Volume Filter: This filters out low volume entries which have a lower probability of turning into successful trades. Variable from 1-10 with 1 being the most lenient and 10 the most stringent. Warning dots will still paint however the larger break arrow will no longer paint if the filter is triggered. This setting is toggled on by default.
Alerts
Configure alerts and receive notifications when the first warning dot in a sequence appears (the series of dots seen on the chart) and again when a breakpoint is triggered (the larger arrow on the chart). This feature is particularly beneficial for traders who like to monitor multiple instruments or prefer not to stare at a screen all day.
Performance and Optimization
Backtesting Results: The Reversal Print has undergone extensive backtesting across various instruments, timeframes and market conditions, demonstrating strong performance in identifying reversal points, particularly during volatile or overextended price movements. User backtesting is strongly encouraged as it allows traders to optimize settings for their preferred instruments and timeframes.
Optimization for Diverse Markets: The Reversal Print can be used on crypto, forex, indices, commodities or stocks. The Reversal Print's algorithmic foundation ensures consistent performance across a variety of instruments. Key settings such as Sensitivity and Length will require adjustment based on the volatility and characteristics of each market.
Educational Resources and Support
Users of the Sigma Reversal Print benefit from comprehensive educational resources and full access to FxScripts Support. This ensures traders can maximize the potential of the Reversal Print and other tools in the Sigma Indicator Suite by learning best practices and gaining insights from an experienced team of traders.
Summary
The Reversal Print is a powerful and adaptable tool for reversal and pullback traders, combining statistical analysis and price action to identify high-probability turning points. Its advanced customization options, flexible controls and integration with the Sigma Indicator Suite offer significant advantages over standard indicators. By pinpointing precise entry points, the Reversal Print enables traders to make informed trading decisions with confidence.
Reversal
TradeIQ 3.29 • Smart Market Direction [KO]TradeIQ is designed to guide traders with predictive arrows that highlight potential market peaks and reversal zones. It also provides entry point guidance along with suggested TP/SL zones, giving you a practical framework for trade planning.
✅ Key Features:
• Predictive arrows for possible turning points
• Visual guide for entry opportunities
• Suggested TP/SL zones for trade management
• Works across Forex, Gold, Crypto, and Indices
• Fully customizable to match your trading style
Built from years of trading experience, TradeIQ gives traders a clear visual roadmap to support decision-making — not rigid signals.
👉 Perfect for traders who want guidance, structure, and clarity in the markets.
TradeIQ 3.29 • Smart Market Direction [JA]TradeIQ is designed to guide traders with predictive arrows that highlight potential market peaks and reversal zones. It also provides entry point guidance along with suggested TP/SL zones, giving you a practical framework for trade planning.
✅ Key Features:
• Predictive arrows for possible turning points
• Visual guide for entry opportunities
• Suggested TP/SL zones for trade management
• Works across Forex, Gold, Crypto, and Indices
• Fully customizable to match your trading style
Built from years of trading experience, TradeIQ gives traders a clear visual roadmap to support decision-making — not rigid signals.
👉 Perfect for traders who want guidance, structure, and clarity in the markets.
TradeIQ 3.29 • Smart Market Direction [DE]TradeIQ is designed to guide traders with predictive arrows that highlight potential market peaks and reversal zones. It also provides entry point guidance along with suggested TP/SL zones, giving you a practical framework for trade planning.
✅ Key Features:
• Predictive arrows for possible turning points
• Visual guide for entry opportunities
• Suggested TP/SL zones for trade management
• Works across Forex, Gold, Crypto, and Indices
• Fully customizable to match your trading style
Built from years of trading experience, TradeIQ gives traders a clear visual roadmap to support decision-making — not rigid signals.
👉 Perfect for traders who want guidance, structure, and clarity in the markets.
TradeIQ 3.29 • Smart Market Direction [RU]TradeIQ is designed to guide traders with predictive arrows that highlight potential market peaks and reversal zones. It also provides entry point guidance along with suggested TP/SL zones, giving you a practical framework for trade planning.
✅ Key Features:
• Predictive arrows for possible turning points
• Visual guide for entry opportunities
• Suggested TP/SL zones for trade management
• Works across Forex, Gold, Crypto, and Indices
• Fully customizable to match your trading style
Built from years of trading experience, TradeIQ gives traders a clear visual roadmap to support decision-making — not rigid signals.
👉 Perfect for traders who want guidance, structure, and clarity in the markets.
TradeIQ 3.29 • Smart Market Direction [ZH]TradeIQ is designed to guide traders with predictive arrows that highlight potential market peaks and reversal zones. It also provides entry point guidance along with suggested TP/SL zones, giving you a practical framework for trade planning.
✅ Key Features:
• Predictive arrows for possible turning points
• Visual guide for entry opportunities
• Suggested TP/SL zones for trade management
• Works across Forex, Gold, Crypto, and Indices
• Fully customizable to match your trading style
Built from years of trading experience, TradeIQ gives traders a clear visual roadmap to support decision-making — not rigid signals.
👉 Perfect for traders who want guidance, structure, and clarity in the markets.
-----------------------------------------------------------------------------------------------------------------
TradeIQ 旨在通过预测箭头帮助交易者识别潜在的市场峰值和反转区。它还提供了入场点指导,并建议了止盈/止损区,为您的交易计划提供了一个实际的框架。
✅ 主要特点:
• 预测箭头,标示可能的转折点
• 提供入场机会的视觉指导
• 建议的止盈/止损区用于交易管理
• 适用于外汇、黄金、加密货币和指数
• 完全可定制,以匹配您的交易风格
TradeIQ结合多年交易经验,为交易者提供了清晰的视觉路线图,支持决策——而不是僵化的信号。
👉 适合需要市场指导、结构和清晰度的交易者。
Aslan - OscillatorOSCILLATOR
Various helpful confluences to boost your winrate.
Features:
Hyperwave
Divergences
Smart money flow
Potential reversal conditions
Silent Trigger Silent Trigger combines widely used concepts under one scoring engine. Each module adds weight only when its conditions are met:
1. Higher-Timeframe (HTF) context
• Requests 1H and the next HTF up (e.g., 4H/D) with request.security(...) on confirmed bars only.
• Uses RSI(14) and a MACD line (EMA12–EMA26 difference) for bias.
• By default HTF weights the score. There is an option to require HTF alignment if you prefer a hard filter.
2. Market regime
• ADX for trend strength.
• Bollinger Band width and a fractal-energy proxy to detect squeeze/coiling vs expansion.
3. Smart-money / Wyckoff structure
• High-volume narrow bars, absorption, spring/upthrust, and liquidity grabs past recent swing highs/lows.
4. Momentum & divergences
• RSI and MACD-line divergences (regular + hidden) and simple exhaustion checks.
5. Fair Value Gaps (FVG)
• 3-bar gap with mid-gap revisit confirmation.
6. Volume context
• Relative volume and a compact 10-bin rolling volume profile to locate HVN proximity.
7. Sessions / time filter
• Optional London/NY “kill zone” participation filter.
8. Correlation (optional)
• Simple BTC trend check for USD-quoted markets.
Pre-Move (yellow) logic:
Triggers only when the market is compressed (squeeze/low fractal energy), ADX is rising, the MACD histogram is near zero (pressure building), and there is a money-flow impulse (MFI slope and/or OBV Z-score spike).
The yellow diamond is plotted on the side of the expected move:
• Below for bullish reversals / Above for bullish breakouts.
• Above for bearish reversals / Below for bearish breakouts.
A built-in cooldown keeps yellows from spamming.
⸻
What appears on the chart
• Bull diamond (green): Total score ≥ your threshold and > bear score.
• Bear diamond (magenta): Mirror of the above.
• Pre-move (yellow): Early heads-up; use it with HTF context and structure.
All diamonds are intentionally tiny to minimize clutter.
⸻
Key settings
• Signal Mode & Min Probability – tighten/loosen confirmations.
• Use Higher TF in Scoring – soft weighting (default).
• Require HTF Alignment – optional hard gate.
• Module toggles – Smart Money, Wyckoff, FVG, Correlation, Sessions.
• Pre-Move – enable, cooldown bars, MFI levels, OBV Z-score threshold.
⸻
How to use (practical)
1. Choose a TF that matches your style (5–15m intraday, 1H–4H swing).
2. Read HTF bias first; trade in that direction unless structure clearly supports a reversal.
3. Treat yellow as “get ready.” Act only when a green/magenta prints with structure (S/R, FVG, HVN) and acceptable risk.
4. Place stops beyond the liquidity level or FVG midpoint; size positions conservatively.
⸻
Repainting & HTF policy
• No lookahead is used anywhere.
• request.security is called on confirmed bars; the HTF MACD line is computed inside the HTF context (single series), not by indexing a tuple.
• Signals are designed for bar-close confirmation. Intra-bar alerts can change until the bar closes.
⸻
Limitations (honest)
• Money-flow features depend on volume quality; thin/synthetic volume reduces reliability.
• Pre-moves can fail during unscheduled news shocks or when HTF trend is dominant.
• This is not financial advice. You are responsible for entries, exits, and risk.
⸻
Alerts
Built-in bull/bear alerts include direction and a probability bucket (Basic/Moderate/Strong/Extreme).
Pre-move yellows are primarily visual; you can still set an alert on their plot condition if desired.
⸻
Why this isn’t a “mashup”
• A single probability engine blends HTF bias, structure (liquidity/Wyckoff/FVG), regime, and volume into a score, rather than stacking unrelated indicators.
• A pre-move detector that requires compression + rising trend energy + money-flow impulse, and places the marker on the side of the expected move, with cooldown control.
• A lightweight rolling HVN check to bias continuation vs mean-reversion near key nodes.
⸻
Changelog (summary)
• Current release: pre-move module, HTF hard-gate option, tiny diamonds, clarified HTF/no-repaint policy, session filter tidy-up.
TradeIQ 3.29 • Smart Market Direction [TH]TradeIQ is designed to guide traders with predictive arrows that highlight potential market peaks and reversal zones. It also provides entry point guidance along with suggested TP/SL zones, giving you a practical framework for trade planning.
✅ Key Features:
• Predictive arrows for possible turning points
• Visual guide for entry opportunities
• Suggested TP/SL zones for trade management
• Works across Forex, Gold, Crypto, and Indices
• Fully customizable to match your trading style
Built from years of trading experience, TradeIQ gives traders a clear visual roadmap to support decision-making — not rigid signals.
👉 Perfect for traders who want guidance, structure, and clarity in the markets.
TradeIQ 3.29 • Smart Market Direction [EN]TradeIQ is designed to guide traders with predictive arrows that highlight potential market peaks and reversal zones. It also provides entry point guidance along with suggested TP/SL zones, giving you a practical framework for trade planning.
✅ Key Features:
• Predictive arrows for possible turning points
• Visual guide for entry opportunities
• Suggested TP/SL zones for trade management
• Works across Forex, Gold, Crypto, and Indices
• Fully customizable to match your trading style
Built from years of trading experience, TradeIQ gives traders a clear visual roadmap to support decision-making — not rigid signals.
👉 Perfect for traders who want guidance, structure, and clarity in the markets.
Cyclic Reversal Engine [AlgoPoint]Overview
Most indicators focus on price and momentum, but they often ignore a critical third dimension: time. Markets move in rhythmic cycles of expansion and contraction, but these cycles are not fixed; they speed up in trending markets and slow down in choppy conditions.
The Cyclic Reversal Engine is an advanced analytical tool designed to decode this rhythm. Instead of relying on static, lagging formulas, this indicator learns from past market behavior to anticipate when the current trend is statistically likely to reach its exhaustion point, providing high-probability reversal signals.
It achieves this by combining a sophisticated time analysis with a robust price-action confirmation.
How It Works: The Core Logic
The indicator operates on a multi-stage process to identify potential turning points in the market.
1. Market Regime Analysis (The Brain): Before analyzing any cycles, the indicator first diagnoses the current "personality" of the market. Using a combination of the ADX, Choppiness Index, and RSI, it classifies the market into one of three primary regimes:
- Trending: Strong, directional movement.
- Ranging: Sideways, non-directional chop.
- Reversal: An over-extended state (overbought/oversold) where a turn is imminent.
2. Adaptive Cycle Learning (The "Machine Learning" Aspect): This is the indicator's smartest feature. It constantly analyzes past cycles by measuring the bar-count between significant swing highs and swing lows. Crucially, it learns the average cycle duration for each specific market regime. For example, it learns that "in a strong trending market, a new swing low tends to occur every 35 bars," while "in a ranging market, this extends to 60 bars."
3. The Countdown & Timing Signal: The indicator identifies the last major swing high or low and starts a bar-by-bar countdown. Based on the current market regime, it selects the appropriate learned cycle length from its memory. When the bar count approaches this adaptive target, the indicator determines that a reversal is "due" from a timing perspective.
4. Price Confirmation (The Trigger): A signal is never generated based on timing alone. Once the timing condition is met (the cycle is "due"), the indicator waits for a final price-action confirmation. The default confirmation is the RSI entering an extreme overbought or oversold zone, signaling momentum exhaustion. The signal is only triggered when Time + Price Confirmation align.
How to Use This Indicator
- The Dashboard: The panel in the bottom-right corner is your command center.
- Market Regime: Shows the current market personality analyzed by the engine.
- Adaptive Cycle / Bar Count: This is the core of the indicator. It shows the target cycle length for the current regime (e.g., 50) and the current bar count since the last swing point (e.g., 45). The background turns orange when the bar count enters the "due zone," indicating that you should be on high alert for a reversal.
- BUY/SELL Signals: A label appears on the chart only when the two primary conditions are met:
The timing is right (Bar Count has reached the Adaptive Cycle target).
The price confirms exhaustion (RSI is in an extreme zone).
A BUY signal suggests a downtrend cycle is likely complete, and a SELL signal suggests an uptrend cycle is likely complete.
Key Settings
- Pivot Lookback: Controls the sensitivity of the swing point detection. Higher values will identify more significant, longer-term cycles.
- Market Regime Engine: The ADX, Choppiness, and RSI settings can be fine-tuned to adjust how the indicator classifies the market's personality.
- Require Price Confirmation: You can toggle the RSI confirmation on or off. It is highly recommended to keep it enabled for higher-quality signals.
RB — Rejection Blocks (Price Structure)This indicator detects and visualizes Rejection Blocks (RBs) using pure price action logic.
A bullish RB occurs when a down candle forms a lower low than both its neighbors. A bearish RB occurs when an up candle forms a higher high than both its neighbors.
Validated RBs are displayed as boxes, optional lines, or labels. Blocks are automatically removed when invalidated (price closes through them), keeping the chart uncluttered and focused.
How to use
• Apply on any timeframe, from intraday to higher timeframes.
• Watch how price reacts when revisiting RB zones.
• Treat these zones as contextual areas, not entry signals.
• Combine with your own trading methods for confirmation.
Originality
Unlike generic support/resistance tools, this indicator isolates a specific structural pattern (rejection blocks) and renders it visually on the chart. This selective focus allows traders to study structural reactions with more clarity and precision.
⚠️ Disclaimer: This is not a trading system or a signal provider. It is a visual analysis tool designed for structural and educational purposes.
POC Migration Velocity (POC-MV) [PhenLabs]📊POC Migration Velocity (POC-MV)
Version: PineScript™v6
📌Description
The POC Migration Velocity indicator revolutionizes market structure analysis by tracking the movement, speed, and acceleration of Point of Control (POC) levels in real-time. This tool combines sophisticated volume distribution estimation with velocity calculations to reveal hidden market dynamics that conventional indicators miss.
POC-MV provides traders with unprecedented insight into volume-based price movement patterns, enabling the early identification of continuation and exhaustion signals before they become apparent to the broader market. By measuring how quickly and consistently the POC migrates across price levels, traders gain early warning signals for significant market shifts and can position themselves advantageously.
The indicator employs advanced algorithms to estimate intra-bar volume distribution without requiring lower timeframe data, making it accessible across all chart timeframes while maintaining sophisticated analytical capabilities.
🚀Points of Innovation
Micro-POC calculation using advanced OHLC-based volume distribution estimation
Real-time velocity and acceleration tracking normalized by ATR for cross-market consistency
Persistence scoring system that quantifies directional consistency over multiple periods
Multi-signal detection combining continuation patterns, exhaustion signals, and gap alerts
Dynamic color-coded visualization system with intensity-based feedback
Comprehensive customization options for resolution, periods, and thresholds
🔧Core Components
POC Calculation Engine: Estimates volume distribution within each bar using configurable price bands and sophisticated weighting algorithms
Velocity Measurement System: Tracks the rate of POC movement over customizable lookback periods with ATR normalization
Acceleration Calculator: Measures the rate of change of velocity to identify momentum shifts in POC migration
Persistence Analyzer: Quantifies how consistently POC moves in the same direction using exponential weighting
Signal Detection Framework: Combines trend analysis, velocity thresholds, and persistence requirements for signal generation
Visual Rendering System: Provides dynamic color-coded lines and heat ribbons based on velocity and price-POC relationships
🔥Key Features
Real-time POC calculation with 10-100 configurable price bands for optimal precision
Velocity tracking with customizable lookback periods from 5 to 50 bars
Acceleration measurement for detecting momentum changes in POC movement
Persistence scoring to validate signal strength and filter false signals
Dynamic visual feedback with blue/orange color scheme indicating bullish/bearish conditions
Comprehensive alert system for continuation patterns, exhaustion signals, and POC gaps
Adjustable information table displaying real-time metrics and current signals
Heat ribbon visualization showing price-POC relationship intensity
Multiple threshold settings for customizing signal sensitivity
Export capability for use with separate panel indicators
🎨Visualization
POC Connecting Lines: Color-coded lines showing POC levels with intensity based on velocity magnitude
Heat Ribbon: Dynamic colored ribbon around price showing POC-price basis intensity
Signal Markers: Clear exhaustion top/bottom signals with labeled shapes
Information Table: Real-time display of POC value, velocity, acceleration, basis, persistence, and current signal status
Color Gradients: Blue gradients for bullish conditions, orange gradients for bearish conditions
📖Usage Guidelines
POC Calculation Settings
POC Resolution (Price Bands): Default 20, Range 10-100. Controls the number of price bands used to estimate volume distribution within each bar
Volume Weight Factor: Default 0.7, Range 0.1-1.0. Adjusts the influence of volume in POC calculation
POC Smoothing: Default 3, Range 1-10. EMA smoothing period applied to the calculated POC to reduce noise
Velocity Settings
Velocity Lookback Period: Default 14, Range 5-50. Number of bars used to calculate POC velocity
Acceleration Period: Default 7, Range 3-20. Period for calculating POC acceleration
Velocity Significance Threshold: Default 0.5, Range 0.1-2.0. Minimum normalized velocity for continuation signals
Persistence Settings
Persistence Lookback: Default 5, Range 3-20. Number of bars examined for persistence score calculation
Persistence Threshold: Default 0.7, Range 0.5-1.0. Minimum persistence score required for continuation signals
Visual Settings
Show POC Connecting Lines: Toggle display of colored lines connecting POC levels
Show Heat Ribbon: Toggle display of colored ribbon showing POC-price relationship
Ribbon Transparency: Default 70, Range 0-100. Controls transparency level of heat ribbon
Alert Settings
Enable Continuation Alerts: Toggle alerts for continuation pattern detection
Enable Exhaustion Alerts: Toggle alerts for exhaustion pattern detection
Enable POC Gap Alerts: Toggle alerts for significant POC gaps
Gap Threshold: Default 2.0 ATR, Range 0.5-5.0. Minimum gap size to trigger alerts
✅Best Use Cases
Identifying trend continuation opportunities when POC velocity aligns with price direction
Spotting potential reversal points through exhaustion pattern detection
Confirming breakout validity by monitoring POC gap behavior
Adding volume-based context to traditional technical analysis
Managing position sizing based on POC-price basis strength
⚠️Limitations
POC calculations are estimations based on OHLC data, not true tick-by-tick volume distribution
Effectiveness may vary in low-volume or highly volatile market conditions
Requires complementary analysis tools for complete trading decisions
Signal frequency may be lower in ranging markets compared to trending conditions
Performance optimization needed for very short timeframes below 1-minute
💡What Makes This Unique
Advanced Estimation Algorithm: Sophisticated method for calculating POC without requiring lower timeframe data
Velocity-Based Analysis: Focus on POC movement dynamics rather than static levels
Comprehensive Signal Framework: Integration of continuation, exhaustion, and gap detection in one indicator
Dynamic Visual Feedback: Intensity-based color coding that adapts to market conditions
Persistence Validation: Unique scoring system to filter signals based on directional consistency
🔬How It Works
Volume Distribution Estimation:
Divides each bar into configurable price bands for volume analysis
Applies sophisticated weighting based on OHLC relationships and proximity to close
Identifies the price level with maximum estimated volume as the POC
Velocity and Acceleration Calculation:
Measures POC rate of change over specified lookback periods
Normalizes values using ATR for consistent cross-market performance
Calculates acceleration as the rate of change of velocity
Signal Generation Process:
Combines trend direction analysis using EMA crossovers
Applies velocity and persistence thresholds to filter signals
Generates continuation, exhaustion, and gap alerts based on specific criteria
💡Note:
This indicator provides estimated POC calculations based on available OHLC data and should be used in conjunction with other analysis methods. The velocity-based approach offers unique insights into market structure dynamics but requires proper risk management and complementary analysis for optimal trading decisions.
Pivot Points. High & Lows By Reversal PercentageLibrary "Pivot Points. High & Lows By Reversal Percentage" by Jal9000
This Pine Script library provides a robust function for identifying and tracking pivot points (reversal points) in price data, suitable for integration into custom trading indicators and strategies.
🛠️ Main Features:
- ✅ Identifies pivot highs and lows based on configurable price movement thresholds.
- ✅ Lightweight. No candle backtracing used. Much less computation heavy.
- ✅ Supports multiple calls (with different values) within a single script.
- ✅ Compatible with request.security for multi-timeframe analysis.
- ✅ Returns both confirmed and temporary pivots for flexible integration.
- ✅ Pinescript V5 and V6 compliant code.
Purpose:
The pivots library enables Pine Script developers to easily add pivot point detection to their scripts. It identifies significant price reversals by evaluating price movements against a minimum range threshold ( min_range_pct ) and confirming reversals based on a percentage ( reversal_pct ) of the prior trend’s magnitude. The library supports multiple simultaneous calls with different settings, making it ideal for multi-timeframe strategies.
How It Works:
The library’s f_calculatePivot function tracks price movements to detect pivot points:
Minimum Range Threshold : A potential pivot is considered if the price moves beyond the min_range_pct percentage of the current high (for a high pivot) or low (for a low pivot), ensuring sufficient movement.
Reversal Confirmation : A pivot is confirmed if the price reverses from the potential pivot by at least the reversal_pct percentage of the distance between the last confirmed pivot and the current potential pivot, measuring the retracement relative to the prior trend’s magnitude.
The function alternates between tracking highs (in an uptrend) and lows (in a downtrend), updating the trend when a pivot is confirmed.
State management uses an array of pivot_state objects, allowing independent calculations for different timeframes and min_range_pct values within the same script.
## Technical Reference
Functions:
f_calculatePivot(series float _high, series float _low, float _min_range_pct, float _reversal_pct) →
- Parameters:
_high : The high price series (e.g., high or math.max(open, close) ).
_low : The low price series (e.g., low or math.min(open, close) ).
_min_range_pct : The minimum percentage price movement to consider a potential pivot.
_reversal_pct : The percentage of the prior trend’s distance required to confirm a pivot.
- Returns:
A tuple containing:
isNewPivot : Boolean indicating if a new pivot was confirmed.
last_confirmed_pivot : The most recent confirmed pivot (type pivot ).
temp_pivot : The current temporary pivot (type pivot ).
Pivot type:
idx (series int) : Bar index of the pivot.
typ (series int) : Type of pivot ( PIVOT_HIGH or PIVOT_LOW ).
prc (series float) : Price of the pivot.
tme (series int) : Timestamp of the pivot.
Constants (internal):
TREND_LONG , TREND_SHORT : Trend direction indicators (1, -1).
PIVOT_HIGH , PIVOT_LOW : Pivot type indicators (1, -1).
✨ Example of Use:
//@version=5
indicator("Pivot Example", overlay=true)
import jal9000/pivots/1 as pivots
// Inputs
min_range_pct = input.float(20.0, 'Min Range %')
reversal_pct = input.float(30.0, 'Reversal %')
ignore_wick = input.bool(true, 'Ignore wick')
h = ignore_wick ? math.max(open, close) : high
l = ignore_wick ? math.min(open, close) : low
// Call the function with high, low, and input parameters
= pivots.f_calculatePivot(h, l, min_range_pct, reversal_pct)
// Variable to store previous confirmed pivot outside the function
var pivots.pivot prev_confirmed_pivot = na
// Draw the line if a new pivot is confirmed and previous pivot exists
if is_new_pivot
if not na(prev_confirmed_pivot) and not na(new_confirmed_pivot)
line.new(x1 = prev_confirmed_pivot.idx, y1 = prev_confirmed_pivot.prc, x2 = new_confirmed_pivot.idx, y2 = new_confirmed_pivot.prc, color = color.blue, width = 1)
prev_confirmed_pivot := new_confirmed_pivot
## Release Notes
v1
- Initial release of the pivots library with f_calculatePivot function for detecting pivot points and supporting multiple configurations and timeframes.
v2
- Code is Pinescript V6 ready. Remains identified as V5, but changing the version number is the only thing that is required to be v6.
Dynamic Value Zone Oscillator (DVZO) - @CRYPTIK1Dynamic Value Zone Oscillator (DVZO) @CRYPTIK1
Introduction: What is the DVZO?
The Dynamic Value Zone Oscillator (DVZO) is a powerful momentum indicator that reframes the classic "overbought" and "oversold" concept. Instead of relying on a fixed lookback period like a standard RSI or Stochastics, the DVZO measures the current price relative to a significant, higher-timeframe Value Zone (e.g., the previous week's entire price range).
This gives you a more contextual and structural understanding of price. The core question it answers is not just "Is the price moving up or down quickly?" but rather, "Where is the current price in relation to its recently established area of value?"
This allows traders to identify true "premium" (overbought) and "discount" (oversold) levels with greater accuracy, leading to higher-probability reversal and trend-following signals.
The Core Concept: Price vs. Value
The market is constantly trying to find equilibrium or "fair value." The DVZO is built on the principle that the high and low of a significant prior period (like the previous day, week, or month) create a powerful area of perceived value.
The Value Zone: The range between the high and low of the selected higher timeframe. The midpoint of this zone is the equilibrium (0 line on the oscillator).
Premium Territory (Distribution Zone): When price breaks above the Value Zone High (+100 line), it is trading at a premium. This is an area where sellers are more likely to become active and buyers may be over-extending.
Discount Territory (Accumulation Zone): When price breaks below the Value Zone Low (-100 line), it is trading at a discount. This is an area where buyers are more likely to see value and sellers may be exhausted.
By anchoring its analysis to these significant structural levels, the DVZO filters out much of the noise from lower-timeframe price fluctuations.
Key Features
The Oscillator:
The main blue line visualizes exactly where the current price is within the context of the Value Zone.
+100: The high of the Value Zone.
0: The midpoint/equilibrium of the Value Zone.
-100: The low of the Value Zone.
Automatic Divergence Detection:
The DVZO automatically identifies and plots bullish and bearish divergences on both the price chart and the oscillator itself.
Bullish Divergence: Price makes a new low, but the DVZO makes a higher low. This is a strong signal that downside momentum is fading and a reversal to the upside is likely.
Bearish Divergence: Price makes a new high, but the DVZO makes a lower high. This indicates that upside momentum is waning and a pullback is probable.
Value Migration Histogram:
The purple histogram in the background visualizes the width of the Value Zone.
Expanding Histogram: Volatility is increasing, and the accepted value range is getting wider.
Contracting Histogram: Volatility is decreasing, and the price is coiling in a tight range, often in anticipation of a major breakout.
How to Use the DVZO: Trading Strategies
1. Reversion Trading
This is the most direct way to use the indicator.
Look for Buys: When the DVZO line drops below -100, the price is in the "Accumulation Zone." Wait for the price to show signs of strength (e.g., a bullish candle pattern) and the DVZO line to start turning back up towards the -100 level. This is a high-probability mean reversion setup.
Look for Sells: When the DVZO line moves above +100, the price is in the "Distribution Zone." Look for signs of weakness (e.g., a bearish engulfing candle) and the DVZO line to start turning back down towards the +100 level.
2. Divergence Trading
Divergences are powerful confirmation signals.
Entry Signal: When a Bullish Divergence appears, it provides a strong entry signal for a long position, especially if it occurs within the Accumulation Zone (below -100).
Exit/Short Signal: When a Bearish Divergence appears, it can serve as a signal to take profit on long positions or to look for a short entry, especially if it occurs in the Distribution Zone (above +100).
3. Best Practices & Settings
Timeframe Synergy: The DVZO is most effective when your chart timeframe is lower than your selected Value Zone Source.
For Day Trading (e.g., 1H, 4H chart): Use the "Previous Day" Value Zone.
For Swing Trading (e.g., 1D, 12H chart): Use the "Previous Week" or "Previous Month" Value Zone.
Confirmation is Key: The DVZO is a powerful tool, but it should not be used in isolation. Always combine its signals with other forms of analysis, such as market structure, support/resistance levels, and candlestick patterns, for confirmation.
Hammer Candle Finder [MQSXN]This script automatically scans your chart for hammer candlestick patterns and highlights them with fully customizable labels and markers. Hammers are classic price action signals that can suggest potential reversals or exhaustion in the current trend.
How it works:
- Detects candles with a small body near the top of the range, a long lower wick, and minimal upper wick.
- Separates bullish hammers (green close above open) from bearish hammers (red close below open).
- You can choose to display either type—or both—depending on your trading style.
Customizable options:
- Adjustable detection sensitivity (body % of range, wick-to-body ratio, top wick allowance).
- Toggle to show/hide bullish or bearish signals.
- Custom text, colors, label style, and positioning for the markers.
- Option to anchor labels above bars automatically or offset them by a set number of ticks.
Usage:
This tool is designed for traders who want a clear, visual way to spot hammer candles in real time or during historical chart analysis. Combine it with your own support/resistance zones, volume analysis, or confirmation indicators to build complete strategies.
Note:
This indicator does not provide buy/sell signals on its own—it’s meant to assist with candlestick recognition. Always confirm with your broader trading plan and risk management rules.
Reverse RSI Signals [AlgoAlpha]🟠 OVERVIEW
This script introduces the Reverse RSI Signals system, an original approach that inverts traditional RSI values back into price levels and then overlays them directly on the chart as dynamic bands. Instead of showing RSI in a subwindow, the script calculates the exact price thresholds that correspond to common RSI levels (30/70/50) and displays them as upper, lower, and midline bands. These are further enhanced with an adaptive Supertrend filter and divergence detection, allowing traders to see overbought/oversold zones translated into actionable price ranges and trend signals. The script combines concepts of RSI inversion, volatility envelopes, and divergence tracking to provide a context-driven tool for spotting reversals and regime shifts.
🟠 CONCEPTS
The script relies on inverting RSI math: by solving for the price that would yield a given RSI level, it generates real chart levels tied to oscillator conditions. These RSI-derived price bands act like support/resistance, adapting each bar as RSI changes. On top of this, a Supertrend built around the RSI midline introduces directional bias, switching regimes when the midline is breached. Regular bullish and bearish divergences are detected by comparing RSI pivots against price pivots, highlighting early reversal conditions. This layered approach means the indicator is not just RSI on price but a hybrid of oscillator translation, volatility-tracking midline envelopes, and divergence analysis.
🟠 FEATURES
Inverted RSI bands: upper (70), lower (30), and midline (50), smoothed with EMA for noise reduction.
Supertrend overlay on the RSI midline to confirm regime direction (bullish or bearish).
Gradient-filled zones between outer and inner RSI bands to visualize proximity and exhaustion.
Non-repainting bullish and bearish divergence markers plotted directly on chart highs/lows.
🟠 USAGE
Apply the indicator to any chart and use the plotted RSI price bands as adaptive support/resistance. The midline defines equilibrium, while upper and lower bands represent classic RSI thresholds translated into real price action. In bullish regimes (green candles), long trades are stronger when price approaches or bounces from the lower band; in bearish regimes (red candles), shorts are favored near the upper band. Divergence markers (▲ for bullish, ▼ for bearish) flag potential reversal points early. Traders can combine the band proximity, divergence alerts, and Supertrend context to time entries, exits, or to refine ongoing trend trades. Adjust smoothing and Supertrend ATR settings to match the volatility of the instrument being analyzed.
SAR Oscillator [Bellsz]Converts Parabolic SAR into a normalized oscillator with crossover signals, gradient fills, and trend strength levels. A cleaner way to read SAR momentum. Making it easier to read momentum shifts, trend strength, and reversals directly in the sub-chart. Instead of dots on price only, this tool converts SAR dynamics into a smooth oscillator that highlights bias and turning points.
What it shows
Normalized Price Line — scaled view of price relative to SAR.
Normalized SAR Line — SAR value normalized across the high/low range.
SAR Dots — visual cue when crossovers occur (potential reversal or trend acceleration).
Gradient Fill — color-coded background for quick read of momentum direction/intensity.
Guide Levels — ±50 baseline to track trend strength and overextension.
Why use it
Converts SAR into an oscillator format, easier to compare across instruments & timeframes.
Highlights momentum shifts early (crossovers, gradient flips).
Adds structure with gradient fill and baselines, making SAR more actionable than standard dot plots.
Works as a trend bias filter or confirmation tool alongside other indicators.
Inputs
Acceleration / Increment / Maximum — adjust SAR sensitivity.
Custom Colors — choose your scheme for price, SAR, and gradients.
Best practices
Use on intraday or swing TFs as a trend bias filter.
Look for Normalized Price crossing Normalized SAR as potential entry signals.
Watch how SAR dots cluster near ±100 for exhaustion or reversal signals.
Notes
This is a visual enhancement of SAR; it does not repaint.
Combine with volume, FVGs, or session models for added context.
CVD Absorption + Confirmation [Orderflow & Volume]This indicator detects bullish and bearish absorption setups by combining Cumulative Volume Delta (CVD) with price action, candlestick, and volume confirmations.
🔹 What is Absorption?
Absorption happens when aggressive buyers/sellers push CVD to new highs or lows, but price fails to follow through.
Bearish absorption: CVD makes a higher high, but price does not.
Bullish absorption: CVD makes a lower low, but price does not.
This often signals that limit orders are absorbing aggressive market orders, creating potential reversal points.
🔹 Confirmation Patterns
Absorption signals are only shown if they are validated by one of the following patterns:
Engulfing candle with low volume → reversal faces little resistance.
Engulfing candle with high volume → strong aggressive participation.
Pin bar with high volume → absorption visible in the wick.
CVD flattening / slope reversal → shift in aggressive order flow.
🔹 Signals
✅ Bullish absorption confirmed → Green label below the bar.
❌ Bearish absorption confirmed → Red label above the bar.
Each label represents a potential reversal setup after orderflow absorption is validated.
🔹 Alerts
Built-in alerts are included for both bullish and bearish confirmations, so you can track setups in real-time without watching the chart 24/7.
📌 How to Use:
Best applied at key levels (supply/demand, VWAP, OR, liquidity zones).
Look for confluence with your trading strategy before taking entries.
Works on all markets and timeframes where volume is reliable.
Trendlines Oscillator [LuxAlgo]The Trendlines Oscillator helps traders identify trends and momentum based on the normalized distances between the current price and the most recently detected bullish and bearish trend lines.
The indicator features bullish and bearish momentum, a signal line with crossings, and multiple smoothing options.
🔶 USAGE
The indicator displays three lines: two for momentum and one for the signal. When one of the momentum lines (bullish or bearish) crosses the signal line, the tool displays a dot to indicate which momentum is gaining strength.
As a general rule, when the green bullish momentum line is above the red bearish momentum line, it indicates buyer strength. This means that the actual prices are farther from the support trend lines than the resistance trend lines. The opposite is true for seller strength.
To calculate bullish momentum, the tool first identifies bullish trend lines acting as support below the price. Then, it measures the delta between the price and those trend lines and normalizes the reading into the displayed momentum values.
The same process is used for bearish momentum, but with bearish trendlines acting as resistance above the price.
🔹 Length & Memory
Modifying the Length and Memory values will cause the tool to display different momentum values.
Traders can adjust the length to detect larger trendlines and adjust the memory to indicate how many trendlines the tool should consider.
As the chart above shows, smaller values make the tool more responsive, while larger values are useful for detecting larger trends.
🔹 Smoothing
By default, the data is not smoothed, and the signal uses a triangular moving average with a length of 10. Traders can smooth both the data and the signal line.
Traders can choose from up to ten different methods, or none. Some examples are shown on the chart above.
🔶 DETAILS
The steps for the calculations are as follows:
1. Gather the pivots, highs, and lows.
ph = fixnan(ta.pivothigh(lengthInput, lengthInput))
pl = fixnan(ta.pivotlow(lengthInput, lengthInput))
2. Calculate the slope and y-intercept for each trendline between contiguous lower highs (resistance) or higher lows (support).
if ph < ph
slope = (ph - ph )/(n-lengthInput - phx1)
res.unshift(l.new(ph - slope * phx1, slope))
if pl > pl
slope = (pl - pl )/(n-lengthInput - plx1)
sup.unshift(l.new(pl - slope * plx1, slope))
3. Calculate the value of each trendline on the current bar, then calculate the difference with the current price (delta). To calculate the relative sum of deltas, only consider trendlines below the price for support or above the price for resistance.
method get_point(l id, x)=>
id.slope * x + id.intercept
for element in sup
point = element.get_point(n)
if sourceInput > point
sup_sum += sourceInput - point
sup_den += math.abs(sourceInput - point)
for element in res
point = element.get_point(n)
if sourceInput < point
res_sum += point - sourceInput
res_den += math.abs(point - sourceInput)
4. Normalize the value from 0 to 100 by taking the sum of the relative values of the deltas divided by the sum of the absolute values of the deltas.
float supportLine = sup_sum / sup_den * 100
float resistanceLine = res_sum / res_den * 100
5. Smooth both values, then calculate the signal line as the difference between them.
float smoothSupport = smooth(supportLine,dataSmoothingInput,dataSmoothingLengthInput)
float smoothResistance = smooth(resistanceLine,dataSmoothingInput,dataSmoothingLengthInput)
float signal = math.abs(smoothSupport - smoothResistance)
float signalLine = smooth(signal,smoothingInput,smoothingLengthInput)
6. Calculate the crossing signals against the signal line, using only the first signal from each series of bullish or bearish crossings.
bullSignal = smoothSupport > signalLine and smoothSupport < signalLine
bearSignal = smoothResistance > signalLine and smoothResistance < signalLine
lastSignal := bullSignal and lastSignal == BEAR ? BULL : bearSignal and lastSignal == BULL ? BEAR : lastSignal
firstBull = ta.change(lastSignal) > 0
firstBear = ta.change(lastSignal) < 0
🔶 SETTINGS
Length: The size of the market structure used for trendline detection.
Memory: The number of trendlines used in calculations.
Source: The source for the calculations is closing prices by default.
🔹 Smoothing
Data Smoothing: Choose the smoothing method and length
Signal Smoothing: Choose the smoothing method and length
Smarter Money Concepts - Wyckoff Springs & Upthrusts [PhenLabs]📊Smarter Money Concepts - Wyckoff Springs & Upthrusts
Version: PineScript™v6
📌Description
Discover institutional manipulation in real-time with this advanced Wyckoff indicator that detects Springs (accumulation phases) and Upthrusts (distribution phases). It identifies when price tests support or resistance on high volume, followed by a strong recovery, signaling potential reversals where smart money accumulates or distributes positions. This tool solves the common problem of missing these subtle phase transitions, helping traders anticipate trend changes and avoid traps in volatile markets.
By combining volume spike detection, ATR-normalized recovery strength, and a sigmoid probability model, it filters out weak signals and highlights only high-confidence setups. Whether you’re swing trading or day trading, this indicator provides clear visual cues to align with institutional flows, improving entry timing and risk management.
🚀Points of Innovation
Sigmoid-based probability threshold for signal filtering, ensuring only statistically significant Wyckoff patterns trigger alerts
ATR-normalized recovery measurement that adapts to market volatility, unlike static recovery checks in traditional indicators
Customizable volume spike multiplier to distinguish institutional volume from retail noise
Integrated dashboard legend with position and size options for personalized chart visualization
Hidden probability plots for advanced users to analyze underlying math without chart clutter
🔧Core Components
Support/Resistance Calculator: Scans a user-defined lookback period to establish dynamic levels for Spring and Upthrust detection
Volume Spike Detector: Compares current volume to a 10-period SMA, multiplied by a configurable factor to identify significant surges
Recovery Strength Analyzer: Uses ATR to measure price recovery after breaks, normalizing for different market conditions
Probability Model: Applies sigmoid function to combine volume and recovery data, generating a confidence score for each potential signal
🔥Key Features
Spring Detection: Spots accumulation when price dips below support but recovers strongly, helping traders enter longs at potential bottoms
Upthrust Detection: Identifies distribution when price spikes above resistance but falls back, alerting to possible short opportunities at tops
Customizable Inputs: Adjust lookback, volume multiplier, ATR period, and probability threshold to match your trading style and market
Visual Signals: Clear + (green) and - (red) labels on charts for instant recognition of accumulation and distribution phases
Alert System: Triggers notifications for signals and probability thresholds, keeping you informed without constant monitoring
🎨Visualization
Spring Signal: Green upward label (+) below the bar, indicating strong recovery after support break for accumulation
Upthrust Signal: Red downward label (-) above the bar, showing failed breakout above resistance for distribution
Dashboard Legend: Customizable table explaining signals, positioned anywhere on the chart for quick reference
📖Usage Guidelines
Core Settings
Support/Resistance Lookback
Default: 20
Range: 5-50
Description: Sets bars back for S/R levels; lower for recent sensitivity, higher for stable long-term zones – ideal for spotting Wyckoff phases
Volume Spike Multiplier
Default: 1.5
Range: 1.0-3.0
Description: Multiplies 10-period volume SMA; higher values filter to significant spikes, confirming institutional involvement in patterns
ATR for Recovery Measurement
Default: 5
Range: 2-20
Description: ATR period for recovery strength; shorter for volatile markets, longer for smoother analysis of post-break recoveries
Phase Transition Probability Threshold
Default: 0.9
Range: 0.5-0.99
Description: Minimum sigmoid probability for signals; higher for strict filtering, ensuring only high-confidence Wyckoff setups
Display Settings
Dashboard Position
Default: Top Right
Range: Various positions
Description: Places legend table on chart; choose based on layout to avoid overlapping price action
Dashboard Text Size
Default: Normal
Range: Auto to Huge
Description: Adjusts legend text; larger for visibility, smaller for minimal space use
✅Best Use Cases
Swing Trading: Identify Springs for long entries in downtrends turning to accumulation
Day Trading: Catch Upthrusts for short scalps during intraday distribution at resistance
Trend Reversal Confirmation: Use in conjunction with other indicators to validate phase shifts in ranging markets
Volatility Plays: Spot signals in high-volume environments like news events for quick reversals
⚠️Limitations
May produce false signals in low-volume or sideways markets where volume spikes are unreliable
Depends on historical data, so performance varies in unprecedented market conditions or gaps
Probability model is statistical, not predictive, and cannot account for external factors like news
💡What Makes This Unique
Probability-Driven Filtering: Sigmoid model combines multiple factors for superior signal quality over basic Wyckoff detectors
Adaptive Recovery: ATR normalization ensures reliability across assets and timeframes, unlike fixed-threshold tools
User-Centric Design: Tooltips, customizable dashboard, and alerts make it accessible yet powerful for all trader levels
🔬How It Works
Calculate S/R Levels:
Uses the highest high and the lowest low over the lookback period to set dynamic zones
Establishes baseline for detecting breaks in Wyckoff patterns
Detect Breaks and Recovery:
Checks for price breaking support/resistance, then recovering on volume
Measures recovery strength via ATR for volatility adjustment
Apply Probability Model:
Combines volume spike and recovery into a sigmoid function for confidence score
Triggers signal only if above threshold, plotting visuals and alerts
💡Note:
For optimal results, combine with price action analysis and test settings on historical charts. Remember, Wyckoff patterns are most effective in trending markets – use lower probability thresholds for practice, then increase for live trading to focus on high-quality setups.
HTF Candles & ReversalsThis is a comprehensive multi-timeframe analysis tool designed to give you a broader perspective on market structure directly from your main chart. It overlays candles from up to six user-defined higher timeframes (HTF) and includes a built-in indicator to spot potential price reversals. This allows you to analyze the bigger picture and make more informed decisions without constantly switching between different chart layouts.
Key Features
Multi-Timeframe Candle Display: Renders candles from up to six different higher timeframes (the defaults are 5m, 15m, 1H, 4H, 1D, and 1W). You can see how the current price action fits within the larger trend.
Reversal Pattern Detection: The script identifies and highlights potential bullish and bearish reversal patterns. This works on both your main chart's candles and the displayed HTF candles, helping you spot potential shifts in momentum on multiple scales.
Imbalance (FVG) Highlighting: Automatically detects and draws Fair Value Gaps (FVGs) on the HTF candles, pointing out areas of inefficient price action that may act as magnets for future price movement.
Full Customization: You have complete control over the visual elements. Adjust the colors for candle bodies, borders, and wicks. Change the positioning of the HTF display, and toggle labels, timers, and imbalance boxes to create a clean workspace that fits your trading style.
How to Use This Indicator
Gain Market Context: Use the HTF candles to quickly gauge the dominant trend. For example, if the 4H and 1D candles are bullish, you might look for buying opportunities on your lower timeframe chart. The highs and lows of these HTF candles often serve as strong support and resistance levels.
Identify Reversals:
Triangles on the Main Chart: A green triangle below a candle suggests a potential bullish reversal, while a red triangle above suggests a potential bearish reversal. This pattern appears when a candle makes a new low/high but closes stronger/weaker than the previous one.
Colored HTF Candles: When an HTF candle is colored (lime for bullish, orange for bearish), it indicates that a reversal pattern has formed on that specific higher timeframe, which could signal a more significant change in market direction.
Utilize Imbalances: The highlighted FVG boxes can be treated as areas of interest. Price often revisits these zones, making them potential targets for trades or areas to watch for a reaction.
Settings Breakdown
Candle Color: Independently set the colors for bullish and bearish candle bodies, borders, and wicks.
Layout: Use the HTF Distance setting to control how far the displayed candles appear from the current price action.
Labels: Choose whether to display the timeframe name and a countdown timer for each HTF candle. You can position these labels at the top, bottom, or both.
Imbalances: Toggle the visibility of the FVG boxes and customize their color.
Reversal Indicator: Enable or disable the reversal triangles on your main chart and the special coloring for reversal candles on both the main chart and the HTF displays.
Disclaimer: This tool is intended for technical analysis and educational purposes. It does not provide financial advice or generate guaranteed trading signals. Always use risk management and conduct your own analysis before entering any trade.
5 Min Scalping Oscillator### Overview
The 5 Min Scalping Oscillator is a custom oscillator designed to provide traders with a unified momentum signal by fusing normalized versions of the Relative Strength Index (RSI), Stochastic RSI, and Commodity Channel Index (CCI). This combination creates a more balanced view of market momentum, overbought/oversold conditions, and potential reversals, while incorporating adaptive smoothing, dynamic thresholds, and market condition filters to reduce noise and false signals. Unlike standalone oscillators, the 5 Min Scalping Oscillator adapts to trending or sideways regimes, volatility levels, and higher timeframe biases, making it particularly suited for short-term charts like 5-minute timeframes where quick, filtered signals are valuable.
### Purpose and Originality of the Fusion
Traditional oscillators like RSI measure momentum but can lag in volatile markets; Stochastic RSI adds sensitivity to RSI extremes but often generates excessive noise; and CCI identifies cyclical deviations but may overreact to minor price swings. The 5 Min Scalping Oscillator addresses these limitations by weighting and blending their normalized outputs (RSI at 45%, Stochastic RSI at 35%, and CCI at 20%) into a single raw oscillator value. This weighted fusion creates a hybrid signal that balances lag reduction with noise filtering, resulting in a more robust indicator for identifying reversal opportunities.
The originality lies in extending this fusion with:
- **Adaptive Smoothing via KAMA (Kaufman's Adaptive Moving Average):** Adjusts responsiveness based on market efficiency, speeding up in trends and slowing in ranges—unlike fixed EMAs, this helps preserve signal integrity without over-smoothing.
- **Dynamic Overbought/Oversold Thresholds:** Calculated using rolling percentiles over a user-defined lookback (default 200+ periods), these levels adapt to recent oscillator behavior rather than relying on static values like 70/30, making the indicator more responsive to asset-specific volatility.
- **Multi-Factor Filters:** Integrates ADX for trend detection, ATR percentiles for volatility confirmation, and optional higher timeframe RSI bias to ensure signals align with broader market context. This layered approach reduces false positives (e.g., ignoring low-volatility crossovers) and adds a confidence score based on filter alignment, which is not typically found in simple mashups.
This design justifies the combination: it's not a mere overlay of indicators but a purposeful integration that enhances usefulness by providing context-aware signals, helping traders avoid common pitfalls like trading against the trend or in low-volatility chop. The result is an original tool that performs better in diverse conditions, especially on 5-minute charts for intraday trading, where rapid adaptations are key.
### How It Works
The 5 Min Scalping Oscillator processes price data through these steps:
1. **Normalization and Fusion:**
- RSI (default length 10) is normalized to a -1 to +1 scale using a tanh transformation for bounded output.
- Stochastic RSI (default length 14) is derived from RSI highs/lows and scaled similarly.
- CCI (default length 14) is tanh-normalized to align with the others.
- These are weighted and summed into a raw value, emphasizing RSI for core momentum while using Stochastic RSI for edge sensitivity and CCI for cycle detection.
2. **Smoothing and Signal Line:**
- The raw value is smoothed (default KAMA with fast/slow periods 2/30 and efficiency length 10) to reduce whipsaws.
- A shorter signal line (half the smoothing length) is added for crossover detections.
3. **Filters and Enhancements:**
- **Trend Regime:** ADX (default length 14, threshold 20) classifies markets as trending (ADX > threshold) or sideways, allowing signals in both but prioritizing alignment.
- **Volatility Check:** ATR (default length 14) percentile (default 85%) ensures signals only trigger in above-average volatility, filtering out flat markets.
- **Higher Timeframe Bias:** Optional RSI (default length 14 on 60-minute timeframe) provides bull/neutral/bear bias (above 55, 45-55, below 45), requiring signal alignment (e.g., bullish signals only if bias is neutral or bull).
- **Dynamic Levels:** Percentiles (default OB 85%, OS 15%) over recent oscillator values set adaptive overbought/oversold lines.
4. **Signal Generation:**
- Bullish (B) signals on upward crossovers of the smoothed line over the signal line, filtered by conditions.
- Bearish (S) signals on downward crossunders.
- Each signal includes a confidence score (0-100) based on factors like trend alignment (25 points), volatility (15 points), and bias (20 points if strong, 10 if neutral).
The output includes a glowing oscillator line, histogram for divergence spotting, dynamic levels, shapes/labels for signals, and a dashboard table summarizing regime, ADX, bias, levels, and last signal.
### How to Use It
This indicator is easy to apply and interpret, even for beginners:
- **Adding to Chart:** Apply the 5 Min Scalping Oscillator to a clean chart (no other indicators unless explained). It's non-overlay, so it appears in a separate pane. For 5-minute timeframes, keep defaults or tweak lengths shorter for faster response (e.g., RSI 8-12).
- **Interpreting Signals:**
- Look for green upward triangles labeled "B" (bullish) at the bottom for potential entry opportunities in uptrends or reversals.
- Red downward triangles labeled "S" (bearish) at the top signal potential exits or shorts.
- Higher confidence scores (e.g., 70+) indicate stronger alignment—use these for priority trades.
- Watch the histogram for divergences (e.g., price higher highs but histogram lower highs suggest weakening momentum).
- Dynamic OB (green line) and OS (red line) help gauge extremes; signals near these are more reliable.
- **Dashboard:** At the bottom-right, it shows real-time info like "Trending" or "Sideways" regime, ADX value, HTF bias (Bull/Neutral/Bear), OB/OS levels, and last signal—use this for quick context.
- **Customization:** Adjust inputs via the settings panel:
- Toggle KAMA for adaptive vs. EMA smoothing.
- Set HTF to "60" for 1-hour bias on 5-min charts.
- Increase ADX threshold to 25 for stricter trend filtering.
- **Best Practices:** Combine with price action (e.g., support/resistance) or volume for confirmation. On 5-min charts, pair with a 1-hour HTF for intraday scalping. Always use stop-losses and risk no more than 1-2% per trade.
### Default Settings Explanation
Defaults are optimized for 5-minute charts on volatile assets like stocks or forex:
- RSI/Stoch/CCI lengths (10/14/14): Shorter for quick momentum capture.
- Signal smoothing (5): Responsive without excessive lag.
- ADX threshold (20): Balances trend detection.
- ATR percentile (0.85): Filters ~15% of low-vol signals.
- HTF RSI (14 on 60-min): Aligns with hourly trends.
- Percentiles (OB 85%, OS 15%): Adaptive to recent data.
If changing, test on historical data to ensure fit—e.g., longer lengths for less noisy assets.
### Disclaimer
The 5 Min Scalping Oscillator is an educational tool to visualize momentum and does not guarantee profits or predict future performance. All signals are based on historical calculations and should not be used as standalone trading advice. Past results are not indicative of future outcomes. Traders must conduct their own analysis, use proper risk management, and consider market conditions. No claims are made about accuracy, reliability, or performance.