FVG Detector by SZEMEK>>> DESCRIPTION IN ENGLISH
An advanced indicator for the TradingView platform designed to detect and visualize Fair Value Gaps (FVG) and Inversion Fair Value Gaps (iFVG) on charts.
Main Features:
1. FVG Detection:
- The script identifies both bullish and bearish Fair Value Gaps.
- Users can choose which types of FVG to display (Bullish, Bearish, both, or none).
2. FVG Visualization:
- Gaps are represented as rectangular boxes on the chart.
- The color and transparency of the boxes are configurable separately for bullish and bearish FVG.
- The option to add a frame to FVG boxes with separate color settings.
- FVG labels are available with configurable colors and sizes.
3. Dynamic Tracking of FVG Fill:
- The script monitors the extent to which each gap has been filled by subsequent price movements.
- The fill level is visualized using gray overlay on the original FVG box.
- The percentage fill is updated on the label.
4. Automatic Removal of FVG:
- The ability to set a percentage threshold (100%, 75%, 50%, or no removal) after which FVG is removed from the chart.
5. iFVG Detection:
- The script also identifies Inversion Fair Value Gaps (iFVG), which can be displayed as separate boxes.
- iFVG are available in bullish and bearish versions.
- Users can choose which types of iFVG to display (Bullish, Bearish, both, or none).
- iFVG can also have labels and frames.
6. Limitation of Checked Candles:
- Users can specify the maximum number of candles back that the script will analyze for FVG and iFVG.
- Alerts: The indicator allows setting alerts for detected iFVG, both bullish and bearish.
Advanced Features:
- Accurate calculation of FVG fill percentage, considering both wicks and candle bodies.
- Dynamic updating of FVG boxes and their labels in real-time.
- Flexible memory management through the removal of outdated or filled FVG.
- The ability to customize the appearance of iFVG, including colors, labels, and frames.
This script serves as an advanced tool for technical analysis, enabling traders to identify potential support and resistance areas based on the concept of Fair Value Gaps and their inverted versions.
>>> DESCRIPTION IN ENGLISH
Zaawansowany wskaźnik dla platformy TradingView, który służy do wykrywania i wizualizacji luk wartości godziwej (Fair Value Gaps, FVG) oraz odwróconych luk wartości godziwej (Inversion Fair Value Gaps, iFVG) na wykresie.
Główne cechy
1. Wykrywanie FVG:
- Skrypt identyfikuje zarówno bycze (Bullish), jak i niedźwiedzie (Bearish) luki wartości godziwej.
- Użytkownik może wybrać, które typy FVG mają być wyświetlane (Bullish, Bearish, oba lub żadne).
2. Wizualizacja FVG:
- Luki są przedstawiane jako prostokątne boxy na wykresie.
- Kolor i przezroczystość boxów są konfigurowalne osobno dla FVG byczych i niedźwiedzich.
- Możliwość dodania ramki do boxów FVG z osobnymi ustawieniami kolorów.
- Etykiety FVG są dostępne z konfigurowalnymi kolorami i rozmiarami.
3. Dynamiczne śledzenie wypełnienia FVG:
- Skrypt monitoruje, w jakim stopniu każda luka została wypełniona przez późniejsze ruchy ceny.
- Stopień wypełnienia jest wizualizowany za pomocą szarego koloru nakładanego na oryginalny box FVG.
- Procent wypełnienia jest aktualizowany na etykiecie.
4. Automatyczne usuwanie FVG:
- Możliwość ustawienia progu procentowego (100%, 75%, 50% lub brak usuwania), po którego przekroczeniu FVG jest usuwany z wykresu.
5. Wykrywanie iFVG:
- Skrypt dodatkowo identyfikuje odwrócone luki wartości godziwej (iFVG), które mogą być wyświetlane jako osobne boxy.
- iFVG są dostępne w wersji byczej i niedźwiedziej.
- Użytkownik może wybrać, które typy iFVG mają być wyświetlane (Bullish, Bearish, oba lub żadne).
- iFVG również mogą mieć etykiety i ramki.
6. Ograniczenie sprawdzanych świec:
- Użytkownik może określić maksymalną liczbę świec wstecz, które skrypt będzie analizował w poszukiwaniu FVG i iFVG.
- Alerty: Wskaźnik umożliwia ustawienie alertów dla wykrytych luk iFVG, zarówno bullish, jak i bearish.
Zaawansowane funkcje
- Dokładne obliczanie procentu wypełnienia FVG, uwzględniające zarówno knoty, jak i ciała świec.
- Dynamiczne aktualizowanie boxów FVG i ich etykiet w czasie rzeczywistym.
- Elastyczne zarządzanie pamięcią poprzez usuwanie nieaktualnych lub wypełnionych FVG.
- Możliwość dostosowania wyglądu iFVG, w tym kolorów, etykiet i ramki.
Skrypt ten stanowi zaawansowane narzędzie do analizy technicznej, umożliwiające traderom identyfikację potencjalnych obszarów wsparcia i oporu bazujących na koncepcji luk wartości godziwej i ich odwróconych wersjach.
Pesquisar nos scripts por "bear"
Dynamic Timeframe Trend AnalyzerPurpose and Core Logic
This indicator automatically adjusts its calculations based on the current chart’s timeframe, allowing traders to analyze trends, momentum, and mean reversion opportunities without manually changing indicator settings for each interval. It detects potential long or short setups by combining several techniques:
Dynamic Timeframe Factor
The script compares the current timeframe to a base (e.g., 5 minutes) and calculates a “factor” to scale certain parameters, such as EMA lengths or ATR settings. This reduces the need to reconfigure indicators when switching timeframes.
Regime Detection
It uses ADX (Average Directional Index) to classify the market as strongly trending, moderately trending, choppy, or in a potential mean-reversion phase.
RSI (Relative Strength Index) is also monitored for extreme levels (e.g., overbought/oversold) to detect potential reversal zones.
Volume is compared to a moving average to confirm or refute volatility conditions.
Trend & Mean Reversion Signals
EMA Alignment (8/21/55) helps identify bullish or bearish phases (strong bull if all EMAs align upward, strong bear if aligned downward).
For mean reversion opportunities, the script checks if ADX is sufficiently low (indicating weak or no trend) while price and RSI are at extreme levels—suggesting a snapback or countertrend move may occur.
Dynamic Stop Loss & Take Profit
Uses ATR (Average True Range) to set initial stop-loss (SL) and take-profit (TP) levels, then adjusts these levels further with “regime multipliers” based on whether the market is in a high-volatility trend or a quieter mean-reversion environment.
This approach aims to place stops and targets in a more adaptive way, reflecting current market conditions rather than a one-size-fits-all approach.
Visual Aids
Color-coded chart backgrounds (e.g., greenish for bullish trend, red for bearish, yellow/orange for mean reversion).
Triangles to show recent bullish/bearish signals.
A status table in the top-right corner (optional) displaying key metrics like ADX, RSI, dynamic thresholds, current SL/TP levels, and whether a stop loss has been hit.
How It Works Internally
ADX & Dynamic Thresholds:
A moving average (adx_mean) and standard deviation (adx_std) of the ADX are calculated over a lookback period to define “strong” vs. “weak” ADX thresholds.
This allows the script to adapt to changing volatility and trend strength in different markets or timeframes.
Mean Reversion Criteria:
The indicator checks if price deviates significantly from its own moving average, alongside RSI extremes. If ADX suggests no strong directional push (i.e., the market is “quiet”), it may classify conditions as mean-reverting.
Regime Multipliers:
Once the script identifies the market regime (e.g., strong uptrend, choppy, mean reversion), it applies different multipliers to the user-defined base values for stop-loss and take-profit. For instance, strong trending conditions might allow for wider stops to handle volatility, while mean reversion signals use tighter exits to capture quick reversals.
How to Use It
Timeframe Agnostic
Simply apply it to any timeframe (from 1-minute up to daily or weekly). The “Dynamic Timeframe Factor” will scale the indicator parameters automatically.
Look for Buy/Sell Triangles
When the script detects a valid bullish trend shift or a mean-reversion long setup, it plots a green triangle under the price bar. Conversely, it plots a red triangle above the price bar for bearish or mean-reversion short setups.
Check the Status Table
The table in the top-right corner summarizes the indicator’s current readings: ADX, RSI, volume trends, and the market regime classification.
The table also shows if a stop loss has been hit (SL Hit) and displays recommended SL/TP levels if a signal is active.
Stop Loss & Take Profit
The script plots lines for SL and TP on your chart after a new signal. These lines are automatically adjusted based on ATR, volume conditions, and ADX-derived multipliers.
Mean Reversion vs. Trend-Following
If you see a “Mean Rev” state in the table or the background turning yellow/orange, it suggests potential countertrend trades. Conversely, “STRONG BULL” or “STRONG BEAR” states favor momentum-based entries in the prevailing direction.
Originality & Benefits
Adaptive to Timeframe: Many indicators require reconfiguration when switching from short to long timeframes. This script automates that process using the “timeframe factor” logic.
Regime-Based SL/TP: Instead of fixed risk parameters, the script dynamically tunes stop and target levels depending on whether the market is trending or reverting.
Comprehensive Market View: It combines multiple factors—ADX, RSI, volume, moving averages, and volatility measurements—into a single, integrated framework that categorizes the market regime in real time.
Best Practices & Notes
Timeframes: It typically performs well on intraday timeframes (5m, 15m, 1H) but can also be used for swing trading on 4H or Daily charts.
Settings: The defaults are a good starting point, but you can adjust the base ATR multiplier or ADX lookbacks if you prefer a different balance between sensitivity and stability.
Risk Management: This indicator is not a guarantee of any specific results. Always use proper risk management (position sizing, stop-losses, and diversified strategies).
Alert Conditions: Built-in alert conditions can notify you when a new long or short signal appears, or when a stop loss is triggered.
MB 3ST+EMA+StochRSI Martin Buecker 16.01.2025Short Description of the Indicator "MB 3ST+EMA+StochRSI Martin Buecker 16.01.2025"
This trend-following and momentum-based indicator combines Supertrend, EMA 200, and Stochastic RSI to generate buy and sell signals with improved accuracy.
1. Key Components
Supertrend (3 variations):
Uses three Supertrend indicators with different periods to confirm trend direction.
Buy signal when at least 2 Supertrends are bearish.
Sell signal when at least 2 Supertrends are bullish.
EMA 200 (Exponential Moving Average):
Buy signals only when the price is above EMA 200 (uptrend confirmation).
Sell signals only when the price is below EMA 200 (downtrend confirmation).
Multi-Timeframe Stochastic RSI:
Uses a higher timeframe Stoch RSI (default: 15 minutes) to filter signals.
Buy signal when %K crosses above %D (bullish momentum).
Sell signal when %K crosses below %D (bearish momentum).
2. Signal Generation
📈 Buy Signal Conditions:
✅ At least 2 of 3 Supertrends are bearish
✅ Price is above EMA 200
✅ Stoch RSI shows a bullish crossover (%K > %D)
📉 Sell Signal Conditions:
✅ At least 2 of 3 Supertrends are bullish
✅ Price is below EMA 200
✅ Stoch RSI shows a bearish crossover (%K < %D)
3. Visual Representation & Alerts
Supertrend Lines:
Green = Bullish, Red = Bearish
EMA 200: White Line
Buy/Sell Signals:
Green triangle (below bar) = Buy
Red triangle (above bar) = Sell
Alerts:
Notifies users when a buy or sell signal is triggered.
Background Coloring:
Green for Buy signals, Red for Sell signals
4. Purpose & Benefits
🔥 Combines trend (EMA 200, Supertrend) and momentum analysis (Stoch RSI) for better signal accuracy.
🔥 Works best in trending markets, filtering out false signals in sideways movements.
🔥 Suitable for scalping and day trading, providing clear and structured trade entries.
Triangle Reversal IndicatorTriangle Reversal Indicator – A Visual Tool for Identifying Reversal Patterns
This indicator is designed to highlight potential trend reversal moments by comparing the current candle with the previous one. It offers a unique approach by focusing on distinct candle patterns rather than generic trend indicators, making it a valuable addition to your trading toolkit.
How It Works:
For a bullish signal, the indicator checks if:
The current candle is bullish (closing higher than it opens) while the previous candle was bearish.
The current candle’s low breaches the previous bearish candle’s low.
The current candle’s close is above the previous bearish candle’s close.
When these conditions are met, a tiny green triangle is plotted below the candle to signal a potential bullish reversal.
Conversely, for a bearish signal, it verifies if:
The current candle is bearish (closing lower than it opens) following a bullish candle.
The current candle’s high exceeds the previous bullish candle’s high.
The current candle’s close falls below the previous bullish candle’s close.
If all conditions are satisfied, a small red triangle appears above the candle to indicate a potential bearish reversal.
How to Use:
Simply apply the indicator on your chart and look for the tiny triangles that appear above or below the candles. These markers can serve as an additional visual cue when confirming entry or exit points, but it’s best used alongside your other analysis techniques.
Customization Options:
Users can further enhance the script by adding inputs for lookback periods, adjusting the triangle size, or modifying colors to match their chart themes.
Waves and Harmonic Patterns by BULL┃NETThe B | N WAHA (Waves and Harmonic Patterns by BULL | NET)
indicator provides traders using CFD brokers with the most significant price and time events from the stock exchange of the underlying original index or security. For example traders are able to easily identify the price at the Daily Open and Close time of up to three additional stock exchanges. Traders can choose from a huge list of options including the values from the current and previous Day, Week, Month and Year. In addition traders can enable the display of the Expected Move by either implied or historical volatility. The indicator can show Open Gaps (gap between close and open of two trading sessions) also which traders would usually see only on the original chart of an index or security.
The B | N WAHA indicator can help traders to make better entry decisions based on the real market sessions.
█ ⚠️ DISCLAIMER – READ BEFORE YOU USE ⚠️
█ FEATURES
— PATTERN OPTIONS
● Deviation for ratio calculation
Any pattern has a unique set of ratios for different retracements. In a perfect world each ratio would be hit exactly. But the stock market is far from perfect and especially in volatile markets ratios have to be adjusted. The default is 5%. The maximum is 10%
● (Name of pattern)
The list of patters recognized will grow with new versions of the indicator. The settings for each pattern are the same.
Each available pattern will be recognized and drawn by default. If you disable the checkbox in front of the pattern name the indicator will ignore this pattern completely no matter if another checkbox for this pattern is active.
● Developing
As soon as a new possible pattern is recognized, the indicator will draw a label at the starting point (0, A or X) of the pattern. For the indicator “possible” means there is only the last point missing, which is D in case of ABCD and XABCD patterns. Once the last point has reached the completion price range, the indicator will draw the pattern. If you enable this checkbox the indicator will draw a zickzack line between the already existing points.
● Projection
If there is a new possible pattern the indicator will draw a projection box to indicate the price range where the final point has to be located for completion of the pattern. Don’t confuse this with a buy or sell signal! The appearance of the box doesn’t tell anything about the chance of a pattern to get completed. It simply tells you that the price has to reach the box and to retrace within the box to form a valid pattern. This allows you to prepare a strategy if the price hits the box. If you disable the checkbox no box will be drawn.
● History
For backtesting or learning purpose you can display all historical occurrences of a pattern. Best practice is to disable all other patterns and enable the history checkbox only together with the checkbox of the patten name.
— PIVOPOINT OPTIONS
To identify patterns you need pivot points. True high and lows in the chart. If you use B | N GABO or B | N DESC you already know about this concept. The indicator is using three different levels of pivot points in parallel for better detection of patterns.
● Level 1
This is the fast running pivot level. You can choose from 2 to 4. Default is 3.
● Level 2
This is the pivot level with medium pace. Selectable levels are 5 to 9. Default is 5.
● Level 3
This is the slow running pivot level. The minimum level is 10, the maximum is 20. The default is 15.
● Pivotpoints
By default pivot points are not displayed on the chart because this ads a lot of noise. For backtesting and learning purposes you can enable this option.
● Label
● Text
● Size
This three settings define the appearance of the pivot points.
— HARMONIC PATTERN OPTIONS
The settings in this section control how the zickzack line of a pattern gets drawn on the chart. The settings for bullish and bearish pattern are identical.
● Show bullish/bearish pattern
By default both types of patterns are drawn on the chart. For backtesting or learning purpose you can disable it.
● Line
The color of the zickzack lines.
● ABC
The line style to connect points A, B and C.
● CD
The line style to connect points C and D.
● (Line Width)
The width of lines ABC and CD.
● Label
The color of the label for a completed pattern. This label marks starting point.
● Developing
The color of the label while a pattern is developing.
● Text
The color of the text in the label.
● (Text size)
The size of the text.
— HARMONIC PATTERN LABEL OPTIONS
The label which marks the start of a pattern can contain multiple information. To reduce noise on the chart you can disable each information separately. If you disable them all, the label will display the designation of the pattern starting point, e.g. “A” for an ABCD or “X” for an XABCD.
● Title
The title identifies the type of pattern. E.g. a possibly developing ABCD pattern will display ABC at the beginning to denote the point A, B and C have been detected. If this pattern completes the title would change to ABCD in case of a standard ABCD pattern or to AB=CD if the pattern matches all criteria needed for this ‘perfect’ type of ABCD.
● Number
Each pattern carries a unique number needed to identify the projection and targets in case there are multiple patterns in parallel.
● Ratio
First this is the retracement level of point C from point B toward point A. It is the decimal value of the percentage. In a perfect world this would be 0.618 (61.8%). In volatile markets this can be as low as 0.382 and as high as 0.786. If Ratio is enabled BD ratio will get displayed as well once point D is about to complete a ABCD pattern.
● Tooltip
Enabled by default the tooltip shows all the information and more if you hover the mouse pointer over the label.
● Perfect
If the pattern is formed “perfect” it will change its color to denote a possibly strong trend reversal. E.g. a perfect AB=CD is formed if the time and price difference between A and B is equal to the time and price difference between C and D. The calculation contains a 5% deviation to reflect usual market conditions.
— PROJECTION OPTIONS
If the “Projection” checkbox of a pattern is enabled (See PATTERN OPTIONS) the indicator will display the price range where the final point must sit to form a valid pattern. You can customize the box that marks this price range or disable it at all.
● Bull / Bear
The color of the box border.
● (Style)
The line style of the box border.
● Background
The background color of the box.
● Text
The color of the text in the box.
● (Text size)
The size of the text.
— PROJECTION DESCRIPTION OPTIONS
The box which marks the possible landing zone for pattern completion can contain multiple information. To reduce noise on the chart you can disable each information separately.
● Price Range
To complete a pattern successfully point D needs to be located within the minimum and maximum price of the range. For bullish pattern the price range is increasing (e.g. 100 – 120) and for bearish pattern it is decreasing (e.g. 100 – 80).
● Title
The title identifies the type of pattern. E.g. a possibly developing ABCD pattern will display ABC at the beginning to denote the point A, B and C have been detected. If this pattern completes the title would change to ABCD in case of a standard ABCD pattern or to AB=CD if the pattern matches all criteria needed for this ‘perfect’ type of ABCD.
● Number
Each pattern carries a unique number needed to identify the projection and targets in case there are multiple patterns in parallel.
— TARGET OPTIONS
● Display ABCD Targets
Once a pattern is completed the indicator will display multiple price lines for targets or other important price levels. This is enabled by default.
The cosmetic setting are separated for bullish and bearish pattern targets. However they are identical.
● Bull / Bear Line
The color of the target lines.
● (Line style)
The style of the target lines.
● Label
The color of the label which contains information about the target.
● Text
The color of the text in the label.
● (Text size)
The size of the text.
— TARGET LABEL OPTIONS
The target label can contain multiple information. To reduce noise on the chart you can disable each information separately. If you disable all information a blank label will be displayed necessary to hold the tooltip.
● Price
The target price.
● Number
The unique number of the pattern.
● Title
The target identifier.
● Direction
New traders often get confused with bullish and bearish pattern. A small arrow facing down or up will tell them the expected price move to reach the targets.
● Tooltip
If enabled the tooltip shows all the information and more if you hover the mouse pointer over the label.
● Remove if hit
By default target lines and labels will get removed one bar after the price has hit the target. If you disable this option target lines will stay together with the pattern until it gets invalidated.
— DISPLAY OPTIONS
● 2 Decimals
To streamline the appearance of prices they are set to display two decimals only. Numbers get rounded! However, trading currency pairs or crypto assets might need to display the full amount of decimals. In this case simply disable the setting “2 Decimals”.
— ALERT OPTIONS
Bevor you can use alerts in TradingView you have to activate them.
1. Click on the alert button
2. From the first drop down in conditions select B | N WAHA
3. From the third drop down (the one below the first one) select Any alert() function call
4. Skip the expiration if you want the alerts to be active for ever
5. Give The Alert a name or keep the default
6. Click on create
You have to repeat this procedure in every timeframe you use. This is not a limitation of the indicator. This is how TradingView alerts work.
Now you can select the events in the alert options of B | N WAHA you want to get noticed about. Alerts get fired when a bar gets confirmed which is the last close of a bar.
-------------------------------------------------------
Disclaimer BullNet: The information provided in this document is for educational and informational purposes only and does not constitute financial, investment, or trading advice. Any use of the content is at your own risk. No liability is assumed for any losses or damages resulting from reliance on this information. Trading financial instruments involves significant risks, including the potential loss of all invested capital. There is no guarantee of profits or specific outcomes. Please conduct your own research and consult a professional financial advisor if needed.
Disclaimer TradingView: According to the www.tradingview.com
Copyright: 2025-BULLNET - All rights reserved.
Roadmap:
Version 1.0 03.03.2025
Ragi's Divergence HelperThis is Ragi's Divergence Helper is a TradingView indicator designed to track bullish and bearish divergences across multiple timeframes. It provides a clear, structured dashboard that remains fixed in a chosen corner of the chart for easy visibility.
Recommendations:
Put dashboard on lower left corner is less obstructive.
Use along with any RSI indicator for confirmations of bullish and bearish divergences.
Key Features:
✅ Timeframe Coverage: Monitors 5m, 10m, 15m, 30m, 1H, 2H, 4H, and Daily timeframes.
✅ Divergence Detection: Identifies whether a bullish (green) or bearish (red) divergence is present on each timeframe, displaying "None" if no divergence is detected.
✅ Divergence Lineup: Summarizes the overall market direction by checking if multiple timeframes align bullish or bearish.
✅ Customizable Settings: Users can adjust colors, panel position (Top Right, Bottom Right, Bottom Left, Top Left), and background color for better chart integration.
✅ Fixed & Readable Panel: Ensures the information is always visible without interfering with price action analysis.
How to Use It:
If multiple timeframes show bullish divergences, it may indicate a potential trend reversal or continuation to the upside.
If multiple timeframes show bearish divergences, it may signal a possible price drop or reversal downward.
When no divergences are present, it suggests no immediate divergence-based trading opportunity.
This indicator is ideal for traders looking for quick divergence insights across different timeframes without needing to analyze multiple indicators manually. 🚀
On-Chain Momentum | QuantumResearch QuantumResearch On-Chain Momentum Indicator
The On-Chain Momentum Indicator is a unique macro-market analysis tool that aggregates multiple on-chain signals to provide insights into Bitcoin’s fundamental market trends. By leveraging real-time on-chain metrics, this indicator helps traders and investors gauge market momentum, capital flows, and potential trend shifts. 🚀📊
⚠️ This script is manually updated to ensure that the latest on-chain data is accurately reflected. The underlying data is extracted from a Google Spreadsheet that tracks various on-chain indicators.
1. Data Sources & Methodology
This indicator consolidates four major on-chain categories, each derived from multiple fundamental Bitcoin metrics:
📌 On-Chain Activity
Miner Revenue Momentum
Exchange Inflow Momentum
📌 Market Profitability
Supply in Profit Momentum
MVRV Momentum
AVIV Momentum
STH-MVRV Momentum
📌 Spending Behavior
SOPR Momentum
Realized Profit/Loss Ratio Momentum
📌 Wealth Distribution
SLRV Ribbons Momentum
Data Extraction Process:
The raw on-chain data is processed and aggregated within a Google Spreadsheet, which applies momentum calculations to each metric.
The results are then manually updated in this script to ensure an accurate reflection of on-chain trends.
The script assigns a momentum value (+1 for bullish, -1 for bearish) based on pre-defined historical trend patterns.
2. How It Works
A. On-Chain Market Regimes
The script analyzes historical on-chain behavior to determine whether the market is in a bullish or bearish phase.
Each major transition is manually updated based on on-chain macro shifts.
Market phases are categorized based on miner revenue, exchange flows, profitability, spending behavior, and wealth distribution trends.
B. Trend Identification & Signal Generation
Bullish Trend: If on-chain momentum metrics confirm strong accumulation behavior, the indicator turns green (Long). ✅
Bearish Trend: If on-chain momentum suggests distribution or capitulation, the indicator turns red (Short). ❌
Neutral Phase: If on-chain activity is mixed or inconclusive, the indicator remains gray (No clear signal). ⚪
C. Manually Updated On-Chain Data Integration
Unlike standard automated indicators, this script requires periodic manual updates to incorporate the most recent on-chain data.
This ensures that the indicator remains aligned with the latest fundamental trends.
The historical momentum shifts are carefully mapped based on previous on-chain cycles.
3. Visual Representation
A. Color-Coded Momentum Signals
Green Bars: Strong positive on-chain momentum 🟢
Blue Bars: Weak or negative on-chain momentum 🔴
B. Time-Based Macro Shifts
Each major historical period is defined based on key on-chain shifts.
The script provides clear visual segmentation of past macro-regimes.
C. Trend-Based Alerts
Long Signal: When on-chain data turns strongly bullish.
Short Signal: When on-chain data turns bearish.
Alerts notify traders when a new macro cycle begins based on updated data. 🔔
4. Customization & Parameters
Color Modes: 8 different visualization styles for enhanced clarity.
Historical Market Phases: Adjustments are made based on historical on-chain macro trends.
Manual Updates: Data is updated in accordance with key on-chain developments.
5. Trading & Investing Applications
📊 Best Used For:
Long-Term Market Analysis – Helps investors identify Bitcoin market cycles.
Trend Confirmation – Serves as an additional confluence factor for technical setups.
Macro Risk Management – Provides a big-picture perspective on market structure.
⚠️ Disclaimer: While on-chain metrics provide valuable insights, no single indicator should be used in isolation. Traders and investors should combine this with other macroeconomic, technical, and fundamental analysis tools.
6. Final Thoughts
The On-Chain Momentum Indicator provides a clear, structured view of Bitcoin’s macroeconomic health.
By combining key on-chain metrics, traders can identify significant market transitions with improved clarity.
This script is manually updated to ensure it remains aligned with the latest on-chain trends.
While this tool is highly effective for macro analysis, it should be used as part of a comprehensive trading/investing strategy.
MMM MARKET CHAOS TO CLARITY INTELLIGENCE @MaxMaserati# MMM MARKET CHAOS TO CLARITY INTELLIGENCE
## Overview
The MMM MARKET CHAOS TO CLARITY INTELLIGENCE (MMM AI Pro) by MaxMaserati is a sophisticated multi-factor analysis tool that provides comprehensive market insights through a unified dashboard. This system integrates several proprietary components to detect market conditions, trends, and potential reversals.
At its core, this indicator is designed to bring clarity to market complexity by identifying meaningful patterns and establishing order within what often appears as random market chaos
The MMM Intelligence Matrix accomplishes this through its multi-layered approach:
- The MMPD system quantifies market conditions on a clear 0-100 scale, transforming complex price movements into actionable premium/discount levels
- The proprietary candle analysis (MMMC Bias) identifies specific patterns with predictive value
- The integration of volume, momentum, and multi-timeframe analysis creates a comprehensive market context
- The Hot/Cold classification system helps traders distinguish between sustainable moves and overextended conditions
What makes this indicator particularly valuable is how it synthesizes multiple technical factors into clear visual signals and classifications. Instead of leaving traders to interpret numerous conflicting indicators, it presents an organized dashboard of market conditions with straightforward action zones.
## Core Components
### MMPD (Max Maserati Premium and Discount)
- Normalizes price movement on a 0-100 scale:
- **Premium (>50)**: Bullish conditions
- **Discount (<50)**: Bearish conditions
- **Extreme values (>90 or <10)**: Potential reversal zones
### MMMC (Max Maserati Model Candle) Bias
- Analyzes candle patterns to predict behavior:
- **Bullish/Bearish Body Close**: Price closes beyond previous candle's high/low
- **Bullish/Bearish Affinity**: Shows tendency toward continuation
- **Seek & Destroy**: Tests previous levels then breaks in new direction
- **Close Inside**: Closes within previous candle's range with directional bias
- **Plus/Minus**: Indicates slight tendency toward bulls/bears
### PC Strength (Previous Candle Strength)
- Measures percentage power of recent candlesticks
- Analyzes strength across multiple previous candles (PC1, PC2, PC3)
### MVM (Market Volatility Momentum)
- Adaptive moving averages system analyzing multiple timeframes:
- **Short context (8 bars)**: Immediate direction
- **Medium context (21 bars)**: Intermediate validation
- **Long context (55 bars)**: Primary trend confirmation
- **Higher timeframe**: Additional confirmation
### Volume Intelligence System
- Adaptive algorithm comparing current volume to 20-period average
- Identifies significant volume events and thresholds
### Hot/Cold Momentum Classification
- **Strong Bullish/Bearish (Hot)**: Potentially overextended
- **Strong Bullish/Bearish (Cold)**: Strong with room to continue
- **Bullish/Bearish Momentum**: Clear directional bias
- **Mild Bullish/Bearish**: Weak directional bias
### HVC (Highest Volume Candles) Detection
- Triangle markers and sequential stars indicate significant volume-confirmed movements
- Signals potential trend changes and continuation setups
## Dashboard Interface
The customizable dashboard displays:
1. **MMMC Bias**: Candle pattern analysis and direction
2. **Delta MA**: Buy/sell pressure with directional arrows
3. **PC Strength**: Percentage strength of previous candles
4. **Current Trend**: Overall market bias state
5. **MMPD Bias**: Premium/discount context
6. **Short/Medium/Long Term**: Price change percentages
7. **Trend Quality**: Reliability rating
8. **Volume Strength**: Classification (High/Medium/Low)
9. **MMPD Values**: Current level with direction indicator
10. **HTF Trend**: Higher timeframe confirmation
11. **Trend Strength**: Overall momentum measurement
12. **Action Zone**: Trading zone classification
13. **Momentum Strength**: Hot/Cold status
## MMPD Value Classifications
- **EXTREME PREMIUM (>90) ⚠️**: Extremely overbought
- **HIGH PREMIUM (80-90) ↗**: Strong bullish (caution)
- **PREMIUM (65-80) ↗**: Healthy bullish zone
- **LIGHT PREMIUM (50-65) →**: Mild bullish territory
- **LIGHT DISCOUNT (35-50) →**: Mild bearish territory
- **DISCOUNT (20-35) ↘**: Healthy bearish zone
- **HIGH DISCOUNT (10-20) ↘**: Strong bearish (caution)
- **EXTREME DISCOUNT (<10) ⚠️**: Extremely oversold
## Action Zone Classifications
- **MASSIVE BUY/SELL ZONE ★★★**: Very strong bias (Strength >5.0)
- **STRONG BUY/SELL ZONE ★★**: Strong bias (Strength >3.0)
- **MEDIUM BUY/SELL ZONE ★**: Moderate bias (Strength >2.0)
- **LIGHT BUY/SELL ZONE ⋆**: Mild bias (Strength >1.0)
- **SUPER LIGHT BUY/SELL ZONE ·**: Weak bias (Strength <1.0)
- **NEUTRAL ZONE**: No clear directional bias
## Visual Signals
1. **Triangle Markers**: HVC system directional signals (up/down)
2. **Sequential Stars (★)**: Advanced confirmation signals following trend changes
3. **High Volume Highlighting**: Optional candle emphasis for volume events
## Entry Conditions
### Strong Buy Setup
- MMPD Values: PREMIUM or LIGHT PREMIUM
- Hot/Cold Status: "⚠️ Strong Bullish (Cold)" or "↗️ Bullish Momentum"
- Action Zone: MASSIVE or STRONG BUY ZONE
- Volume Strength: High or Medium
- Current Trend: Strong Bullish or Bullish
### Strong Sell Setup
- MMPD Values: DISCOUNT or LIGHT DISCOUNT
- Hot/Cold Status: "⚠️ Strong Bearish (Cold)" or "↘️ Bearish Momentum"
- Action Zone: MASSIVE or STRONG SELL ZONE
- Volume Strength: High or Medium
- Current Trend: Strong Bearish or Bearish
## Exit Conditions
### Exit Long Positions When
- Hot/Cold Status changes to "⚠️ Strong Bullish (Hot)" or "↘️ Bearish Momentum"
- MMPD Values shows EXTREME PREMIUM or HIGH PREMIUM
- Action Zone changes to NEUTRAL ZONE or any SELL ZONE
- Current Trend shows "Bearish Reversal" or "Exiting Overbought"
### Exit Short Positions When
- Hot/Cold Status changes to "⚠️ Strong Bearish (Hot)" or "↗️ Bullish Momentum"
- MMPD Values shows EXTREME DISCOUNT or HIGH DISCOUNT
- Action Zone changes to NEUTRAL ZONE or any BUY ZONE
- Current Trend shows "Bullish Reversal" or "Exiting Oversold"
## Position Sizing Guidelines
- **Full Position (100%)**: Action Zone ★★★/★★, normal momentum, High volume
- **Reduced Position (50-75%)**: "Cold" signal, Action Zone ★, Medium volume
- **Small Position (25-50%)**: Action Zone ⋆, Medium/Low volume, mixed signals
- **No Position**: "Hot" signal, NEUTRAL zone, Low volume
## Special Trade Setups
### Reversal Setups
- **Bullish Reversal**: Transition from EXTREME DISCOUNT, Hot→Cold change, emerging buy signal, high volume
- **Bearish Reversal**: Transition from EXTREME PREMIUM, Hot→Cold change, emerging sell signal, high volume
### Continuation Setups
- **Bullish Continuation**: PREMIUM range, "Cold" signal, strong volume, timeframe alignment, clear Action Zone
- **Bearish Continuation**: DISCOUNT range, "Cold" signal, strong volume, timeframe alignment, clear Action Zone
## Sequential Stars System
- **Sequential Buy Signal**: Bullish star after bearish trend, volume confirmation
- **Sequential Sell Signal**: Bearish star after bullish trend, volume confirmation
## Best Practices
- Check multiple timeframes (prioritize when all align)
- Validate with volume (High >2.5x, Medium >1.2x)
- Assess trend quality (Strong ★★★, Confirmed ★★, Warning ⚠, Transition ↕)
- Handle inside bars/consolidation with additional confirmation
## Technical Considerations
- Based on closed candles for calculations
- Requires reliable volume data
- Higher sensitivity settings may produce more frequent signals
- Extreme readings indicate potential turning points
- Sequential stars require proper trend changes for activation
## Indicator Applicability
- **Markets**: Forex, Crypto, Stocks, Futures, Commodities
- **Timeframes**: 1H+ recommended, 4H/Daily for primary analysis
*Intended for use with the full MMM system. Trading decisions require proper knowledge and risk management.*
WaveTrend Divergences, Candle Colouring and TP Signal [LuciTech]WaveTrend is a momentum-based oscillator designed to track trend strength, detect divergences, and highlight potential take-profit zones using Bollinger Bands. It provides a clear visualization of market conditions to help traders identify trend shifts and exhaustion points.
The WaveTrend Oscillator consists of a smoothed momentum line (WT Line) and a signal line, which work together to indicate trend direction and possible reversals. When the WT Line crosses above the signal line, it suggests bullish momentum, while crossing below signals bearish momentum.
Candle colouring changes dynamically based on WaveTrend crossovers. If the WT Line crosses above the signal line, candles turn bullish. If the WT Line crosses below the signal line, candles turn bearish. This provides an immediate visual cue for trend direction.
Divergence Detection identifies when price action contradicts the WaveTrend movement.
Bullish Divergence appears when price makes a lower low, but the WT Line forms a higher low, suggesting weakening bearish pressure.
Bearish Divergence appears when price makes a higher high, but the WT Line forms a lower high, indicating weakening bullish pressure.
Plus (+) Divergences are stronger signals that occur when the first pivot of the divergence happens at an extreme level—above +60 for bearish divergence or below -60 for bullish divergence. These levels suggest the market is overbought or oversold, making the divergence more significant.
Bollinger Band Signals highlight potential take-profit zones by detecting when the WT Line moves beyond its upper or lower Bollinger Band.
If the WT Line crosses above the upper band, it signals stretched bullish momentum, suggesting a possible pullback or reversal.
If the WT Line crosses below the lower band, it indicates stretched bearish momentum, warning of a potential bounce.
How It Works
The WaveTrend momentum calculation is based on an EMA-smoothed moving average to filter out noise and provide a more reliable trend indication.
The WT Line (momentum line) fluctuates based on market momentum.
The signal line smooths out the WT Line to help identify trend shifts.
When the WT Line crosses above the signal line, it suggests buying pressure, and when it crosses below, it indicates selling pressure.
Divergences are detected by comparing pivot highs and lows in price with pivot highs and lows in the WT Line.
A pivot forms when a local high or low is confirmed after a certain number of bars.
The indicator tracks whether price action and the WT Line are making opposite movements.
If a divergence occurs and the first pivot was beyond ±60, it is marked as a Plus Divergence, making it a stronger reversal signal.
Bollinger Bands are applied directly to the WT Line instead of price, identifying when the WT Line moves outside its volatility range. This helps traders recognize when momentum is overstretched and a potential reversal or retracement is likely.
Settings
Channel Length (default: 8) controls the period used to calculate the WT Line.
Average Length (default: 16) smooths the WT Line for better trend detection.
Divergences (on/off) enables or disables divergence plotting.
Candle colouring (on/off) applies or removes trend-based candle colour changes.
Bollinger Band Signals (on/off) toggles take-profit signals when the WT Line crosses the bands.
Bullish/Bearish colours allow customization of divergence and signal colours.
Interpretation
The WaveTrend Oscillator helps traders assess market momentum and trend strength.
Crossovers between the WT Line and signal line indicate potential trend reversals.
Divergences warn of weakening momentum and possible reversals, with Plus Divergences acting as stronger signals.
Bollinger Band Crosses highlight areas where momentum is overstretched, signaling potential profit-taking opportunities.
Volume Weighted SuperTrend | QuantumResearchQuantumResearch Volume Weighted Supertrend (VWST)
The Volume Adaptive Supertrend (VWST) is a dynamic trend-following tool that enhances traditional Supertrend calculations by incorporating volume-weighted market conditions.
This indicator adapts its trend signals based on volume-adjusted price action, allowing traders to refine their entries and exits with improved responsiveness. 🚀📊
1. Key Features
Volume-Weighted Adaptation: Uses various moving averages (VWMA, EMA, SMA, etc.) to adjust ATR bands based on market activity.
Customizable Trend Sensitivity: Adjusts ATR multipliers separately for bullish and bearish conditions.
Adaptive Supertrend Calculation: Dynamically recalculates trend direction based on volume-enhanced price movements.
Multi-Timeframe Compatibility: Can be applied across different assets and timeframes for versatile market analysis.
Visual Clarity & Alerts: Color-coded trend signals, shaded areas, and real-time alerts for trend shifts.
2. How It Works
A. Volume-Weighted Price Calculation
The indicator applies a user-selected moving average (EMA, VWMA, SMA, etc.) to price and volume data
This ensures that trend calculations are more reactive to strong volume surges and less influenced by low-liquidity fluctuations.
B. Adaptive ATR-Based Trend Filtering
ATR bands are dynamically adjusted based on volume-weighted price action.
Separate ATR multipliers for bullish and bearish conditions allow for refined sensitivity control.
The Supertrend line shifts dynamically to reflect these conditions.
C. Signal Generation
Bullish Trend: The price closes above the adaptive Supertrend line. ✅
Bearish Trend: The price closes below the adaptive Supertrend line. ❌
Long Entry: Triggered when trend direction switches from bearish to bullish.
Short Entry: Triggered when trend direction switches from bullish to bearish.
3. Visual Representation
A. Color-Coded Trend Signals
Green Trend Line: Indicates a bullish trend.
Red Trend Line: Indicates a bearish trend.
Gray Trend Line: Neutral phase.
B. Dynamic Background Fill
Shaded Green Areas: Confirmed uptrend zones.
Shaded Red Areas: Confirmed downtrend zones.
4. Customization & Parameters
ATR Length & Multipliers: Adjust trend sensitivity with separate multipliers for bullish and bearish phases.
Moving Average Type: Select from VWMA, EMA, SMA, HMA, WMA, DEMA, TEMA for volume-weighted calculations.
Volume Length: Modify how far back volume data is used to refine trend calculations.
Color Themes: Choose from 8 distinct color modes for clear visual representation.
5. Backtest & Market Applications
Backtest Summary :
The Volume Adaptive Supertrend (VWST) has been tested across multiple assets, including:
BTC/USD
ETH/USD
SOL/USD
📊 Key Observations:
Responsive Trend Detection: The volume-weighted adaptation helps minimize lag in trend shifts.
Versatile Across Market Conditions: Works well in both trending and consolidating phases with appropriate settings.
Customizable Risk Control: ATR multipliers can be adjusted to fine-tune signal sensitivity.
⚠️ Disclaimer: This indicator is designed to complement existing analysis techniques . Market conditions vary, and no tool can guarantee future performance. Always use proper risk management when trading.
6. Final Thoughts
The Volume Weighted Supertrend (VWST) enhances traditional Supertrend indicators by incorporating volume-adjusted trend detection.
Its dynamic ATR-based trend filtering ensures greater responsiveness to real market conditions.
Suitable for trend traders, breakout traders, and risk-conscious investors looking for volume-driven confirmations.
Use it alongside other confluences to build a robust trading system.
Important Reminder: No single indicator guarantees profitability. Always validate signals with additional market context. 📊
beanBean's Multi-Instrument Pattern Scanner.
This indicator scans H1 timeframe for specific technical patterns. Here's how each pattern is detected:
PATTERN DETECTION CRITERIA:
1. Hammer
- Body Size: ≤ 30% of total candle length
- Lower Wick: > 50% of total candle length
- Upper Wick: < 20% of total candle length
- Formula:
* bodySize = |close - open|
* upperWick = high - max(open, close)
* lowerWick = min(open, close) - low
* totalLength = high - low
2. Shooting Star
- Body Size: ≤ 30% of total candle length
- Upper Wick: > 50% of total candle length
- Lower Wick: < 20% of total candle length
- Uses same measurements as Hammer but inverted
3. Outside/Inside (OI)
Checks three consecutive bars:
- Outside Bar: Bar2 high ≥ Bar3 high AND Bar2 low ≤ Bar3 low
- Inside Bar: Bar1 high ≤ Bar2 high AND Bar1 low ≥ Bar2 low
Pattern confirms when both conditions are met
4. Bullish/Bearish Umbrella
Checks two consecutive bars:
Bullish:
- Current bar's high ≤ previous bar's high
- Current body high ≤ previous bar's high
- Current body low ≥ previous body high
Bearish:
- Current bar's low ≥ previous bar's low
- Current body low ≥ previous bar's low
- Current body high ≤ previous body low
5. Three Bar Triangle (3BT)
Checks three consecutive bars:
- Current bar's high ≤ max(previous two highs)
- Current bar's low ≥ min(previous two lows)
- Indicates price compression
DISPLAY AND ALERTS:
- Patterns are displayed in real-time in the table
- Multiple patterns can be detected simultaneously
- Pattern detection resets each new H1 candle
CONFIGURATION:
- Each row can be independently configured
- Patterns are checked on H1 timeframe close
- Alert frequency: Once per H1 bar close
Note: All measurements use standard OHLC values from only completed H1 candles.
Enhanced Interval Candle with Breakout Detection and Detailed InThis indicator visualizes the last candle of a user-defined time interval (e.g., 1 hour, 4 hours, 1 day) on the current chart, providing enhanced details and breakout detection. It fetches the open, high, low, and close prices of the interval candle and draws a stylized representation of it, offset to the right of the current bar. The candle body and wicks are colored according to whether the interval candle closed bullishly (green) or bearishly (red). In addition to the candle itself, the indicator displays horizontal dotted lines representing the high, low, and midpoint of the interval candle, along with labels showing their exact values. These labels are dynamically updated as the interval candle changes. Furthermore, the script detects and visualizes breakouts of the interval candle's high or low. When the current price closes above the interval high, a green dashed line and a "Bullish Breakout" label are displayed. Conversely, when the current price closes below the interval low, a red dashed line and a "Bearish Breakout" label are shown. The breakout lines and labels are also dynamically updated. This indicator helps traders easily track the price action of a higher timeframe candle and spot potential breakouts based on that candle's range. The user can configure the time interval to suit their trading needs.
PumpC CBC EMAs + VWAPPumpC CBC EMAs + VWAP Indicator for Tradingview
Introduction
This is an indicator for the Candle By Candle (CBC) Flip strategy , based on the CBC Flip concept taught by MapleStax and inspired by the original CBC Flip indicator by AsiaRoo . The CBC Flip strategy is a simple yet effective approach to gauge if bulls or bears are in control for any given candle.
The logic behind the CBC Flip is as follows:
Bullish Flip : If the most recent candle’s close is above the previous candle’s high, bulls have taken control.
Bearish Flip : If the most recent candle’s close is below the previous candle’s low, bears are now in control.
No Flip : If neither condition is met, the previously dominant side (bulls or bears) remains in control until one of these conditions is satisfied, flipping the market sentiment—hence the name CBC Flip .
The PumpC CBC EMAs + VWAP Indicator enhances this simple strategy by adding trend confirmation filters using EMAs and VWAP , along with time-restricted signal generation and fully customizable alerts.
What Does This Indicator Do?
The PumpC CBC EMAs + VWAP Indicator helps traders identify CBC Flips to spot potential trend continuations or reversals. It combines candlestick logic , trend filters , and time-based restrictions to provide high-probability trade signals.
CBC Flip Detection
Bullish Flip : Current close is above the previous candle’s high.
Bearish Flip : Current close is below the previous candle’s low.
Strict Flips : Require a liquidity sweep for higher accuracy.
All Flips : Looser conditions that generate more frequent signals.
EMA and VWAP Trend Confirmation (Optional)
This filter ensures that long signals only trigger when the Slow EMA is above the VWAP , confirming an upward trend. For short signals, the Slow EMA must be below the VWAP.
Time-Based Filtering
The indicator allows you to set a specific trading window (e.g., 9:00 AM to 3:00 PM), helping you avoid low-volume or high-risk periods.
Visual Labels and Alerts
Labels : Arrows (▲ for long and ▼ for short) mark CBC Flip points on the chart.
Alerts : Fully customizable notifications for each signal type, based on your chosen filters.
Key Features
CBC Flip Detection : Identify potential reversals and trend continuations.
Strict vs. All Flips : Choose between higher-accuracy strict flips or more frequent all flips.
EMA-to-VWAP Filter : Optional trend confirmation filter to reduce false signals.
Customizable EMAs and VWAP : Configure lengths and colors for visual clarity.
Time-Restricted Signals : Focus on your preferred trading session.
Custom Alerts : Notifications for long and short signals based on filter settings.
Credits and Inspiration
The CBC Flip strategy was created by MapleStax .
This indicator is inspired by the original CBC Flip indicator by AsiaRoo .
Additional enhancements include EMA-to-VWAP filtering , custom alerts , and time-restricted signal generation for a more comprehensive trading experience.
Risks and Disclaimer
This indicator is for educational purposes only and does not constitute financial advice.
Trading involves significant risk, and past performance does not guarantee future results. Always test this indicator in a simulated environment before live trading.
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 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).
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.
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.
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