Midnight Opening Ranges[TDL]Midnight Opening Range Indicator for TradingView
Description:
The Midnight Opening Range Indicator as taught by Micheal J. Huddleston is a powerful tool designed for traders who want to analyze price action during the critical midnight to 00:30 timeframe. This indicator highlights the opening range for both the current day and previous days, providing valuable insights into market behavior during this specific period. It also calculates and displays deviations from the opening range, as well as allows for custom opening prices to be set, making it highly adaptable to your trading strategy.
Key Features:
Today's Opening Range (00:00 - 00:30):
The indicator plots the high and low of the price range between 00:00 and 00:30 for the current day.
This range is highlighted on the chart, making it easy to identify the initial market movement and potential support/resistance levels.
Previous Days' Opening Ranges:
The indicator also displays the opening ranges for previous days, allowing you to how price reacts off of previous days ranges not just todays.
This feature helps in identifying patterns or recurring behaviors in the market in which price uses this range and previous days ranges throughout the trading day.
Deviations from the Opening Range:
The indicator calculates and plots deviations from the opening range, both above and below the high and low of the range.
These deviations can be used to identify potential breakout or reversal points, giving you an edge in anticipating market moves.
Custom Opening Prices:
The indicator allows you to set custom opening prices, which can be useful if you want to analyze the market based on a specific reference point rather than the default midnight opening.
This feature is particularly useful for traders who follow alternative trading sessions or have specific entry criteria.
Customizable Visuals:
The indicator offers customizable colors and styles for the opening range, deviations, and custom opening prices, allowing you to tailor the visual representation to your preferences.
How to Use:
Identify Key Levels: Use the highlighted opening range to identify key support and resistance levels for the day.
Monitor Deviations: Watch for price movements beyond the opening range deviations to spot potential breakouts or reversals.
Previous Range Data: Use previous days to identify areas of potential AMD.
Set Custom Prices: Adjust the custom opening price to align with your trading strategy or session preferences.
Ideal For:
Day Traders: Perfect for traders who focus on the early hours of the market to capture initial momentum.
Swing Traders: Useful for identifying key levels that could influence price action over several days.
Algorithmic Traders: Can be integrated into automated trading systems to trigger trades based on the opening range and deviations.
Conclusion:
The Midnight Opening Range Indicator is an essential tool for any trader looking to gain an edge in the market by focusing on the critical midnight to 00:30 timeframe. With its ability to highlight opening ranges, calculate deviations, and accommodate custom opening prices, this indicator provides a comprehensive view of market behavior during this pivotal period. Whether you're a day trader, swing trader, or algorithmic trader, this indicator will help you make more informed trading decisions.
Trend Analysis
Kalman Filter Trend BreakersThe Kalman filter is a recursive algorithm developed in 1960 by Rudolf E. Kálmán, a Hungarian-American engineer and mathematician, that provides optimal estimates of a system's state by combining noisy measurements with a predictive model. It is widely used in control systems, signal processing, and finance for tracking and forecasting.
In trading, KF might be a good replacement for a moving average, as it reacts to price changes in a different way. Not only it follows price direction, but can also track the velocity of price change. This specific behaviour of KF is used in this indicator to track changes in trends.
Trend is characterized by price moving directionally, however, any trend comes to pause or complete stop and reversal, as the price changes more slowly (a trend fades into a sideways movement for a while) or the price movement changes direction, thus making a reversal.
This indicator detects the points where such changes occur (trend breaker points), and produces signals, which serve as points of current trend pausing or reversing. By applying different settings for KF calculation, you can produce less or more signals that indicate change in trend character, and either detect only significant trends changes, or less and shorter trends changes as well.
The signals do not differentiate the exact type of a trend change (it can be a brief trend pause followed by a continuation, as well as a complete reversal). However, once you are in a trend, the significant velocity change indicates a change in trend structure. In this sense, trend breaker signals should not be followed blindly, and can be used only as trend (and subsequently, position) exit confirmations, but not the entry contrarian confirmations.
For better visual representation, you can use chart signals attached to bars, and additionally paint a vertical gradient at each signal which shows significant trend deceleration.
Kalman filter calculations used in this indicator are partially based on an open-source code from @loxx which was published in 2022 as Kalman filter overlay .
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. 🚀
Momentum Theory Quick BiasMomentum Theory Quick Bias is a watchlist screener tool for rapid multi-timeframe analysis. It displays a variety of information from higher timeframes in order to set a directional bias including: breakout levels, peak levels, previous bar closes, and swing points.
✅ 8 Symbol Watchlist Scanner
✅ Quickly Set Directional Bias
✅ For Scalpers, Day Traders, and Swing Traders
--- 📷 INDICATOR GALLERY ---
--- 🚀 QUICK LOOK ---
✔ Multi-Timeframe Analysis
Displays various higher timeframe information in order to read how an asset is moving with one quick glance. Utilizes icons and colors that serve as visual cues.
--- ⚡ FEATURES ---
✔ Breakout Bias
Shows if the current price is above or below the breakout level on the timeframe.
✔ Peak Bias
Shows if the current previous peak has been triggered and where price is relative to it.
✔ Previous Bar Close
Shows how the previous bar closed and whether it's bullish or bearish.
Breakout
Fakeout
Inside
Outside
✔ Swing Point
Shows if the timeframe has currently flipped its breakout level.
✔ Bias Alignment
Shows visual icons if there is bias alignment between the timeframes.
↗️↘️ Breakout Bias Alignment
🔼🔽 Peak Bias Alignment
🔀 Breakout and Peak Bias Alignment, but opposite
✅ Breakout and Peak Bias Alignment
✔ Quick Analysis
Hover over the symbol name to view which timeframe levels are bullish or bearish and if peak levels have been triggered.
--- 🔥 OTHER FEATURES ---
✔ Built-In Presets
Create your own custom watchlist or use one of the built-in ones (using Oanda charts)
It's recommended to use the same source for all assets in your watchlist whenever possible
✔ Customized Layouts
Display the watchlist in a variety of different column arrangements.
✔ Dark and Light Modes
Adjustable theme colors to trade your chart the way you want.
✔ Plug-and-Play
Automatically changes the relevant levels depending on the viewed timeframe. Just fill in your watchlist, add it to your chart, and start trading!
Set the indicator to the following timeframes to view those arrangements:
Month Timeframe - Y / 6M / 3M / M
Week Timeframe - 6M / 3M / M / W
Day Timeframe - 3M / M / W / D
H4 Timeframe - Y / M / W / D
M15 Timeframe - M / W / D / H8
M10 Timeframe - M / W / D / H4
M5 Timeframe - W / D / H8 / H2
M3 Timeframe - W / D / H4 / H1
M2 Timeframe - D / H8 / H2 / M30
M1 Timeframe - D / H4 / H1 / M15
--- 📝 HOW TO USE ---
1) Create your watchlist or use one of the built-in presets and place it on the timeframe you want to see. If no watchlist is created, it automatically sets to the current asset.
2) Alignments will trigger in real-time and push to the top of the column.
It is recommended to place the indicator in a different chart window, so it won't have to refresh every time the asset or timeframe changes.
Smart Money Index + True Strength IndexThe Smart Money Index + True Strength Index indicator is a combination of two popular technical analysis indicators: the Smart Money Index (SMI) and the True Strength Index (TSI). This combined indicator helps traders identify potential entry points for long and short positions based on signals from both indexes.
Main Components:
Smart Money Index (SMI):
The SMI measures the difference between the closing and opening price of a candle multiplied by the trading volume over a certain period of time. This allows you to assess the activity of large players ("smart money") in the market. If the SMI value is above a certain threshold (smiThreshold), it may indicate a bullish trend, and if lower, it may indicate a bearish trend.
True Strength Index (TSI):
The TSI is an oscillator that measures the strength of a trend by comparing the price change of the current bar with the previous bar. It uses two exponential moving averages (EMAS) to smooth the data. TSI values can fluctuate around zero, with values above the overbought level indicating a possible downward correction, and values below the oversold level signaling a possible upward correction.
Parameters:
SMI Length: Defines the number of candles used to calculate the average SMI value. The default value is 14.
SMI Threshold: A threshold value that is used to determine a buy or sell signal. The default value is 0.
Length of the first TSI smoothing (tsiLength1): The length of the first EMA for calculating TSI. The default value is 25.
Second TSI smoothing length (tsiLength2): The length of the second EMA for additional smoothing of TSI values. The default value is 13.
TSI Overbought level: The level at which the market is considered to be overbought. The default value is 25.
Oversold level TSI: The level at which it is considered that the market is in an oversold state. The default value is -25.
Logic of operation:
SMI calculation:
First, the difference between the closing and opening price of each candle (close - open) is calculated.
This difference is then multiplied by the trading volume.
The resulting product is averaged using a simple moving average (SMA) over a specified period (smiLength).
Calculation of TSI:
The price change relative to the previous bar is calculated (close - close ).
The first EMA with the length tsiLength1 is applied.
Next, a second EMA with a length of tsiLength2 is applied to obtain the final TSI value.
The absolute value of price changes is calculated in the same way, and two emas are also applied.
The final TSI index is calculated as the ratio of these two values multiplied by 100.
Graphical representation:
The SMI and TSI lines are plotted on the graph along with their respective thresholds.
For SMI, the line is drawn in orange, and the threshold level is dotted in gray.
For the TSI, the line is plotted in blue, the overbought and oversold levels are indicated by red and green dotted lines, respectively.
Conditions for buy/sell signals:
A buy (long) signal is generated when:
SMI is greater than the threshold (smi > smiThreshold)
TSI crosses the oversold level from bottom to top (ta.crossover(tsi, oversold)).
A sell (short) signal is generated when:
SMI is less than the threshold (smi < smiThreshold)
TSI crosses the overbought level from top to bottom (ta.crossunder(tsi, overbought)).
Signal display:
When the conditions for a long or short are met, labels labeled "LONG" or "SHORT" appear on the chart.
The label for the long is located under the candle and is colored green, and for the short it is above the candle and is colored red.
Notification generation:
The indicator also supports notifications via the TradingView platform. Notifications are sent when conditions arise for a long or short position.
This combined indicator provides the trader with the opportunity to use both SMI and TSI signals simultaneously, which can improve the accuracy of trading decisions.
15 Minute Touch or Not TouchBuy Condition:
The trend is up
A candle forms below the White line without touching it (or only the wick touches).
The next candle forms above the White line without touching it.
A buy signal is generated on the next candle.
Sell Condition:
The trend is down
A candle forms above the White line without touching it (or only the wick touches).
The next candle forms below the White line without touching it.
A sell signal is generated on the next candle
Blockchain Fundamentals: Global LiquidityGlobal Liquidity Indicator Overview
This indicator provides a comprehensive technical analysis of liquidity trends by deriving a Global Liquidity metric from multiple data sources. It applies a suite of technical indicators directly on this liquidity measure, rather than on price data. When this metric is expanding Bitcoin and crypto tends to bullish conditions.
Features:
1. Global Liquidity Calculation
Data Integration: Combines multiple market data sources using a ratio-based formula to produce a unique liquidity measure.
Custom Metric: This liquidity metric serves as the foundational input for further technical analysis.
2. Timeframe Customization
User-Selected Period: Users can select the data timeframe (default is 2 months) to ensure consistency and flexibility in analysis.
3. Additional Technical Indicators
RSI, Momentum, ROC, MACD, and Stochastic:
Each indicator is computed using the Global Liquidity series rather than price.
User-selectable toggles allow for enabling or disabling each individual indicator as desired.
4. Enhanced MACD Visualization
Dynamic Histogram Coloring:
The MACD histogram color adjusts dynamically: brighter hues indicate rising histogram values while darker hues indicate falling values.
When the histogram is above zero, green is used; when below zero, red is applied, offering immediate visual insight into momentum shifts.
Conclusion
This indicator is an enlightening tool for understanding liquidity dynamics, aiding in macroeconomic analysis and investment decision-making by highlighting shifts in liquidity conditions and market momentum.
Fractal Trend Anticipator (FTA)How to Use FTA
Purpose:
FTA is designed to detect when a consolidating (or choppy) market—with a high choppiness index—is poised to break into a trend as indicated by an RSI crossover.
Signals:
Bullish Breakout: When the Choppiness Index is above your set threshold and the RSI crosses upward over 50, a bullish arrow (triangle up) appears below the bar.
Bearish Breakout: Conversely, when the RSI crosses downward from above 50 under high choppiness, a bearish arrow (triangle down) appears above the bar.
Trading Insight:
In crypto markets, when price is range-bound, a sudden release of momentum can be captured early by FTA. Use these signals as early alerts to join moves as they begin—whether you plan to ride a short-term spike or a medium-term trend.
Feel free to adjust the and parameters to suit your trading style and asset volatility. Enjoy trading with your updated Fractal Trend Anticipator!
Volatility-Adjusted Momentum Oscillator (VAMO)Concept & Rationale: This indicator combines momentum and volatility into one oscillator. The idea is that a price move accompanied by high volatility has greater significance. We use Rate of Change (ROC) for momentum and Average True Range (ATR) for volatility, multiplying them to gauge “volatility-weighted momentum.” This concept is inspired by the Weighted Momentum & Volatility Indicator, which multiplies normalized ROC and ATR values. The result is shown as a histogram oscillating around zero – rising green bars indicate bullish momentum, while falling red bars indicate bearish momentum. When the histogram crosses above or below zero, it provides clear buy/sell signals. Higher magnitude bars suggest a stronger trend move. Crypto markets often see volatility spikes preceding big moves, so VAMO aims to capture those moments when momentum and volatility align for a powerful breakout.
Key Features:
Momentum-Volatility Fusion: Measures momentum (price ROC) adjusted by volatility (ATR). Strong trends register prominently only when price change is significant and volatility is elevated.
Intuitive Histogram: Plotted as a color-coded histogram around a zero line – green bars above zero for bullish trends, red bars below zero for bearish. This makes it easy to visualize trend strength and direction at a glance.
Clear Signals: A cross above 0 signals a buy, and below 0 signals a sell. Traders can also watch for the histogram peaking and then shrinking as an early sign of a trend reversal (e.g. bars switching from growing to shrinking while still positive could mean bullish momentum is waning).
Optimized for Volatility: Because ATR is built-in, the oscillator naturally adapts to crypto volatility. In calm periods, signals will be smaller (reducing noise), whereas during volatile swings the indicator accentuates the move, helping predict big price swings.
Customization: The lookback period is adjustable. Shorter periods (e.g. 5-10) make it more sensitive for scalping, while longer periods (20+) smooth it out for swing trading.
How to Use: When VAMO bars turn green and push above zero, it indicates bullish momentum with strong volatility – a cue that price is likely to rally in the near term. Conversely, red bars below zero signal bearish pressure. For example, if a coin’s price has been flat and then VAMO spikes green above zero, it suggests an explosive upward move is brewing. Traders can enter on the zero-line cross (or on the first green bar) and consider exiting when the histogram peaks and starts shrinking (signaling momentum slowdown). In sideways markets, VAMO will hover near zero – staying out during those low-volatility periods helps avoid false signals. This indicator’s strength is catching the moment when a quiet market turns volatile in one direction, which often precedes the next few candlesticks of sustained movement.
Markov + Monte Carlo Simulation with EVMarkov Monte Carlo Projection (MMCP) – A Probabilistic Approach to Price Forecasting
Introduction: A New Approach to Price Projection
The Markov Monte Carlo Projection (MMCP) is an advanced stochastic forecasting tool that models potential future price paths using a combination of Markov Chain transition probabilities and Monte Carlo simulations. Unlike traditional technical indicators that rely on fixed formulas, MMCP employs probability distributions and simulated price movement paths to estimate future price behavior dynamically.
This indicator is designed to adapt to changing market conditions and provides traders with a probabilistic framework rather than a fixed forecast. By incorporating volatility modeling, MMCP enables traders to size projections proportionally to recent price action, making it an adaptive and flexible forecasting tool.
Mathematical Foundations
Markov Chains: Modeling Probability of Price Movements
A Markov Chain is a stochastic process where the probability of transitioning to the next state depends only on the current state and not on past states (i.e., it is memoryless).
For price movement, MMCP analyzes the past N bars (set by the lookback window) to determine the transition probabilities of price moving up, down, or remaining the same based on past behavior:
Pup=Number of Up MovesTotal Moves
Pup=Total MovesNumber of Up Moves
Pdown=Number of Down MovesTotal Moves
Pdown=Total MovesNumber of Down Moves
Psame=1−(Pup+Pdown)
Psame=1−(Pup+Pdown)
These probabilities guide how future price movements are simulated, ensuring that projections reflect historical price behavior tendencies.
Monte Carlo Simulations: Generating Possible Futures
Monte Carlo simulations involve running many random trials to estimate possible outcomes. Each trial simulates a future price path by:
Randomly selecting a direction based on the Markov probabilities Pup,Pdown,PsamePup,Pdown,Psame.
Determining the magnitude of the price movement using a normally distributed volatility model.
Iterating this process across multiple forecast bars to simulate a range of potential price paths.
This process does not predict a single outcome, but rather generates a probability-weighted range of future price possibilities.
Volatility Modeling: Scaling Movements Proportionally
Why We Use Standard Deviation (σσ)
Price movement is inherently volatile, and the magnitude of price shifts must be scaled relative to recent volatility. MMCP calculates rolling price returns and then derives the standard deviation of those returns:
σ=stdev(price returns,lookback)
σ=stdev(price returns,lookback)
The Volatility Multiplier allows users to adjust the impact of this volatility on projected movements. This makes the indicator adaptive to different asset price ranges.
Key User Adjustments
1. Volatility Multiplier – Tuning Projections for Different Assets
The scale of the Volatility Multiplier must be tuned for each asset because it is relative to the magnitude of price action. For example:
Low-priced assets (e.g., $2.50 stocks) → A multiplier of 0.1 works best.
Mid-priced assets (e.g., $250 stocks) → A multiplier of 3 works best.
High-priced assets (e.g., Bitcoin) → A multiplier of 1000 works best.
🔹 If projections seem too extreme, decrease the multiplier.
🔹 If projections seem too flat, increase the multiplier.
The Volatility Multiplier can also be fine-tuned to make the projected signal proportionate to the immediately preceding price action.
2. Expected Value (EV) Path – Analyzing Aggregate Future Probabilities
The EV Line is a computed average of all simulated paths, giving traders an expected mean trajectory.
If you find that the EV Line is not visible, try increasing the volatility multiplier to make it more pronounced.
3. Projection Inversion – Enhancing Analysis with Paired Indicators
A unique feature of MMCP is the projection inversion toggle, designed to allow traders to run multiple instances of the indicator in tandem.
When one instance is set to normal projection and another to inverted projection, traders can pair them together using identical settings (except inversion). This setup allows for a mirrored probability perspective and enhances visualizing volatility dynamics.
Additionally, traders can use multiple sets of paired indicators, each with a different lookback window, to build a multi-layered, probability-driven market visualization. This dynamic approach provides an evolving structure of probable price movement in different time frames, offering deeper insights into potential market conditions.
How MMCP Works in Real-Time
Each new bar triggers a fresh Monte Carlo simulation, meaning that projections organically evolve with the market. This ensures that MMCP is always responding to current conditions, rather than applying static assumptions.
How to Use MMCP in Trading
✔ Identifying Potential Reversal & Continuation Zones
If most Monte Carlo paths project upward, bullish momentum is likely.
If most Monte Carlo paths project downward, bearish momentum is likely.
The Expected Value (EV) Line can help confirm the most probable trajectory.
✔ Analyzing Market Sentiment in Real Time
Use multiple instances of MMCP with different lookback windows to capture short-term vs. long-term sentiment.
Enable projection inversion to analyze potential mirrored moves.
✔ Fine-Tuning MMCP for Your Strategy
Adjust the Volatility Multiplier to match the price scale of your asset.
Increase the number of simulations to improve statistical robustness.
Use shorter lookback windows for more responsive predictions, or longer windows for more stable forecasts.
Why MMCP is a Game-Changer
✅ Dynamic & Probabilistic – Unlike fixed indicators, MMCP adapts in real-time.
✅ Fully Stochastic – MMCP embraces uncertainty using Markov models & Monte Carlo simulations.
✅ Customizable for Any Asset – Adjust the Volatility Multiplier for small or large price movements.
✅ Live Updates – The projection organically evolves with every new price bar.
✅ Multi-Perspective Analysis – Traders can run paired normal and inverted projections for deeper insights.
By tuning Volatility Multiplier, Lookback Window, and Projection Inversion, traders can customize MMCP to fit their strategy.
Final Thoughts
The Markov Monte Carlo Projection (MMCP) is not about making absolute predictions—it is about understanding probability distributions in price action.
By leveraging Monte Carlo simulations, Markov transition probabilities, and dynamic volatility modeling, MMCP gives traders a powerful probability-based edge in forecasting potential price movement.
Turtle Soup Model [PhenLabs]📊 Turtle Soup Model
Version: PineScript™ v6
Description
The Turtle Soup Model is an innovative technical analysis tool that combines market structure analysis with inter-market comparison and gap detection. Unlike traditional structure indicators, it validates market movements against a comparison symbol (default: ES1!) to identify high-probability trading opportunities. The indicator features a unique “soup pattern” detection system, comprehensive gap analysis, and real-time structure breaks visualization.
Innovation Points:
First indicator to combine structure analysis with gap detection and inter-market validation
Advanced memory management system for efficient long-term analysis
Sophisticated pattern recognition with multi-market confirmation
Real-time structure break detection with comparative validation
🔧 Core Components
Structure Analysis: Advanced pivot detection with inter-market validation
Gap Detection: Sophisticated gap identification and classification system
Inversion Patterns: “Soup pattern” recognition for reversal opportunities
Visual System: Dynamic rendering of structure levels and gaps
Alert Framework: Multi-condition notification system
🚨 Key Features 🚨
The indicator provides comprehensive analysis through:
Structure Levels: Validated support and resistance zones
Gap Patterns: Identification of significant market gaps
Inversion Signals: Detection of potential reversal points
Real-time Comparison: Continuous inter-market analysis
Visual Alerts: Dynamic structure break notifications
📈 Visualization
Structure Lines: Color-coded for highs and lows
Gap Boxes: Visual representation of gap zones
Inversion Patterns: Clear marking of potential reversal points
Comparison Overlay: Inter-market divergence visualization
Alert Indicators: Visual signals for structure breaks
💡Example
📌 Usage Guidelines
The indicator offers multiple customization options:
Structure Settings:
Pivot Period: Adjustable for different market conditions
Comparison Symbol: Customizable reference market
Visual Style: Configurable colors and line widths
Gap Analysis:
Signal Mode: Choice between close and wick-based signals
Box Rendering: Automatic gap zone visualization
Middle Line: Reference point for gap measurements
✅ Best Practices:
🚨Use comparison symbol from related market🚨
Monitor both structure breaks and gap inversions
Combine signals for higher probability trades
Pay attention to inter-market divergences
⚠️ Limitations
Requires comparison symbol data
Performance depends on market correlation
Best suited for liquid markets
What Makes This Unique
Inter-market Validation: Uses comparison symbol for signal confirmation
Gap Integration: Combines structure and gap analysis
Soup Pattern Detection: Identifies specific reversal patterns
Dynamic Structure Management: Automatically updates and removes invalid levels
Memory-Efficient Design: Optimized for long-term chart analysis
🔧 How It Works
The indicator processes market data through three main components:
1. Structure Analysis:
Detects pivot points with comparison validation
Tracks structure levels with array management
Identifies and processes structure breaks
2. Gap Analysis:
Identifies significant market gaps
Processes gap inversions
Manages gap zones visualization
3. Pattern Recognition:
Detects “soup” patterns
Validates with comparison market
Generates structure break signals
💡 Note: The indicator performs best when used with correlated comparison symbols and appropriate timeframe selection. Its unique inter-market validation system provides additional confirmation for traditional structure-based trading strategies.
Dynamic SL - 1 Pip (Up and Down)The Dynamic SL - 1 Pip Up and Down indicator creates two dynamic lines that follow the price at a distance of 1 pip above and below the closing price. This feature can be particularly useful for traders who want to visualize small stop-loss (SL) levels or track price movement in a highly responsive manner.
Unlike traditional stop-loss indicators, this script ensures that the lines only last for 5 seconds, keeping the chart clean and focusing only on the most relevant price movement.
Key Features
✔ Dynamic Stop-Loss Visualization:
The script draws a green line above the price (+1 pip).
A red line below the price (-1 pip) is also drawn.
✔ Auto-Clearing for a Clean Chart:
Each line lasts for 5 seconds only before automatically disappearing.
This prevents unnecessary clutter on the chart and ensures only the latest price movements are visualized.
✔ Adaptable to Multiple Assets:
Automatically calculates the pip size based on the instrument type:
Forex → Uses 0.0001 per pip.
Futures & Stocks → Uses the minimum tick size.
✔ Ideal for High-Frequency Traders & Scalpers:
Designed for 1-minute (M1) or lower timeframes where traders need to monitor price action closely.
Helps visualize ultra-tight stop-loss levels in scalping strategies.
Sma Indicator with Ratio (pr)SMA Indicator with Ratio (PR) is a technical analysis tool designed to provide insights into the relationship between multiple Simple Moving Averages (SMAs) across different time frames. This indicator combines three key SMAs: the 111-period SMA, 730-period SMA, and 1400-period SMA. Additionally, it introduces a ratio-based approach, where the 730-period SMA is multiplied by factors of 2, 3, 4, and 5, allowing users to analyze potential market trends and price movements in relation to different SMA levels.
What Does This Indicator Do?
The primary function of this indicator is to track the movement of prices in relation to several SMAs with varying periods. By visualizing these SMAs, users can quickly identify:
Short-term trends (111-period SMA)
Medium-term trends (730-period SMA)
Long-term trends (1400-period SMA)
Additionally, the multiplied versions of the 730-period SMA provide deeper insights into potential price reactions at different levels of market volatility.
How Does It Work?
The 111-period SMA tracks the shorter-term price trend and can be used for identifying quick market movements.
The 730-period SMA represents a longer-term trend, helping users gauge overall market sentiment and direction.
The 1400-period SMA acts as a very long-term trend line, giving users a broad perspective on the market’s movement.
The ratio-based SMAs (2x, 3x, 4x, 5x of the 730-period SMA) allow for an enhanced understanding of how the price reacts to higher or lower volatility levels. These ratios are useful for identifying key support and resistance zones in a dynamic market environment.
Why Use This Indicator?
This indicator is useful for traders and analysts who want to track the interaction of price with different moving averages, enabling them to make more informed decisions about potential trend reversals or continuations. The added ratio-based values enhance the ability to predict how the market might react at different levels.
How to Use It?
Trend Confirmation: Traders can use the indicator to confirm the direction of the market. If the price is above the 111, 730, or 1400-period SMA, it may indicate an uptrend, and if below, a downtrend.
Support/Resistance Levels: The multiplied versions of the 730-period SMA (2x, 3x, 4x, 5x) can be used as dynamic support or resistance levels. When the price approaches or crosses these levels, it might indicate a change in the trend.
Volatility Insights: By observing how the price behaves relative to these SMAs, traders can gauge market volatility. Higher multiples of the 730-period SMA can signal more volatile periods where price movements are more pronounced.
Price Step Channel [BigBeluga]Price Step Channel is designed to provide a structured look at price trends through a dynamic step line channel, highlighting trend direction and volatility boundaries.
🔵 Key Features:
Step Line with Boundaries: The central step line adjusts with price movements, creating upper and lower boundaries based on price volatility. The channel is green during uptrends and red during downtrends, visually signaling the trend’s direction.
Fakeout Markers: "✖" markers identify potential fakeouts—moments when the price breaches the channel boundary without confirming a trend change. These markers help you spot possible mean reversion points.
Dynamic Boundary Labels: Labels at the end of the channel show the price levels of the upper and lower boundaries. In uptrends, the upper label turns green; in downtrends, the lower label turns red, providing an instant read on the trend's direction.
Customizable Display: You can toggle off the boundaries and labels for a cleaner view, focusing only on the step line and its color-coded trend signals.
🔵 When to Use:
Price Step Channel is ideal for traders looking to follow structured trends with defined volatility boundaries. The step line and color-coded channel provide clear trend insights, while the fakeout markers and customizable display options enhance flexibility in different market conditions. Whether you’re focusing on clean trend signals or detailed boundary interactions, this tool adapts to your style.
Fibonacci Volume Profiles [AlgoAlpha]Unlock a deeper understanding of price action with the Fibonacci Volume Profiles indicator by AlgoAlpha! This powerful tool blends Fibonacci retracement levels with customizable volume profiles, helping traders identify high-probability areas of support, resistance, and accumulation. Designed for both continuous dynamic levels and custom time periods, this indicator is a must-have for traders seeking confluence in market structure analysis.
🔑 Key Features
📈 Dual Mode Selection : Choose between Continuous Fibonacci levels, which adapt dynamically to pivots, or a Custom Period mode, where you set your own start and end points.
📊 Integrated Volume Profile : Visualize volume distributions at key Fibonacci retracement levels, revealing areas of strong buying/selling interest.
🎨 Customizable Colors & Transparency : Adjust Fibonacci level colors, fill zones, and profile transparency for a visually clear experience.
🔍 Profile Resolution & Scaling : Control the number of price levels and width of the volume profile for detailed market insights.
🛠 Extendable Levels : Optionally extend Fibonacci levels to the right of the chart for better visualization of future price interaction.
📌 How to Use
Add the Indicator: Click on the star icon to add it to your favorites and apply it to your TradingView chart.
Analyze The Market: Observe how price interacts with Fibonacci levels alongside the volume profile to confirm support/resistance zones. Switch between custom range or continuous mode to align the tool with your trading style.
⚙️ How It Works
The indicator calculates pivot highs/lows dynamically (or uses user-defined time periods) to plot Fibonacci retracement levels. It then builds a volume profile by analyzing historical volume data, grouping it into price bins to highlight volume-heavy zones. The Point of Control (PoC) is identified as the level with the highest traded volume, acting as a key price magnet. The color-coded Fibonacci levels help traders spot retracement zones, while the volume profile confirms strength or weakness in those areas.
Engulfing Pattern with Volume and EMAs
**Strategy Overview:
This strategy combines price action (Engulfing patterns), volume analysis, trend confirmation (EMAs), and noise reduction (ATR filter) to generate high-probability trading signals.
Engulfing Pattern with Volume, EMAs, and Market Noise Filter**
This strategy identifies bullish and bearish Engulfing candlestick patterns, combined with volume analysis, moving averages (EMAs), and a market noise filter to generate trading signals.
**Key Components:**
1. **Engulfing Pattern Detection:**
- **Bullish Engulfing**: A green candle completely engulfs the previous red candle.
- **Bearish Engulfing**: A red candle completely engulfs the previous green candle.
2. **Volume Filter:**
- Signals are validated only if the current volume is higher than the 20-period Simple Moving Average (SMA) of volume.
3. **EMA Indicators:**
- Three EMAs are plotted: 50-period (blue), 89-period (orange), and 200-period (red).
- These EMAs help identify the trend direction and provide additional confirmation.
4. **Market Noise Filter:**
- Uses the Average True Range (ATR) to filter out insignificant price movements.
- A signal is considered valid only if the price movement (absolute difference between open and close) is greater than 0.5 times the 14-period ATR.
**Trading Signals:**
**Buy Signal**:
- Bullish Engulfing pattern + High volume (above SMA 20) + Significant price movement (filtered by ATR).
- Plotted as a green "BUY" label below the candle.
**Sell Signal**:
- Bearish Engulfing pattern + High volume (above SMA 20) + Significant price movement (filtered by ATR).
- Plotted as a red "SELL" label above the candle.
**Customization:**
- Users can adjust EMA lengths, volume SMA period, and ATR multiplier to suit their trading preferences.
Triad Trade MatrixOverview
Triad Trade Matrix is an advanced multi-strategy indicator built using Pine Script v5. It is designed to simultaneously track and display key trading metrics for three distinct trading styles on a single chart:
Swing Trading (Swing Supreme):
This mode captures longer-term trends and is designed for trades that typically span several days. It uses customizable depth and deviation parameters to determine swing signals.
Day Trading (Day Blaze):
This mode focuses on intraday price movements. It generates signals that are intended to be executed within a single trading session. The parameters for depth and deviation are tuned to capture more frequent, shorter-term moves.
Scalping (Scalp Surge):
This mode is designed for very short-term trades where quick entries and exits are key. It uses more sensitive parameters to detect rapid price movements suitable for scalping strategies.
Each trading style is represented by its own merged table that displays real-time metrics. The tables update automatically as new trading signals are generated.
Key Features
Multi-Style Tracking:
Swing Supreme (Large): For swing trading; uses a purple theme.
Day Blaze (Medium): For day trading; uses an orange theme.
Scalp Surge (Small): For scalping; uses a green theme.
Real-Time Metrics:
Each table displays key trade metrics including:
Entry Price: The price at which the trade was entered.
Exit Price: The price at which the previous trade was exited.
Position Size: Calculated as the account size divided by the entry price.
Direction: Indicates whether the trade is “Up” (long) or “Down” (short).
Time: The time when the trade was executed (formatted to hours and minutes).
Wins/Losses: The cumulative number of winning and losing trades.
Current Price & PnL: The current price on the chart and the profit/loss computed relative to the entry price.
Duration: The number of bars that the trade has been open.
History Column: A merged summary column that shows the most recent trade’s details (entry, exit, and result).
Customizability:
Column Visibility: Users can toggle individual columns (Ticker, Timeframe, Entry, Exit, etc.) on or off according to their preference.
Appearance Settings: You can customize the table border width, frame color, header background, and text colors.
History Toggle: The merged history column can be enabled or disabled.
Chart Markers: There is an option to show or hide chart markers (labels and lines) that indicate trade entries and exits on the chart.
Trade History Management:
The indicator maintains a rolling history (up to three recent trades per trading style) and displays the latest summary in the merged table.
This history column provides a quick reference to recent performance.
How It Works
Signal Generation & Trade Metrics
Trade Entry/Exit Calculation:
For each trading style, the indicator uses built-in functions (such as ta.lowestbars and ta.highestbars) to analyze price movements. Based on a customizable "depth" and "deviation" parameter, it determines the point of entry for a trade.
Swing Supreme: Uses larger depth/deviation values to capture swing trends.
Day Blaze: Uses intermediate values for intraday moves.
Scalp Surge: Uses tighter parameters to pick up rapid price changes.
Metrics Update:
When a new trade signal is generated (i.e., when the trade entry price is updated), the indicator calculates:
The current PnL as the difference between the current price and the entry price (or vice versa, depending on the trade direction).
The duration as the number of bars since the trade was opened.
The position size using the formula: accountSize / entryPrice.
History Recording:
Each time a new trade is triggered (i.e., when the entry price is updated), a summary string is created (showing entry, exit, and win/loss status) and appended to the corresponding trade history array. The merged table then displays the latest summary from this history.
Table Display
Merged Table Structure:
Each trading style (Swing Supreme, Day Blaze, and Scalp Surge) is represented by a table that has 15 columns. The columns are:
Trade Type (e.g., Swing Supreme)
Ticker
Timeframe
Entry Price
Exit Price
Position Size
Direction
Time of Entry
Account Size
Wins
Losses
Current Price
Current PnL
Duration (in bars)
History (the latest trade summary)
User Customization:
Through the settings panel, users can choose which columns to display.
If a column is toggled off, its cells will remain blank, allowing traders to focus on the metrics that matter most to them.
Appearance & Themes:
The table headers and cell backgrounds are customizable via color inputs. The trading style names are color-coded:
Swing Supreme (Large): Uses a purple theme.
Day Blaze (Medium): Uses an orange theme.
Scalp Surge (Small): Uses a green theme.
How to Use the Indicator
Add the Indicator to Your Chart:
Once published, add "Triad Trade Matrix" to your TradingView chart.
Configure the Settings:
Adjust the Account Size to match your trading capital.
Use the Depth and Deviation inputs for each trading style to fine-tune the signal sensitivity.
Toggle the Chart Markers on if you want visual entry/exit markers on the chart.
Customize which columns are visible via the column visibility toggles.
Enable or disable the History Column to show the merged trade history in the table.
Adjust the appearance settings (colors, border width, etc.) to suit your chart background and preferences.
Interpret the Tables:
Swing Supreme:
This table shows metrics for swing trades.
Look for changes in entry price, PnL, and trade duration to monitor longer-term moves.
Day Blaze:
This table tracks day trading activity.It will update more frequently, reflecting intraday trends.
Scalp Surge:
This table is dedicated to scalping signals.Use it to see quick entry/exit data and rapid profit/loss changes.
The History column (if enabled) gives you a snapshot of the most recent trade (e.g., "E:123.45 X:124.00 Up Win").
Use allerts:
The indicator includes alert condition for new trade entries(both long and short)for each trading style.
Summary:
Triad Trade Matrix provides an robust,multi-dimensional view of your trading performance across swing trading, day trading, and scalping.
Best to be used whith my other indicators
True low high
Vma Ext_Adv_CustomTbl
This indicator is ideal for traders who wish to monitor multiple trading styles simultaneously, with a clear, technical, and real-time display of performance metrics.
Happy Trading!
Industry Indices ComparisonA dynamic industry sector performance comparison indicator that helps traders and investors track relative strength across different market sectors in real-time.
- Compares up to 5 industry sector ETFs against a benchmark index (default: SPY)
- Displays key metrics including:
* Performance % over selected timeframe
* Relative performance vs benchmark
* Trend direction (▲ up, ▼ down, − neutral)
* Volume in millions (M) of shares traded
- Configurable timeframes: 1D, 1W, 1M, and 3M comparisons
- Color-coded performance indicators (green for outperformance, red for underperformance)
- Customizable table position and text size for optimal chart placement
The indicator helps identify:
1. Sector rotation patterns through relative performance
2. Leading and lagging sectors vs the broader market
3. Volume trends across different sectors
For traders, if you are considering two equally good setups, then choosing the setup belonging to a currently strong sector could be beneficial.
The Commitment of Traders (COT) IndexThe COT Index indicator is used to measure the positioning of different market participants (Large Traders, Small Traders, and Commercial Hedgers) relative to their historical positioning over a specified lookback period. It helps traders identify extreme positioning, which can signal potential reversals or trend continuations.
Key Features of the Indicator:
COT Data Retrieval
The script pulls COT report data from the TradingView COT Library TradingView/LibraryCOT/3).
It retrieves long and short positions for three key groups:
Large Traders (Non-commercial positions) – Speculators such as hedge funds.
Small Traders (Non-reportable positions) – Small retail traders.
Commercial Hedgers (Commercial positions) – Institutions that hedge real-world positions.
Threshold Zones for Extreme Positioning:
Upper Zone Threshold (Default: 90%)
Signals potential overbought conditions (excessive buying).
Lower Zone Threshold (Default: 10%)
Signals potential oversold conditions (excessive selling).
The indicator plots these zones using horizontal lines.
The COT Index should be used in conjunction with technical analysis (support/resistance, trends, etc.). A high COT Index does not mean the market will reverse immediately—it’s an indication of extreme sentiment.
Note:
If the script does not recognize or can't find the ticker currently viewed in the COT report, the COT indicator will default to U.S. Dollar.
Fixed Range LevelsThis indicator draws horizontal price levels on your chart based on a starting price and a range size that you define. It can also draw midpoint lines between the main levels if enabled.
Here's a breakdown of its functionality:
Key Features:
Starting Price:
You define a starting price (e.g., 21630).
The indicator calculates a corrected base price by rounding the starting price to the nearest multiple of the range size.
Range Size:
You define a range size (e.g., 71).
The indicator draws horizontal lines at intervals of the range size above and below the corrected base price.
Dual Ranges:
You can define two range sizes (e.g., 71 and 29).
The indicator can draw levels for both ranges simultaneously or individually, depending on your settings.
Midpoint Lines:
If enabled, the indicator draws midpoint lines between the main levels.
For example, if the main levels are at 21584 and 21655, the midpoint line will be at 21619.5.
Customizable Styles:
You can customize the line style (solid, dotted, dashed) and color for both the main levels and midpoint lines.
Dynamic Levels:
The levels are recalculated and redrawn dynamically based on the starting price and range size.
How It Works:
Corrected Base Price Calculation:
The indicator calculates the corrected base price using the formula:
pinescript
Copy
correctedBasePrice = math.floor(startingPrice / rangeSize) * rangeSize
For example, if startingPrice = 21630 and rangeSize = 71:
Copy
correctedBasePrice = math.floor(21630 / 71) * 71 = 304 * 71 = 21584
Drawing Levels:
The indicator draws horizontal lines at intervals of the range size above and below the corrected base price.
For example, if rangeSize = 71 and maxLevels = 5, the levels will be drawn at:
Copy
21584 - (5 * 71) = 21249
21584 - (4 * 71) = 21320
...
21584 + (5 * 71) = 21939
Midpoint Lines:
If enabled, the indicator draws midpoint lines between the main levels.
For example, if the main levels are at 21584 and 21655, the midpoint line will be at:
Copy
(21584 + 21655) / 2 = 21619.5
Dual Ranges:
If you enable both ranges, the indicator will draw levels for both range sizes simultaneously.
For example, if rangeSize1 = 71 and rangeSize2 = 29, the indicator will draw two sets of levels:
Levels at intervals of 71 (e.g., 21584, 21655, 21726, ...).
Levels at intervals of 29 (e.g., 21634, 21663, 21692, ...).
Example Use Case:
Imagine you're trading a stock or cryptocurrency, and you want to identify key support and resistance levels based on a specific price range. Here's how you can use this indicator:
Set the Starting Price:
For example, if the current price is 21630, you can set this as the starting price.
Define the Range Size:
If you believe the price moves in increments of 71, set rangeSize1 = 71.
If you also want to track smaller increments of 29, set rangeSize2 = 29.
Enable Midpoint Lines:
If you want to see the midpoint between the main levels, enable Show Midpoint Line.
Customize Line Styles:
Choose different colors and styles for the main levels and midpoint lines to make them visually distinct.
Analyze the Chart:
The indicator will draw horizontal lines at the specified intervals, helping you identify potential support, resistance, and midpoint levels.
Why Is This Useful?
Support and Resistance Levels:
The horizontal lines act as dynamic support and resistance levels based on the range size you define.
Price Targets:
You can use the levels to identify potential price targets or areas where the price might reverse.
Midpoint Analysis:
The midpoint lines can help you identify areas of consolidation or potential breakout points.
Flexibility:
You can customize the range sizes, colors, and styles to suit your trading strategy.
Summary:
This indicator is a powerful tool for traders who want to visualize price levels and midpoints based on a specific range size. It helps you identify key levels for support, resistance, and potential price targets, making it easier to plan your trades.
Shifted Buy PressureDifferentiated Buy Pressure Indicator Documentation
Overview: The Differentiated Buy Pressure indicator is a custom Pine Script™ indicator designed to measure and visualize buy and sell pressure in the market. It calculates buy pressure based on a combination of volume, range, and gap, and provides a differentiated buy pressure which is shifted by 90°, offering predictive insights.
Inputs:
Window Size: The window size for average calculation (default: 20).
Show Overlay: Option to show the price overlay (default: false).
Overlay Boost Factor: Boosting factor for overlaying the price (default: 0.01).
Calculations:
Relative Range: Calculated as (high - low) / close.
Average Range: Simple moving average of the relative range over the specified window.
Average Volume: Simple moving average of the volume over the specified window.
Relative Gap: Calculated as open / close .
Average Gap: Simple moving average of the relative gap over the specified window.
Buy Pressure: Calculated using the formula: buy_pressure = -math.log(relative_range / avg_range * volume / avg_volume * relative_gap / avg_gap)
Differentiated Buy Pressure: Calculated as the difference between the current and previous buy pressure: diff_buy_pressure = buy_pressure - buy_pressure
Plots:
Zero Line: A horizontal line at zero for reference.
Buy Pressure: Plotted in blue, representing the calculated buy pressure.
Differentiated Buy Pressure: Plotted in red, representing the differentiated buy pressure.
Overlay: Optionally plots the price overlay boosted by the differentiated buy pressure.
Labels:
Labels are created to display the buy pressure and differentiated buy pressure values on the chart.
Usage: This indicator helps traders visualize the buy and sell pressure in the market. Positive values indicate buy pressure, while negative values indicate sell pressure. The differentiated buy pressure, shifted by 90°, provides predictive insights into future market movements.
This documentation provides a comprehensive overview of the Differentiated Buy Pressure indicator, explaining its purpose, inputs, calculations, and usage.
KEMAD | QuantumResearchQuantumResearch KEMAD Indicator
The QuantumResearch KEMAD Indicator is a sophisticated trend-following and volatility-based tool designed for traders who demand precision in detecting market trends and price reversals. By leveraging advanced techniques implemented in PineScript, this indicator integrates a Kalman filter, an Exponential Moving Average (EMA), and dynamic ATR-based deviation bands to produce clear, actionable trading signals.
1. Overview
The KEMAD Indicator aims to:
Reduce Market Noise: Employ a Kalman filter to smooth price data.
Identify Trends: Use an EMA of the filtered price to define the prevailing market direction.
Set Dynamic Thresholds: Adjust breakout levels with ATR-based deviation bands.
Generate Signals: Provide clear long and short trading signals along with intuitive visual cues.
2. How It Works
A. Kalman Filter Smoothing
Purpose: The Kalman filter refines the selected price source (e.g., close price) by reducing short-term fluctuations, thus offering a clearer view of the underlying price movement.
Customization: Users can adjust key parameters such as:
Process Noise: Controls the filter’s sensitivity to recent changes.
Measurement Noise: Determines how responsive the filter is to incoming price data.
Filter Order: Sets the number of data points considered in the smoothing process.
B. EMA-Based Trend Detection
Primary Trend EMA: A 25-period EMA is applied to the Kalman-filtered price, serving as the core trend indicator.
Signal Mechanism:
Long Signal: Triggered when the price exceeds the EMA plus an ATR-based upper deviation.
Short Signal: Triggered when the price falls below the EMA minus an ATR-based lower deviation.
C. ATR Deviation Bands
ATR Utilization: The Average True Range (ATR) is computed (default length of 21) to assess market volatility.
Dynamic Thresholds:
Upper Deviation: Calculated by adding 1.5× ATR to the EMA (for long signals).
Lower Deviation: Calculated by subtracting 1.1× ATR from the EMA (for short signals).
These bands adapt to current volatility, ensuring that signal thresholds are both dynamic and market-sensitive.
3. Visual Representation
The indicator’s design emphasizes clarity and ease of use:
Color-Coded Bar Signals:
Green Bars: Indicate bullish conditions when a long signal is active.
Red Bars: Indicate bearish conditions when a short signal is active.
Trend Confirmation Line: A 54-period EMA is plotted to further validate trend direction. Its color dynamically changes to reflect the active trend.
Background Fill: The space between a calculated price midpoint (typically the average of high and low) and the EMA is filled, visually emphasizing the prevailing market trend.
4. Customization & Parameters
The KEMAD Indicator is highly configurable, allowing traders to tailor the tool to their specific trading strategies and market conditions:
ATR Settings:
ATR Length: Default is 21; adjusts sensitivity to market volatility.
EMA Settings:
Trend EMA Length: Default is 25; smooths price action for trend detection.
Confirmation EMA Length: Default is 54; aids in confirming the trend.
Kalman Filter Parameters:
Process Noise: Default is 0.01.
Measurement Noise: Default is 3.0.
Filter Order: Default is 5.
Deviation Multipliers:
Long Signal Multiplier: Default is 1.5× ATR.
Short Signal Multiplier: Default is 1.1× ATR.
Appearance: Eight customizable color themes are available to suit individual visual preferences.
5. Trading Applications
The versatility of the KEMAD Indicator makes it suitable for various trading strategies:
Trend Following: It helps identify and ride sustained bullish or bearish trends by filtering out market noise.
Breakout Trading: Detects when prices move beyond the ATR-based deviation bands, signaling potential breakout opportunities.
Reversal Detection: Alerts traders to potential trend reversals when price crosses the dynamically smoothed EMA.
Risk Management: Offers clearly defined entry and exit points, based on volatility-adjusted thresholds, enhancing trade precision and risk control.
6. Final Thoughts
The QuantumResearch KEMAD Indicator represents a unique blend of advanced filtering (via the Kalman filter), robust trend analysis (using EMAs), and dynamic volatility assessment (through ATR deviation bands).
Its PineScript implementation allows for a high degree of customization, making it an invaluable tool for traders looking to reduce noise, accurately detect trends, and manage risk effectively.
Whether used for trend following, breakout strategies, or reversal detection, the KEMAD Indicator is designed to adapt to varying market conditions and trading styles.
Important Disclaimer: Past data does not predict future behavior. This indicator is provided for informational purposes only; no indicator or strategy can guarantee future results. Always perform thorough analysis and use proper risk management before trading.
End-of-Session ProbabilityThis indicator estimates the probability that the market will finish the session above a specified target price. It blends a statistical probability model with directional bias and optional morning momentum weighting to help traders gauge end-of-day market expectations.
Key Features:
• Statistical Probability Model:
Uses a normal distribution (with a custom normal CDF approximation) scaled by the square-root-of-time rule. The indicator dynamically adjusts the standard deviation for the remaining session time to compute a z‑score and ultimately the probability that the session close exceeds the target.
• Directional Bias via Daily HullMA (Exponential):
A daily Hull Moving Average (calculated using an exponential method) is used as a big-picture trend indicator. The model allows you to select your bias method—either by comparing the current price to the daily HullMA (Price method) or by using the HullMA’s slope (Slope method). A drift multiplier scales this bias, which then shifts the mean used in the probability calculations.
• Optional Morning Momentum Weight:
For traders who believe that early session moves provide useful clues about the day’s momentum, you can enable an optional weighting. The indicator captures the percentage change from the morning open (within a user-defined time window) and adjusts the expected move accordingly. A multiplier lets you control the strength of this adjustment.
• Visual Outputs:
The indicator plots quantile lines (approximately the 25%, 50%, and 75% levels) for the expected price distribution at session end. An abbreviated on-chart label displays key information:
• Target: The target price (current price plus a user-defined offset)
• Prob Above: The probability (in percentage) that the session close will exceed the target price
• Time: The time remaining in the session (in minutes)
How to Use:
1. Set Your Parameters:
• Expected Session Move: Input your estimated standard deviation for the full-session move in price units.
• Daily Hull MA Settings: Adjust the period for the daily HullMA and choose the bias method (Price or Slope). Modify the drift multiplier to tune the strength of the directional bias.
• Target Offset: Specify an offset from the current price to set your target level.
• Morning Momentum (Optional): Enable the morning momentum weight if you want the indicator to adjust the expected move based on early session price changes. Define the morning session window and set the momentum multiplier.
2. Interpret the Output:
• Quantile Lines: These represent the range of possible end-of-session prices based on your model.
• Abbreviated Label: Provides a quick snapshot of the target price, probability of finishing above that target, and time remaining in the session.
3. Trading Application:
Use the probability output as a guide to assess if the market is likely to continue in the current direction or reverse by session close. The indicator can help you decide on trade entries, exits, or adjustments based on your overall strategy and risk management approach.
This tool is designed to offer a dynamic, statistically driven snapshot of the market’s expected end-of-day behavior, combining both longer-term trend bias and short-term momentum cues.