Stick Sandwich Pattern# Stick Sandwich Pattern Indicator
## Description
The Stick Sandwich Pattern Indicator is a custom TradingView script that identifies specific three-candle patterns in financial markets. The indicator uses a sandwich emoji (🥪) to mark pattern occurrences directly on the chart, making it visually intuitive and easy to spot potential trading opportunities.
## Pattern Types
### Bullish Stick Sandwich
A bullish stick sandwich pattern is identified when:
- First candle: Bullish (close > open)
- Second candle: Bearish (close < open)
- Third candle: Bullish (close > open)
- The closing price of the third candle is within 10% of the first candle's range from its closing price
### Bearish Stick Sandwich
A bearish stick sandwich pattern is identified when:
- First candle: Bearish (close < open)
- Second candle: Bullish (close > open)
- Third candle: Bearish (close < open)
- The closing price of the third candle is within 10% of the first candle's range from its closing price
## Technical Implementation
- Written in Pine Script v5
- Runs as an overlay indicator
- Uses a 10% tolerance range for closing price comparison
- Implements rolling pattern detection over the last 3 candles
- Break statement ensures only the most recent pattern is marked
## Visual Features
- Bullish patterns: Green sandwich emoji above the pattern
- Bearish patterns: Red sandwich emoji below the pattern
- Label size: Small
- Label styles:
- Bullish: Label points upward
- Bearish: Label points downward
## Usage
1. Add the indicator to your TradingView chart
2. Look for sandwich emojis that appear above or below price bars
3. Green emojis indicate potential bullish reversals
4. Red emojis indicate potential bearish reversals
## Code Structure
- Main indicator function with overlay setting
- Two separate functions for pattern detection:
- `bullishStickSandwich()`
- `bearishStickSandwich()`
- Pattern scanning loop that checks the last 3 candles
- Built-in label plotting for visual identification
## Formula Details
The closing price comparison uses the following tolerance calculation:
```
Tolerance = (High - Low of first candle) * 0.1
Valid if: |Close of third candle - Close of first candle| <= Tolerance
```
## Notes
- The indicator marks patterns in real-time as they form
- Only the most recent pattern within the last 3 candles is marked
- Pattern validation includes both candle direction and closing price proximity
- The 10% tolerance helps filter out weak patterns while catching meaningful ones
## Disclaimer
This indicator is for informational purposes only. Always use proper risk management and consider multiple factors when making trading decisions.
Komut dosyalarını "bear" için ara
Dynamic Momentum Shift Detector [Invesmate]Dynamic Momentum Shift Detector
Overview
The Dynamic Momentum Shift Detector is an advanced trend-following and momentum-based indicator designed to help traders identify high-probability trading opportunities. It combines RSI-based momentum detection, Supertrend confirmation, and EMA sentiment tracking to provide reliable buy and sell signals.
This indicator is useful for traders who rely on price action and momentum shifts to make informed trading decisions. The goal is to capture early trend reversals while filtering false signals using multiple confirmations.
Key Features & Unique Aspects
RSI (2-Period) for Momentum Detection
Uses an extremely short 2-period RSI to detect overbought (75) and oversold (25) conditions.
Buy Signal: RSI crosses above 25 and price is above the Supertrend line.
Sell Signal: RSI crosses below 75 and price is below the Supertrend line.
Supertrend for Trend Confirmation
A Supertrend (ATR 20, Factor 2) is used to validate the overall market trend.
Prevents false breakouts by ensuring buy signals occur above the Supertrend line and sell signals occur below it.
21-EMA Sentiment Filter
A 21-period Exponential Moving Average (EMA) acts as a market sentiment indicator.
Background color changes for quick visual cues:
Green Fill: Price is above EMA (bullish sentiment).
Red Fill: Price is below EMA (bearish sentiment).
Refined Buy/Sell Confirmation Criteria
To eliminate weak signals, additional price action conditions are applied:
Buy Confirmation: Higher high, bullish close, and strong candle body (>40% of range).
Sell Confirmation: Lower low, bearish close, and strong candle body (>40% of range).
Persistent Buy/Sell Levels
Displays persistent buy and sell levels (green/red dots) on the chart.
These remain active until invalidated by price action.
Bull & Bear Momentum (RSI-8 for Strong Reversals)
Bull M (Green Triangle): RSI (8) crosses above 72 with a strong bullish candle (>60% body).
Bear M (Red Triangle): RSI (8) crosses below 27 with a strong bearish candle (>60% body).
How to Use the Indicator
Buy Setup:
✅ Look for a green "Bull R" signal when:
RSI crosses above 25.
Price is above Supertrend & EMA 21.
Additional confirmation from bullish candle structure.
Sell Setup:
✅ Look for a red "Bear R" signal when:
RSI crosses below 75.
Price is below Supertrend & EMA 21.
Additional confirmation from bearish candle structure.
Observation Signals:
⚠️ "Obs Buy" (Orange Label) → Possible buy setup, but missing confirmation.
⚠️ "Obs Sell" (Orange Label) → Possible sell setup, but missing confirmation.
Momentum Reversal Markers (Strong Buy/Sell Signals)
🔺 "Bull M" (Green Triangle) → Strong bullish momentum shift detected.
🔻 "Bear M" (Red Triangle) → Strong bearish momentum shift detected.
Why This Indicator is Unique & Valuable
✔ Combines multiple indicators (RSI, Supertrend, EMA) with a structured approach.
✔ Avoids false signals by requiring confirmation from price action.
✔ Provides persistent support/resistance levels to track active trades.
✔ Visually clean and easy to use with minimal chart clutter.
This indicator is suitable for swing traders, intraday traders, and positional traders who want high-probability setups with clear trend direction.
Trend Strength & Direction📌 Assumptions of the "Trend Strength & Direction" Model
This model is designed to measure both trend strength and trend direction, using a modified version of the ADX (Average Directional Index) while also identifying ranging markets. Below is a detailed breakdown of all key assumptions.
1️⃣ Using ADX as the Basis for Trend Strength
Why ADX?
The ADX (Average Directional Index) is one of the most commonly used indicators for measuring trend strength, regardless of direction.
How is it calculated?
ATR (Average True Range) is used to normalize volatility.
Directional movement (+DM and -DM) is smoothed with an Exponential Moving Average (EMA) to obtain the +DI (Positive Directional Indicator) and -DI (Negative Directional Indicator).
Trend strength is derived by normalizing the absolute difference between +DI and -DI, divided by the sum of both.
🔹 Assumption: A high ADX means the trend is strong (whether bullish or bearish).
2️⃣ 50-Period Moving Average for Trend Strength
Why add a moving average?
ADX can be very volatile in the short term.
A 50-period SMA (Simple Moving Average) is used to smooth out trend strength and identify sustained trends.
🔹 Assumption: The SMA reduces false signals caused by short-term ADX spikes.
3️⃣ Identifying a Ranging Market (ADX Below 35)
How is a ranging market defined?
If the trend strength (ADX) is below 35, the market is considered "ranging".
The 35-level threshold is chosen empirically since ADX values below this level often indicate a lack of strong price direction.
When the market is ranging, the background color turns yellow.
🔹 Assumption: ADX < 35 indicates a sideways market, so the indicator colors the background yellow.
4️⃣ Determining Trend Direction Using +DI and -DI
How is direction determined?
If +DI > -DI, the trend is bullish (green).
If -DI > +DI, the trend is bearish (red).
If ADX is below 35, the market is ranging and turns yellow.
🔹 Assumption: Trend direction is determined by the relationship between +DI and -DI, not ADX values.
5️⃣ Background Color to Highlight Market Conditions
Yellow background if ADX < 35 → Ranging market.
Green background if ADX ≥ 35 and bullish.
Red background if ADX ≥ 35 and bearish.
🔹 Assumption: The background color visually differentiates trending vs. ranging phases.
6️⃣ Reference Levels for ADX
Lateral Threshold (35) → Below this, the trend is weak or ranging.
Neutral Threshold (50) → Intermediate level indicating moderate trend strength.
Strong Trend Threshold (75) → Above this, the trend is very strong and possibly overextended.
🔹 Assumption: ADX above 75 indicates a very strong trend, potentially near exhaustion.
🔹 Summary of Key Assumptions
1️⃣ ADX is the core strength metric → Strong trends when ADX > 35, weak below 35.
2️⃣ The 50-period SMA smooths out volatility → Prevents false signals.
3️⃣ Ranging markets are defined as ADX < 35 → Yellow background color.
4️⃣ Trend direction is based on +DI vs. -DI → Green = bullish, Red = bearish.
5️⃣ Background colors enhance readability → Helps distinguish different market phases.
6️⃣ ADX reference levels (35, 50, 75) indicate increasing trend strength.
Conclusion
This model combines ADX with a moving average and color-based logic to highlight trend strength, trend direction, and sideways markets. It helps traders quickly identify the best conditions for entering or exiting trades. 🚀
EMA Ribbon overlay with Trend-Based Color TransitionThis indicator visualizes an EMA Ribbon with a trend-based color transition. It helps traders quickly identify market trends and transitions between bullish and bearish movements.
How It Works
Exponential Moving Averages (EMAs)
The indicator calculates 8 EMAs based on user-defined lengths.
Default values range from 21 to 55 periods.
Trend Identification
A bullish trend is detected when all EMAs are stacked in an upward sequence (shorter EMAs above longer ones).
A bearish trend is detected when all EMAs are stacked in a downward sequence (shorter EMAs below longer ones).
Trend Reversal Detection
A trend shift to bullish occurs when a previously bearish trend turns bullish.
A trend shift to bearish occurs when a previously bullish trend turns bearish.
Color Transition Logic
Green when transitioning from a bearish to bullish trend.
Red when transitioning from a bullish to bearish trend.
Visualization
EMAs are plotted on the chart.
The area between EMAs is filled with green or red, depending on the trend shift.
Use Case
Identifying Trend Shifts: Traders can use color transitions to detect potential entry and exit points.
Confirming Market Direction: Helps confirm bullish and bearish trends before making trading decisions.
Enhanced Visual Clarity: The ribbon structure makes it easy to see trend momentum and potential reversals.
This indicator is useful for trend-following strategies and can be combined with other technical analysis tools for better decision-making. 🚀
Market RhythmMarket Rhythm
Overview
If you’re a price-action enthusiast who loves to stay on top of structural shifts in the market, Market Rhythm is here to supercharge your charting experience! This script automatically identifies swing points (HH, LH, HL, LL), detects breaks of structure (BOS), flags changes of character (CHoCH), and offers an optional Trade Tip to guide your next move. It also provides a sleek table summarizing the latest signals so you can confirm momentum or pivot-based ideas at a glance.
What It Does
Swing Detection
Spots the last few pivot highs and lows on your chart.
Labels them as HH (Higher High), LH (Lower High), HL (Higher Low), or LL (Lower Low).
You can display all identified swings or only the most recent ones.
Adaptive Swing Logic
Optionally invert your swing lengths when the script detects a bearish trend, allowing it to adapt pivot detection automatically.
This means if the market flips to a downtrend, pivot detection reconfigures itself in real time.
Break of Structure (BOS)
If price breaks above the previous swing high or below the previous swing low, the script prints a BOS line on the chart.
You can choose whether to confirm breakouts via candle closes or wicks.
CHoCH (Change of Character)
When a BOS flips from bullish to bearish (or vice versa) against the prior direction, it’s renamed CHoCH for added clarity.
Color-coded lines and labels let you instantly see if the market’s “character” is reversing.
Optional Trade Tip
The script can suggest “Look for Long” or “Look for Short” based on your last pivot type and overall trend direction.
This “Trade Tip” is completely optional: enable or disable it in the settings, and the table reconfigures itself automatically.
Information Table
A compact on-chart table gives you an at-a-glance summary of:
Trend – Are we bullish, bearish, or uncertain?
Last BOS – If there’s a recent break of structure, how many bars ago did it happen?
Last CHoCH – If the market made a sudden reversal, how many bars back?
Trade Tip (Optional) – Summarizes whether conditions favor a long or short setup, or if it’s best to wait.
Alerts
Built-in alert conditions let you know when a BOS or CHoCH happens (bullish or bearish).
Turn them on to receive notifications without staring at the screen all day.
Chart Elements
Swing Labels: “HH,” “LH,” “HL,” “LL” near the pivot bars.
BOS & CHoCH Lines: Solid/dashed/dotted lines drawn across your chart, marking the level of structure that got broken.
Color Codes: Bullish signals are tinted in blue-ish tones, bearish signals in pink/purple-ish tones, making it easy to parse your chart visually.
Trade Tip Row: If enabled, instantly highlights “Look for Long” or “Look for Short” in a color-coded cell (blue for long, purple for short, gray if none).
Key Settings
Swing Points
Swing Points Display: Show all pivots, only the last set, or no pivots at all.
Invert Right Swing in Bearish Trend: Automatically swap your “Right Swing Length (High)” and “Right Swing Length (Low)” once the script detects a bearish trend (signaled by the most recent CHoCH).
Left Swing Length / Right Swing Length High/Low: Control how sensitive pivot detection is for highs vs. lows.
Pivot Source: Decide if your pivots are based on candle closes or wicks.
BOS Settings
Show BOS: Hide or reveal the Break of Structure lines entirely.
BOS Confirmation: Candle closes or wicks needed for a “true” breakout.
Line Style / Width / Color: Customize the BOS lines to your liking.
Show Only Last BOS: Show only the freshest BOS or keep historical ones on the chart.
CHoCH Settings
Show CHoCH: Rename the first opposite BOS to CHoCH if desired.
Bullish/Bearish Colors: Pick your favorite color theme for CHoCH lines.
Line Style / Width / Show Only Last CHoCH: Similar customizing options as BOS lines.
Table Settings
Show Table: Toggle the entire summary table on/off.
Position & Text Size: Choose table location (top-left, bottom-right, etc.) and text size (small to huge).
Show 'Trade Tip' row: Decide whether to add a fourth row that suggests potential trade direction. If disabled, the table has only three rows (Trend, Last BOS, and Last CHoCH).
Alerts
Several alert conditions are built in (e.g., “Bullish BOS Alert,” “Bearish BOS Alert,” “CHoCH Alert,” etc.), so you can set notifications for real-time structural shifts.
Why You’ll Love It
Visual Clarity: No more guesswork on which pivot was broken or whether a CHoCH just took place—color-coded lines and labels handle it.
Flexible Pivot Logic: Candle closes vs. wicks, separate right swing lengths for highs and lows, and an adaptive approach if the market goes bearish.
Quick Glance Table: Summaries of the latest signals keep you in the loop without cluttering your chart.
Trade Tip Option: Let the script gently nudge you toward potential bullish or bearish setups—only if you want it to!
Alerts for Everything: BOS and CHoCH can trigger alerts so you never miss a key structural change.
Give Market Rhythm a go, and watch your chart transform into a dynamic story of structure breaks, pivot swings, and potential trade cues. Whether you’re a short-term scalper or a higher-timeframe swing trader, this tool aims to simplify your analysis and keep you laser-focused on what matters.
Adaptive Sharp Momentum█ Introduction
The Adaptive Sharp Momentum Study has the following all-in-one features:
• A noise-free, trend-following indicator.
• Automatically detects implied tops and bottoms within fast price cycles.
• It identifies price consolidations and periods of indecision; often challenging to spot.
• Includes a unique feature for detecting directional price squeezes.
• An integrated volatility measure helps avoid false signals and clarifies trend direction.
• Lastly, it alerts traders when a volume climax is likely reached during a move.
This study primarily focuses on capturing momentum while concurrently alerting traders to shifting market dynamics, thereby aiding in the decision to either extend a position’s duration or optimize exit timing. The set of analytical tools, deployed alongside the trend-following indicator, are integrated to reflect the concepts outlined above. Furthermore, this framework utilizes distinctive methods for trend identification, consolidation recognition, directional squeeze assessment, and volume climax analysis—approaches that are not currently documented in publicly available resources.
█ Explanation of Core Components
1. Trend Following Consolidated Adaptive Moving Average:
At the core of the study is the Jurik Adaptive Average Curve, a fast-response adaptive moving average refined with an adaptive Relative Strength Index (RSX) function, known as Jurik RSX. This curve displays three trend modes—bullish, bearish, and indecisive—each customizable in color.
Users can adjust parameters such as the Phase and Consolidation Period:
• Phase: Influences the timing of trend signals, accommodating various trading styles. A lower phase value can produce leading signals, while a higher value may result in lagging signals.
• Consolidation Period: Helps filter out false signals. Optimize this period based on the time frame and instrument.
• Momentum Slope Threshold: As mentioned earlier, the Jurik moving average values are consolidated against the Dynamic Jurik RSX. Crossing the slope threshold of the Jurik RSX will trigger consolidation.
The main curve in the middle represents the overall trend. The issue with moving averages is that they work well in trends but when market is in consolidation, many false signals can be generated. The consolidation period acts as a second fast signal curve that helps eliminate the false signals generated through the standard adaptive moving average. This is basically done by measuring the momentum of the move itself through the Jurik RSX. There are other tools in this study that should also help the trader avoid false signals which will be fully described below.
2. Implied Tops and Bottoms
The study also detects Implied Tops and Bottoms during market cycles using the Composite Momentum and Projections. It offers three detection modes:
• Strong Signals: Indicate significant potential reversal points.
• Medium Signals: Typically displayed near the end of a trend, suggesting traders should prepare to exit.
• Rolling Signals: Alert traders to set tight stop losses to secure profits, as the market may be approaching a turning point.
By default, the colors of Rolling Signals and Medium Signals are the same for simplicity.
Note the following:
• The fast and slow period have the most effect on implied tops and bottoms detection.
• Adjusting the main period will also have an overall effect.
The above chart shows rolling tops, rolling bottoms, strong tops, and strong bottoms. A rolling top of bottom indicate an increase in momentum in that direction and thus a tight stoploss would be recommended, while a strong top/bottom indicates that an exit is warranted.
3. Consolidation and Volatility
If enabled, '+' will appear above the ceiling and floor plots if consolidation is detected. Consolidation is detected by using lookback function that determine if price is below a threshold or not. If below, then consolidation would be confirmed. This is accomplished by adjusting the ' Price Consolidation Threshold ' period
The above chart demonstrates detection of consolidation on a 1-minute chart. Also, note the ceiling and floor plot, it expands when volatility is high.
Consolidation detection helps weed out long and short signals indicated by the main curve.
4. Directional Squeeze
Another unique feature of this indicator is the detection of directional price squeeze. Directional squeeze is defined as a price push in the direction indicated by momentum whether upward or downward. This is different from the common squeeze indicators found on the web since this one is detecting a directional push.
The Directional Squeeze feature, indicated by up and down triangles above the main curve, highlights strong trends in the market's current direction:
• Trend Continuation: Allows traders to stay in profitable trades longer during strong trending markets.
• Multiple Modes: Offers single-bar (short-term) and longer-term squeezes. Single-bar squeezes can signal potential market reversals, while longer-term squeezes are useful in sustained trends.
Be mindful that under certain conditions, the directional squeeze could be directionless(sideways) if consolidation is outlined by the indicator. This is another useful feature the trader could utilize. The chart above mostly demonstrates directional squeeze but directionless can also be observed.
5. Volume Volatility and Volume Climax Detection
An essential feature of the Adaptive Sharp Momentum Study is its ability to measure Volume Volatility and detect Volume Climax moments:
• Volume Volatility Measure: Integrated into the study to help avoid false signals by assessing the strength of market moves. It provides better clarity on trend direction by indicating when the market is experiencing significant volume changes.
• Volume Climax Alerts: The study alerts traders when a volume climax is likely reached during a move, which is helpful for identifying potential reversal points or the culmination of a trend. Brighter confirmation signal dots indicate these climaxes, helping traders make timely entry/exit decisions.
• Adjustable Parameters: Traders can set the Volume Volatility Threshold and adjust the Volume Lookback Period to tailor the sensitivity of volume climax detection according to their trading strategy.
5. The indicator contains other useful features:
• Cycles: Helps determine when to enter long or short trades based on upward or downward market cycles. It also aids in recognizing retracement levels during a trend, allowing traders to capitalize on brief counter-trend movements. Those cycles can be observed as the up and down gray lines on the chart.
• Real-Time Table: The table is another visual aid that summarizes the status of each feature in real-time.
█ How to Use this Study Effectively
The main curve in the middle is your final decision point. Prior to entering a trade look for the following:
• Is the market in consolidation? If yes, then you'd be advised not to enter the trade until the study clearly shows no consolidation
• Is the ceil or floor plots showing a strong top or bottom, or even a volume climax in the direction to intend to enter? If yes, then either ensure you enter at a tight stop or don't enter
• Is there an indication of a directional squeeze with no consolidation or volume climax? Then this would be an ideal place to enter. Be mindful though that entering directional squeeze too late is not recommended.
• Once you are in the trade, look at consolidation, implied tops and bottoms, and volume climax to determine exit point. You will quickly realize if you entered a trade prematurely.
• Utilize the directional squeeze and the prevalent trend to help you stay in the trade longer.
• Adjust your stop losses depending on whether you are seeing a rolling implied top/bottom or a strong top/bottom.
• Also, at volume climaxes, be ready to exit. The approach with volume climax detection should be the same as the implied tops/bottoms.
Below is a chart demonstrating trading on a 1-minute chart. The study could be used for any time frame:
** Important Note **
This study relies on volume readings. Incorrect evaluation will be concluded without proper volume data.
█ How the Adaptive Sharp Momentum Works?
---Main Curve - Jurik Moving Average and RSX---
The Jurik Moving Average (JMA) and the Jurik RSX with Fisher transform (Relative Strength Index Extended) are technical tools designed to enhance data processing efficiency. The JMA uses an adaptive smoothing algorithm to dynamically adjust to market conditions, reducing lag while maintaining high responsiveness to price changes. the JMA incorporates a mechanism that determines smoothness based on input volatility. The RSX, on the other hand, tracks relative strength without introducing the overshoots and noise commonly seen in other momentum indicators. It achieves this by applying a yet another JMA smoothing function that ensures stability and consistency, making it a better candidate for identifying shifts.
This is a unique approach, but can simply be equated to two moving averages crossing over, except in this case, the RSX is crossing over with the JMA.
The process of determining market trends and consolidation for the main curve revolves around evaluating multiple conditions and rankings of indicators such as Jurik RSX, Fisher Transform, and Volume-based metrics (Adaptive On Balance Volume and Price Volatility). Here's how consolidation and trends are identified:
1. Trend Override Logic: The core logic evaluates whether specific conditions override the default trend determined by the JMA.
• Bearish Overrides: A trend is classified as bearish if specific conditions involving negative slopes of the RSX, bearish Fisher Transform readings, and other auxiliary rankings (AOBV trend rank or volatility ranks) are met.
• Bullish Overrides: Similarly, bullish trends are determined by the presence of positive RSX slopes, bullish Fisher readings, and supporting AOBV and volatility ranks.
• Neutral Overrides: If neither bullish nor bearish overrides dominate, and conflicting conditions are detected (e.g., a bearish Fisher with a bullish OBV), the trend can be overridden to neutral.
2. Dynamic Slope and Rank Analysis: RSX and Jurik Slopes: The slopes of the RSX and Jurik indicators play an important role. Increasing slopes suggest bullish momentum, while decreasing slopes imply bearish momentum.
3. Narrow Spread Analysis: Consolidation zones are identified by examining conditions like narrow spreads in price action and mixed indicator signals (e.g., a positive RSX slope alongside a neutral or bearish AOBV).
• When consolidation is detected, the system looks for confirming signals (AOBV or Fisher alignment) to determine whether the next move is likely to be bullish or bearish.
4.Fallback Logic:
If no explicit conditions are met for bullish, bearish, or neutral trends, the system defaults to comparing the current and previous values of the Jurik Moving Average. If the JMA is rising, the trend is set to bullish; otherwise, it defaults to bearish.
The process of consolidating The RSX with JMA, attempts to confirm the trend suggested by the Jurik moving average. As shown above, several factors play into this, but it is mostly motivated by the RSX and its slope
-- Detecting Tops and Bottoms --
• Composite Momentum
The Composite Momentum indicator analyzes the market's directional strength to identify implied tops and bottoms, especially at extreme values. It evaluates momentum by categorizing it into ranges that reflect moderate or strong trends for both bullish and bearish conditions. When momentum exceeds a positive threshold, it indicates a strong top, whereas values below a negative threshold then it's a strong bottom.
• Laguerre Dynamic Projection Bands
The Laguerre Dynamic Projection Bands focuses on price positioning within calculated dynamic boundaries. By applying linear regression, it projects upper and lower price bands, which serve as potential resistance and support levels. The oscillator value ranges from 0 to 100, representing the relative position of the current price. A value above 70 indicates the price is near a projected top, while a value below 30 suggests proximity to a projected bottom. Through custom Laguerre smoothing, the setup ensures that its signals remain stable and actionable.
• How They Work Together
The Composite Momentum and Projection Oscillator complement each other in detecting market tops and bottoms. The Projection Oscillator provides an early indication when price nears a critical level, while the Composite Momentum confirms whether the momentum supports the formation of a significant top or bottom.
-- Consolidation Detection, Volatility, and Volume Climax Detection --
• Summary of Consolidation Detection:
Consolidation is identified through a combination of statistical and smoothing applied to price data. The approach calculates deviations around the main plot using squared price inputs, smoothed averages, and adaptive multipliers. These deviations form dynamic upper and lower boundaries that adapt to changing market conditions. The system further evaluates these boundaries against historical bars to calculate a volume percentage, which indicates how often recent price action remains within these bands. A low percentage suggests consolidation, characterized by reduced volatility and price movement confined within a tighter range.
The bands around the main plot are derived from the calculated maximum deviations, creating adaptive ceilings and floors that expand or contract based on market dynamics. The Ceiling and Floor plots represent the outermost boundaries, while additional retracement plots are drawn based on the Composite Momentum wave rank. For example, during an uptrend, the retrace levels adjust upward in fractional steps relative to the deviation, signaling possible resistance levels. In downtrends, similar logic applies in reverse to determine support levels. These bands visually represent the volatility envelope and help contextualize price movements relative to expected ranges. Whenever, low volatility is detected, a visual "+" indicator is added to the plot to highlight that the market is likely in consolidation mode.
• How the Adaptive OBV Applies the Same Logic:
The Adaptive On-Balance Volume (OBV) uses a similar mechanism to detect volume climaxes by analyzing deviations in volume data. Instead of price, the OBV logic applies the squared input and smoothing methods to volume flows. By comparing these deviations to historical norms, the system identifies periods of high or low volatility in volume, which often coincide with potential breakouts or consolidation zones.
• How They Work Together
The consolidation detection process and the adaptive bands work in tandem to provide traders with a clear visualization of market conditions. When consolidation is detected, the dynamic bands narrow and a "+" sign is visualized, signaling reduced volatility and potential breakout opportunities. Similarly, volume-based analysis through the adaptive OBV helps confirm whether a breakout is accompanied by significant volume, adding confidence to trade decisions. Together, they enable anticipation of market shifts.
-- Directional Squeeze --
A directional price squeeze refers to a market condition where price compresses in a particular direction. This provides traders with an opportunity to stay in trades longer by aligning with the prevailing directional bias. This unique concept generates dynamic limits based on lookback period. Their convergence upward or downward is typically a strong indication of a price push toward the respective direction.
In this approach, the system looks at the highest and lowest values of a smoothed momentum reading over a recent period and measures the distance between them. Instead of relying on a static “overbought” or “oversold” line, it calculates new boundaries as a fraction of that distance, scaling the thresholds to match the price behavior. When these dynamically adjusted limits converge, it suggests a “directional squeeze”—meaning price is moving within a more compressed or focused range. Because these boundaries adapt to the market’s own highs and lows, they provide a more responsive indication of when price may be shifting into or out of a strong directional move.
• Determining the Directional Squeeze
Directional squeeze is identified using dynamic limits derived from two key factors:
Schaff Trend Cycle (STC) for single-bar squeezes. and the Slow RSI (SRSI) for multi-bar or longer-term squeezes. Both are utilizing a custom alpha factor for adaptability and conformance with the JMA and Dynamic RSX studies.
• Directional Trend Confirmation:
If the SRSI or STC approaches the limits, additional conditions such as Fisher RSX (momentum signals) and AOBV (volume signals) and the trend already established by the JMA are aligned. If so, then a squeezed in that trend directional is established.
█ Why These Components All Work Together?
The Adaptive Sharp Momentum Study integrates multiple components to provide a framework for analyzing market dynamics. Each feature addresses specific challenges in trading:
• Core Trend Identification:
The Jurik Adaptive Moving Average (JMA) and Jurik RSX ensure better trend detection by reducing noise and dynamically confirming momentum, thus minimizing lag and false signals.
• Implied Tops and Bottoms:
The combination of Composite Momentum and Laguerre Dynamic Projection Bands highlights critical turning points. This dual-layered approach identifies potential reversals and key support/resistance levels with improved clarity.
• Consolidation and Volatility:
Adaptive ceilings, floors, and consolidation detection filter out indecisive market phases. This helps avoid unreliable signals and provides a better perspective on potential breakouts or continuations.
• Directional Squeeze:
The Directional Squeeze feature identifies directional bias in price compression. Its dynamic thresholds adapt to market conditions, aiding in the assessment of strong directional moves.
• Volume Climax:
Volume volatility and climax detection highlight key moments of market activity, aiding in the evaluation of trend strength and potential turning points.
• Integrated Framework:
The integration of these components creates a system where each element complements the others.
This study offers a methodical approach to analyzing trends, momentum, and volatility while filtering noise. It is a tool designed to assist traders in navigating complex market conditions.
█ Disclaimer
This script is provided for educational and informational purposes only and should not be considered financial advice. Trading financial instruments carries a high level of risk and may not be suitable for all investors. Before using this script, please consult with a qualified financial advisor to ensure it aligns with your individual circumstances. The author does not guarantee the accuracy or completeness of the script and is not responsible for any losses or damages that may occur from its use. Use this script at your own risk.
Adaptive On Balance Volume with Trend█ Introduction
The Adaptive On Balance Volume (AOBV) indicator enhances the traditional On Balance Volume (OBV) by introducing adaptability, volatility detection, and trend analysis. It helps traders identify the direction of volume flow, assess volume momentum, and spot potential reversals in the market.
Detecting market tops and bottoms is crucial for making informed trading decisions. The AOBV indicator offers a method for identifying these points by using an adaptive volatility detection function that highlights potential volume peaks or climaxes, suggesting when a price top or bottom may be forming.
█ Understanding the AOBV
Note: Details on how calculations are conducted can be found at the end of this script description.
1. The Basics of the AOBV Function:
• Adaptive Momentum Calculation: Instead of using a fixed momentum formula, the AOBV uses the original formula for basic momentum and enhances it based on relative strength and applies an adaptive smoothing function.
• Dynamic Smoothing:
• Strong Momentum: When the AOBV detects significant changes (strong momentum), it reduces smoothing. This makes the indicator more responsive to major market movements.
• Weak Momentum: When momentum is weak (small changes), it increases smoothing to filter out market noise.
This adaptability allows the AOBV to more accurately reflect volume momentum, responding promptly during significant market moves and remaining stable during quieter periods.
To determine the trend direction (bullish or bearish), the indicator calculates a signal curve and displays the difference as bars:
• Bar Above the Middle Line: Indicates a bullish trend.
• Bar Below the Middle Line: Indicates a bearish trend.
2. Volatility Function:
The volatility function measures how much the AOBV deviates from its average by comparing it to its smoothed version. It calculates the exponential standard deviation to estimate volatility.
• Purpose: Identifies when volume momentum is near a climax or when a trend is nearing exhaustion.
• How It Works:
• Compares current volatility to previous bars.
• Computes a percentage indicating how often the current volatility is higher than past values.
• If this percentage exceeds a defined threshold, it signals a significant volatility event by plotting a dot above or below the bar.
This pattern typically manifests itself during strong runs on price followed by a period of consolidation. Thus, estimating volatility would be an acceptable measure of when a market is reaching or nearing an implied top or bottom.
3. The Trend Function:
The trend function combines several common indicators to gauge buildup toward a reversal or a continuation of a trend when the AOBV changes direction.
• Components:
• AOBV Strength Percentage: Calculates the percentage change in the AOBV to gauge its strength and direction.
• Supertrend Indicator: Acts as the main driver for trend buildup.
• Vertical Horizontal Filter (VHF): Measures market consolidation, adjusting the trend strength accordingly.
• Adaptive RSI: Further refines the trend strength based on volume momentum.
• Trend Ranking:
• Assigns a trend rank to the AOBV that reflects both market direction and momentum.
• Colors are used to represent different trend strengths: Strong Bullish, Bullish, Strong Bearish, and Bearish.
█ How to Use the AOBV
• Above the Middle Line: Suggests a bullish trend.
• Below the Middle Line: Suggests a bearish trend
• The Volatility dots:
• Indicate strong momentum relative to previous bars.
• Signal that the trend may be nearing a climax or exhaustion.
• Can imply a potential market top or bottom.
• Consolidation can be detected by visually comparing current bars to previous ones. This should be obvious since, and as described, the AOBV bars represent volume momentum.
• The trend function is used to gauge the likelihood of a reversal or a continuation of a trend; trend is represented with several colors: strong bullish trend, bullish trend, strong bearish trend, and finally simply a bearish trend.
It is important to understand that this trend function is not the typical trend function found on other technical indicators. It must be viewed within the context of the AOBV momentum. For example, if AOBV is exerting a bullish trend (bars above middle line), then a bearish trend with no major change in momentum and no volatility indication could mean a false reversal. Conversely, a large charge in AOBV could be a strong indication of a market reversal.
█ Key Features
• Two Display Modes: Curve and Bars:
The Adaptive OBV can be viewed in two different display modes: Curve and Bars Mode. "Curve Mode" offers the classic OBV representation (but as AOBV) with trend, while "Bars Mode" incorporates volatility detection and trend, making it the recommended mode.
• Volatility Function:
• Dots appear above or below the volume bars when significant volatility events are detected.
• The sensitivity can be adjusted by changing the percentage threshold.
• Trend Analysis:
• Helps gauge the likelihood of a trend continuation or reversal.
• Uses color-coded trend ranks for easy interpretation.
• Flexible Lookback Period:
Lookback periods for the main AOBV, its signal line, trend function, and volatility function can be customized.
• Recommendations:
• Match the main lookback period with the volatility period: Ensures consistency in momentum and volatility measurements.
• Match the trend lookback period with the signal AOBV lookback period: Aligns trend analysis with the underlying momentum signals.
Below is a sample demonstrating the utility on a 1- minute chart.
█ Calculation Details:
• AOBV Calculations
The AOBV differs the traditional OBV by focusing on the differences in OBV values rather than absolute price movements. Initially, it calculates the standard OBV by accumulating volume based on whether the closing price is higher or lower than the previous close. Next, it computes the difference between the current OBV and the previous OBV to measure changes in volume momentum. It calculates the average net change and average total change of these OBV differences over a specified period using a selected averaging method (e.g., EMA, SMA). By dividing the average net change by the average total change, it obtains a change ratio that reflects the strength and direction of volume momentum.
This change ratio is then scaled to an RSI-like value between 0 and 100, which is used to derive an adaptive smoothing factor (alpha). The alpha adjusts dynamically—when the change ratio indicates strong momentum, alpha increases, making the indicator more responsive to recent changes; when momentum is weak, alpha decreases, increasing smoothing to filter out noise.
The adaptive OBV is calculated by applying this alpha to combine the current OBV and the previous adaptive OBV value. This adaptive smoothing allows the indicator to adjust its sensitivity based on market conditions, becoming more responsive during strong momentum and more stable during weak momentum.
A smoothed OBV signal line is also computed using weighted moving averages for comparison. By analyzing the difference between the adaptive OBV and this smoothed signal line, the indicator identifies bullish or bearish trends. Positive differences suggest bullish momentum (bars above the middle line), while negative differences indicate bearish momentum (bars below the middle line).
• Volatility Calculations
The volatility function in the AOBV indicator identifies significant changes in volume momentum by estimating the variability of recent momentum shifts. It begins by calculating the difference between the AOBV and its smoothed signal line, capturing the current change in volume momentum. To assess volatility, the function employs exponential smoothing to compute adaptive averages of both the volume and the squared volume over a specified lookback period. By combining these averages, it estimates the current standard deviation of the volume momentum changes, effectively measuring how much the momentum deviates from its average level.
This estimated volatility is then compared to historical volatility values over the lookback period to determine how frequently the current volatility exceeds past levels. If the proportion of times the current volatility is higher than previous values and it surpasses a user-defined threshold, it signals a significant volatility event, indicating a potential volume climax
• Trend Calculations
As outlined earlier in description, the trend function is composed of several components:
The Supertrend indicator calculates dynamic support and resistance levels based on price movements and volatility using the Average True Range. It assesses whether the closing price is above or below these levels to determine the primary trend direction. If the price is above the Supertrend line: The market is considered to be in an uptrend. If the price is below the Supertrend line: The market is considered to be in a downtrend.
The Vertical Horizontal Filter measures the strength of the trend by comparing the price range over a period to the sum of absolute price changes. It does this by comparing the difference between the highest and lowest prices over a given period (the "vertical" movement) to the sum of the absolute differences between consecutive prices (the "horizontal" movement). A higher VHF value indicates a stronger, more directional trend, while a lower value suggests that the market is moving sideways without a clear trend.. If the VHF detects consolidation, it downgrades the trend strength indicated by the Supertrend. This prevents the trend function from overemphasizing the Supertrend's signals when the market lacks clear direction.
The Adaptive RSI Analyzes recent changes in the AOBV to identify whether volume momentum is strengthening or weakening (based on the volume percent change) correlating price movement with volume momentum. It only upgrades or downgrades on a bar by bar basis if price movement is correlating with percent change. This acts as a corrective measure against the VHF since quiet periods (consolidation) can occur between strong moves. The alpha generated from the adaptive function is the same as the one generated with the AOBV calculations.
█ Disclaimer
This script is provided for educational and informational purposes only and should not be considered financial advice. Trading financial instruments carries a high level of risk and may not be suitable for all investors. Before using this script, please consult with a qualified financial advisor to ensure it aligns with your individual circumstances. The author does not guarantee the accuracy or completeness of the script and is not responsible for any losses or damages that may occur from its use. Use this script at your own risk.
Johnny's Machine Learning Moving Average (MLMA) w/ Trend Alerts📖 Overview
Johnny's Machine Learning Moving Average (MLMA) w/ Trend Alerts is a powerful adaptive moving average indicator designed to capture market trends dynamically. Unlike traditional moving averages (e.g., SMA, EMA, WMA), this indicator incorporates volatility-based trend detection, Bollinger Bands, ADX, and RSI, offering a comprehensive view of market conditions.
The MLMA is "machine learning-inspired" because it adapts dynamically to market conditions using ATR-based windowing and integrates multiple trend strength indicators (ADX, RSI, and volatility bands) to provide an intelligent moving average calculation that learns from recent price action rather than being static.
🛠 How It Works
1️⃣ Adaptive Moving Average Selection
The MLMA automatically selects one of four different moving averages:
📊 EMA (Exponential Moving Average) – Reacts quickly to price changes.
🔵 HMA (Hull Moving Average) – Smooth and fast, reducing lag.
🟡 WMA (Weighted Moving Average) – Gives recent prices more importance.
🔴 VWAP (Volume Weighted Average Price) – Accounts for volume impact.
The user can select which moving average type to use, making the indicator customizable based on their strategy.
2️⃣ Dynamic Trend Detection
ATR-Based Adaptive Window 📏
The Average True Range (ATR) determines the window size dynamically.
When volatility is high, the moving average window expands, making the MLMA more stable.
When volatility is low, the window shrinks, making the MLMA more responsive.
Trend Strength Filters 📊
ADX (Average Directional Index) > 25 → Indicates a strong trend.
RSI (Relative Strength Index) > 70 or < 30 → Identifies overbought/oversold conditions.
Price Position Relative to Upper/Lower Bands → Determines bullish vs. bearish momentum.
3️⃣ Volatility Bands & Dynamic Support/Resistance
Bollinger Bands (BB) 📉
Uses standard deviation-based bands around the MLMA to detect overbought and oversold zones.
Upper Band = Resistance, Lower Band = Support.
Helps traders identify breakout potential.
Adaptive Trend Bands 🔵🔴
The MLMA has built-in trend envelopes.
When price breaks the upper band, bullish momentum is confirmed.
When price breaks the lower band, bearish momentum is confirmed.
4️⃣ Visual Enhancements
Dynamic Gradient Fills 🌈
The trend strength (ADX-based) determines the gradient intensity.
Stronger trends = More vivid colors.
Weaker trends = Lighter colors.
Trend Reversal Arrows 🔄
🔼 Green Up Arrow: Bullish reversal signal.
🔽 Red Down Arrow: Bearish reversal signal.
Trend Table Overlay 🖥
Displays ADX, RSI, and Trend State dynamically on the chart.
📢 Trading Signals & How to Use It
1️⃣ Bullish Signals 📈
✅ Conditions for a Long (Buy) Trade:
The MLMA crosses above the lower band.
The ADX is above 25 (confirming trend strength).
RSI is above 55, indicating positive momentum.
Green trend reversal arrow appears (confirmation of a bullish reversal).
🔹 How to Trade It:
Enter a long trade when the MLMA turns bullish.
Set stop-loss below the lower Bollinger Band.
Target previous resistance levels or use the upper band as take-profit.
2️⃣ Bearish Signals 📉
✅ Conditions for a Short (Sell) Trade:
The MLMA crosses below the upper band.
The ADX is above 25 (confirming trend strength).
RSI is below 45, indicating bearish pressure.
Red trend reversal arrow appears (confirmation of a bearish reversal).
🔹 How to Trade It:
Enter a short trade when the MLMA turns bearish.
Set stop-loss above the upper Bollinger Band.
Target the lower band as take-profit.
💡 What Makes This a Machine Learning Moving Average?
📍 1️⃣ Adaptive & Self-Tuning
Unlike static moving averages that rely on fixed parameters, this MLMA automatically adjusts its sensitivity to market conditions using:
ATR-based dynamic windowing 📏 (Expands/contracts based on volatility).
Adaptive smoothing using EMA, HMA, WMA, or VWAP 📊.
Multi-indicator confirmation (ADX, RSI, Volatility Bands) 🏆.
📍 2️⃣ Intelligent Trend Confirmation
The MLMA "learns" from recent price movements instead of blindly following a fixed-length average.
It incorporates ADX & RSI trend filtering to reduce noise & false signals.
📍 3️⃣ Dynamic Color-Coding for Trend Strength
Strong trends trigger more vivid colors, mimicking confidence levels in machine learning models.
Weaker trends appear faded, suggesting uncertainty.
🎯 Why Use the MLMA?
✅ Pros
✔ Combines multiple trend indicators (MA, ADX, RSI, BB).
✔ Automatically adjusts to market conditions.
✔ Filters out weak trends, making it more reliable.
✔ Visually intuitive (gradient colors & reversal arrows).
✔ Works across all timeframes and assets.
⚠️ Cons
❌ Not a standalone strategy → Best used with volume confirmation or candlestick analysis.
❌ Can lag slightly in fast-moving markets (due to smoothing).
Multi-Timeframe Stochastic OverviewPurpose of the Multi-Timeframe Stochastic Indicator:
The Multi-Timeframe Stochastic Indicator provides a consolidated view of market conditions across multiple timeframes (M1, M5, M15, H1) based on the Stochastic Oscillator, a popular technical analysis tool. The main objective is to allow traders to quickly assess momentum and potential trend reversals across different timeframes on a single chart, helping to make informed trading decisions.
---
General Purpose of Stochastic Oscillator:
The Stochastic Oscillator measures the relationship between a security's closing price and its price range over a given period, aiming to identify momentum, overbought/oversold levels, and potential reversal points. It works on the assumption that:
1. In uptrends, prices tend to close near their highs.
2. In downtrends, prices tend to close near their lows.
It consists of two lines:
%K (fast line): Represents the raw Stochastic value.
%D (slow line): A moving average of %K, used to smooth the data for better signals.
The indicator is generally used to:
Identify Overbought (price above 80% threshold) and Oversold (price below 20% threshold) conditions.
Spot Bullish and Bearish divergences for potential trend reversals.
Evaluate momentum strength within a trend.
---
How This Multi-Timeframe Indicator Enhances Stochastic's Utility:
1. Multi-Timeframe Overview:
The indicator calculates Stochastic values for multiple timeframes (1-minute, 5-minute, 15-minute, and 1-hour) and displays their market conditions (e.g., Bullish, Bearish, Overbought, Oversold, or Indecision) in an organized table format.
This gives traders a broad perspective on short-term, mid-term, and long-term trends simultaneously.
2. Market Condition Summary:
Bullish: Indicates upward momentum (both %K and %D > 50%).
Bearish: Indicates downward momentum (both %K and %D < 50%).
Overbought: Suggests potential trend exhaustion (both %K and %D > 80%).
Oversold: Suggests a potential reversal to the upside (both %K and %D < 20%).
Indecision: Highlights uncertainty when %K and %D are on opposite sides of the 50% level.
3. Quick Decision-Making:
The color-coded table (green for Bullish/Overbought, red for Bearish/Oversold, orange for Indecision) allows traders to quickly identify dominant conditions and momentum alignment across timeframes, helping in trade confirmation.
4. Trend Analysis:
By observing alignment or divergence in market conditions across timeframes, traders can gauge the strength of a trend or anticipate reversals. For example:
If all timeframes show "Bullish," it suggests strong momentum.
If smaller timeframes are "Overbought" while larger ones are "Bearish," it warns of a possible pullback.
5. Customizable Parameters:
The indicator allows customization of Stochastic K, D, smoothing values, and overbought/oversold levels, enabling users to tailor the analysis to specific trading styles or market conditions.
---
Use Cases:
1. Scalping:
A scalper can use lower timeframes (e.g., M1, M5) to find overbought/oversold zones for quick trades.
2. Swing Trading:
Swing traders can align smaller timeframes with higher ones (e.g., M15 and H1) to confirm momentum before entering a trade.
3. Trend Reversals:
Overbought or oversold conditions across all timeframes may indicate a major reversal point, helping traders plan exits or countertrend entries.
4. Trend Continuation:
Consistent bullish or bearish conditions across all timeframes confirm the continuation of a trend, providing confidence to hold positions.
---
Summary:
This indicator enhances the traditional Stochastic Oscillator by giving a multi-timeframe snapshot of market momentum, overbought/oversold conditions, and trend direction. It enables traders to quickly assess the overall market state, spot opportunities, and make more informed trading decisions.
ZenAlgo - HazeThe ZenAlgo - Haze indicator offers an advanced framework for analyzing market trends, momentum shifts, and potential reversals. By integrating dynamic crossovers, predictive zones, and historical validation into a single tool, it provides traders with actionable insights for better decision-making. Its configurable settings for Crypto and Traditional adapt seamlessly to the unique characteristics of each market.
Features
Dynamic Trend Labels: Identifies "Bull," "Bear," "Super Bull," and "Super Bear" states based on crossover logic, price levels, and historical trends.
Market-Specific Adaptability: Switch between Crypto and Traditional settings for optimized analysis tailored to each market’s behavior.
Predictive Kumo Cloud: Forward-projected support and resistance zones help traders anticipate potential price movements.
Lagging Span Validation: Validates trends using historical price context for improved reliability.
Integrated Signals and Alerts: Combines crossovers and momentum shifts with real-time alerts for trend confirmation.
Added Value: Why Is This Indicator Original/Why Shall You Pay for This Indicator?
The Haze indicator differentiates itself through a carefully designed synergy of components, providing a depth of analysis that extends beyond traditional Ichimoku or Donchian-based indicators. Here’s what makes it valuable to traders:
1. Dynamic and Contextual Market Labels
Labels like Bull , Bear , Super Bull , and Super Bear do not merely indicate crossovers but also account for the relative position of price to predictive cloud zones and historical trends. This layered approach ensures signals are contextual and provide a clear understanding of the market's underlying strength or weakness.
These states are especially powerful because they simplify decision-making by summarizing complex market dynamics into actionable insights.
2. Market-Specific Optimization
The ability to switch between Crypto and Traditional configurations adapts the indicator to specific market conditions. For instance, Crypto's volatility requires wider periods for trend calculations, while Forex's tighter price movements benefit from shorter, more reactive settings. This adaptability ensures precision without needing multiple separate tools.
3. Predictive Insights
The forward-shifted Kumo cloud is designed to anticipate future support and resistance zones. Unlike reactive indicators that only analyze past data, this predictive feature gives traders an edge by offering a glimpse into potential price movements.
4. Integrated Synergy
The integration of components—Donchian channels for trend calculation, Kumo cloud for projections, and Lagging Span for historical validation—creates a holistic system. These components are not merely combined but interact to validate and reinforce each other's signals, reducing noise and increasing reliability.
5. Simplification Without Sacrificing Depth
By consolidating multiple elements into a single interface, Haze reduces chart clutter. It eliminates the need for traders to interpret separate indicators manually, saving time and improving clarity. This streamlined approach is particularly useful for traders working in fast-paced markets like Crypto.
How It Works
1. Dynamic Trend Detection
The indicator evaluates crossovers between the conversion and baseline lines. However, these are not simple crossovers—Haze analyzes the relative position of the price to the forward-displaced cloud and validates signals based on historical context (Lagging Span). For example:
A Super Bull signal is generated only when the conversion line crosses above the baseline, remains above the cloud, and is supported by rising price trends. This ensures that the signal reflects sustained bullish momentum rather than temporary spikes.
Similarly, a Super Bear signal requires the price and conversion line to be below the cloud, validated by a consistent downward trend.
2. Forward-Projected Kumo Cloud
The Kumo cloud is calculated by projecting key levels derived from Donchian channels into the future. This feature helps traders identify upcoming areas of support and resistance, enabling them to anticipate market behavior rather than reacting to it.
Cloud thickness indicates the strength of these zones; a wide cloud reflects robust support or resistance, while a narrow cloud suggests potential indecision or consolidation.
3. Lagging Span Validation
By plotting the current price backward, the Lagging Span provides historical validation of trends. For example:
If the Lagging Span remains above the cloud and price, it reinforces the bullish trend.
Conversely, if it falls below the cloud and price, it confirms bearish conditions. This backward-looking validation ensures that current signals are consistent with past market behavior.
4. Real-Time Alerts
Alerts are triggered when the Fast and Slow lines (calculated from Donchian channels) cross. These alerts are offset by the cloud’s displacement period to align with forward projections. This ensures t
5. Multi-Layered Label System
The indicator dynamically adjusts the visibility of labels based on the detected market state, providing traders with concise yet comprehensive feedback. For example:
Bull and Bear labels appear for preliminary signals, while Super Bull and Super Bear labels are reserved for high-confidence trends that meet stricter conditions.
6. Market-Specific Configurations
For Crypto, the indicator uses longer periods to capture broader trends and account for high volatility.
For Traditional, shorter periods provide quicker signals, tailored to the relatively stable nature of currency pairs.
Usage Examples
The Haze indicator is designed to be intuitive yet comprehensive, offering multiple layers of analysis to guide traders. Here's how to interpret its outputs effectively:
1. Interpreting Labels
Bull and Bear : Indicate the start of potential upward or downward momentum. These labels appear when the conversion line crosses the baseline but remain within or near the cloud, signaling a trend shift with moderate confidence.
Super Bull and Super Bear : Represent strong, confirmed trends. These labels require the conversion line and price to remain firmly above (Super Bull) or below (Super Bear) the cloud, validated by consistent price movements in the same direction.
Use the Super labels as confirmation of robust trends with high reliability, ideal for entering longer-term positions or scaling into existing trades.
2. Using the Kumo Cloud
The cloud serves as a visual representation of projected support and resistance levels.
Wide Cloud Zones: Indicate strong barriers, suggesting significant price consolidation or resistance at those levels.
Narrow Cloud Zones: Suggest weaker areas of support or resistance, often seen during periods of low volatility or indecision.
Above the Cloud: Signals a bullish market condition, where price is more likely to find support near the upper cloud boundary.
Below the Cloud: Indicates bearish conditions, with resistance likely near the lower cloud boundary.
3. Incorporating Alerts
Alerts for Fast/Slow Crossover provide a timely signal of potential momentum shifts.
A Cross Up occurring near or above the cloud strengthens bullish momentum.
A Cross Down near or below the cloud reinforces bearish momentum.
Use these alerts to refine entry and exit points, particularly in trending markets.
4. Validating Trends with the Lagging Span
The Lagging Span acts as a confirmation tool, validating current trends against historical price levels:
If the Lagging Span is above both the cloud and the current price, it confirms a strong bullish trend.
If it is below both the cloud and the price, it reinforces a bearish trend.
5. Multi-Timeframe Analysis
Analyze the indicator across multiple timeframes to gain a broader perspective on the market.
Use higher timeframes (e.g., daily or 4-hour charts) to identify dominant trends.
Use lower timeframes (e.g., 1-hour or 15-minute charts) for precise entry and exit points within the context of the larger trend.
6. Combining Labels and Cloud Zones
A Bull label within the cloud indicates a nascent uptrend but warrants caution until price moves above the cloud.
A Super Bull label above the cloud confirms strong bullish momentum, making it a high-confidence signal for taking long positions.
Conversely, a Super Bear label below the cloud signals strong downward momentum and potential shorting opportunities.
By interpreting these elements together, traders can gain a clearer understanding of market conditions and make more informed decisions without relying on multiple separate tools.
Limitations
Low-Volume Markets: In illiquid markets, such as some altcoins or exotic forex pairs, signals may be less reliable. Pair the indicator with additional tools like RSI or Bollinger Bands to filter out noise.
Sideways Markets: During periods of consolidation, frequent crossovers may produce false signals. Use complementary tools to confirm breakout conditions.
Short Timeframes: On very short timeframes (e.g., 1-minute charts), market noise may lead to unreliable signals. Applying the indicator to higher timeframes can improve reliability.
Volatile Events: In markets with extreme volatility, signals may lag behind rapid price movements. For better results, combine the indicator with a volatility filter, such as the Average True Range (ATR).
Important Notes
The indicator is a technical tool designed to support market analysis and should be used alongside other strategies, including fundamental analysis and sound risk management.
Always use stop-loss orders and proper position sizing to mitigate risks, particularly in volatile or uncertain market conditions.
This indicator does not guarantee trading success or profit and should be used as part of a comprehensive strategy.
Uptrick Signal Density Cloud🟪 Introduction
The Uptrick Signal Density Cloud is designed to track market direction and highlight potential reversals or shifts in momentum. It plots two smoothed lines on the chart and fills the space between them (often called a “cloud”). The bars on the chart change color depending on bullish or bearish conditions, and small triangles appear when certain reversal criteria are met. A metrics table displays real-time values for easy reference.
🟩 Why These Features Have Been Linked Together
1) Dual-Line Structure
Two separate lines represent shorter- and longer-term market tendencies. Linking them in one tool allows traders to view both near-term changes and the broader directional bias in a single glance.
2) Smoothed Averages
The script offers multiple smoothing methods—exponential, simple, hull, and an optimized approach—to reduce noise. Using more than one type of moving average can help balance responsiveness with stability.
3) Density Cloud Concept
Shading the region between the two lines highlights the gap or “thickness.” A wider gap typically signals stronger momentum, while a narrower gap could indicate a weakening trend or potential market indecision. When the cloud is too wide and crosses a certain threshold defined by the user, it indicates a possible reversal. When the cloud is too narrow it may indicate a potential breakout.
🟪 Why Use This Indicator
• Trend Visibility: The color-coded lines and bars make it easier to distinguish bullish from bearish conditions.
• Momentum Tracking: Thicker cloud regions suggest stronger separation between the faster and slower lines, potentially indicating robust momentum.
• Possible Reversal Alerts: Small triangles appear within thick zones when the indicator detects a crossover, drawing attention to key moments of potential trend change.
• Quick Reference Table: A metrics table shows line values, bullish or bearish status, and cloud thickness without needing to hover over chart elements.
🟩 Inputs
1) First Smoothing Length (length1)
Default: 14
Defines the lookback period for the faster line. Lower values make the line respond more quickly to price changes.
2) Second Smoothing Length (length2)
Default: 28
Defines the lookback period for the slower line or one of the moving averages in optimized mode. It generally responds more slowly than the faster line.
3) Extra Smoothing Length (extraLength)
Default: 50
A medium-term period commonly seen in technical analysis. In optimized mode, it helps add broader perspective to the combined lines.
4) Source (source)
Default: close
Specifies the price data (for example, open, high, low, or a custom source) used in the calculations.
5) Cloud Type (cloudType)
Options: Optimized, EMA, SMA, HMA
Determines the smoothing method used for the lines. “Optimized” blends multiple exponential averages at different lengths.
6) Cloud Thickness Threshold (thicknessThreshold)
Default: 0.5
Sets the minimum separation between the two lines to qualify as a “thick” zone, indicating potentially stronger momentum.
🟪 Core Components
1) Faster and Slower Lines
Each line is smoothed according to user preferences or the optimized technique. The faster line typically reacts more quickly, while the slower line provides a broader overview.
2) Filled Density Cloud
The space between the two lines is filled to visualize in which direction the market is trending.
3) Color-Coded Bars
Price bars adopt bullish or bearish colors based on which line is on top, providing an immediate sense of trend direction.
4) Reversal Triangles
When the cloud is thick (exceeding the threshold) and the lines cross in the opposite direction, small triangles appear, signaling a possible market shift.
5) Metrics Table
A compact table shows the current values of both lines, their bullish/bearish statuses, the cloud thickness, and whether the cloud is in a “reversal zone.”
🟩 Calculation Process
1) Raw Averages
Depending on the mode, standard exponential, simple, hull, or “optimized” exponential blends are calculated.
2) Optimized Averages (if selected)
The faster line is the average of three exponential moving averages using length1, length2, and extraLength.
The slower line similarly uses those same lengths multiplied by 1.5, then averages them together for broader smoothing.
3) Difference and Threshold
The absolute gap between the two lines is measured. When it exceeds thicknessThreshold, the cloud is considered thick.
4) Bullish or Bearish Determination
If sma1 (the faster line) is above sma2 (the slower line), conditions are deemed bullish; otherwise, they are bearish. This distinction is reflected in both bar colors and cloud shading.
5) Reversal Markers
In thick zones, a crossover triggers a triangle at the point of potential reversal, alerting traders to a possible trend change.
🟪 Smoothing Methods
1) Exponential (EMA)
Prioritizes recent data for quicker responsiveness.
2) Simple (SMA)
Takes a straightforward average of the chosen period, smoothing price action but often lagging more in volatile markets.
3) Hull (HMA)
Employs a specialized formula to reduce lag while maintaining smoothness.
4) Optimized (Blended Exponential)
Combines multiple EMA calculations to strike a balance between responsiveness and noise reduction.
🟩 Cloud Logic and Reversal Zones
Cloud thickness above the defined threshold typically signals exceeding momentum and can lead to a quick reversal. During these thick periods, if the width exceeds the defined threshold, small triangles mark potential reversal points. In order for the reversal shape to show, the color of the cloud has to be the opposite. So, for example, if the cloud is bearish, and exceeds momentum, defined by the user, a bullish signal appears. The opposite conditions for a bullish signal. This approach can help traders focus on notable changes rather than minor oscillations.
🟪 Bar Coloring and Layered Lines
Bars take on bullish or bearish tints, matching the faster line’s position relative to the slower line. The lines themselves are plotted multiple times with varying opacities, creating a layered, glowing look that enhances visibility without affecting calculations.
🟩 The Metrics Table
Located in the top-right corner of the chart, this table displays:
• SMA1 and SMA2 current values.
• Bullish or bearish alignment for each line.
• Cloud thickness.
• Reversal zone status (in or out of zone).
This numeric readout allows for a quick data check without hovering over the chart.
🟪 Why These Specific Moving Average Lengths Are Used
Default lengths of 14, 28, and 50 are common in technical analysis. Fourteen captures near-term price movement without overreacting. Twenty-eight, roughly double 14, provides a moderate smoothing level. Fifty is widely regarded as a medium-term benchmark. Multiplying each length by 1.5 for the slower line enhances separation when combined with the faster line.
🟩 Originality and Usefulness
• Multi-Layered Smoothing. The user can select from several moving average modes, including a unique “optimized” blend, possibly reducing random fluctuations in the market data.
• Combined Visual and Numeric Clarity. Bars, clouds, and a real-time table merge into a single interface, enabling efficient trend analysis.
• Focus on Significant Shifts. Thick cloud zones and triangles draw attention to potentially stronger momentum changes and plausible reversals.
• Flexible Across Markets. The adjustable lengths and threshold can be tuned to different asset classes (stocks, forex, commodities, crypto) and timeframes.
By integrating multiple technical concepts—cloud-based trend detection, color coding, reversal markers, and an immediate reference table—the Uptrick Signal Density Cloud aims to streamline chart reading and decision-making.
🟪 Additional Considerations
• Timeframes. Intraday, daily, and weekly charts each yield different signals. Adjust the smoothing lengths and threshold to suit specific trading horizons.
• Market Types. Though applicable across asset classes, parameters might need tweaking to address the volatility of commodities, forex pairs, or cryptocurrencies.
• Confirmation Tools. Pairing this indicator with volume studies or support/resistance analysis can improve the reliability of signals.
• Potential Limitations. No indicator is foolproof; sudden market shifts or choppy conditions may reduce accuracy. Cautious position sizing and risk management remain essential.
🟩 Disclaimers
The Uptrick Signal Density Cloud relies on historical price data and may lag sudden moves or provide false positives in ranging conditions. Always combine it with other analytical techniques and sound risk management. This script is offered for educational purposes only and should not be considered financial advice.
🟪 Conclusion
The Uptrick Signal Density Cloud blends trend identification, momentum assessment, and potential reversal alerts in a single, user-friendly tool. With customizable smoothing methods and a focus on cloud thickness, it visually highlights important market conditions. While it cannot guarantee predictive accuracy, it can serve as a comprehensive reference for traders seeking both a quick snapshot of the current trend and deeper insights into market dynamics.
PDF-MA Supertrend [BackQuant]PDF-MA Supertrend
The PDF-MA Supertrend combines the innovative Probability Density Function (PDF) smoothing with the widely popular Supertrend methodology, creating a robust tool for identifying trends and generating actionable trading signals. This indicator is designed to provide precise entries and exits by dynamically adapting to market volatility while visualizing long and short opportunities directly on the chart.
Core Feature: PDF Smoothing
At the foundation of this indicator is the PDF smoothing technique, which applies a Probability Density Function to calculate a smoothed moving average. This method allows the indicator to assign adaptive weights to data points, making it responsive to market changes without overreacting to short-term volatility.
Key parameters include:
Variance: Controls the spread of the PDF weighting. A smaller variance results in sharper responses, while a larger variance smooths out the curve.
Mean: Shifts the PDF’s center, allowing traders to tweak how weights are distributed around the data points.
Smoothing Method: Offers the choice between EMA (Exponential Moving Average) and SMA (Simple Moving Average) for blending the PDF-smoothed data with traditional moving average methods.
By combining these parameters, the PDF smoothing creates a moving average that effectively captures underlying trends.
Supertrend: Adaptive Trend and Volatility Tracking
The Supertrend is a well-known volatility-based indicator that dynamically adjusts to market conditions using the ATR (Average True Range). In this script, the PDF-smoothed moving average acts as the price input, making the Supertrend calculation more adaptive and precise.
Key Supertrend Features:
ATR Period: Determines the lookback period for calculating market volatility.
Factor: Multiplies the ATR to set the distance between the Supertrend and the price. A higher factor creates wider bands, filtering out smaller price movements, while a lower factor captures tighter trends.
Dynamic Direction: The Supertrend flips its direction based on price interactions with the calculated upper and lower bands:
Uptrend : When the price is above the Supertrend, the direction turns bullish.
Downtrend : When the price is below the Supertrend, the direction turns bearish.
This combination of PDF smoothing and Supertrend calculation ensures that trends are detected with greater accuracy, while volatility filters out market noise.
Long and Short Signal Generation
The PDF-MA Supertrend generates actionable trading signals by detecting transitions in the trend direction:
Long Signal (𝕃): Triggered when the trend transitions from bearish to bullish. This is visually represented with a green triangle below the price bars.
Short Signal (𝕊): Triggered when the trend transitions from bullish to bearish. This is marked with a red triangle above the price bars.
These signals provide traders with clear entry and exit points, ensuring they can capitalize on emerging trends while avoiding false signals.
Customizable Visualization Options
The indicator offers a range of visualization settings to help traders interpret the data with ease:
Show Supertrend: Option to toggle the visibility of the Supertrend line.
Candle Coloring: Automatically colors candlesticks based on the trend direction:
Green for long trends.
Red for short trends.
Long and Short Signals (𝕃 + 𝕊): Displays long (𝕃) and short (𝕊) signals directly on the chart for quick identification of trade opportunities.
Line Color Customization: Allows users to customize the colors for long and short trends.
Alert Conditions
To ensure traders never miss an opportunity, the PDF-MA Supertrend includes built-in alerts for trend changes:
Long Signal Alert: Notifies when a bullish trend is identified.
Short Signal Alert: Notifies when a bearish trend is identified.
These alerts can be configured for real-time notifications via SMS, email, or push notifications, making it easier to stay updated on market movements.
Suggested Parameter Adjustments
The indicator’s effectiveness can be fine-tuned using the following guidelines:
Variance:
For low-volatility assets (e.g., indices): Use a smaller variance (1.0–1.5) for smoother trends.
For high-volatility assets (e.g., cryptocurrencies): Use a larger variance (1.5–2.0) to better capture rapid price changes.
ATR Factor:
A higher factor (e.g., 2.0) is better suited for long-term trend-following strategies.
A lower factor (e.g., 1.5) captures shorter-term trends.
Smoothing Period:
Shorter periods provide more reactive signals but may increase noise.
Longer periods offer stability and better alignment with significant trends.
Experimentation is encouraged to find the optimal settings for specific assets and trading strategies.
Trading Applications
The PDF-MA Supertrend is a versatile indicator suited to a variety of trading approaches:
Trend Following : Use the Supertrend line and signals to follow market trends and ride sustained price movements.
Reversal Trading : Spot potential trend reversals as the Supertrend flips direction.
Volatility Analysis : Adjust the ATR factor to filter out minor price fluctuations or capture sharp movements.
Final Thoughts
The PDF-MA Supertrend combines the precision of Probability Density Function smoothing with the adaptability of the Supertrend methodology, offering traders a powerful tool for identifying trends and volatility. With its customizable parameters, actionable signals, and built-in alerts, this indicator is an excellent choice for traders seeking a robust and reliable system for trend detection and entry/exit timing.
As always, backtesting and incorporating this indicator into a broader strategy are recommended for optimal results.
tripleFlows Master EUR - by ManhDNThe TripleFlows Master EUR indicator is a technical analysis tool designed for TradingView to systematically evaluate the strength or weakness of the Euro (EUR) across 7 major currency pairs. This indicator provides a clear and objective measure of EUR momentum by analyzing moving averages, aggregating the data into a comprehensive Flow Index, and visualizing the collective price action of the Euro.
---
How It Works
1. Data Collection:
- The indicator pulls price data from the 7 most significant EUR currency pairs:
EUR/USD, EUR/JPY, EUR/GBP, EUR/AUD, EUR/CAD, EUR/NZD, and EUR/CHF.
2. Moving Average Calculation:
- For each of the 7 currency pairs, the indicator computes:
- A 5-period moving average (MA).
- A 20-period moving average (MA).
- It then compares these two moving averages to identify whether the trend for each pair is bullish or bearish:
- If MA(5) > MA(20), the trend is considered bullish for the Euro.
- If MA(5) < MA(20), the trend is considered bearish for the Euro.
3. Flow Index Aggregation:
- The indicator aggregates the trend signals from all 7 currency pairs to calculate a Flow Index, which ranges from -100 to +100:
- +100: All 7 pairs indicate a bullish trend for EUR (maximum strength).
- -100: All 7 pairs indicate a bearish trend for EUR (maximum weakness).
- Values closer to 0 indicate a more neutral market condition.
4. Visual Representation of Composite Price Action:
- In addition to the Flow Index, the TripleFlows Master EUR generates a **composite candlestick chart** based on the aggregated price action of the 7 EUR pairs.
- This chart provides a clear visual representation of the Euro's overall price behavior, allowing traders to analyze trends directly through candlestick patterns and moving averages.
- By observing this chart, traders can make decisions based on the combined action of all 7 pairs, rather than relying on a single pair.
5. Triple Flow Calculation Across Timeframes:
- The Flow Index is calculated on three timeframes:
- Junior (short timeframe).
- Medior (medium timeframe).
- Senior (long timeframe).
- The indicator evaluates the Flow Index across these three timeframes to determine Triple Flow:
- Triple Flow Up (Bullish): All three timeframes show a Flow Index of +100.
- Triple Flow Down (Bearish): All three timeframes show a Flow Index of -100.
---
Purpose and Application
- Trend Confirmation:
The TripleFlows Master EUR provides objective trend confirmation by synthesizing data across multiple pairs and timeframes.
- Bullish Trend: Look for opportunities to go long when Triple Flow Up is confirmed.
- Bearish Trend: Look for opportunities to go short when Triple Flow Down is confirmed.
- Multi-Timeframe Consistency:
The synchronization of the Flow Index across junior, medior, and senior timeframes ensures high-probability setups by aligning short-term and long-term trends.
- Composite Price Action Analysis:
The composite candlestick chart simplifies the analysis of EUR price behavior by aggregating data from 7 pairs, helping traders identify trends, key levels, and patterns visually.
---
Outputs and Visuals
1. Flow Index:
- Displayed as a value between -100 and +100, showing the aggregated strength or weakness of the Euro.
2. Composite Candlestick Chart:
- A real-time chart that represents the Euro's collective price action across 7 pairs.
3. Triple Flow Status:
- Visual indication of Triple Flow conditions (e.g., Triple Flow Up or Triple Flow Down) based on the alignment of Flow Index values across all three timeframes.
4. Alerts:
- The indicator includes alerts for when a Triple Flow Up or Down condition is detected, allowing users to respond to key market opportunities.
---
Technical Notes
- Flow Index Calculation:
The calculation is based purely on the relative position of the 5-period and 20-period moving averages across 7 pairs. It does not rely on external factors, ensuring the results are fully derived from price data.
- Composite Price Action:
The composite candlestick chart integrates the aggregated price movements of 7 pairs into a single, easy-to-read visual representation.
- Scalability Across Timeframes:
The TripleFlows Master EUR can be applied to any trading style, as it adapts to various timeframes:
- Junior timeframe for intraday analysis.
- Medior timeframe for swing trading.
- Senior timeframe for position trading.
---
Conclusion
The TripleFlows Master EUR indicator provides a robust, data-driven solution for analyzing the Euro’s performance across major currency pairs. By aggregating price action from 7 pairs into a composite candlestick chart and synchronizing trends across multiple timeframes, the indicator eliminates the limitations of analyzing individual pairs in isolation. This comprehensive approach ensures traders can identify trends and opportunities with greater accuracy and confidence.
Dual EMA Proportion Variance | JeffreyTimmermansDual EMA Proportion Variance
The "Dual EMA Proportion Variance" Indicator provides a robust way to analyze price trends, volatility, and momentum using dual EMA calculations combined with percentile-based thresholds. This approach enables traders to identify significant bullish and bearish trends while incorporating smoothing and tailoring options for better adaptability.
Key Features
Dual EMA with Proportion Variance
DEMA Calculation: Computes the Dual Exponential Moving Average (DEMA) based on a user-defined length and source.
Proportion Thresholds: Uses percentile-based thresholds (e.g., 60/45, 60/40, 55/45, or 55/40) to determine upper and lower bounds for trend detection. Percentile thresholds help identify key levels of market behavior based on historical data.
Momentum and Volatility Analysis
Momentum Calculation: Computes momentum based on proximity to percentile levels, smoothed using a simple moving average (SMA) if enabled.
Volatility Incorporation: Uses the standard deviation (SD) of the lower percentile (PerDown) to define additional levels of significance.
Smoothing and Trend Calculation
Smoothing Options: Enables optional smoothing for momentum and trend values, helping reduce noise.
EMA Confluence: Adds an additional EMA overlay to enhance the trend confirmation process.
Customizable Visuals
Background Coloring: Dynamically changes the background color based on trend direction (bullish or bearish).
Momentum Plotting: Displays smoothed momentum and EMA confluence lines on the chart, with clear visual differentiation.
Alerts
Bullish Signal: Triggers when the trend transitions from neutral or bearish to bullish.
Bearish Signal: Triggers when the trend transitions from neutral or bullish to bearish.
Inputs Overview
DEMA Inputs
Length (DemaLen): Defines the length of the Dual EMA calculation.
Source (DemaSrc): Allows selection of price data (e.g., high, low, close) for the DEMA computation.
Proportion Settings
Proportion Length (PerLen): Defines the lookback period for percentile calculations.
Proportion Type (pertype): Choose from predefined combinations (e.g., 60/45, 60/40) to customize thresholds.
Smoothing Options
Enable Smoothing (UseSmoothing): Toggle to enable or disable smoothing.
Smoothing Length (SmoothingLen): Specifies the lookback period for smoothing.
Standard Deviation
Length (SDlen): Length of the lookback period used to calculate the standard deviation.
Tailoring
Bullish/Bearish Colors (ColUp/ColDown): Customizable colors for bullish and bearish trends.
Background Colors (ShowBGCol): Toggle to enable or disable background coloring.
Momentum Plot (PlotMomentum): Toggle to show or hide the momentum plot.
EMA Confluence
Enable Extra EMA (IncludeEma): Adds an additional EMA layer for trend confirmation.
Length (EmaLen): Defines the length of the EMA.
Indicator Behavior
Trend Detection
Bullish Trend: When the smoothed momentum (smoothedPT) is above zero and higher than the EMA (if enabled).
Bearish Trend: When the smoothed momentum is below zero and lower than the EMA (if enabled).
Signal Generation
Bullish Signal: Triggered on a crossover of smoothedTrend from negative to positive.
Bearish Signal: Triggered on a crossunder of smoothedTrend from positive to negative.
Customizations
Percentile Adjustments: Choose from various proportion thresholds to suit specific market conditions.
Smoothing Options: Fine-tune the level of noise reduction by adjusting smoothing parameters.
Visual Tailoring: Customize chart visuals, including colors, momentum plots, and background highlights.
EMA Inclusion: Optionally enable the extra EMA for more conservative trend confirmation.
Use Cases
Momentum Trading: Identify bullish or bearish momentum shifts based on percentile levels.
Volatility Assessment: Incorporate standard deviation levels to evaluate price volatility.
Trend Following: Align trades with dominant market trends using percentile thresholds and EMA confirmation.
Alerts for Automation: Set alerts for real-time notifications of potential trade opportunities.
This indicator provides flexibility and precision, making it suitable for a variety of trading styles, including trend following, swing trading, and momentum-based strategies.
This script is inspired by "Patito_1" . However, it is more advanced and includes additional features and options.
-Jeffrey
Directional Regime FilterThe Directional Regime Filter is a comprehensive tool designed to help traders identify the market’s dominant regime—bullish, bearish, or choppy/sideways. By blending a Jurik Moving Average (JMA), an RSI filter, an angle-based trend assessment, and multiple smoothing options, this indicator offers a refined approach to spotting trend direction and potential regime shifts. It highlights each regime visually on the chart, allowing you to quickly see when bullish or bearish momentum is emerging or fading.
Features:
The Jurik Moving Average, known for its low lag and smooth responsiveness, allows the tweaking of length, phase, and power to reduce noise while capturing price action effectively.
Relative Strength Index (RSI) with user-defined length and overbought/oversold levels serve as filters for trend confirmation.
A trend threshold is used to decide if the angle of the moving average is strong enough to be considered bullish or bearish. If the angle remains below this threshold, the market is considered to be “choppy” or sideways.
Multiple smoothing methods like EMA, Hull MA, RMA, WMA, or VWMA can be applied to the RSI and the trend angle calculations to further reduce whipsaws and noise.
Customizable timeframe analysis.
Regime Classification:
Bullish Regime: Displayed when the angle is positive beyond the set threshold and the RSI is bullish.
Bearish Regime: Displayed when the angle is negative beyond the set threshold and the RSI is bearish.
Choppy / Sideways Regime: Occurs when the angle does not exceed the threshold in absolute terms or does not meet RSI criteria.
Using the Directional Regime Filter:
This indicator works best when combined with support/resistance levels, volume analysis, or other momentum tools for confirmation.
Tailor the inputs for intraday, swing, or position trading to find an optimal balance between responsiveness and false signals.
Sudden spikes in volatility can cause rapid changes in the trend angle. Keep an eye on the broader market context. Always manage your risk accordingly.
Disclaimer: This indicator is intended for informational and educational purposes only. It is not financial advice. Always perform your own analysis and due diligence. Past performance does not guarantee future results. Use at your own risk.
XAUMOvisionXAUMOvision: T he XAU/USD Composite Correlation Indicator with Weighted Spillover & Dynamic Lines
XAUMOvision is a custom-built trading indicator designed to track the intricate relationship between XAU/USD (Gold) and key economic factors: DXY (US Dollar Index), US Treasury Yields, S&P 500, and Crude Oil. By blending correlation metrics with weighted spillover effects, XAUMOvision offers actionable insights to refine your Gold trading strategy.
Core Features of XAUMOvision
1. Correlation (CC)
Definition: Measures how closely two assets move together over a given period.
Calculation: Pearson Correlation is used to assess Gold's relationship with:
DXY: Negative correlation—when DXY rises, Gold typically falls.
US Treasury Yields: Negative correlation—higher yields reduce Gold’s appeal.
S&P 500: Opposite movement, as Gold acts as a safe-haven.
Crude Oil: Positive correlation—both often rise during inflationary pressures.
2. Weighted Spillover
What It Does: Quantifies how movements in each asset (DXY, Yields, etc.) influence Gold.
Weighting: User-defined values (e.g., DXY weight = 0.4) scale each factor’s impact.
Result: A total spillover score reveals bullish or bearish sentiment for XAU/USD.
3. Composite Bias Line
Purpose: Consolidates spillover impacts into a single sentiment indicator.
Readings:
Strong Bullish: Composite Bias > 0.5.
Neutral: Close to 0.
Strong Bearish: Composite Bias < -0.5.
Output: A directional bias to guide your trading decisions.
4. Traffic Signal Line
Visual Cues:
Green: Strong Bullish Signal.
Red: Strong Bearish Signal.
Gray: Neutral—avoid trading.
Utility: A quick, color-coded overview of market conditions.
Using XAUMOvision Effectively
When to Use
During high volatility or major news events (e.g., CPI, interest rate decisions).
To understand macroeconomic forces driving Gold’s price action.
Recommended Timeframes
4-Hour: Ideal for swing traders seeking medium-term setups.
Daily: Perfect for macro trend analysis.
Weekly: Suitable for long-term investors aligning with broader trends.
---------------------------------------------------------------------------------
Practical Example
Monday, January 13, 2025 (Neutral Market)
Market Behavior: Gold stagnated (-0.96%), with low volume (681.13K).
Indicator Insights:
Composite Spillover: -0.92 (mild bearish pressure).
Traffic Signal Line: Gray—stay out of the market.
Bias Line: Weak Bearish (-1), signaling no strong trend.
Result: XAUMOvision kept traders from entering a choppy, low-volume market.
Wednesday, January 15, 2025 (CPI-Driven Rally)
CPI Release: Core CPI softer than expected (0.2% vs. 0.3%), weakening the DXY and Yields. Gold surged.
Indicator Insights:
Composite Spillover: +0.57 (strong bullish sentiment).
Traffic Signal Line: Green—clear buy signal.
Bias Line: Strong Bullish (+2), confirming the trend.
Result: Traders aligned with institutional flows and profited from the CPI-driven rally.
--------------------------------------------------------------------------------
Why XAUMOvision Stands Out
Avoids Bad Trades: Neutral signals and low-volume days keep you sidelined during indecisive markets.
Pinpoints Big Moves: Green signals during high-impact events help you capitalize on major trends.
Volume Validation: Confirms institutional activity to distinguish real trends from fakeouts.
Conclusion: Trade Like a Pro
XAUMOvision blends macroeconomic analysis with real-time technical indicators, ensuring you stay ahead of market moves. Whether navigating neutral markets or CPI-driven surges, this tool provides clarity and confidence in your trading decisions. For swing traders and macro enthusiasts, XAUMOvision is the ultimate weapon in Gold trading.
Dual EMA Volatility Barrier | JeffreyTimmermansDual EMA Volatility Barrier
The "Dual EMA Volatility Barrier" indicator combines the power of the Double Exponential Moving Average (DEMA) with volatility-based stops to provide a robust trend-following system. This indicator helps traders identify and confirm trends, offering a way to filter out noise using volatility measures like the Average True Range (ATR) and a higher timeframe filter for additional trend validation.
Key Features
Dual Exponential Moving Average (DEMA):
DEMA Calculation: A more responsive moving average that reduces lag compared to standard EMAs. This helps detect trend changes faster.
Source Customization: Allows traders to choose the source (default is close), which can help adapt the strategy for different market conditions.
Volatility Barrier (Vstop):
Volatility-Based Stops: The Vstop is calculated using the Average True Range (ATR) multiplied by a user-defined factor. This forms a dynamic stop level that adjusts based on market volatility.
Trend Direction: The Vstop adapts to whether the market is in an uptrend or downtrend, providing a stop-loss level that moves accordingly.
Higher Timeframe Trend Filter:
Higher Timeframe DEMA: The higher timeframe filter uses a DEMA from a larger timeframe to confirm the trend direction. Only consider bullish signals if the price is above the higher timeframe DEMA.
Customizable Higher Timeframe: Traders can select any timeframe (e.g., D for daily) to check the trend from a higher perspective.
Signal Generation:
Bullish Signal: Triggered when the trend is up, and the price is above the higher timeframe DEMA, with a corresponding Vstop change indicating an upward trend.
Bearish Signal: Triggered when the trend is down and the price is below the higher timeframe DEMA, with a corresponding Vstop change indicating a downward trend.
Trend Reversals: Identifies key trend reversals by showing the transition between uptrend and downtrend states.
Plotting and Visuals:
DEMA and Vstop Plot: The indicator plots both the DEMA and the Vstop on the chart, providing a visual guide for trend and volatility.
Background Color Fill: The area between the DEMA and Vstop is filled with a color (green for bullish, red for bearish) to provide a clear visual representation of the trend.
Signal Labels: Plot arrows and labels ("Bullish" and "Bearish") directly on the chart to highlight trend changes.
Dashboard:
Ticker & Timeframe Display: The dashboard in the bottom-right corner shows the current symbol (ticker) and timeframe, along with the current trend (Bullish or Bearish).
Real-Time Updates: The dashboard updates in real time, providing traders with quick insights into the current market conditions.
Alerts:
Bullish Alert: Activated when the trend is bullish and confirmed by the higher timeframe DEMA.
Bearish Alert: Activated when the trend is bearish and confirmed by the higher timeframe DEMA.
Customizable Messages: Alerts provide details about the ticker and trend conditions for easy action.
Improvements:
Higher Timeframe Filtering: The higher timeframe DEMA filter ensures that traders align their trades with the broader market trend, improving the overall accuracy of signals.
Volatility-Based Stops: The ATR-based volatility stops allow for adaptive risk management that responds to changing market conditions.
Dynamic Signal Detection: The bullish and bearish signals change in real time, providing actionable insights for traders.
Visual and Dashboard Updates: The chart visually reflects the trend and volatility dynamics, while the dashboard provides summary information at a glance.
Customizable Alerts: Alerts based on trend changes make it easy to stay informed without constantly monitoring the chart.
Use Cases:
Trend Following: Ideal for identifying and following strong trends by combining short-term and long-term trend indicators.
Volatility-Based Risk Management: Use the Vstop to manage trade exits, as it adjusts to market volatility.
Higher Timeframe Confirmation: Use the higher timeframe DEMA to ensure that the trade aligns with the overall market trend.
Alerts for Real-Time Action: Set alerts to notify when the market signals a shift, whether bullish or bearish.
The Dual EMA Volatility Barrier is a powerful tool for traders seeking to combine trend-following with volatility management. The integration of DEMA, ATR, and a higher timeframe filter allows for a more nuanced understanding of market conditions, ensuring traders can make informed decisions with minimal lag.
This script is inspired by "viResearch" . However, it is more advanced and includes additional features and options.
-Jeffrey
SuperTrend Oscillator# SuperTrend Oscillator - User Guide
## Chapter 1: Introduction
The SuperTrend Oscillator is a versatile and powerful indicator designed to assist traders in identifying market trends, reversals, and momentum. This indicator leverages complex calculations and smoothing techniques to provide actionable signals. The SuperTrend Oscillator can be used for intraday, swing, and positional trading, making it suitable for various market conditions and trading styles.
## Chapter 2: Calculations Overview
The SuperTrend Oscillator relies on a combination of:
Trend Strength : Calculated using a weighted summation of price deviations over short and long periods.
Bull and Bear Lines : Derived from the typical price and smoothed using EMA to highlight underlying market trends.
Signal Lines : The crossing of trend lines and EMAs identifies potential entry and exit points.
### Key Elements:
- Typical Price : An average of open, high, low, and close prices.
- Lowest Low and Highest High **: Identified over specific periods to normalize the oscillator values.
- Exponential Moving Averages (EMA) : Smoothing techniques to reduce noise and improve trend clarity.
- Threshold Levels : Critical levels (e.g., 25, 75) are used to identify oversold and overbought conditions.
## Chapter 3: Oscillator Visualization
The SuperTrend Oscillator plots two main components:
Bull and Bear Lines : Represent short-term and long-term trends.
EMA Crossovers : Highlight shifts in market momentum.
### Candle Width and Color:
- Yellow Candles : Indicate a bullish phase in the short-term trend.
- Fuchsia Candles : Indicate a bearish phase in the short-term trend.
- Green Candles : Signal an uptrend in the long-term trend.
- Red Candles : Signal a downtrend in the long-term trend.
NB: The width of the oscillator candles reflects the strength of the trend, with wider candles indicating stronger trends.
## Chapter 4: Signal Generation
### Entry Signals:
- ** Fast Buy Signal **: Occurs when:
- The short-term trend transitions from bearish (fuchsia) to bullish (yellow).
- The short-term bull line is below 40.
- The long-term bull line is above 50.
- Accumulation/distribution signals are positive.
- ** Fast Sell Signal **: Occurs when:
- The short-term trend transitions from bullish (yellow) to bearish (fuchsia).
- The short-term bull line is above 60.
- The long-term bull line is below 45.
- Accumulation/distribution signals are negative.
### Exit Signals:
- ** Super Long Exit / Short Entry **: Triggered when:
- Both the short-term and long-term trends indicate overbought conditions (bull line > 75).
- Crossunder between trend and bull lines.
- ** Super Short Exit / Long Entry **: Triggered when:
- Both the short-term and long-term trends indicate oversold conditions (bull line < 25).
- Crossover between trend and bull lines.
## Chapter 5 : Trading Strategies
### Trend Following:
1. ** Identify the Trend **:
- Use the color and slope of the oscillator candles.
- Green and yellow candles indicate an uptrend; red and fuchsia candles indicate a downtrend.
2. ** Enter Trades **:
- Look for fast buy signals in an uptrend and fast sell signals in a downtrend.
3. ** Exit Trades **:
- Use super exit signals to close positions.
### Range Trading:
1. ** Identify Ranges **:
- Monitor bull and bear lines oscillating within 25 to 75.
2. ** Enter Trades **:
- Buy near oversold conditions (bull line < 25).
- Sell near overbought conditions (bull line > 75).
### Divergence Trading:
1. ** Identify Divergence **:
- Compare the oscillator with price action.
2. ** Enter Trades **:
- Buy when the price makes a lower low, but the oscillator makes a higher low.
- Sell when the price makes a higher high, but the oscillator makes a lower high.
## Chapter 6: Alerts
The SuperTrend Oscillator includes built-in alerts for:
1. **Super Long**: When both short-term and long-term entry signals align.
2. **BankEntry Long**: When either short-term or long-term entry signals are triggered.
3. **Super Short**: When both short-term and long-term exit signals align.
4. **BankExit Short**: When either short-term or long-term exit signals are triggered.
### Setting Alerts:
To enable alerts, use the alert messages included in the script. These alerts provide timely notifications for trade entries and exits.
## Chapter 7: How to Use
1. **Add the Indicator**:
- Apply the SuperTrend Oscillator to your chart.
2. **Monitor Signals**:
- Use visual cues (colors and shapes) to identify trade opportunities.
3. **Set Alerts**:
- Configure alerts to receive notifications.
### Example Use Case:
- For intraday trading, set the oscillator to shorter periods for quicker signals.
- For swing trading, use longer periods to reduce noise and capture broader trends.
## Chapter 8: Disclaimer
The SuperTrend Oscillator is a tool to aid trading decisions and does not guarantee profits. Always combine it with risk management and other analysis techniques to ensure a comprehensive trading strategy.
Green/Red Candle Probability (EMA 7, SMA 20, SMA 200)### Strategy Explanation for Candle Probability Indicator
This script is designed to calculate the **probability of bullish (green) and bearish (red) candles** over a given analysis period. It leverages three key moving averages to identify market trends and display these probabilities directly on the chart, making it easier for traders to make informed decisions.
#### **How the Script Works:**
1. **Trend Detection Using Moving Averages:**
- The script calculates three moving averages:
- **EMA (Exponential Moving Average) over 7 periods**
- **SMA (Simple Moving Average) over 20 periods**
- **SMA over 200 periods**
The trend is classified as:
- **Bullish:** When EMA 7 > SMA 20 > SMA 200
- **Bearish:** When EMA 7 < SMA 20 < SMA 200
2. **Candle Analysis:**
The script analyzes the last "n" candles (based on the user-defined lookback period) to count the number of bullish and bearish candles:
- **Bullish (green) candle:** The closing price is higher than the opening price.
- **Bearish (red) candle:** The closing price is lower than the opening price.
3. **Probability Calculation:**
The probabilities are calculated as a percentage of bullish and bearish candles in the lookback period:
- **Green Probability (%) = (Number of Green Candles / Lookback Period) × 100**
- **Red Probability (%) = (Number of Red Candles / Lookback Period) × 100**
4. **Displaying Results in a Table:**
The results are displayed in a table on the chart, including:
- **Green Probability (%)**
- **Red Probability (%)**
- **Current Trend (Bullish, Bearish, or Neutral)**
#### **Strategy Overview:**
This indicator provides traders with a quick overview of the candle probabilities and the current market trend based on moving averages. It helps traders:
- Gauge the likelihood of bullish or bearish candles appearing in the near future.
- Identify the prevailing trend (bullish, bearish, or neutral).
- Adjust their trading strategies based on statistical probabilities rather than assumptions.
### **Important Notes:**
- The lookback period can be customized between **10 and 200 periods**.
- The indicator does not provide buy/sell signals but gives insights into market behavior.
By understanding the candle probabilities and the trend, traders can better assess market conditions and improve their decision-making process.
Colored Stacked EMA RibbonThis script is my interpretation of an idea from John Carter in his interview with Richard Moglen.
The idea of moving average ribbons or simply multiple moving averages has been around since moving averages were created. But many of these ideas, such as the Guppy Multiple Moving Averages focus on price closes above a moving average (or multiple moving averages).
In this version, the idea is that the EMAs are compared to each other from shortest to longest. In a completely bullish alignment, the EMAs are referred to as "stacked" in which, for example, the 8 EMA > 13 EMA, the 13 EMA > 21 EMA and so on. When the EMAs are "stacked" in a fully bullish alignment, the EMA cloud is filled green. When the EMAs are "stacked" in a fully bearish alignment, the EMA cloud is filled red.
In addition, I've colored the EMA lines themselves according to if they are rising (green) or falling (red) over a user inputted lookback. The default is "1" period, but it is adjustable. (Generally, I use "1" for the lookback.)
When the EMA lines flip from mixed (rising/falling) to all rising, a green triangle is drawn under the bar/candle. Similarly, when the EMA lines flip from mixed (falling/rising) to all falling, a red triangle is drawn over the bar/candle. This gives the user another potential entry in the context of a stacked EMA cloud. It also can give early signals for entry in a neutral cloud.
Candles/bars are colored according to the EMA cloud & EMA line status. So, for example, a bullish stacked EMA cloud (green) and all EMA lines green, will result in a bright green candle color. IF the cloud is green, but the EMA lines are mixed (red/green), this will result in a dark green candle. Similar logic applies to the bearish conditions which result in red (most bearish) or orange (still bearish) candle colors. IF the EMA cloud is neither bullishly stacked or bearishly stacked, then those candles will appear as gray (neutral).
There are many ways to use this script, but it excels in a trending market. John Carter often sets limit buys in an area near the 21D EMA in names that are trending & he wants to get in. The 13D EMA linewidth is set at 2 and the 21D EMA linewidth is set a 3 to easily identify this area. Now, you can "buy the dip" or "short the rip" within the context of a trending market (which the script identifies with green or red EMA clouds). Or you can wait for some confirmation via the green triangle (or something else like a candle stick pattern or trendline break). Remember to set stops in case price goes against you.
1 final note this is not a "magic bullet", but for a single indicator it does alot of work & personally I've found it to be very useful on multiple time frames. I do recommend combining it with volume (or a volume-based indicator).
Update #1: This updated version allows the user to adjust candle colors, forces the script to wait for bar closes on intraday charts (if conditions are met) before plotting triangles, and removes a link to YT. In addition, non-intraday charts (daily, weekly, etc) will flash a triangle intraday (if conditions are met) before updating completely at the close.
tabbys star [Algo Seeker]Tabbys Star Mission:
Identifying key supply and demand areas for entries, identifying trends for holding positions, and locating potential re-entry or exit points is incredibly useful for traders and investors. This algorithm is designed to simplify these critical processes by providing actionable and intuitive tools directly on the chart.
🟢 Supply & Demand Zones (S&D)
The algorithm identifies key entry points by creating supply and demand blocks that automatically expand across the chart. These blocks remain active until invalidated, helping traders maintain awareness of significant price levels. When a new pivot point is identified, the algorithm generates a new supply or demand block that starts expanding from that pivot. This functionality enables traders to monitor evolving zones while referencing older ones, which might still act as weaker pivot points. These areas are incredibly unique and useful for traders, as they dynamically adapt to price action and provide clear visual cues for decision-making.
🟢 Continuation and Exit Signals
The algorithm also highlights areas for potential re-entries or exits. When the price moves beyond a supply or demand block, arrows are displayed to signal that this area may now be optimal for re-entering a trade or exiting a position.
Separating this logic from supply and demand zones offers significant flexibility for traders. For example, those who wish to hold positions initiated at an order block can confidently wait for these signals before taking profits. Similarly, traders who missed the initial opportunity at an order block can use these signals to evaluate new trade opportunities. This feature is incredibly useful for adapting to evolving market conditions.
🟩 Important Note
Arrow/triangle signals are not definitive indicators of upward or downward movement; they serve as calls to attention. These signals should be analyzed in conjunction with supply and demand zones.
For example, if a signal suggests bullish movement but the price falls below the current supply or demand zone, the signal was merely a call to attention. In such cases, it may indicate the need to set a stop loss or even consider a bearish trade below the zone.
Signals should be viewed as one of several factors to consider and should never be traded on in isolation.
🟢 Trendlines for Additional Confluence
In addition to supply and demand zones, the algorithm generates trendlines to help traders better visualize market trends. These trend lines are drawn from pivot points within the supply and demand blocks, providing an additional layer of confluence. For traders who rely on trendline breaks to make decisions, this feature enhances the overall analysis and adds value to the trading strategy.
🟢 Candle Color Coding
To further enhance clarity, the algorithm color-codes candles based on their position relative to the most recent order block:
Bullish: When the price is above the most recent order block.
Neutral: When the price is within the order block.
Bearish: When the price is below the order block.
This color-coding offers a unique and useful visual representation of the current market sentiment, allowing traders to assess price action at a glance.
Settings Overview
🟢Calculation Strength
This setting allows the user to choose how strict the algorithm should be when calculating data. The Standard option generates more entry and exit signals because the calculations are more lenient.. The Restrictive option uses stricter calculations, resulting in fewer signals for entries and exits.
🟢Use Current Bar:
If checked, the conditions will act on the current bar (real-time updates). If unchecked, the conditions will act after the bar closes. For a non-repainting indicator, leave this unchecked.
🟢Session Type:
Both:
Includes market and after-market hours.
RTH:
Regular trading hours only.
🟢Max Trend Lines:
"1": No trend lines will be shown.
"2" or higher: Displays trend lines based on pivot points.
🟢Bar Color:
Allows selection of candle colors based on the parameters discussed above.
🟢Signal Colors:
As described earlier.
🟢Alerts
For when a signal is created.
Conclusion
This tool is designed to hopefully assist investors and traders by:
Identifying key supply and demand areas for entries.
Highlighting trends for holding positions.
Pinpointing potential re-entry or exit points.
MA Trend DashboardMA Trend Dashboard - Features
The MA Trend Dashboard is a versatile and user-friendly indicator designed to provide a comprehensive overview of market trends across multiple timeframes using moving averages (MAs). Here's what this script offers:
1. Dashboard Display
A compact and visually appealing dashboard is overlaid on the chart.
The dashboard displays the trend direction and deviation percentages for 30-minute, 1-hour, and 4-hour timeframes.
Users can position the dashboard in different locations (Top Right, Middle Right, or Bottom Right) and customize the text size (Tiny, Small, Normal).
2. Multi-Timeframe Trend Analysis
The script uses the concept of Multi-Timeframe (MTF) analysis to assess trends across:
30-minute (30m)
1-hour (1h)
4-hour (4h)
Each timeframe's trend is evaluated using the selected moving average method.
3. Customizable Moving Average Methods
Users can choose from various moving average calculation methods:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
SMMA (Smoothed Moving Average or RMA)
WMA (Weighted Moving Average)
VWMA (Volume-Weighted Moving Average)
This flexibility allows for tailored trend analysis based on the user's preferred methodology.
4. Visual Trend Indicators
Clear visual cues indicate the trend direction for each timeframe:
↑ (Up): Bullish trend.
↓ (Down): Bearish trend.
↘ (Weak Up): Mild bullishness.
↗ (Weak Down): Mild bearishness.
The background color of each cell dynamically changes based on the trend:
Green: Uptrend.
Red: Downtrend.
5. Deviation Percentage
The dashboard includes the percentage difference between the current price and the moving average for each timeframe.
Positive percentages are highlighted in green, and negative percentages in red.
6. Customization Options
Text Color: Allows users to adjust the color of the text displayed in the dashboard.
MA Length: Users can set the period for the moving averages (default is 50).
7. Dynamic Requests
Utilizes TradingView's dynamic_requests feature to ensure accurate real-time data across different timeframes without cluttering the chart.
Usage
This indicator is ideal for traders who want a quick and reliable snapshot of market trends across multiple timeframes. It is particularly suited for intraday and swing trading strategies, offering insights into price momentum and potential reversals.
Absorption AnalysisThe Absorption Analysis indicator identifies potential market turning points by analyzing volume, price patterns, and market structure across multiple dimensions. It combines traditional technical signals with volume analysis and success rate tracking to provide high-probability reversal opportunities.
Signal Types & Classification
1. Pattern-Based Signals (W-Bottom & M-Top)
**W-Bottom Pattern**
- Pattern Structure:
* Price makes a low below the lower Bollinger Band
* First bounce occurs with price moving higher
* Secondary test forms a higher low
* Final confirmation with bullish close above lower band
- Volume Requirements:
* Must exceed 1.5x the 20-period volume moving average
- Visual Indicators:
* Blue dotted line appears at pattern low
* Line remains until broken by price
* Label shows volume and percentage from baseline
- Success Tracking:
* Pattern stored in historical database
* Success measured by upward price movement
* Historical success rate displayed with signal
**M-Top Pattern**
- Pattern Structure:
* Price makes a high above the upper Bollinger Band
* First pullback occurs with price moving lower
* Secondary push forms a lower high
* Final confirmation with bearish close below upper band
- Volume Requirements:
* Must exceed 1.5x the 20-period volume moving average
- Visual Indicators:
* Orange dotted line appears at pattern high
* Line remains until broken by price
* Label shows volume and percentage from baseline
- Success Tracking:
* Pattern stored in historical database
* Success measured by downward price movement
* Historical success rate displayed with signal
2. Technical Reversals
**Bullish Reversal**
- Entry Conditions:
* Previous candle closes below lower Bollinger Band
* Previous candle must be bearish
* Current candle closes above lower band
* Current candle must be bullish
- Volume Validation:
* Volume must exceed 1.5x 20-period MA
- Visual Markers:
* Green label at reversal point
* Includes volume context
- Trading Implementation:
* Suggests strong buying pressure overcoming selling
* Often marks end of downward price exhaustion
**Bearish Reversal**
- Entry Conditions:
* Previous candle closes above upper Bollinger Band
* Previous candle must be bullish
* Current candle closes below upper band
* Current candle must be bearish
- Volume Validation:
* Volume must exceed 1.5x 20-period MA
- Visual Markers:
* Red label at reversal point
* Includes volume context
- Trading Implementation:
* Suggests strong selling pressure overcoming buying
* Often marks end of upward price exhaustion
3. Volume-Based Reversals
**High Volume Bear to Bull**
- Signal Formation:
* High volume bearish candle (2.5σ above mean)
* Immediately followed by high volume bullish candle
- Market Psychology:
* Shows strong selling being absorbed by buying
* Often indicates institutional accumulation
- Visual Identification:
* Purple "HV Bull" label
* Includes volume statistics
- Trading Context:
* Strong signal for trend reversal
* Most effective at support levels
**High Volume Bull to Bear**
- Signal Formation:
* High volume bullish candle (2.5σ above mean)
* Immediately followed by high volume bearish candle
- Market Psychology:
* Shows strong buying being absorbed by selling
* Often indicates institutional distribution
- Visual Identification:
* Purple "HV Bear" label
* Includes volume statistics
- Trading Context:
* Strong signal for trend reversal
* Most effective at resistance levels
4. Absorption Signals
**Buy Absorption**
- Technical Requirements:
* High volume conditions (2.5σ above mean)
* Spread momentum must be negative
* Fast spread MA below slow spread MA
* Bullish closing candle
- Market Interpretation:
* Indicates buying pressure absorbing selling
* Often precedes upward movement
- Visual Markers:
* Red label with volume context
* Placed at significant price levels
**Sell Absorption**
- Technical Requirements:
* High volume conditions (2.5σ above mean)
* Spread momentum must be negative
* Fast spread MA below slow spread MA
* Bearish closing candle
- Market Interpretation:
* Indicates selling pressure absorbing buying
* Often precedes downward movement
- Visual Markers:
* Green label with volume context
* Placed at significant price levels
Volume Analysis Components
Volume Calculation
- Rolling baseline volume calculated based on timeframe:
* Monthly: 6-period sum
* Weekly: 12-period sum
* Daily: 20-period sum
* Intraday: Proportional to timeframe
- Net volume = Bullish volume - Bearish volume
- Volume percentage calculated against baseline
- High volume threshold = 2.5 standard deviations
- Pattern volume threshold = 1.5x 20MA
Exchange Aggregation
- Primary symbol (chart) always included
- Optional secondary symbol data
- Combines volume data for stronger signals
- Useful for crypto markets with split liquidity
Success Rate Implementation
Rate Calculation
- Based on user-defined lookback period
- Separately tracked for each pattern type
- Bullish patterns: Percentage of times price moved higher
- Bearish patterns: Percentage of times price moved lower
- Used to filter alerts with minimum threshold
Pattern Storage
- Arrays maintain historical pattern data
- Limited to lookback period size
- Oldest patterns removed as new ones form
- Constantly updated success rates
## Trading Implementation
### Signal Priority
1. Pattern Signals (W/M)
- Highest reliability due to complex criteria
- Must meet all volume and price conditions
- Line break provides clear invalidation
2. High Volume Reversals
- Strong indication of institutional activity
- Clear volume confirmation
- Immediate reversal potential
3. Technical Reversals
- Traditional technical analysis backbone
- Enhanced with volume confirmation
- Good for trend trading
4. Absorption Signals
- Early warning system
- Best used with other confirmations
- Good for position building
Best Practices
- Look for multiple signal types aligning
- Consider higher timeframe context
- Use success rates to filter setups
- Monitor volume context closely
- Wait for candle closes
- Use line breaks for clear invalidation
- Consider market structure
- Pay attention to success rates
- Use appropriate position sizing
Risk Management
- Use pattern breaks for stop losses
- Consider historical success rates
- Larger positions for multiple signal confluence
- Respect timeframe hierarchy
- Monitor volume for confirmation
- Use proper position sizing
- Consider market volatility
This indicator provides a comprehensive framework for identifying potential market turning points while maintaining rigorous risk management through multiple confirmation factors and clear invalidation levels.