Candle Counter [theEccentricTrader]█ OVERVIEW
This indicator counts the number of confirmed candle scenarios on any given candlestick chart and displays the statistics in a table, which can be repositioned and resized at the user's discretion.
█ CONCEPTS
Green and Red Candles
A green candle is one that closes with a high price equal to or above the price it opened.
A red candle is one that closes with a low price that is lower than the price it opened.
Upper Candle Trends
A higher high candle is one that closes with a higher high price than the high price of the preceding candle.
A lower high candle is one that closes with a lower high price than the high price of the preceding candle.
A double-top candle is one that closes with a high price that is equal to the high price of the preceding candle.
Lower Candle Trends
A higher low candle is one that closes with a higher low price than the low price of the preceding candle.
A lower low candle is one that closes with a lower low price than the low price of the preceding candle.
A double-bottom candle is one that closes with a low price that is equal to the low price of the preceding candle.
█ FEATURES
Inputs
Start Date
End Date
Position
Text Size
Show Sample Period
Show Plots
Table
The table is colour coded, consists of three columns and twenty-two rows. Blue cells denote all candle scenarios, green cells denote green candle scenarios and red cells denote red candle scenarios.
The candle scenarios are listed in the first column with their corresponding total counts to the right, in the second column. The last row in column one, row twenty-two, displays the sample period which can be adjusted or hidden via indicator settings.
Rows two and three in the third column of the table display the total green and red candles as percentages of total candles. Rows four to nine in column three, coloured blue, display the corresponding candle scenarios as percentages of total candles. Rows ten to fifteen in column three, coloured green, display the corresponding candle scenarios as percentages of total green candles. And lastly, rows sixteen to twenty-one in column three, coloured red, display the corresponding candle scenarios as percentages of total red candles.
Plots
I have added plots as a visual aid to the various candle scenarios listed in the table. Green up-arrows denote higher high candles when above bar and higher low candles when below bar. Red down-arrows denote lower high candles when above bar and lower low candles when below bar. Similarly, blue diamonds when above bar denote double-top candles and when below bar denote double-bottom candles. These plots can also be hidden via indicator settings.
█ HOW TO USE
This indicator is intended for research purposes and strategy development. I hope it will be useful in helping to gain a better understanding of the underlying dynamics at play on any given market and timeframe. It can, for example, give you an idea of any inherent biases such as a greater proportion of green candles to red. Or a greater proportion of higher low green candles to lower low green candles. Such information can be very useful when conducting top down analysis across multiple timeframes, or considering trailing stop loss methods.
What you do with these statistics and how far you decide to take your research is entirely up to you, the possibilities are endless.
This is just the first and most basic in a series of indicators that can be used to study objective price action scenarios and develop a systematic approach to trading.
█ LIMITATIONS
Some higher timeframe candles on tickers with larger lookbacks such as the DXY, do not actually contain all the open, high, low and close (OHLC) data at the beginning of the chart. Instead, they use the close price for open, high and low prices. So, while we can determine whether the close price is higher or lower than the preceding close price, there is no way of knowing what actually happened intra-bar for these candles. And by default candles that close at the same price as the open price, will be counted as green. You can avoid this problem by utilising the sample period filter.
The green and red candle calculations are based solely on differences between open and close prices, as such I have made no attempt to account for green candles that gap lower and close below the close price of the preceding candle, or red candles that gap higher and close above the close price of the preceding candle. I can only recommend using 24-hour markets, if and where possible, as there are far fewer gaps and, generally, more data to work with. Alternatively, you can replace the scenarios with your own logic to account for the gap anomalies, if you are feeling up to the challenge.
It is also worth noting that the sample size will be limited to your Trading View subscription plan. Premium users get 20,000 candles worth of data, pro+ and pro users get 10,000, and basic users get 5,000. If upgrading is currently not an option, you can always keep a rolling tally of the statistics in an excel spreadsheet or something of the like.
Cari dalam skrip untuk "high low"
SFC Smart Money Manipulation - Time, Advanced Market StructureThis indicator shows the market structure in more advanced way and different time cycles.
Markets moves in cycles and swings. The indicator will help to determine these cycles and swings by time and price. These are the two columns of the market understanding. The third one is volume/ momentum, but it will not be discussed here.
Advanced Market Structure
According to ICT and Larry Williams Market Structure is not only Highs and Lows.
They present more advanced understanding of the MS:
-Short Term Highs/ Lows
-Intermediate Term Highs/ Lows
-Long Term Highs/ Lows
Rules of how to determine the Swing Points according to Larry Williams:
"A market has made a short-term low when we have a day (or bar if you are using different time periods) that has a higher low on both sides. By the same token a short-term high will be a day (or bar) that has lower bars on both sides of it."
"A short-term high with lower short-term highs on both sides is an intermediate- term high. By the same token, a short-term low with higher short-term lows on both sides is an intermediate-term low."
"An intermediate-term high with lower intermediate-term highs on both sides of it is just naturally a long-term high by our definition, thanks to understanding market structure.
An intermediate-term low with higher intermediate-term lows on both sides of it is just naturally a long-term low by our definition, thanks to understanding market structure."
If the Highs and Lows are labeled properly there is high probability to predict the next High or Low. In this way the trader will know how the current trend is changing and what kind of retracement is coming - deep or shallow.
Timing
Market moves in time cycles.
There is a theory that the swings are equal by time and length. This is not always the case, but very very often.
Indicator time features:
- Swing Trading days - how many time market needed to form a swing. Only Long term(main) Swings are measured. This will help trader to label T-formations.
" T Formations is cyclically related for formations that can be drawn to project the time frame of likely turning points. Basically T-formations are based on the concept that the time distance between the starting low/high of the cyclical wave and its peak is likely to be subsequently repeated between that peak and the final low/high of that cycle."
- Seasonality - theoretically an asset should go up or down in particular yearly quarter. Practically the direction not always match to quarters. Thats why the indicator shows the theoretical seasonal direction and historical real direction.
Seasonal direction is automatically displayed or XAUUSD, XAGUSD, EURUSD, AUDUSD, GBPUSD. There is a ways to set the seasonality manually.
- Earnings Season - This time is very important for Stocks and Indices. Most of the time the assets are in bullish trend during the Earnings Seasons.
- Monthly separator - Shows the monthly time cycle
- Gold bullish months - There are studies on Gold market. They shows that Gold is very bullish in particular months. These are displayed.
The indicator works only on Daily Time Frame.
Comprehensive Market AnalyzerVERSION 2.0:
Notice to users: To better reflect its extensive features, this indicator has been renamed from "Tsūrubokkusu (Toolbox) 🧰" to "Comprehensive Market Analyzer". Thank you for your understanding and adaptation to this change.
Purpose and Usage:
The Comprehensive Market Analyzer is designed to provide traders with a holistic view of market conditions by integrating various technical indicators into a single,
cohesive tool. Each indicator has been carefully selected and improved to work together, offering enhanced customization and advanced market insights.
This combination allows for more comprehensive market analysis, improved decision-making, and efficient trading strategies.
📘 Machine Learning Integration
Purpose : Utilizes machine learning algorithms to analyze past market data and provides predictive insights based on historical data.
Usage : Activate machine learning features, set lookback windows, influence weighting, and start bar for improved trend predictions.
Activate Machine Learning :
Description : Enables advanced machine learning features that analyze past market data.
Details : This feature allows the algorithm to use historical data to forecast market movements, providing traders with enhanced predictive insights on historical data.
Kernel Lookback Window :
Description : Sets the number of previous bars that the algorithm will analyze.
Details : A higher number provides a broader view of market trends, while a lower number makes the model more sensitive to recent changes.
Kernel Influence Weighting :
Description : Adjusts the emphasis on recent versus older data.
Details : Increasing this value gives more importance to recent data, potentially making predictions more responsive to new trends.
Kernel Calculation Start Bar :
Description : Specifies the bar number from which to start the machine learning calculations.
Details : Avoids early data which may contain excessive noise and less reliable market signals.
Kernel Functions :
Gaussian Kernel :
Description : Uses a Gaussian distribution to weight historical data, focusing on more recent data points for trend analysis.
Details : Calculates weights based on the Gaussian distribution, emphasizing data points closer to the present.
Laplacian Kernel :
Description : Applies Laplacian distribution, emphasizing data points closer to the current time more heavily.
Details : Uses the Laplacian function to provide a different perspective on data weighting.
RBF Kernel :
Description : Utilizes a Radial Basis Function for smoothing and analyzing data, providing a different approach to trend prediction.
Details : Applies the RBF function to smooth data and enhance the accuracy of trend predictions.
Wavelet Kernel :
Description : Applies wavelet transform for analyzing frequency components, helping to detect patterns in the price movements.
Details : Uses wavelet-based calculations to focus on specific frequency components within the data, aiding in pattern recognition.
📘 Enhanced Ichimoku Kinkō Hyō Integration
Purpose : Provides a comprehensive overview of market trends and momentum using the Ichimoku Kinkō Hyō indicator.
Usage : Display various components of the Ichimoku Kinkō Hyō, customize their appearance, provides additional calculations for trend analysis.
Display Ichimoku Kinkō Hyō :
Description : Toggle to show or hide the Ichimoku Kinkō hyō indicator.
Details : This indicator helps traders see support and resistance levels, trend direction, and potential future movements.
Activate Heikin-Ashi Source :
Description : Switches between regular price data and Heikin-Ashi candles for analysis.
Details : Heikin-Ashi candles smooth price data, making trends easier to spot.
Display Tenkan-Sen Line :
Description : Shows the Tenkan-Sen line, a key short-term trend indicator.
Color Customization : Set the color of the Tenkan-Sen line for better visibility.
Minimum Length : Determine the shortest period for calculating the Tenkan-Sen line.
Maximum Length : Determine the longest period for calculating the Tenkan-Sen line.
Dynamic Length Adjustment : Automatically adjusts the length of the Tenkan-Sen based on market conditions.
Display Kijun-Sen Line :
Description : Shows the Kijun-Sen line, a key medium-term trend indicator.
Color Customization : Set the color of the Kijun-Sen line for better visibility.
Minimum Length : Determine the shortest period for calculating the Kijun-Sen line.
Maximum Length : Determine the longest period for calculating the Kijun-Sen line.
Dynamic Length Adjustment : Automatically adjusts the length of the Kijun-Sen based on market conditions.
Kijun-Sen Divider Tool : Adjust the sensitivity of the Kijun-Sen calculation.
Display Chikou Span :
Description : Shows the Chikou Span, which lags behind the current price to help confirm trends.
Bear Phase Color : Set the color for bearish periods.
Bull Phase Color : Set the color for bullish periods.
Consolidation Color : Set the color for consolidation periods.
Minimum Length : Determine the shortest lag period for the Chikou Span.
Maximum Length : Determine the longest lag period for the Chikou Span.
Dynamic Length Adjustment : Automatically adjusts the length of the Chikou Span based on market conditions.
Display Senkou Span A and B :
Description : Shows the Senkou Span A and B, which form the Ichimoku Cloud indicating future support and resistance levels.
Bear Color : Set the color for bearish clouds.
Bull Color : Set the color for bullish clouds.
Neutral Color : Set the color for neutral periods.
Minimum Length : Determine the shortest period for calculating the Senkou Span.
Maximum Length : Determine the longest period for calculating the Senkou Span.
Dynamic Length Adjustment : Automatically adjusts the length of the Senkou Span based on market conditions.
Projection Offset : Set how far ahead the Senkou Span is projected.
Kumo Cloud Settings :
Enable Kumo Cloud Fill : Toggle to fill the space between Senkou Span A and B with color.
Cloud Fill Transparency : Adjust the transparency of the cloud fill.
Apply WMA Smoothing :
Description : Smooths the indicator lines using a Weighted Moving Average to clarify trends.
Bar Coloring Based on Ichimoku Signals :
Description : Colors the bars based on Ichimoku signals to provide a quick visual indication of market sentiment.
Bearish Signal Bar Color : Set the color for bars during bearish signals.
Bullish Signal Bar Color : Set the color for bars during bullish signals.
Consolidation Signal Bar Color : Set the color for bars during consolidation periods.
Neutral Bar Color : Set the color for bars during neutral conditions.
Enhanced Calculations :
Heikin Ashi Values : Smooths price movements to make trends more visible.
Alternative Source Calculation : Uses a different method for calculating the indicator based on user settings.
Volume Calculations : Enhanced functions for calculating volume based on different candlestick patterns.
Dynamic Length Adjustment : Automatically adjusts the length of Ichimoku components based on market volatility.
Gaussian Kernel Calculations : Uses advanced calculations for smoother and more accurate trend analysis.
Chikou Span Adaptation : Improved calculation for the Chikou Span using dynamic lengths and advanced methods.
Visual Enhancements : Adds color gradients to the Senkou Span and dynamic coloring for the Chikou Span to improve trend visibility.
Plotting Ichimoku Components :
Tenkan-Sen : Plots the Tenkan-Sen line with dynamic adjustments.
Kijun-Sen : Plots the Kijun-Sen line with dynamic adjustments.
Senkou Span A and B : Plots these lines with dynamic projections and advanced smoothing.
Chikou Span : Plots the Chikou Span with dynamic offsets and coloring.
📘 Enhanced Candlestick Patterns Integration
Purpose : Identifies and displays various candlestick patterns to help traders spot key market movements and potential reversals.
Usage : Toggle the display of patterns, select specific pattern types, and customize pattern labels for improved visual analysis.
Display Patterns :
Description : Toggle to enable or disable the display of all candlestick patterns.
Details : When enabled, all selected candlestick patterns will be displayed on the chart, aiding traders in identifying key market movements and potential reversals.
Select Pattern Type :
Description : Select the type of candlestick patterns to detect.
Details : Options include Bullish (indicating potential upward trends), Bearish (indicating potential downward trends), or Both.
Trend Filter Method :
Description : Select the method to filter trends.
Details : Options include True Range (based on price range), Fractals, Volume, Combined, or None (no filtering).
Pattern Label Colors :
Bullish Pattern Color : Choose the color for labeling Bullish patterns, indicating potential upward trends.
Bearish Pattern Color : Choose the color for labeling Bearish patterns, indicating potential downward trends.
Indecision Pattern Color : Choose the color for labeling Indecision patterns, indicating no clear trend direction.
Base Line and Patterns Display Options :
Show Base Line in Place of Labels : Toggle to display a base line instead of labels for detected patterns. This helps visualize the general trend.
Show Counterattack Lines : Toggle to display Counterattack Lines patterns, indicating potential reversal points.
Show Dark Cloud Cover : Toggle to display Dark Cloud Cover patterns, a bearish pattern suggesting a potential reversal from an uptrend to a downtrend.
Show Engulfing Patterns : Toggle to display Engulfing patterns. Bullish Engulfing patterns suggest a potential upward reversal, while Bearish Engulfing patterns suggest a potential downward reversal.
Show Hammer Patterns : Toggle to display Hammer patterns, a bullish pattern indicating a potential reversal from a downtrend to an uptrend.
Show Hanging Man Patterns : Toggle to display Hanging Man patterns, a bearish pattern indicating a potential reversal from an uptrend to a downtrend.
Show Harami Patterns : Toggle to display Harami patterns. Bullish Harami patterns suggest a potential upward reversal, while Bearish Harami patterns suggest a potential downward reversal.
Show In-Neck Patterns : Toggle to display In-Neck patterns, indicating a potential continuation of the current trend.
Show On-Neck Patterns : Toggle to display On-Neck patterns, indicating a potential continuation of the current trend.
Show Piercing Patterns : Toggle to display Piercing patterns, a bullish pattern suggesting a potential reversal from a downtrend to an uptrend.
Show Three Black Crows : Toggle to display Three Black Crows patterns, a bearish pattern suggesting a potential reversal from an uptrend to a downtrend.
Show Thrusting Patterns : Toggle to display Thrusting patterns, a bearish pattern suggesting a potential continuation of the downtrend.
Show Upside Gap Two Crows : Toggle to display Upside Gap Two Crows patterns, a bearish pattern suggesting a potential downward reversal after an upward gap.
Show Evening Star : Toggle to display Evening Star patterns, a bearish pattern suggesting a potential reversal from an uptrend to a downtrend.
Show Inverted Hammer : Toggle to display Inverted Hammer patterns, a bullish pattern suggesting a potential reversal from a downtrend to an uptrend.
Show Morning Star : Toggle to display Morning Star patterns, a bullish pattern suggesting a potential reversal from a downtrend to an uptrend.
Show Shooting Star : Toggle to display Shooting Star patterns, a bearish pattern suggesting a potential reversal from an uptrend to a downtrend.
Show Doji Patterns : Toggle to display Doji patterns, indicating market indecision and potential reversals.
Show Dragonfly Doji : Toggle to display Dragonfly Doji patterns, a bullish pattern suggesting a potential reversal from a downtrend to an uptrend.
Show Evening Doji Star : Toggle to display Evening Doji Star patterns, a bearish pattern suggesting a potential reversal from an uptrend to a downtrend.
Show Gravestone Doji : Toggle to display Gravestone Doji patterns, a bearish pattern suggesting a potential reversal from an uptrend to a downtrend.
Show Long-Legged Doji : Toggle to display Long-Legged Doji patterns, indicating high market indecision and potential reversals.
Show Morning Doji Star : Toggle to display Morning Doji Star patterns, a bullish pattern suggesting a potential reversal from a downtrend to an uptrend.
Show Rising Three Methods : Toggle to display Rising Three Methods patterns, a bullish pattern suggesting a continuation of the uptrend.
Show Falling Three Methods : Toggle to display Falling Three Methods patterns, a bearish pattern suggesting a continuation of the downtrend.
Show Tasuki Patterns : Toggle to display Tasuki patterns, indicating potential trend continuation after a gap.
Show Marubozo : Toggle to display Marubozo patterns, indicating strong trend continuation, either bullish or bearish.
Show Long Lower Shadow : Toggle to display Long Lower Shadow patterns, indicating strong buying pressure and potential upward movement.
Show Long Upper Shadow : Toggle to display Long Upper Shadow patterns, indicating strong selling pressure and potential downward movement.
Show Three Inside Up/Down : Toggle to display Three Inside Up/Down patterns, indicating potential bullish or bearish reversals.
Show Kicker Pattern : Toggle to display Kicker patterns, indicating significant potential reversals.
Show Tweezer Tops/Bottoms : Toggle to display Tweezer Tops/Bottoms patterns, indicating potential reversals at the tops or bottoms.
Show Mat Hold Pattern : Toggle to display Mat Hold patterns, a bullish pattern suggesting a continuation of the uptrend.
Candle Body/Shadow Comparison Options :
Candle Body/Shadow Comparison : Choose the criteria to compare candle sizes: Shadows (larger shadows), Body (larger body), Both (larger shadows and body), Either (larger shadows or body), or None (no comparison).
Look-back Period for Candle Comparison : Specify the number of periods to look back when comparing the current candle size to determine if it is significant.
Period for Body Length Average : Specify the period for calculating the average body length of candles to help identify significant patterns.
Period for Candle Length Average : Specify the period for calculating the average length of candles to help identify significant patterns.
Specific Pattern Thresholds :
Doji Body Percentage Threshold : Set the percentage threshold for identifying Doji patterns based on the candle body size compared to its range.
Upper Shadow Percentage Limit : Set the maximum allowed upper shadow percentage of the candle’s range for identifying specific Doji patterns.
Lower Shadow Percentage Limit : Set the maximum allowed lower shadow percentage of the candle’s range for identifying specific Doji patterns.
Price Deviation Tolerance : Specify the price deviation tolerance for pattern recognition, which helps in identifying patterns within a certain price range.
Thrusting Neck Percentage : Set the percentage threshold for identifying Thrusting Neck patterns, indicating a potential continuation of the current trend.
Base Line Settings :
Base Line EMA Length : Specify the length of the EMA for the Base Line, helping to visualize the general trend.
Enhanced Calculations :
Wavelet Transform : If machine learning is enabled, calculates the wavelet transform for smoother and more accurate pattern detection.
Candle Body and Shadows Calculation : Detailed calculations for candle body and shadow lengths to improve pattern detection.
Average Calculations : Calculate averages for body and candle sizes to help identify significant patterns.
Fractals Calculation : Identify fractal highs and lows to aid in trend detection.
Trend Filters : Apply user-selected trend filters based on True Range, Fractals, Volume, or a combination.
Pattern Detection and Labeling : Detects and labels various candlestick patterns, including Doji, Engulfing, Hammer, and more, with options for displaying labels or base lines.
Alerts and Notifications : Set alerts for detected patterns and base line colors to notify traders of significant market events.
Plotting Candlestick Patterns :
Pattern Detection : Automatically detects and labels various candlestick patterns based on user settings.
Label Customization : Customize the labels for different patterns, including color and text.
Base Line Plotting : Option to plot a base line instead of labels for detected patterns, enhancing trend visualization.
Alerts for Patterns : Set alerts for detected patterns to keep traders informed of significant market changes.
📘 Enhanced Fibonacci Retracement Integration
Purpose : Provides a tool for identifying potential support and resistance levels using Fibonacci retracement.
Usage : Toggle the display of Fibonacci levels, adjust the lookback period, and customize the appearance of Fibonacci levels for better market analysis.
Auto Mode :
Description : Toggle to enable or disable automatic detection of price points.
Details : When enabled, the highest and lowest price points within a specified period will be automatically detected to set Fibonacci levels. Disable to manually set the top and bottom prices.
Period :
Description : Set the lookback period for detecting price points.
Details : Defines the number of bars to look back when detecting the highest and lowest prices in Auto Mode, used for calculating Fibonacci levels.
Manual Top :
Description : Manually set the top price level.
Details : Adjust this setting to reflect the peak price of interest when Auto Mode is disabled.
Manual Bottom :
Description : Manually set the bottom price level.
Details : Adjust this setting to reflect the low price of interest when Auto Mode is disabled.
Display Fibonacci :
Description : Toggle to show or hide Fibonacci retracement levels.
Details : When enabled, the calculated Fibonacci levels will be displayed on the chart, overlaying the price data.
Baseline Levels :
Description : Select Fibonacci levels to highlight as baselines.
Details : Choose specific levels to be visually distinct, emphasizing their significance in the analysis.
Fibonacci Levels Colors :
Upper Levels Color : Set the color for Fibonacci levels above the baseline, indicating potential resistance levels.
Lower Levels Color : Set the color for Fibonacci levels below the baseline, indicating potential support levels.
Baseline Levels Color : Set the color for highlighted baseline Fibonacci levels, making them stand out from other levels.
Display Individual Fibonacci Levels :
Show Level : Toggle to enable or disable the display of specific Fibonacci levels.
Level Value : Set the multiplier used to calculate each specific Fibonacci level relative to the price range.
Reverse Levels :
Description : Toggle to switch the calculation direction of Fibonacci levels.
Details : When enabled, levels are calculated in reverse, useful for analyzing downtrends.
Line Extension :
Description : Choose how Fibonacci level lines are extended on the chart.
Details : Options include extending lines to the left, right, or both, affecting their visual presentation.
Text Size :
Description : Adjust the font size of the labels for Fibonacci levels.
Details : Options range from large to tiny, allowing for readability adjustments according to user preference.
Line Style :
Description : Select the line style for Fibonacci levels.
Details : Options include solid, dotted, and dashed, providing visual distinction.
Line Width :
Description : Set the thickness of the Fibonacci level lines.
Details : A higher value makes the lines more prominent on the chart.
Baseline Line Style :
Description : Choose the line style specifically for the baseline levels.
Details : This can differ from other Fibonacci levels to emphasize their importance.
Baseline Line Width :
Description : Adjust the thickness of the baseline level lines.
Details : Can be set differently from other levels for visual emphasis.
Enhanced Calculations :
Automatic and Manual Top/Bottom Setup : Detect or manually set the highest and lowest price points.
Price Range Calculation : Determine the range between the highest and lowest prices.
Fibonacci Level Values : Calculate the values for each Fibonacci level.
Visual and Label Configuration : Configure visual aspects and labels for each level.
Plotting and Labeling :
Level Plotting :
Description : Plot each Fibonacci level on the chart.
Details : Draw lines representing each calculated level.
Label Customization :
Description : Customize the labels for Fibonacci levels.
Details : Include text, colors, and positioning for clarity.
📘 Supports and Resistances Integration
Purpose : Identifies key support and resistance levels to aid in market analysis.
Usage : Toggle the display of support and resistance lines, customize their appearance, and use Bollinger Bands for additional insights.
Display Supports and Resistances :
Description : Toggle to enable or disable the display of support and resistance lines.
Details : When enabled, support and resistance lines will be shown on the chart, providing key levels for market analysis.
Swing Period :
Description : Set the retrospective period for identifying swing points.
Details : A longer period captures more significant trends but may reduce sensitivity. The default value is 10.
Support Line Color :
Description : Set the color for support lines.
Details : Choose a color that enhances chart readability. Default is green.
Resistance Line Color :
Description : Set the color for resistance lines.
Details : Choose a color that makes resistance lines easily distinguishable. Default is red.
Trend-Based Line Color :
Description : Toggle to enable dynamic coloring based on trend direction.
Details : When enabled, the color of the lines will change according to the trend, aiding visual analysis.
Line Thickness :
Description : Adjust the thickness of the support and resistance lines.
Details : Choose a thickness value between 1 and 5 for better visibility.
Line Style :
Description : Select the style of the lines.
Details : Options include Solid, Dotted, or Dashed lines for visual distinction.
Number of Lines to Display :
Description : Set the maximum number of support/resistance lines to display.
Details : Adjust the number of lines to avoid clutter or to show more levels.
Display Bollinger Bands :
Description : Toggle to show or hide Bollinger Bands on the chart.
Details : Bollinger Bands provide a visual representation of volatility and potential price ranges.
Bollinger Bands Integration :
Description : Enable the integration of Bollinger Bands for S/R calculation.
Details : This feature adjusts the placement of S/R lines based on the market volatility captured by the Bollinger Bands.
Bollinger Bands Color Settings :
Description : Set colors for different Bollinger Band conditions.
Details :
Green: Prices above the median but below the upper band (potential overbought area).
Dark green: Prices above the upper band (strong upward momentum).
Light red: Prices below the median but above the lower band (potential oversold area).
Dark red: Prices below the lower band (strong downward momentum).
Fill Opacity Adjustment :
Description : Adjust the fill opacity between Bollinger Bands.
Details : Set the opacity level to balance visibility with other chart elements.
BB Sensitivity Level :
Description : Adjust the sensitivity for determining S/R levels near Bollinger Bands.
Details : A higher value increases the consideration of levels near the bands.
Band Width Multiplier :
Description : Control the width of the Bollinger Bands.
Details : Adjust the multiplier to expand or contract the bands based on market volatility.
Uniform BB Coloring :
Description : Apply a consistent color to Bollinger Bands.
Details : Simplify visual interpretation with a uniform color.
Plotting and Alerts :
Plotting Bollinger Bands :
Description : Plot the Bollinger Bands on the chart.
Details : The bands are colored based on the conditions set for market volatility and price ranges.
Alerts and Notifications :
Description : Set alerts for support/resistance breaks and Bollinger Band breakouts.
Details : Notify traders of significant market events related to these levels.
📘 Enhanced Trend Lines Integration
Purpose : Identifies and plots trend lines based on market structure to help traders understand market direction and potential buy/sell points.
Usage : Toggle the display of trend lines, customize their appearance, and use enhanced calculations for trend analysis.
Display Trend Lines :
Description : Enable or disable the display of trend lines on the chart.
Details : These trend lines are calculated based on market structure, specifically through the detection of Breaks of Structure (BOS). If enabled, the trend lines will help in identifying the market overall trend and potential buy and sell points.
Trend Line Colors :
Upper Line Color : Set the color for the upper trend lines to enhance visual distinction.
Lower Line Color : Set the color for the lower trend lines, aiding in easy identification of support levels.
Pivot Labels :
Show Pivots Labels : Control the display of pivot labels on the chart.
Pivot Label Size : Select the size of the pivot labels displayed on the chart. Options include Tiny, Small, Normal, Large, and Huge.
Trend Line Calculations :
Pivot Depth : Adjust the depth for pivot calculation based on the selected timeframe to capture significant price movements.
Pivot Deviation : Set the deviation for pivot calculation to identify key turning points.
Pivot Backstep : Define the backstep for pivot calculation to ensure accurate detection of pivot points.
Enhanced Calculations :
Market Structure Detection : Utilize advanced algorithms to identify key market structures, improving trend line accuracy.
Adaptive Parameters : Automatically adjust pivot depth, deviation, and backstep based on the selected timeframe for better relevance.
Zigzag Calculation : Implement zigzag patterns to dynamically adjust trend lines, ensuring they reflect current market conditions.
Slope and Intercept Calculation : Compute the slope and intercept for trend lines to enhance precision in trend detection.
Dynamic Updates : Continuously update trend lines as new data becomes available, ensuring real-time accuracy.
Alerts and Notifications : Set alerts for new high and low pivots, as well as for when the price crosses upper or lower trend lines, keeping traders informed of significant market changes.
Plotting Trend Lines :
Trend Line Plotting : Automatically draw trend lines based on detected BOS, helping traders visualize the market trend.
Diagonal Support/Resistance Lines : Plot diagonal lines to indicate support and resistance levels, enhancing the understanding of market dynamics.
Pivot Label Customization : Customize pivot labels for clear identification of high and low points in the trend.
Alerts for Trend Lines : Set alerts for when price crosses trend lines, ensuring timely notifications of potential trading opportunities.
📘 Enhanced Linear Regression Integration
Purpose : Uses linear regression to analyze price movements and identify trends.
Usage : Display the linear regression projection line, customize its appearance, and use enhanced calculations for better trend analysis.
Display Projection Line :
Description : Toggle to display or hide the linear regression projection line on the chart.
Details : This line represents the best fit line that predicts future prices based on historical data.
Data Source :
Description : Select the data source for the linear regression projection.
Details : This is typically the closing price but can be any price point such as open, high, or low. The selected source will be used to calculate the linear regression projection line.
Trend-Based Line Color :
Enable Trend-Based Line Color : Toggle to automatically color the projection line based on the trend direction. When enabled, the line will be red for a downward trend and green for an upward trend, providing a visual indication of market direction.
Uptrend Line Color : Select the color for the projection line when the trend is upward. This color will be used when "Enable Trend-Based Line Color" is active.
Downtrend Line Color : Select the color for the projection line when the trend is downward. This color will be used when "Enable Trend-Based Line Color" is active.
Enhanced Calculations :
Standard Deviation Calculation : Calculate the standard deviation for a given length to understand the volatility around the linear regression line.
Pearson's Correlation Calculation : Compute Pearson's R to measure the strength of the linear relationship between the price points and the linear regression line.
Slope and Intercept Calculation : Calculate the slope and intercept for the regression line, providing the basis for the projection.
Kernel Application : Optionally apply the RBF Kernel to the selected source data for smoothing and enhancing the regression calculations.
Dynamic Length Selection : Automatically select the optimal regression period based on the highest Pearson's R value, ensuring the most accurate trend representation.
Real-Time Updates : Continuously update the regression line and related calculations as new data becomes available, maintaining accuracy in real-time.
Alerts and Notifications : Set alerts for when the price crosses the linear regression projection line, notifying traders of significant market events.
Plotting Linear Regression Components :
Projection Line Plotting : Automatically draw the linear regression projection line based on historical data and the selected data source.
Label Customization : Customize the label for the projection line, including color and text, for clear identification on the chart.
Alerts for Projection Line : Set alerts for when the price crosses the projection line, ensuring timely notifications of potential trading opportunities.
📘 POC Analysis Integration
Purpose : Identifies the Point of Control (POC) to highlight price levels with the highest trading volume.
Usage : Toggle the display of the POC, customize its appearance, and use enhanced calculations for better market analysis.
Display POC :
Description : Toggle to display or hide the Point of Control (POC) on the chart.
Details : The POC is the price level at which the highest volume of trading occurred, indicating a focal point of market activity.
Data Source :
Description : Select the price source for POC analysis.
Details : This is typically the closing price but can be any price point such as open, high, or low. The selected source will be used to calculate the POC.
POC Line Colors :
Color Above POC : Set the line color when the closing price is above the POC.
Color Below POC : Set the line color when the closing price is below the POC.
Width Multiplier :
Description : Adjust the width around the price for POC analysis.
Details : A higher value broadens the calculation range.
POC Calculation and Visualization :
Price Level Initialization : Calculate the initial spacing between price levels based on the first candlestick and user settings.
Volume Data Accumulation : Accumulate volume data at specified price levels for each candlestick to determine the POC.
Dynamic Array Expansion : Expand price levels array to accommodate new price data outside the current range.
POC Determination : Determine and visualize the POC at the last candlestick if enabled by the user.
Alerts and Notifications : Set alerts for when the price crosses the POC, notifying traders of significant market events.
Plotting POC Components :
POC Line Plotting : Automatically draw the POC line based on historical data and the selected data source.
Label Customization : Customize the label for the POC line, including color and text, for clear identification on the chart.
Alerts for POC : Set alerts for when the price crosses the POC, ensuring timely notifications of potential trading opportunities.
📘 Enhanced Divergences Integration
Purpose : Detects and displays divergences between price movements and indicators to identify potential reversal points.
Usage : Toggle the display of divergences, select data sources, customize divergence colors, and use enhanced calculations for better trend analysis.
Display Divergences :
Description : Toggle to display or hide the detected divergences on the chart.
Details : Divergences occur when the price movement of an asset and a related indicator (e.g., volume or momentum) move in opposite directions. They are used to identify potential reversal points in the market. Regular divergences signal possible reversals, while hidden divergences can indicate continuation.
Data Source :
Description : Defines the timeframe from which to fetch data for analysis.
Details : Typically lower than the chart current timeframe for multi-timeframe analysis.
Divergence Colors :
Bearish Divergence Color : Sets the color for bearish divergence lines. Bearish divergences typically suggest potential downward price movement.
Bullish Divergence Color : Sets the color for bullish divergence lines. Bullish divergences typically indicate potential upward price movement.
Pivot Bars :
Left Bars : Number of bars to the left of the pivot point to consider. Helps in identifying the pivot high or low by looking back these many bars.
Right Bars : Number of bars to the right of the pivot point to consider. Assists in confirming a pivot point by ensuring no higher high or lower low is present within this range.
Display Hidden Divergences :
Description : When enabled, this setting reveals hidden divergences on the chart.
Details : Hidden divergences are a subtler form of divergence that often signal continuation rather than reversal. A hidden bullish divergence occurs when price makes a higher low while the indicator makes a lower low, suggesting the continuation of an uptrend. Conversely, a hidden bearish divergence occurs when price makes a lower high while the indicator makes a higher high, indicating the continuation of a downtrend. These divergences are particularly useful for identifying the strength of the current trend.
Dynamic Line Width Based on Divergence Count :
Description : When enabled, adjusts the width of the divergence line dynamically based on the count of divergences detected.
Details : This provides visual emphasis on stronger signals.
Enhanced Calculations :
Standard Deviation Calculation : Calculate the standard deviation for a given length to understand the volatility around the linear regression line.
Pearson's Correlation Calculation : Compute Pearson's R to measure the strength of the linear relationship between the price points and the linear regression line.
Slope and Intercept Calculation : Calculate the slope and intercept for the regression line, providing the basis for the projection.
Kernel Application : Optionally apply the RBF Kernel to the selected source data for smoothing and enhancing the regression calculations.
Dynamic Length Selection : Automatically select the optimal regression period based on the highest Pearson's R value, ensuring the most accurate trend representation.
Real-Time Updates : Continuously update the regression line and related calculations as new data becomes available, maintaining accuracy in real-time.
Alerts and Notifications : Set alerts for when the price crosses the linear regression projection line, notifying traders of significant market events.
Plotting Divergence Components :
Divergence Line Plotting : Automatically draw divergence lines based on historical data and the selected data source.
Label Customization : Customize the label for the divergence lines, including color and text, for clear identification on the chart.
Alerts for Divergences : Set alerts for when a divergence is detected, ensuring timely notifications of potential trading opportunities.
📘 Enhanced Average True Range Integration
Purpose : Measures market volatility using the Average True Range (ATR) to assist in identifying potential buy and sell points.
Usage : Set the ATR period, minimum tick filter, upper and lower coefficients, and customize ATR colors for better market analysis.
Show Labels :
Description : Enable or disable the display of labels for the Average True Range (ATR) indicator.
Details : This option controls whether the ATR signals (buy and sell) are shown on the chart with respective labels.
ATR Period :
Description : Sets the period for calculating the Average True Range (ATR).
Details : The ATR measures market volatility by calculating the average range of price movement over a specified period. A shorter period makes the ATR more sensitive to recent price movements, while a longer period smooths out short-term volatility.
Minimum Tick Filter :
Description : Sets the minimum tick filter for buy and sell signals.
Details : This filter ensures that the price movement is significant enough to be considered a valid signal. For example, a value of 20 means that the price must move at least 20 ticks from the open to the close to generate a signal.
Upper Coefficient :
Description : Sets the upper coefficient for band calculation.
Details : This value adjusts the sensitivity of the upper band used to detect high points. A higher coefficient makes the band wider, capturing more significant price movements, while a lower coefficient makes the band narrower, making it more sensitive to smaller price changes.
Lower Coefficient :
Description : Sets the lower coefficient for band calculation.
Details : This value adjusts the sensitivity of the lower band used to detect low points. A higher coefficient makes the band wider, capturing more significant price movements, while a lower coefficient makes the band narrower, making it more sensitive to smaller price changes.
ATR Colors :
Bullish Color : Sets the color for the bullish signal, helping to visually distinguish bullish trends.
Bearish Color : Sets the color for the bearish signal, helping to visually distinguish bearish trends.
Enhanced Calculations :
Dynamic Coefficient Calculation : Calculates dynamic coefficients based on market volatility, adjusting the sensitivity of ATR bands accordingly.
Band Calculation : Computes high and low bands using dynamic coefficients to detect significant price movements.
High/Low Point Detection : Identifies potential high and low points based on ATR band calculations and price thresholds.
Real-Time Updates : Continuously updates ATR calculations and signals as new data becomes available, ensuring accuracy in real-time.
Plotting ATR Components :
Signal Plotting : Plots bullish and bearish ATR signals on the chart based on calculated conditions.
Label Customization : Customize the labels for ATR signals, including color and text, for clear identification on the chart.
Alerts for Signals : Set alerts for detected bullish and bearish signals, ensuring timely notifications of potential trading opportunities.
📘 Enhanced ATR Visualization Parameters
Purpose : Provides a visual representation of market volatility using the ATR Strength Meter.
Usage : Toggle the display of the ATR Strength Meter, set thresholds, and customize its appearance for better market analysis.
Display ATR Strength Meter :
Description : Toggle to display or hide the ATR Strength Meter, a visual representation of market volatility.
Details : The meter is based on the Average True Range (ATR) and helps identify volatility trends.
High ATR Threshold :
Description : Set the threshold for high volatility.
Details : ATR values above this threshold indicate increased market volatility.
Low ATR Threshold :
Description : Set the threshold for low volatility.
Details : ATR values below this threshold indicate decreased market volatility.
Progression Bar Position :
Description : Select the position of the ATR Strength Meter on the chart.
Details : Options are "Top" or "Bottom", affecting where the volatility meter is displayed relative to price action.
Progress Bar Length :
Description : Set the horizontal length of the ATR Strength progression bar.
Details : Adjust to increase or decrease the bar's width, accommodating different chart sizes and user preferences.
Enhanced Calculations :
ATR Strength Calculation : Calculate the ATR strength to measure market volatility.
Dynamic Coefficients : Use dynamic coefficients based on volatility for more accurate calculations.
Progress Bar Calculation : Determine the position and color of the progression bar based on ATR strength.
Label Positioning : Dynamically position labels for minimum and maximum values to avoid overlap.
Plotting ATR Strength Meter :
Progression Bar Plotting : Plot the progression bar to represent the ATR strength.
Label Customization : Customize labels for the ATR strength, minimum, and maximum values.
📘 Enhanced Relative Strength Index Integration
(A special thanks to RumpyPumpyDumpy for allowing the private reuse of his script.)
Purpose : Measures market momentum using the Relative Strength Index (RSI) and Stochastic RSI to assist in identifying potential buy and sell points.
Usage : Set the RSI and StochRSI parameters, toggle the display of the RSI Meter, and customize its appearance for better market analysis.
RSI Calculation Parameters :
RSI Length : Defines the length of the RSI calculation.
Details : A longer period captures more data points but may reduce sensitivity.
RSI Overbought Level : Sets the overbought level for RSI.
Details : Values above this level indicate overbought conditions.
RSI Oversold Level : Sets the oversold level for RSI.
Details : Values below this level indicate oversold conditions.
StochRSI Length : Defines the length of the StochRSI calculation.
Details : A longer period captures more data points but may reduce sensitivity.
StochRSI %K Length : Defines the length of the %K line of the StochRSI.
StochRSI %D Length : Defines the length of the %D line (SMA of %K) of the StochRSI.
RSI Visualization Parameters :
Display RSI Meter : Toggle the display of the RSI Meter on the chart.
RSI Meter Size : Adjust the size of the RSI Meter displayed on the chart.
Details : Measured as the diameter of the meter. Increase the value for larger display size, enhancing visibility and making it easier to read the RSI trend at a glance.
Horizontal Offset : Move the RSI Meter horizontally across the chart.
Details : Positive values shift the meter to the left, allowing for placement adjustments relative to the chart's current view or specific visual preferences.
RSI Meter Components :
Sectors and Ticks : Draw sector arcs and tick marks around the RSI Meter to represent different RSI levels and thresholds.
Needle : Draw the needle on the RSI Meter to indicate the current RSI value.
Sector Labels : Label each sector of the RSI Meter to indicate market conditions like "Strong Buy," "Buy," "Neutral," "Sell," and "Strong Sell."
Title Label : Draw the title label for the RSI Meter displaying the RSI value and its period.
Enhanced Calculations :
RSI Calculation : Calculate the RSI using the built-in function with the specified length and source.
StochRSI Calculation : Calculate StochRSI values using the specified lengths for RSI, %K, and %D.
Dynamic Line Management : Efficiently manage and update dynamically created line objects to prevent potential memory leaks.
Optimized Sector and Needle Drawing : Enhanced the drawing functions for sectors, needles, and ticks to improve visual clarity and performance.
Plotting RSI Meter :
Sector Plotting : Draw the sectors on the RSI Meter using specified colors and widths to represent different RSI levels and thresholds.
Needle Plotting : Plot the needle on the RSI Meter based on the calculated RSI value to visually indicate the current RSI level.
Tick Plotting : Plot tick marks around the RSI Meter to denote key RSI levels and thresholds for better readability.
Label Plotting : Draw sector labels and a title label on the RSI Meter to provide context and information about the RSI levels and their corresponding market conditions.
📘 Market Sentiment Integration
Purpose : Analyzes market sentiment using various indicators to provide an overall sentiment score.
Usage : Enable or disable individual sentiment indicators, set account type, and customize sentiment calculations for better market analysis.
Volatility Index (IV) :
Description : Enable or disable the use of the Volatility Index in sentiment calculation.
Details : When enabled, the Volatility Index (IV) provides insight into market sentiment by measuring market volatility. The selected Volatility Index varies based on your TradingView account type.
Account Type :
Description : Select your TradingView account type.
Details : Free accounts use SPX, while Premium accounts use VIX.
Put/Call Ratio (PCR) :
Description : Enable or disable the use of the Put/Call ratio in sentiment calculation.
Details : The Put/Call ratio is a sentiment indicator that measures the volume of put options traded relative to call options, indicating market sentiment towards bearish or bullish expectations.
Fear and Greed Index :
Description : Enable or disable the use of the Fear and Greed Index in sentiment calculation.
Details : The Fear and Greed Index gauges the prevailing emotions in the market, indicating whether investors are inclined towards fear (bearish sentiment) or greed (bullish sentiment).
Momentum Indicators :
Description : Enable or disable the use of momentum indicators like MACD and RoC in sentiment calculation.
Details : Momentum indicators help identify the strength and direction of price movements, assisting in sentiment analysis.
Adaptive Periods for Shorter Timeframes :
Description : Toggle this option to use shorter periods for sentiment indicators when analyzing lower timeframes.
Details : Enabling this option allows for more responsive and sensitive analysis when working with shorter timeframes.
Calculation Details :
Normalization Function : Normalize the values of the indicators over a 252-period range.
Set Periods Function : Set periods based on user preference for faster or slower periods, adjusting the analysis sensitivity.
IV Calculation : Calculate the IV value based on the selected Volatility Index (SPX for Free accounts, VIX for Premium accounts).
Put/Call Ratio Calculation : Calculate the Put/Call ratio using volume data, where put volume is proportional to the trading range, and call volume is proportional to the price change.
RoC Calculation : Calculate the Rate of Change (RoC) as a momentum indicator, measuring the percentage change in closing prices over a specified period.
Dynamic Thresholds : Define dynamic thresholds based on historical data, calculating mean and standard deviation to determine upper and lower thresholds for IV, PCR, and RoC.
📘 Enhanced Market Trend Dashboard Integration
Purpose : Provides a summary of key market indicators and signals in a single dashboard for quick and easy reference.
Usage : Customize the dashboard settings to display relevant market information, including Ichimoku components, Linear Regression, Support/Resistance levels, MACD, RSI, and Market Sentiment.
Market Trend Dashboard Parameters :
Display Market Trend Dashboard : Toggle to show or hide the market trend dashboard, providing a summary of key indicators and signals.
Panel Position : Select the position of the dashboard on the chart for optimal viewing.
Panel Text Size : Choose the text size for the information displayed in the dashboard, ensuring readability.
Panel Background Color : Set the background color of the market trend dashboard, enhancing contrast with the chart.
Ichimoku Dashboard Parameters :
Display Ichimoku Dashboard : Toggle to show or hide the Ichimoku section in the dashboard.
Display Tenkan-Sen Price Cross : Indicate when the price crosses the Tenkan-Sen line, signaling potential trade opportunities.
Display Kijun-Sen Price Cross : Indicate when the price crosses the Kijun-Sen line, often considered a stronger signal than Tenkan-Sen crosses.
Display Chikou Span Price Cross : Indicate Chikou Span price crosses, providing insight into potential trend reversals.
Display Kumo Breakout : Indicate Kumo (cloud) breakouts, which can signify major trend shifts.
Display Kumo Twist : Indicate Kumo twists, suggesting changing market dynamics and potential reversals.
Linear Regression Projection Dashboard Parameters :
Display LR Projection Dashboard : Toggle to show or hide the Linear Regression Projection section in the dashboard.
Display Linear Regression Period : Indicate the period used for Linear Regression Projection analysis.
Display Pearson R Details : Show the Pearson R value in the dashboard, indicating the strength and direction of the correlation in the Linear Regression Projection.
Supports and Resistances Dashboard Parameters :
Display S/R Dashboard : Toggle to show or hide the Support and Resistance section in the dashboard.
Display S/R Break Prices : Show the latest break prices of support and resistance levels in the dashboard.
MACD Dashboard Parameters :
Display MACD Dashboard : Toggle to show or hide the MACD section in the dashboard.
RSI Dashboard Parameters :
Display RSI Dashboard : Toggle to show or hide the Relative Strength Index section in the dashboard.
Display RSI Details : Show the RSI value and status in the dashboard.
Display StochRSI Details : Show the StochRSI %K, %D values and status in the dashboard.
Market Sentiment Dashboard Parameters :
Display Market Sentiment Dashboard : Enable or disable the display of the Market Sentiment Dashboard, which summarizes key market sentiment indicators like Implied Volatility, Put/Call Ratio, and Fear and Greed Index.
Display Implied Volatility Details : Show or hide the Implied Volatility details in the Market Sentiment Dashboard.
Display Put/Call Ratio Details : Show or hide the Put/Call Ratio details in the Market Sentiment Dashboard.
Display Fear and Greed Index Details : Show or hide the Fear and Greed Index details in the Market Sentiment Dashboard.
Enhanced Calculations :
Ichimoku Cloud Trend Calculation : Calculates trend based on the relationship between Ichimoku Cloud components, identifying bullish or bearish trends.
Support and Resistance Break Detection : Detects breaks in support and resistance levels and updates the dashboard accordingly.
Linear Regression Projection Calculation : Calculates Linear Regression Projection and Pearson R value for trend analysis.
MACD Signal Calculation : Determines MACD status based on histogram values.
RSI and StochRSI Calculation : Calculates RSI and StochRSI values and updates their statuses in the dashboard.
Market Sentiment Score Calculation : Calculates overall market sentiment score based on individual sentiment indicators.
Dynamic Alert Management : Manages alerts for various dashboard signals to prevent repeated alerts.
Real-Time Data Integration : Continuously updates the dashboard with real-time data for accurate and current trend analysis.
Plotting Market Trend Dashboard Components :
Ichimoku Components Plotting : Plots Tenkan-Sen, Kijun-Sen, Chikou Span, and Kumo cloud with dynamic adjustments.
Support and Resistance Levels Plotting : Plots support and resistance levels and updates them dynamically based on market data.
Linear Regression Projection Plotting : Plots the Linear Regression Projection line and labels with trend-based colors.
MACD and RSI Plotting : Plots MACD and RSI signals on the dashboard, including status updates.
Market Sentiment Indicators Plotting : Plots Market Sentiment indicators like IV, PCR, and Fear and Greed Index with dynamic updates.
Alert Notifications Plotting : Plots alert notifications for significant market changes based on dashboard signals.
Summary
This comprehensive market analyzer integrates multiple technical indicators, including machine learning, Ichimoku Kinkō Hyō, candlestick patterns, Fibonacci retracement, support and resistance levels, trend lines, linear regression, POC analysis, divergences, ATR, RSI, and market sentiment. Each section includes detailed descriptions and usage instructions to help traders understand how to effectively utilize the indicator in their trading strategies.
[astropark] Auto Fibonacci Retracement ExtensionDear followers,
today a new analysis tool for day trading, scalping and swing trading: Automatic Fibonacci Retracements and Extensions drawer!
It works on every timeframe and market, as it simply draws automatically most important fibonacci levels on the chart.
Based on the analysis window set (default 100 bars, but you can edit it as you like), it finds recent high and low and start drawing the following levels:
recent high and low (black)
golden retracement range: 0.5 * 0.618 * 0.705 fibonacci retracements (gold)
fibonacci extensions range above 1: 1.272 * 1.424 * 1.618 * 2.618 * 4.236 (blue)
fibonacci extensions range below 0: -0.238 * -0.618 * -0.706 * -1(fuchsia)
Whenever the indicator finds a new high or a new low, al fibonacci levels are re-draw automatically.
The indicator will let you:
change analysis window
enable displaying labels related to current fibonacci levels and/or prices
change colors
show/hide each specific level
How to use the indicator?
Basically, all techniques which apply to fibonacci tool are valid here too.
After a big move up or down, a new high or low is created and a retracement is expected: if trend is strong, retracement to golden ration 0.618 will be a perfect spot for buy or sell respectively in order to continue riding the trend.
In general a bounce is always expected when price hit 0.618 retracement , good to know for scalping traders, while swing trades will continue holding the trade for higher profits.
If the golden retracement range (0.5 - 0.705) is broken and then retested from the other side, a continuation move is expected towards previous high/low (fib level 1) and even more towards the fibonacci extensions range above 1 (1.618 - 2.618 - 4.236).
If the base of bounce and trend continuation on golden retracement range, traders can expect
price to hit again previous high/low and
if trend is strong, a consolidation near the previous high/low range (conditions that are respectively bullish and bearish)
do a further continuation towards -0.618 fib level range
Traders must always understand that
the higher the timeframe, the stronger is the meaning and so the reaction when a specific fibonacci level is hit
don't trade blindly, try to find confluences to have an higher chance to be in a winning trade in near future
money and risk management are very important, so manage your position size and always have a stop loss in your trades
As said, this indicators work on every timeframe and in all markets (Crypto currencies, stocks, FOREX, indexes, commodities). Here some examples:
BTCUSDT 1D: after a long run, a retracement is expected and a bounce at 0.618 golden level is more than obvious: perfect short (sell) entry
BTCUSDT 1D: again as previous example, after a long run, a retracement is expected as well as price's bounces back above
EURUSD 1h: lots of info here, directly in the chart below:
bounces on 0.618 golden zone
double top
price breaks 0.618 level and retests it from below targeting previous low
double bottom and bounce back towards golden zone
bearish consolidation at recent low and further decline towards 1.618 fib extension
AMZN 1h stock: lots of info here too, directly in the chart below:
new high is print, price retrace to golden zone
bounces on 0.618 golden zone
price breaks 0.618 level and retests it from below targeting previous low
double bottom and bounce back towards golden zone
rejection at golden zone, price falling targeting previous low again and probably 1.618 fib extension
price breaks hard previous low and hits fib extension range below recent low
price retraces back up towards new golden retracement range
golden retracement range is broken and used as support: targets are previous high and 1.618 extension
once 1.618 extension level is broken and retested successfully as support, price moves towards 2.618 fibonacci extension level
SPY (SPX500) index: lots of info in the chart
interesting to note that March 2020 huge dump can be totally mapped as a series of fibonacci level bounces, so you understand the importance of riding a trend now, right?
after the low was formed, price retraced perfectly to golden ration 0.618
each time price hit a golden level/range, it retraces creating double top and double bottom configurations too
In the chart below we can see the power of the double bottom at golden retracement level: targets are previous high and -0.618 fibonacci extension level
XAUUSD 15m: as we are in a lower timeframe, the default analysis windows has been reduced to 50.
What can we see here:
golden retracement and price is rejected towards previous low
golden retracement hit and price bounces back lower
new high is formed: golden retracement hit and price bounces back higher
price break previous high and hits fibonacci extensions -0.618 and -1
price continues rising forming a regular bearish divergence with RSI
once uptrend is broken, price falls dramatically
first target is 0.618 retracement level, where you see a very small retracement due to strength of sellers
second target is previous low, which is broken and retested many time from below (bearish retest)
third target is fibonacci extension range (in this case 1.414 is almost hit)
as an hidden bullish divergence with RSI was created, price goes back up
This is a premium indicator , so send me a private message in order to get access to this script.
Dekidaka-Ashi - Candles And Volume Teaming Up (Again)The introduction of candlestick methods for market price data visualization might be one of the most important events in the history of technical analysis, as it totally changed the way to see a trading chart. Candlestick charts are extremely efficient, as they allow the trader to visualize the opening, high, low and closing price (OHLC) each at the same time, something impossible with a traditional line chart. Candlesticks are also cleaner than bars charts and make a more efficient use of space. Japanese peoples are always better than everyone at an incredible amount of stuff, look at what they made, the candlesticks/renko/kagi/heikin-ashi charts, the Ichimoku, manga, ecchi...
However classical candlesticks only include historical market price data, and won't include other type of data such as volume, which is considered by many investors a key information toward effective financial forecasting as volume is an indicator of trading activity. In order to tackle to this problem solutions where proposed, the most common one being to adapt the width of the candle based on the amount of volume, this method is the most commonly accepted one when it comes to visualizing both volume and OHLC data using candlesticks.
Now why proposing an additional tool for volume data visualization ? Because the classical width approach don't provide usable data regarding volume (as the width is directly related to the volume data). Therefore a new trading tool based on candlesticks that allow the trader to gain access to information about the volume is proposed. The approach is based on rescaling the volume directly to the price without the direct use of user settings. We will also see that this tool allow to create support and resistances as well as providing signals based on a breakout methodology.
Dekidaka-Ashi - Kakatte Koi Yo!
"Dekidaka" (出来高) mean "Volume" in a financial context, while "Ashi" (足) mean "leg" or "bar". In general methods based on candlesticks will have "Ashi" in their name.
Now that the name of the indicator has been explained lets see how it works, the indicator should be overlayed directly to a candlestick chart. The proposed method don't alter the shape of the candlesticks and allow to visualize any information given by the candles. As you can see on the figure below the candle body of the proposed tool only return the border of the candle, this allow to show the high/low wick of the candle.
The body size of the candle is based on two things : the absolute close/open difference, and the volume, if the absolute close/open difference is high and the volume is high then the body of the candle will be clearly visible, if the volume is high but the absolute close/open difference is low, then the body will be less visible. This approach is used because of the rescaling method used, the volume is divided by the sum between the current volume value and the precedent volume value, this rescale the volume in a (0,1) range, this result is multiplied by the absolute close/open difference and added/subtracted to the high/low price. The original approach was based on normalization using the rolling maximum, but this approach would have led to repainting.
You have access to certain settings that can help you obtain a better visualization, the first one being the body size setting, with higher values increasing the body amplitude.
In green body with size 2, in red with size 1. The smooth parameter will smooth the volume data before being used, this allow to create more visible bodies.
Here smooth = 100.
Making Bands From The Dekidaka-Ashi
This tool is made so it output two rescaled volume values, with the highest value being denoted as "Dekidaka-high" and the lowest one as "Dekidaka-low". In order to get bands we must use two moving averages, one using the Dekidaka-high as input and the other one using Dekidaka-low, the body size parameter should be fairly high, therefore i will hide the tool as it could cause trouble visualizing the bands.
Bands with both MA's of period 20 and the body size equal to 20. Larger periods of the MA's will require a larger amount of body size.
Breakout Signals
There is a wide variety of signals that can be made from candles, ones i personally like comes from the HA candles. The proposed tool is no exception and can produce a wide variety of signals. The signals generated are basic ones based on a breakout methodology, here is each signal with their associated label :
Strong Bullish signal "⇈" : The high price cross the Dekidaka-high and the closing price is greater than the opening price
Strong Bearish signal "⇊" : The low price cross the Dekidaka-low and the closing price is lower than the opening price
Weak Bullish signal "↑" : The high price cross the Dekidaka-high and the closing price is lower than the opening price
Weak Bearish signal "↓" : The low price cross the Dekidaka-low and the closing price is greater than the opening price
Uncertain "↕" : The high price cross the Dekidaka-high and the low price cross the the Dekidaka-low
In order to see the signals on the chart check the "Show signals" option. Note that such signals are not based on an advanced study, and even if they are based on a breakout methodology we can see that volatile movement rarely produce signals, therefore signals mostly occur during low volume/volatility periods, which isn't necessarily a great thing.
Conclusion
A trading tool based on candlesticks that aim to include volume information has been presented and a brief methodology has been introduced. A study of the signals generated is required, however i'am not confident at all on their accuracy, i could work on that in the future. We have also seen how to make bands from the tool.
Candlesticks remain a beautiful charting technique that can provide an enormous amount of information to the trader, and even if the accuracy of patterns based on candlesticks is subject to debates, we can all agree that candlesticks will remain the most widely used type of financial chart.
On a side note i mostly use a dark color for a bullish candle, and a light gray for a bearish candle, with the border color being of the same color as the bullish candle. This is in my opinion the best setup for a candlestick chart, as candles using the traditional green/red can kill the eyes and because this setup allow to apply a wide variety of colors to the plot of overlayed indicators without the fear of causing conflict with the candles color.
Thanks for reading ! :3 Nya
A Word
This morning i received some hateful messages on twitter, the users behind them certainly coming from tradingview, so lets be clear, i know i'am not the most liked person in this community, i know that perfectly, but no one merit to be receive hateful messages. I'am not responsible for the losses of peoples using my indicators, nor is tradingview, using technical indicators does not guarantee long term returns, your ability to be profitable will mostly be based on the quality and quantity of knowledge you have.
Sessions [Plug&Play]This indicator automatically highlights the three major FX trading sessions—Asia, London, and New York—on your chart and, at the close of each session, draws right-extended horizontal rays at that session’s high and low. It’s designed to help you visually identify when price is trading within each session’s range and to quickly see where the highest and lowest prices occurred before the next major session begins.
Key Features:
Session Boxes
Draws a semi-transparent box around each session’s timeframe (Asia, London, New York) based on your local UTC offset.
Each box dynamically expands in real time: as new candles form during the session, the box’s top and bottom edges update to match the highest high and lowest low seen so far in that session.
When the session ends, the box remains on your chart, anchored to the exact candles that formed its boundaries.
High/Low Rays
As soon as a session closes (e.g., London session ends at 17:00 UTC+0 by default), two horizontal rays are drawn at that session’s final high and low.
These rays are “pinned” to the exact candles where the high/low occurred, so they stay in place when you scroll or zoom.
Each ray extends indefinitely to the right, providing a clear reference of the key supply/demand levels created during that session.
Session Labels
Optionally places a small “London,” “New York,” or “Asia” label at the top edge of each completed session’s box.
Labels are horizontally centered within the session’s box and use a contrasting, easy-to-read font color.
Customizable Appearance
Show/Hide Each Session: Toggle display of London, New York, and Asia sessions separately.
Time Ranges: By default, London is 08:00–17:00 (UTC), New York is 13:00–22:00 (UTC), and Asia is 00:00–07:00 (UTC). You can override each session’s start/end times using the “Time Range” picker.
Color & Opacity: Assign custom colors to each session. Choose a global “Dark,” “Medium,” or “Light” opacity preset to adjust box fill transparency and border shading.
Show/Hide Labels & Outlines: Turn the text labels and the box borders on or off independently.
UTC Offset Support
If your local broker feed or price data is not in UTC, simply adjust the “UTC Offset (+/–)” input. The indicator will recalculate session start/end times relative to your chosen offset.
How to Use:
Add the Indicator:
Open TradingView’s Pine Editor, paste in this script, and click “Add to Chart.”
By default, you’ll see three translucent boxes appear once each session begins (Asia, London, New York).
Watch in Real Time:
As soon as a session starts, its box will appear anchored to the first candle. The top and bottom of the box expand if new extremes occur.
When the session closes, the final box remains visible and two horizontal rays mark that session’s high and low.
Analyze Key Levels:
Use the high- and low-level rays to gauge session liquidity zones—areas where stop orders, breakouts, or reversals often occur.
For example, if London’s high is significantly above current price, it may act as resistance in the New York session.
Customize to Your Needs:
Toggle specific sessions on/off (e.g., if you only care about London and New York).
Change each session’s color to match your chart theme.
Adjust the “UTC Offset” so sessions align with your local time.
Disable labels or box borders if you prefer a cleaner look.
Inputs Overview:
Show London/New York/Asia Session (bool): Show or hide each session’s box and its high/low rays.
Time Range (session): Defines the start/end of each session in “HHMM–HHMM” (24h) format.
Colour (color): Custom color for each session’s box fill, border, and high/low rays.
Show Session Labels (bool): Toggle the “London,” “New York,” “Asia” text that appears at the top of each completed box.
Show Range Outline (bool): Toggle the box border (if off, only a translucent fill is drawn).
Opacity Preset (Dark/Medium/Light): Controls transparency of box fill and border.
UTC Offset (+/–) (int): Adjusts session times for different time zones (e.g., +1 for UTC+1).
Why It’s Useful:
Quickly Identify Session Activity: Visually distinguish when each major trading session is active, then compare price action across sessions.
Pinpoint High/Low Liquidity Levels: Drawn rays highlight where the market hit its extremes—critical zones for stop orders or breakout entries.
Multi-Timeframe Context: By seeing historical session boxes and rays, you can locate recurring supply/demand areas, overlap zones, or session re-tests.
Fully Automated Workflow: Once added to your chart, the script does all the work of tracking session boundaries and drawing high/low lines—no manual box or line drawing necessary.
Example Use Cases:
London Breakout Traders: See where London’s high/low formed, then wait for price to revisit those levels during the New York session.
Range Breakout Strategies: If price consolidates inside the London box, use the boxed extremes as immediate targets for breakout entries.
Intraday Liquidity Swings: During quieter hours, watch Asia’s high/low to identify potential support/resistance before London’s opening.
Overlap Zones: Compare London’s range with Asia’s range to find areas of confluence—high-probability reversal or continuation zones.
DD IFVG [Pro+] (Dodgy)Introduction
DD IFVG° is an automated charting tool built to track inversion logic after displacement events—specifically when Fair Value Gaps (FVGs) are closed through and act as an inversion gap. The tool adheres to logic taught by DodgyDD and inspired by Inner Circle Trader (ICT) methodology, offering a clean visual interface to support traders studying price behaviour after liquidity sweeps, FVG closures, and delivery to targets.
This indicator does not draw zones or suggest direction. It operates entirely on confirmed price events and produces logic-bound visuals designed for traders who already understand IFVG-based reasoning and seek visual consistency across sessions and Timeframes.
Key Terms and Definitions
Swing High / Swing Low: A swing high is a local price peak with lower highs on either side. A swing low is a local trough with higher lows on either side. These are used to detect where liquidity may rest and are required for confirming the initial raid condition in the IFVG model.
Liquidity Raid: This occurs when price breaks a prior swing high or low, effectively “sweeping” a level where orders may be clustered. A raid is a required precursor to inversion logic in this model. The tool will not evaluate a potential Fair Value Gap or DD Inversion unless a swing high or low has been taken first.
Fair Value Gap (FVG): A Fair Value Gap is a price imbalance that occurs when a strong move leaves a gap between candles—specifically, when the high of one candle and the low of a later candle do not overlap. FVGs often emerge during displacement and are commonly studied as inefficiencies within a price leg.
DD Inversion: A DD inversion happens when price fully closes through an existing Fair Value Gap after raiding liquidity, suggesting the original imbalance rebalanced, and looks to reverse its original role. For example, when a bearish FVG is closed above after raiding a swing low, it may behave with a change of orderflow (bullish inversion). The tool recognizes IFVGs as “inverted” after a full-body candle closes through the gap post raid.
Displacement: A strong, directional price move—typically with momentum—that leaves a Fair Value Gap behind. Displacement is important in inversion logic, as it creates the context and confidence in comparing and contrasting FVGs and DD Inversions for obvious flips in market behaviour.
DD Line: Once inversion occurs, the tool draws a single horizontal array on the candle's close. It marks the model’s activation level—not a prediction level or a support/resistance zone. It serves as a reference for when model logic is sequentially active.
Opposing Swing: The swing high or low opposite the one that was swept during the initial raid. This becomes the model’s first target for mechanical delivery and is automatically drawn once the DD line is triggered. When price reaches this swing, the model has reached its objective and could offer opportunities for further continuation to additional liquidity pools.
Invalidation: A DD Inversion is considered invalid in one of two scenarios, which the user can toggle individually: a body print back above/below the inversion in bearish/bullish conditions, or trading above/below the most recent swing high/low after the liquidity raid in bearish/bullish conditions. The DD line will continue extending when traded to until the setup is invalidated, or when the Opposing Swing is reached.
Consequent Encroachment (CE): The midpoint (50%) of the FVG or IFVG. This line can be optionally displayed for users who use midpoint reference logic. It is not required by the model’s internal logic but may assist with discretionary interpretation.
Description
At its core, DD IFVG° follows a structured three-step logic sequence: a FVG is created, liquidity is taken, and the Fair Value Gap (FVG) inside of the leg of the raid is closed through, signally a potential orderflow shift. Once inversion is confirmed, a DD line is plotted at the close of the candle that caused the inversion, making it the structural anchor for the model.
The tool does not account for partial fills or candle wicks for FVGs or IFVGs. Only full-body closures through a qualifying FVG are recognized. When this occurs, a bullish or bearish inversion is validated and the model becomes active. From there, the opposing swing (the unswept high or low from the displacement leg) is automatically drawn as the target for the IFVG model.
The model remains active until either the opposing swing is tagged (completion) or Invalidation Condition is triggered (close through DD IFVG, or price violating the liquidity raid swing). Upon invalidation, the DD line turns gray, signalling that the structure is no longer valid for ongoing tracking.
Key Features
The Bias allows traders to define whether to track bullish inversions (closing above bearish FVGs), bearish inversions (closing below bullish FVGs), or neutral for both. This allows isolate directional focus or display all structures on the same chart mechanically.
The Liquidity Timeframe defines the Timeframe for swing highs and lows that are identified for the required liquidity raid. The Chart mode allows analysts to use the active chart Timeframe. Auto enables a custom Timeframe Alignment, explained inside of the setting tooltip. Custom allows for specific frame alignment, which is helpful when syncing with specific higher-Timeframe structure. Session allows the user to use session highs and lows for the liquidity raid. Observe the difference in the DD IFVG's frequency based on different Liquidity Timeframe configurations:
Chart:
Automatic:
Custom (1H):
Session:
The FVG Filter Timeframe requires the DD setup to trade into a FVG before qualifying the raid filter. For instance, setting this to 4H ensures that only setups that form within a 4-hour FVG. This gives analysts an additional filter to qualify the start of the mechanical model.
Session Filter enables traders to define up to four specific Time blocks when the model is permitted to trigger. The Macros Only toggle filters setups further by limiting activation to the first and last 10 minutes of each hour—a filter inspired for intraday traders and scalpers.
The Invalidation Condition determines when a DD inversion is considered not longer valid. Close will maintain the inversion as active until price prints a body past the DD IFVG. Swing will maintain the inversion as active until the most recent swing from the liquidity raid is traded through; in this case a warning will appear once price prints a candle body past the DD IFVG.
Model Style includes customizable controls for the DD line, the opposing swing marker, and invalidated states. Label appearance, line styles, and extension behaviour are fully user-controlled. Traders can also enable the Consequent Encroachment (CE) line, which marks the 50% midpoint of the FVG and IFVG.
An Info Table is available to display current model state, including user bias, active Timeframes, asset, and Time filter. Its position is fully customizable and can be moved to match chart preferences.
How Traders Can Use the Indicator Effectively
DD IFVG° is not meant to identify trade signals, entries, or exits. It is best used as a visual tracker and confluence for structure-based delivery, particularly for those following DodgyDD-style IFVG logic. The tool excels as a companion for:
Journaling and reviewing IFVG-based setups across Timeframes and sessions
Studying structural completion or invalidation behaviour
Tracking delayed deliveries and retracement-based logic
Traders using the tool should be familiar with FVG formation, inversion criteria, and the importance of opposing swing resolution.
Usage Guidance
Add DD IFVG° to a TradingView chart. This is a fractal script and can be applied across any Timeframe or asset pairing depending on your session model and preferences.
Use the DD line to track inversion structure, monitor when inversions are created and negated, and reference the opposing swing to determine whether structural delivery has completed.
Use the DD IFVG° in combination with your own discretion and narrative to assess when the model has flipped, held, or broken.
Terms and Conditions
Our charting tools are products provided for informational and educational purposes only and do not constitute financial, investment, or trading advice. Our charting tools are not designed to predict market movements or provide specific recommendations. Users should be aware that past performance is not indicative of future results and should not be relied upon for making financial decisions. By using our charting tools, the purchaser agrees that the seller and the creator are not responsible for any decisions made based on the information provided by these charting tools. The purchaser assumes full responsibility and liability for any actions taken and the consequences thereof, including any loss of money or investments that may occur as a result of using these products. Hence, by purchasing these charting tools, the customer accepts and acknowledges that the seller and the creator are not liable nor responsible for any unwanted outcome that arises from the development, the sale, or the use of these products. Finally, the purchaser indemnifies the seller from any and all liability. If the purchaser was invited through the Friends and Family Program, they acknowledge that the provided discount code only applies to the first initial purchase of any Toodegrees product. The purchaser is therefore responsible for cancelling – or requesting to cancel – their subscription in the event that they do not wish to continue using the product at full retail price. If the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable. We hold no reimbursement, refund, or chargeback policy. Once these Terms and Conditions are accepted by the Customer, before purchase, no reimbursements, refunds or chargebacks will be provided under any circumstances.
By continuing to use these charting tools, the user acknowledges and agrees to the Terms and Conditions outlined in this legal disclaimer.
Swing Highs and Lows Detector🔍 Swing Highs and Lows Detector
The Swing Highs and Lows Detector is a powerful tool for traders looking to identify meaningful structural shifts in price action, based on swing point logic and internal trend shifts.
📈 What It Does
This indicator automatically identifies and labels:
HH (Higher High) – Price broke above the previous swing high
LH (Lower High) – Price failed to break the previous high, signaling potential weakness
LL (Lower Low) – Price broke below the previous swing low
HL (Higher Low) – Price maintained a higher support level, indicating strength
The script distinguishes between bullish and bearish internal shifts and tracks the highest/lowest points between those shifts to determine the swing structure.
⚙️ How It Works
You can choose between two shift detection modes:
"Open": Compares closing price to the first open of the opposite streak
"High/Low": Uses the high of bearish or low of bullish candles
Once a shift is confirmed, the indicator scans the bars between shifts to find the most significant swing high or low
When a valid swing is detected, it’s labeled directly on the chart with color-coded markers
🛎️ Built-in Alerts
Set alerts for:
Higher High
Lower High
Lower Low
Higher Low
These alerts help you catch key structural shifts in real time — great for breakout traders, structure-based analysts, and smart money concepts (SMC) strategies.
✅ How to Use
Confirm Trend Strength or Reversals – Use HH/HL to confirm an uptrend, LL/LH to confirm a downtrend
Combine with Liquidity Sweeps or Zones – Ideal for SMC or Wyckoff-style setups
Entry/Exit Triggers – Use swing breaks to time entries or exits near key structural points
PoiBox# PoiBox: Advanced Market Structure and POI Visualization Tool
PoiBox is a comprehensive market structure analysis tool designed to identify high-probability trading zones through advanced internal market structure (IDM) detection and points of interest (POI) calculation.
## How It Works
The indicator uses a multi-step approach to analyze price action:
1. **Market Structure Identification**: The script identifies significant highs and lows within your selected time range to determine the overall market structure direction (up or down).
2. **IDM Pattern Detection**: It then analyzes internal market structure patterns within this range, focusing on significant price movements that create trading opportunities.
3. **POI Calculation**: Using adaptive ATR measurements across multiple timeframes, the indicator calculates precise POI zones where price is likely to react. These zones are calibrated based on the volatility profile of each identified structure.
4. **Timeframe Correlation**: The script automatically determines which timeframe best matches each structure's size, providing valuable context for your trading decisions.
5. **Technical Implementation**: The indicator uses a sophisticated algorithm to analyze price swings, identify pivot points, and calculate market structure connections. It maintains a database of significant highs/lows and uses these to determine trend direction and potential reversal zones.
## Display Modes
PoiBox offers three powerful display options:
- **Main BOS**: Shows only the most significant breakout structure with its associated POI zone
- **Leg**: Displays the largest price leg within the selected range along with percentage-based POI zones
- **All IDMs**: Reveals all detected internal market structures and their POI zones
## Advanced Features
- **QM Mode**: Visualizes important market structure relationships with dashed lines connecting significant highs and lows
- **Trick Display**: Identifies nested market structures (tricks) within larger patterns, perfect for precision entries
- **Customizable POI Labels**: Control which price labels appear to maintain chart clarity
- **Extensive Color Settings**: Fully customizable colors for all visual elements
- **Safety Functions**: Includes built-in buffer management and error prevention algorithms to ensure stable performance across all timeframes and market conditions
## Trading Examples
**Downtrend Example:**
When PoiBox identifies a downtrend structure (Higher High → High → Low → Lower Low), it creates POI zones based on the market structure. As shown in the chart, these zones provide excellent entry opportunities when price returns to test previous structure. In this example, entering at the red POI zone with a stop above the zone and target at the QM level resulted in a 3.45 risk/reward trade.
**How to Read QM Lines:**
The dashed lines connecting High → Low → Higher High → Lower Low reveal the market's true structure. These connections help you anticipate where price might head next. When price breaks below a significant Low and creates a Lower Low, it confirms the downtrend continuation and provides a trading opportunity when price retests the broken structure.
**POI Zone Interpretation:**
- Red zones indicate bearish POI areas (ideal for short entries)
- Green zones indicate bullish POI areas (ideal for long entries)
- Yellow zones highlight the identified market structure
## Practical Application Example
In the GBP/USD example shown in the chart:
1. PoiBox identified a downtrend structure with Higher High → High → Low → Lower Low
2. The yellow box shows the main market structure area
3. The red POI zone appeared when price returned to test previous structure
4. Entry was taken at the POI zone with stop loss above structure
5. Target was placed at the QM level, resulting in a 3.45 risk/reward ratio trade
6. The dashed QM lines showed the overall market flow and direction
This demonstrates how PoiBox automatically identifies optimal entry and exit points based on market structure, without requiring manual analysis of each price swing.
## Mathematical Approach
PoiBox uses several mathematical concepts to determine market structure and calculate POI zones:
1. **Adaptive ATR Integration**: The script analyzes ATR (Average True Range) across multiple timeframes (M1, M5, M15, H1, H4, D1, W1, MN1) to determine the appropriate volatility context for each structure.
2. **Height-to-ATR Ratio**: The indicator calculates the ratio between structure height and the closest matching ATR value to determine the structure's timeframe context.
3. **Dynamic POI Calculation**: POI values are calculated using the formula:
`POI = factor * (atr_trigger + atr_double_trigger)`
where `factor` is derived from the structure's height-to-ATR ratio.
4. **Self-Adjusting Limits**: If the calculated POI value exceeds certain thresholds relative to structure height, the script automatically applies proportional adjustments to maintain optimal zone sizing.
## What Makes PoiBox Unique
While many indicators use common concepts like support/resistance or trend analysis, PoiBox stands apart through its:
1. **Adaptive POI Calculation**: Unlike static indicators, PoiBox automatically calibrates POI zones based on each market structure's volatility profile by analyzing ATR across multiple timeframes.
2. **Smart Timeframe Detection**: The indicator automatically determines the most relevant timeframe for each structure, eliminating guesswork and helping you align your trading with the appropriate market cycles.
3. **QM Visualization System**: Our proprietary QM visualization method reveals hidden market structure relationships that standard indicators cannot detect, giving you an edge in anticipating price movements.
4. **Nested Pattern Recognition**: The "Trick" detection feature identifies high-probability setups where smaller patterns form within larger ones, creating precise entry opportunities missed by conventional tools.
5. **Self-Adjusting Analysis**: PoiBox dynamically adapts to changing market conditions without requiring manual parameter adjustments, saving you time and increasing accuracy.
These innovations combine to create a truly original trading system that transforms complex market structure concepts into clear, actionable signals.
## How To Use
1. Define your analysis area using the time range selectors (X1 and X2)
2. Choose your preferred display mode based on your trading style
3. Enable QM Mode for additional market structure context if needed
4. Use the POI zones as potential entry and exit areas for your trades
5. Reference the automatically detected timeframe indicators to align your trading with the appropriate timeframe
### Settings Explanation
**Display Settings:**
- Display Mode: Choose between Main BOS, Leg, or All IDMs visualization
- QM Mode: Enable to see market structure connections with dashed lines
**Trick Settings:**
- Trick Display: Show the main trick or all nested patterns
- Trick POI: Control which POI zones appear for trick patterns
**Label Settings:**
- Leg POI %: Customize percentage-based POI zones in Leg mode
- POI Labels: Control which price labels appear on your chart
**Time Range:**
- X1 and X2: Define the analysis area for market structure detection
**Colors:**
- TF Color: Color for timeframe labels
- H/L Color: Color for high/low labels
- QM Lines: Color for market structure connection lines
- Trick Color: Color for nested pattern visualization
This indicator is designed for traders who understand market structure concepts and want a powerful tool that automatically identifies high-probability trading zones based on structural price patterns and volatility-adjusted measurements.
CYCLE BY RiotWolftradingDescription of the "CYCLE" Indicator
The "CYCLE" indicator is a custom Pine Script v5 script for TradingView that visualizes cyclic patterns in price action, dividing the trading day into specific sessions and 90-minute quarters (Q1-Q4). It is designed to identify and display market phases (Accumulation, Manipulation, Distribution, and Continuation/Reversal) along with key support and resistance levels within those sessions. Additionally, it allows customization of boxes, lines, labels, and colors to suit user preferences.
Main Features
Cycle Phases:
Accumulation (1900-0100): Represents the phase where large operators accumulate positions.
Manipulation (0100-0700): Identifies potential manipulative moves to mislead retail traders.
Distribution (0700-1300): The phase where large operators distribute their positions.
Continuation/Reversal (1300-1900): Indicates whether the price continues the trend or reverses.
90-Minute Quarters (Q1-Q4):
Divides each 6-hour cycle (360 minutes) into four 90-minute quarters (Q1: 00:00-01:30, Q2: 01:30-03:00, Q3: 03:00-04:30, Q4: 04:30-06:00 UTC).
Each quarter is displayed with a colored box (Q1: light purple, Q2: light blue, Q3: light gray, Q4: light pink) and labels (defaulted to black).
Support and Resistance Visualization:
Draws boxes or lines (based on settings) showing the high and low levels of each session.
Optionally displays accumulated volume at the highs and lows within the boxes.
Daily Lines and Last 3 Boxes:
How to Use the Indicator
Step 1: Add the Indicator to TradingView
Open TradingView and select the chart where you want to apply the indicator (e.g., UMG9OOR on a 5-minute timeframe, as shown in the screenshot).
Go to the Pine Editor (at the bottom of the TradingView interface).
Copy and paste the provided code.
Click Compile and then Add to Chart.
Step 2: Configure the Indicator
Click on the indicator name on the chart ("CYCLE") and select Settings (or double-click the name).
Adjust the options based on your needs:
Cycle Phases: Enable/disable phases (Accumulation, Manipulation, Distribution, Continuation/Reversal) and adjust their time slots if needed.
90-Minute Quarters: Enable/disable quarters (Q1-Q4).
Step 3: Interpret the Indicator
Identify Cycle Phases:
Observe the red boxes indicating the phases (Accumulation, Manipulation, etc.).
The high and low levels within each phase are potential support/resistance zones.
If volume is enabled, pay attention to the accumulated volume at highs and lows, as it may indicate the strength of those levels.
Use the 90-Minute Quarters (Q1-Q4):
The colored boxes (Q1-Q4) divide the day into 90-minute segments.
Each quarter shows the price range (high and low) during that period.
Use these boxes to identify price patterns within each quarter, such as breakouts or consolidations.
The labels (Q1, Q2, etc.) help you track time and anticipate potential moves in the next quarter.
Analyze Support and Resistance:
The high and low levels of each phase/quarter act as support and resistance.
Daily lines (if enabled) show key levels from the previous day, useful for planning entries/exits.
The "last 3 boxes below price" (if enabled) highlight potential support levels the price might target.
Avoid Manipulation:
During the Manipulation phase (0100-0700), be cautious of sharp moves or false breakouts.
Use the high/low levels of this phase to identify potential traps (as explained in your first question about manipulation candles).
Step 4: Trading Strategy
Entries and Exits:
Support/Resistance: Use the high/low levels of phases and quarters to set entry or exit points.
For example, if the price bounces off a Q1 support level, consider a buy.
Breakouts: If the price breaks a high/low of a quarter (e.g., Q2), wait for confirmation to enter in the direction of the breakout.
Volume: If accumulated volume is high near a key level, that level may be more significant.
Risk Management:
Place stop-loss orders below lows (for buys) or above highs (for sells) identified by the indicator.
Avoid trading during the Manipulation phase unless you have a specific strategy to handle false breakouts.
Time Context:
Use the quarters (Q1-Q4) to plan your trades based on time. For example, if Q3 is typically volatile in your market, prepare for larger moves between 03:00-04:30 UTC.
Step 5: Adjustments and Testing
Test on Different Timeframes: The indicator is set for a 5-minute timeframe (as in the screenshot), but you can test it on other timeframes (e.g., 1-minute, 15-minute) by adjusting the time slots if needed.
Adjust Colors and Styles: If the default colors are not visible on your chart, change them for better clarity.
---
📌 1. **Accumulation: Strong Institutional Activity**
- During the **accumulation phase, we see **high volume: 82.773K, which suggests strong buying interest**, likely from institutional players.
- This sets the base for the following upward move in price.
---
📌 2. **Manipulation: False Breakout with Lower Volume**
- Later, there's a manipulation phase where price breaks above previous highs, but the volume (71.814K) is **lower than during accumulation**.
- This implies that buyers are not as aggressive as before—no real demandbehind the breakout.
- It’s likely a bull trap, where smart money is selling into the breakout to exit their positions.
---
### 📌 3. Distribution: Weakness and Lack of Demand
- The market enters a distribution phase, and volume drops even further (only 7.914K).
- Price struggles to go higher, and you start seeing rejections at the top.
- This shows that demand is drying up, and smart money is offloading positions**—not accumulating anymore.
---
### 💡 Why Take the Short Here?
- Volume is not increasing with new highs—showing weak demand**.
- The manipulation volume is weaker than the accumulation volume, confirming the breakout was likely false.
- Structure starts to break down (Q levels falling), which confirms weakness.
- This creates a high-probability short setup:
- **Entry:** after confirmation of distribution and structural breakdown.
- **Stop loss:** above the manipulation high.
- **Target:** down toward previous lows or value zones.
---
### ✅ Conclusion
Since the manipulation volume failed to exceed the accumulation volume, the breakout lacked real strength. Combined with decreasing volume in the distribution phase, this indicates fading demand and supply taking control—which justifies entering a short position.
Teddy LiteOverview
"Teddy" overlays key price levels—Daily Open (DO), Average Daily Range (ADR), and ADR Extensions (ADE)—on intraday charts. Designed for traders, it provides a clear framework to align with market ranges, avoid choppy price action, and stay out of overbought/oversold conditions, enhancing decision-making in dynamic markets.
Originality and Usefulness
"Teddy" uniquely combines DO, ADR High/Low, and ADE High/Low with dynamic percentage labels, while offering a concise view of price boundaries for daily Highs and Lows.
What It Does
Plots DO, ADR High/Low, and ADE High/Low as levels on the chart.
Labels each level with percentage distances from the current price (e.g., "ADRH (2.34%)").
Customizes visuals for clarity (colors, line styles, label sizes).
How It Works
Data Sources: Retrieves daily open and historical high/low data to compute ranges.
Calculations:
Daily Open (DO): Marks the session’s opening price.
ADR: Estimates typical daily range from past data, centered on DO to set High/Low bounds.
ADE: Extends ADR by a fixed percentage for outer limits.
Visualization: Updates lines and labels live, with user-defined colors, styles, and sizes.
How It Helps Traders
"Teddy" guides traders to avoid chasing markets in extended conditions:
Respecting the range: ADR High/Low define range-friendly zones—price above DO nearing ADR High signals bullish momentum is peaking, while below DO near ADR Low supports bearish momentum peaking.
Avoiding Choppy Conditions: Price lingering near DO often indicates indecision; "Teddy" highlights this level, helping you define balanced market conditions that favor choppy conditions.
Steering Clear of Overbought/Oversold: ADE High/Low mark extended levels where reversals are extremely—price hitting ADE Highlights the trend strength on the day but warns price is extremely over extended.
This structured approach keeps trades aligned with the markets average range, so traders can avoid extremes favorable levels for choppiness.
How to Use It
Apply to an intraday chart (e.g., SPY 5m).
Customize via inputs:
"Appearance Settings": Colors, line styles (Solid, Dotted, Dashed), widths (1-6), label visibility, and sizes (Tiny to Huge).
Watch levels: Consider reducing risk as the market approaches our ADRH/L levels. Trades can also play breakouts/failed breakouts at ADR High/Low or at ADE High/Low. Additionally remaining patient while the auction remains in balance near Day Open is an option as well.
Underlying Concepts
Range Dynamics: ADR reflects average daily volatility, DO anchors context, and ADE flags extensions.
Price Action: Levels highlight Volatility/Range (ADR) versus consolidation (DO) or expansive exhaustion (ADE).
Limitations
Optimized for day traders during live sessions; less effective in low-volatility periods.
Requires sufficient historical data for accurate ADR/ADE.
Levels are contextual and where I expect reactive price action to occur.. They are not guaranteed signals.
Dynamic HL VWAP+ | Current & Prev🔴 Dynamic HL VWAP+ | Current & Previous 🔴
A precision volume-weighted tool for traders who want more than just standard VWAP.
🧠 What It Does
The Dynamic HL VWAP+ is a powerful custom-built indicator that anchors Volume Weighted Average Price (VWAP) lines not from the session open, but from the highest and lowest points of dynamically detected price cycles.
Unlike traditional VWAPs, this tool recalculates its anchor points from:
🔺 The most recent swing high (Highest Price in Lookback Period)
Please note currently it's limited to the default value or lower, as any higher, and it will conflict with Pine's restriction on "memory allocation" system for this kind of effort. Will update if there is any change in that.
🔻 The most recent swing low (Lowest Price in Lookback Period)
Then it does the same for the previous cycle (before the current lookback window), allowing you to see how price is behaving relative to past and present price extremes.
⚙️ Key Features
✅ Dynamic Anchoring
Anchors VWAPs from the most recent High and Low over a user-defined lookback period (len).
✅ Multi-Cycle Context
Plots both Current and Previous high/low-anchored VWAPs for contextual analysis.
✅ VWAP from Highs and Lows Separately
You’ll see how price reacts around bullish (High VWAP) and bearish (Low VWAP) pressures—great for scalping, pullbacks, and reversion plays.
✅ Line Visibility Control
You decide which lines to show:
Current High VWAP
Current Low VWAP
Previous High VWAP
Previous Low VWAP
✅ Lightweight and Label-Free
Optimized for performance. No labels, no alerts, just clean and effective plotting.
📈 How to Use
1. Trend Confirmation
When price holds above the Low VWAP or breaks the High VWAP, it signals trend strength.
If price rejects at High VWAP or fails to hold Low VWAP, it's a potential reversal/retest zone.
2. Reversion-to-Mean Plays
Look for price moving far from the VWAP lines and then curling back.
Works great on volatile intraday moves or swing setups.
3. Compare Current vs. Previous Cycle
If current VWAPs are higher than the previous ones, it shows bullish progress.
Converging VWAPs from prior and current cycles often indicate a squeeze or decision point.
📊 Example Scenarios
Example 1 – Intraday Bounce Play:
Price drops into a prior cycle’s Low VWAP line and forms a base—an ideal area to look for long scalps.
Example 2 – Breakout Retest:
Price breaks above the Current High VWAP, then comes back to retest it. If it holds, the breakout is likely valid.
Example 3 – Reversal Setup:
Price is trending up but fails at Current High VWAP and breaks down below Current Low VWAP—watch for short signals.
🛠 Settings
Lookback Bars: Defines how far back to look for the current swing High/Low (default = 66).
VWAP Source: Use ohlc4 for a balanced average, or customize to your preference.
Visibility Toggles: Easily enable/disable each of the four VWAP lines.
🧪 Best Timeframes & Markets
Works across all timeframes
Great for futures, crypto, stocks
Especially useful on 15m–1H intraday charts and 4H–D for swings
💬 Final Thoughts
If you're tired of static VWAPs that only anchor from the open, the Dynamic HL VWAP+ gives you a more price-reactive, context-aware, and actionable VWAP structure.
Ideal for:
Day traders looking for mean-reversion plays
Swing traders targeting pullbacks
Anyone who wants smarter VWAP lines built on recent price structure
This is an educational idea and publication, past performance or what you may see on chart might not be replicable for you. Use at your own risk.
Regards
Highs & Lows - Multi TimeFrame### **📌 HL-MWD (Highs & Lows - Multi Timeframe Indicator) – Community Release**
#### **🔹 Overview**
The **HL-MWD Indicator** is a **multi-timeframe support & resistance tool** that plots **historical highs and lows** from **daily, weekly, and monthly timeframes** onto an intraday chart. It helps traders **identify key levels of support and resistance** that have influenced price action over different timeframes.
This indicator is useful for **day traders, swing traders, and position traders** who rely on **multi-timeframe analysis** to spot critical price levels.
---
### **🔥 Key Features**
✅ **Plots Highs & Lows for Daily, Weekly, and Monthly Timeframes**
✅ **Customizable Lookback Periods for Each Timeframe**
✅ **Adjustable Line Colors, Styles (Solid, Dotted, Dashed), and Widths**
✅ **Extend Lines into the Future to Identify Key Price Levels**
✅ **Option to Display Price Labels for Each Level**
✅ **Gradient Option to Highlight Recent Highs & Lows (Disabled by Default)**
✅ **Compatible with Intraday, Daily, and Weekly Charts**
---
### **📈 How It Works**
- **Daily Highs & Lows:** Captures the **highest and lowest prices** within the selected lookback period (default: **14 bars**).
- **Weekly Highs & Lows:** Marks the **highest and lowest prices** within the chosen weekly lookback (default: **52 bars**).
- **Monthly Highs & Lows:** Displays the **high and low points** from the monthly timeframe (default: **36 bars**).
- **Extended Lines:** Project past highs and lows **into the future** to help identify **potential support & resistance zones**.
---
### **⚠️ TradingView Lookback Limitations**
🔹 **TradingView has a limit on how many historical bars can be accessed per timeframe**, which affects how far back the indicator can retrieve data.
🔹 **Intraday charts (e.g., 5m, 15m) have a limited number of past bars**, meaning:
- **You won’t be able to view 36 months' worth of monthly levels** on a **5-minute chart**, because TradingView doesn’t store that much data in lower timeframes.
- **If multiple timeframes (e.g., weekly + monthly) are enabled at the same time**, some historical data may **not be available on shorter timeframes**.
🔹 **Recommendation:**
- If using **monthly lookbacks (36 months+), view them on a daily or higher timeframe**.
- If using **weekly lookbacks (52 weeks+), higher intraday timeframes (e.g., 1-hour, 4-hour) are better suited**.
- **Lower timeframes (1m, 5m, 15m) may miss some levels** if TradingView's bar limit is exceeded.
---
### **⚙️ Customization Options**
| **Setting** | **Default Value** | **Description** |
|------------------|----------------|----------------|
| **Daily Lookback** | `14` | Number of bars used to calculate daily highs/lows. |
| **Weekly Lookback** | `52` | Number of bars used to calculate weekly highs/lows. |
| **Monthly Lookback** | `36` | Number of bars used to calculate monthly highs/lows. |
| **Line Colors** | Daily: `Blue` Weekly: `Green` Monthly: `Red` | Customizable colors for each timeframe. |
| **Line Style** | `Solid` | Options: Solid, Dashed, Dotted. |
| **Line Width** | `1` | Thickness of the plotted lines. |
| **Extend Line** | `1` | Controls how far the highs/lows extend into the future. |
| **Display Price Labels** | `Enabled` | Shows price labels on each level. |
---
### **🛠️ How to Use It**
- **Enable/disable different timeframes** based on your strategy.
- **Customize colors, line styles, and widths** to match your charting style.
- **Use extended lines to identify support & resistance zones.**
- **Watch price reactions at these levels** for potential entries, exits, and stop-loss placements.
---
### **🚀 Final Thoughts**
The **HL-MWD Indicator** is a **powerful multi-timeframe tool** that helps traders **visualize key support & resistance levels** from higher timeframes on an intraday chart.
⚠️ **However, TradingView’s lookback limits apply—so for longer-term levels, higher timeframes are recommended.**
📌 **Now published for the community!** Let me know if you need any last-minute tweaks! 🔥
MTF Fractal Bias Confluence DetectorMTF Fractal Bias Confluence Detector
This indicator, the MTF Fractal Bias Confluence Detector, is based on the idea that the market exhibits fractal behaviour. The origin of the idea traces back to 1963, when Benoit Mandelbrot analyzed the fluctuations in cotton prices over a time series starting in 1900, discovering that price changes exhibited scale-invariant patterns. This means that the curve representing daily price changes mirrored the shape of monthly price changes, highlighting the fractal nature of market behaviour. When applied to swing points across multiple timeframes (MTF), this concept suggests that swing points demonstrate similar patterns regardless of the timeframe being analyzed. These self-similar fractal structures provide traders with insights into market reversals and trends, making them a powerful tool for multi-timeframe analysis.
A Swing Point is made up of three main parts: a move away from the last Break level; forming a peak (pivot point) with a Fakeout of the peak (explained through an example later); and a subsequent move away from it. These swing points recur across all timeframes as part of cyclical momentum patterns, meaning each swing point gives rise to a new cycle of market movement. Due to the fractal nature of the market, larger cycles encompass multiple smaller ones.
The theory behind the Fractal Bias Confluence Detector utilizes the idea that the market movements are fractal in nature and illustrates how such swing points can be identified across MTFs. To do so, we examine the Peak Fakeouts within these cycles, as they form. It is not possible to know in advance how long each of these moves will last, but a Swing Point will often occur with a Peak Fakeout. Therefore, the most critical element is to identify the Peak Fakeout.
The snapshot below captures a Peak Fakeout, as discussed earlier.
Similarly, the following snapshot shows various possible breakdowns of Higher Time Frame (HTF) cycles into smaller Lower Time Frame (LTF) movements. The chart contains a white table(not part of the indicator and shown for illustration purposes only).
To further illustrate. Consider the combination of Time Frames (TF) from the 2nd row (from the above snapshot). Cycle TF (1M), Setup TF (1W), Momentum TF (1D) etc.
Price movements in the 1M TF highlight the direction in which HTF traders are pushing the market. Often, when markets have broken out of a level, they tend to form a peak and can then pull back towards the prior breakout level. Once the pullback is beyond the last breakout level, in the opposite direction, we may say the peak formation is created, and directional bias has changed. This is also called Peak Fakeout. Due to the fractal nature of the market, Swing Points on the HTF will often constitute multiple Swing Points on the LTF, though they are not always in sync. However, after such peak formation, there is a high probability that the price might move away from the peak for at least 1 candle (in the cycle TF). This theory illustrates that once a new cycle is in play, we can then look at 1W (Setup TF) to look for possible in-sync movements, at least within that 1 candle of the HTF. Repeating the same for further lower TFs, we may arrive at a confluence of Fractal Bias and see how the movements in LTF are driven by the HTF momentum.
Another example within the chart:
Note: The above examples are just for illustration purposes, and other permutations and combinations of movements across multiple TFs are also possible.
This indicator aims to help users identify such fractal-bias-confluences, so that they can leverage the fractal nature of the market to get a holistic view. To do so, the indicator displays how the market has moved across multiple time frames, with respect to different historical levels.
Features:
1. The bias summary table
The following snapshot depicts the bias summary table at the bottom right of the chart.
1.1. Workings: The table will display, for various TFs, in the first four (starting from "current" to Prev ) rows, one of the following.
"F/H" , " Acronym for the failed break of the previous high",
"F/L" , " Acronym for the failed break of the previous low",
"B/H" , " Acronym for the break of the previous high",
"B/L" , " Acronym for the break of the previous low",
"IN" , " Acronym for an inside candle (never broke high or low of perv candle)",
"OT" , " Acronym for an outside candle (broke both high and low of previous candle and closing price is in between previous high and low)".
Note: these acronyms are customizable according to the user's choice of terminology in any language, as shown in the snapshot below.
1.1.1 In the above snapshot, the 1st row, called "Current", shows how the current candle is evolving with respect to the previous one. The "previous" row shows how the previous candle closed with respect to the pre-previous one. The next two rows represent the bias of the pre-previous and pre-pre-previous in a similar manner. By default, the bias is updated in real-time, even for the already closed historical candles. For example, if the previous 4H candle closed as a B/H and the current price then comes below the pre-previous 4H candle high, then the bias of the previous candle will get updated to F/H. This informs the user that the break above the pre-previous high has failed. However, the user has the option to turn this off. The information in these four rows shows the user how the market is moving currently and how it evolved before reaching the current price levels.
Note: The calculation done by the indicator is to keep track of how the price is moving with respect to the last candle levels in real-time. This means if the price first goes above the previous high and then goes below the previous low, the indicator is equipped to display what happened in the most recent time. The snapshot below shows the option to turn on/off such updates in the bias summary table.
Note: While the bias summary table is turned on, the user also has the option to turn off Prev and Prev rows, as shown in the snapshot below.
1.1.2 The 2nd to last row, called CL/CS(Consecutive Long/Short), shows whether consecutive (2+) breaks of high/low happened or not in one direction without taking out the previous candle's range in the opposite direction. When conditions are met, it will show the number of times the price has been pushed in one direction (in the above manner), followed by "L" for long and "S" for short, for each TF, for example, "4L". It gets updated in real-time for each push in the same direction. Furthermore, a good analogy of "4L" on an HTF is 4 consecutive Break of Structure (BOS) (in the same direction) on LTF, without a Change of Character (CHoCH). Another example would be Stacey Burke's 3 consecutive rises that can be mapped in the indicator, if the conditions are met for "3L" for a given TF.
1.1.3 The last row, FRC/FGC, stands for the first red/green candle. It shows whether the last candle of a TF has closed as green (i.e., close>open) after posting two red candles (i.e., close<open). This helps understand possible short-term retracements in price movements.
1.2 Customizability
1.2.1 We provide a wide range of customizable options, including multiple time frames to choose from for each type of TFs. This is shown in the snapshot below.
1.2.2 All the acronyms on the summary table are customizable and can be user-defined, including text, background color and transparency. This is shown in the snapshot below.
2. High-low lines
2.1 We also show the high and low of various TFs, including the current high and low lines (which are updated in real-time. This can be observed in one of the previous snapshots.
2.2 Previous high, low and close lines can be extended (for Cycles, Setups and Momentum TFs). Their style and thickness are also customizable. This can be observed in one of the previous snapshots.
Note: The user has the option to turn all the lines off. Sub-options include turning off the current line only. Changing the color, thickness, and transparency of the lines. This can be observed in one of the previous snapshots.
3. Last known Break / Failed Break lines.
3.1 We also depict the last known Break and Failed break lines for the user to have all the important levels at their disposal. This can be observed in one of the previous snapshots.
Note: The user has the option to turn this on/off.
4. Magnifier Box
4.1 We have provided the user to look at thirty 1m candles inside a magnifier box while they are in a higher TF chart.
The user has the option to turn this on/off.
5. Moving Averages (MA)
We have also grouped some built-in MA options for the user to utilize along with other elements of the indicator to help them get another layer of confluence.
The user has the option to turn this on/off.
Disclaimer:
The indicator leverages pre-existing theories of market movements. These can be found in decades-old published materials (like books, journals, public lectures accessible over popular video-sharing websites, etc.). As such, we do not claim to have any exclusive rights over the underlying theories. There are many analogous theories and nomenclatures that users can map onto this indicator. Users may also use the indicator in combination with other indicators.
1. Educational Use Only
The "MTF Fractal Bias Confluence Detector" is provided for educational purposes only. It does not constitute an offer, or an obligation, or a guarantee, of profitable trades or loss prevention.
2. No Financial Advice
This tool should not be viewed as financial advice for either trading or investment(s).
3. User Responsibility
Users alone bear all risks associated with any decisions they make using this tool. Past performance does not guarantee future results.
By using the "MTF Fractal Bias Confluence Detector," you acknowledge that you have read, understood and accepted this disclaimer in its entirety.
HTF Hi-Lo Zones [CHE]HTF Hi-Lo Zones Indicator
The HTF Hi-Lo Zones Indicator is a Pine Script tool designed to highlight important high and low values from a selected higher timeframe. It provides traders with clear visual zones where price activity has reached significant points, helping in decision-making by identifying potential support and resistance levels. This indicator is customizable, allowing users to select the resolution type, control the visualization of session ranges, and even display detailed information about the chosen timeframe.
Key Functionalities
1. Timeframe Resolution Selection:
- The indicator offers three modes to determine the resolution:
- Automatic: Dynamically calculates the higher timeframe based on the current chart's resolution.
- Multiplier: Allows users to apply a multiplier to the current chart's timeframe.
- Manual: Enables manual input for custom resolution settings.
- Each resolution type ensures flexibility to suit different trading styles and strategies.
2. Data Fetching for High and Low Values:
- The indicator retrieves the current high and low values for the selected higher timeframe using `request.security`.
- It also calculates the lowest and highest values over a configurable lookback period, providing insights into significant price movements within the chosen timeframe.
3. Session High and Low Detection:
- The indicator detects whether the current value represents a new session high or low by comparing the highest and lowest values with the current data.
- This is crucial for identifying breakouts or significant turning points during a session.
4. Visual Representation:
- When a new session high or low is detected:
- Range Zones: A colored box marks the session's high-to-low range.
- Labels: Optional labels indicate "New High" or "New Low" for clarity.
- Users can customize colors, transparency, and whether range outlines or labels should be displayed.
5. Information Box:
- An optional dashboard displays details about the chosen timeframe resolution and current session activity.
- The box's size, position, and colors are fully customizable.
6. Session Tracking:
- Tracks session boundaries, updating the visualization dynamically as the session progresses.
- Displays session-specific maximum and minimum values if enabled.
7. Additional Features:
- Configurable dividers for session or daily boundaries.
- Transparency and styling options for the displayed zones.
- A dashboard for advanced visualization and information overlay.
Key Code Sections Explained
1. Resolution Determination:
- Depending on the user's input (Auto, Multiplier, or Manual), the script determines the appropriate timeframe resolution for higher timeframe analysis.
- The resolution adapts dynamically based on intraday, daily, or higher-period charts.
2. Fetching Security Data:
- Using the `getSecurityDataFunction`, the script fetches high and low values for the chosen timeframe, including historical and real-time data management to avoid repainting issues.
3. Session High/Low Logic:
- By comparing the highest and lowest values over a lookback period, the script identifies whether the current value is a new session high or low, updating session boundaries and initiating visual indicators.
4. Visualization:
- The script creates visual representations using `box.new` for range zones and `label.new` for session labels.
- These elements update dynamically to reflect the most recent data.
5. Customization Options:
- Users can configure the appearance, behavior, and displayed data through multiple input options, ensuring adaptability to individual trading preferences.
This indicator is a robust tool for tracking higher timeframe activity, offering a blend of automation, customization, and visual clarity to enhance trading strategies.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Best regards and happy trading
Chervolino
Trading Sessions with Highs and LowsTrading Sessions with Highs and Lows is designed to visually highlight specific trading sessions on the chart, providing traders with key insights into market behavior during these time periods. Here’s a detailed explanation of how the indicator works:
Key Features
1. Session Boxes:
• The indicator plots colored boxes on the chart to represent the price range of defined trading sessions.
• Each box spans the session’s start and end times and encapsulates the high and low prices during that period.
• Two trading sessions are defined by default:
• USA Trading Session: 9:30 AM - 4:00 PM (New York Time).
• UK Trading Session: 8:00 AM - 4:30 PM (London Time).
2. Session Labels:
• The name of the session (e.g., “USA” or “UK”) is displayed above the session box for clear identification.
3. High and Low Markers:
• Markers are added to the chart at the session’s high and low points:
• High Marker: A green label indicating the session high.
• Low Marker: A red label indicating the session low.
4. Dynamic Reset:
• After the session ends, the session high and low values are reset to na to prepare for the next trading day.
5. Customizable Background Colors:
• Each session’s box has a distinct, semi-transparent background color for better visual separation.
How It Works
1. Core Functionality:
• A function, plot_box, takes the session name, start time, end time, and background color as input.
• It calculates whether the current time is within the session.
• During the session:
• It tracks the session’s highest and lowest prices.
• It identifies the bars where the high and low occurred.
• At the session’s end:
• It plots a box on the chart covering the session’s time and price range.
• Labels are created for the session name and its high/low points.
2. Session Timing:
• Timestamps for the USA and UK trading sessions are calculated using the timestamp function with respective time zones.
3. Visual Elements:
• The box.new function draws the session boxes on the chart.
• The label.new function creates session name and high/low labels.
Usage
• Overlay Mode: The indicator is applied directly on the price chart (overlay=true), making it easy to visualize session-specific price behavior.
• Trading Strategy:
• Identify session-specific support and resistance levels.
• Observe price action trends during key trading periods.
• Align trading decisions with session dynamics.
Customization
While the indicator is preset for the USA and UK trading sessions, it can be easily modified:
1. Add/Remove Sessions: Define additional sessions by providing their start and end times.
2. Change Colors: Update the background_color in the plot_box calls to use different colors for sessions.
3. Adjust Time Zones: Replace the current time zones with others relevant to your trading style.
Visualization Example
• USA Session:
• Time: 9:30 AM - 4:00 PM (New York Time).
• Box Color: Semi-transparent orange.
• UK Session:
• Time: 8:00 AM - 4:30 PM (London Time).
• Box Color: Semi-transparent green.
Why Use This Indicator?
1. Market Awareness: Easily spot price behavior during high-liquidity trading periods.
2. Trend Analysis: Analyze how sessions overlap or affect each other.
3. Session Boundaries: Use session high/low levels as dynamic support and resistance zones.
This indicator is an essential tool for intraday and swing traders who want to align their strategies with key market timings.
Structure Pilot - Z&Z [Wang Indicators]Structure Pilot Zone & Zil is a complete suite of structure driven features that's build around pattern that can be visible around any timeframe.
Built in collaboration with Dave Teaches,
All these tools were shaped and combined together as the only toolkit Structure & DTFX traders want to have !
▫️ Structures & Zones ▫️
Zones are drawn when a break of structure (new high or low being created) or a market reversal happens.
It will highlight the last valid down move before a new high for bullish zones and the last valid up move before a new low for bearish zones.
These zones are used to analyze the market trend and to make entries into the market trend once the price retraces into these zones.
For example, with the latest bullish zones drawn in green for LTF zones and in blue for HTF zones, when the price retraces into this zone, there is a strong probability that the price will turn around to provide a buying opportunity all the way to the top of the zone or even higher.
These buying opportunities generally occur at specific retracement levels in the 30%, 50% and 70% zones, automatically represented by broken lines in the zones when they are created.
Example with bullish zones :
The aim with these zones is to find places on the chart where it's best to buy or sell, in order to take the biggest possible move while minimizing your risk.
Indeed, if the price is rising and a bullish zone has been created, I don't want to buy on the highs, preferring to wait for a retracement in my bullish zone to buy lower and reduce my risk, as the invalidation of the current trend will be found below the last protected low under the bullish zone drawn in blue for the HTF and in green for the LTF. Conversely, if the price is falling and a bearish zone has been created, I don't want to sell at the bottom. I'd rather wait for a retracement in the bearish zone to sell higher and reduce my risk, as the invalidation of the current trend will this time be above the last protected high above the bearish zone drawn in orange for the HTF and red for the LTF.
Example with bearish zones :
When it comes to market structure, it's good to know that zones recur within the same trend at a frequency of between 3 and 6 before there's a trend reversal.
So, after a certain number of successive zones, you can expect a reversal or the last protected high or low to be breached. The indicator automatically counts the number of successive zones, so you can keep track of the market and avoid surprises.
The zones are generated through the structure length. It can be increased to display larger (and more important) zones.
As we recommend keeping the default value (20) for new traders, experienced traders will find some success with other settings depending on their strategies.
Structure Pilot also provides auto HTF Zones, which is particularly useful to have a macro vision of the market.
Settings:
Swing types: Bullish only, Bearish only, both, or none
Structure length
Swing count: useful when it comes to tracking Trend strenght in any given time frame
Show Zones: Display boxes with 30%, 50%, and 70% fibs
Show HTF Zones: Display HTF zones with the same retracement configuration as the regular zones
Show 30%, 50% and 70%: Enable/disable these options to show or hide the corresponding fibs.
Box visibility, Line width & Line style: Style configuration for the zone
All settings can be activated or deactivated in the indicator parameters to suit individual needs and preferences.
30% Level : This is often considered a shallow retracement. If prices pull back to this level after an uptrend and flip in a lower timeframe, traders might view it as a strong sign of continued bullish momentum. Conversely, after a downtrend, this level could act as a temporary resistance where sellers might re-enter after a flip in a lower timeframe.
50% Level : This level is seen as a balance point or midpoint in the price move. A retracement to 50% can indicate a strong trend change or continuation.
70% Level : A retracement this deep can signal that the market might be losing steam or that the previous trend could be weakening. If the price bounces off this level, it might suggest that the trend is still in control but needed a more significant correction before moving further in its original direction.
We as structure traders prefer to take entry out of The 50% or when price retrace past it
there will be something at the level i'm looking for price to reverse from either some specific candles or imbalances.
Advanced traders might combine these levels with other tools or chart patterns that we bundle in this indicator.
▫️ ZIL ▫️
The ZIL Indicator is designed to automate the process of identifying key structural levels in the market and applying Fibonacci retracements when a significant price break occurs.
The indicator detects when a market structure (high or low) is broken and a candle closes below the previous low or above the previous high, indicating a potential trend shift or continuation.
• Tracks the break of structural lows or highs and waits for a confirmation candle that closes above or bellow the candle that set the new low.
Automated Fibonacci Retracement:
• Once the structure break is confirmed, the indicator automatically plots a Fibonacci retracement between:
• The high of the last bullish move (before the new low is set) or the low of the last bearish move (before the new high is set)
• The newly formed low after the structure break or the newly formed high after the structure break
Fibonacci levels plotted with colors :
• -0.27 : Dark red - Stop loss
• 0 : white - The new high/low - Potential entry
• 0.3, Orange 0.5, Light green 0.7: Green : Levels - Partial and take profit zones
• 1.15 pale blue - for your runner
We may long the retracement when the price is comming from a bearish zone using the ZIL to manage
Example :
Multi-Timeframe Support:
• Using the option "HTF ZIL" will display ZIL on higher timeframe (corresponding to the HTF Zones) on your charts to help traders find structural breaks and Fibonacci setups in both short-term and long-term markets.
HTF ZIL is really usefull to manage trades if the regular ZIL target get ran through
Wang use case :
HTF zill level are used when the small zill get ran through
▫️ Opening Range Tracker ▫️
The Opening Range Tracker is designed to help traders identify and track the opening range of a specified time period, specifically starting with the 144-minute candle between 8:24 AM and 10:48 AM. (default value) The indicator highlights this range and automatically plots key levels (30%, 50%, 70%) to provide potential strong reaction areas for trading. The time period for the opening range is fully customizable, allowing users to adjust it according to their strategy.
Opening range should be seen and used as a classic zone. If we trade above or below it price tend to come back into it and bounce of of the One or multiple level...
classic 30/50/70.
• Customizable Opening Range: Adapt the indicator to any market or session by changing the opening range time window.
• Precise Levels for Trading: The 30%, 50%, and 70% levels provide key zones where price may react, helping traders define entries, exits, or stop loss placements.
• Visual Clarity: The range box and levels make it easy to see the important price areas during the opening range and the rest of the trading session. If we range a lot in the opening range, we may range for the rest of the day. We should keep that in mind to avoid taking wrong decisions.
its basically a large zone that's we have seen often time price rejects from the level in it
Daily Reset: Each trading day resets the opening range, giving traders fresh data and new opportunities to capitalize on market movements.
Structure Pilot is built for beginner and experienced. It provides the tools to the traders that want to learn, understand, and trade efficiently within the principles of structure trading.
Trademania - PVSRA IndicatorTrademania - PVSRA Indicator
The Trademania - PVSRA Indicator is based on a proven MT4 indicator suite that has been in use since 2013. Over time, it has been expanded with additional features and tools. Originally developed for the Forex market, it also works well for cryptocurrencies, stocks, and other assets. The goal of this indicator is to combine classic chart analysis with PVSRA analysis, allowing for a clean mixed chart analysis. Traders gain access to a wide range of important information and can use it to form their trading assumptions. The indicator is designed to make it as simple as possible: identifying price levels at the breakout of key support/resistance, for confirmations above/below an imbalance, or recognizing and validating standard structures.
Important: This indicator is designed to be used across all timeframes. It works equally well for scalping on lower timeframes and for larger timeframes, such as spot trading on the 4H or daily chart.
The following core features are available:
- PVSRA Candles
- Dynamic Zones for PVSRA Candles (Imbalance)
- Market sessions with high/low points
- Integrated EMAs (daily, weekly, higher time frames)
- Fully customizable EMAs
- Pivot points with mid/50% level
- Price ranges from yesterday and last week
- Average daily range (also available for weekly and monthly)
- Psychological levels (for Forex)
- Daily open
- High/Low Point of Control (POC) indicators for wicks and candle bodies
- WIL (Weekly Interest Level) - High/Low of the Asian session
- On-chart labels for nearly all elements
Key Features:
- PVSRA, integrated POC levels, and WIL levels distinguish this indicator.
- Integrated EMAs and the daily, weekly, high time frame EMAs can be supplemented or replaced by custom EMAs for maximum flexibility.
Special Feature:
- Lite Mode for better visibility and simplified chart analysis.
Instructions and Notes
PVSRA Candles
Display volume or tick volume on the chart.
- Candles with more than 200% average volume of the last 10 candles, where the product of candle spread and volume is greater than the last 10 candles/timeframes, are shown in green (bullish) and red (bearish).
- Blue and purple candles show the same with 150% average volume of the last 10 candles.
**Note:** To obtain valid information, the trading volume should be as large as possible. If you're viewing the chart of an exchange with low trading volume, you can use the PVSRA override to display the volume from another exchange. For example, you can view the Phemex chart but display the tick/volume of the Binance chart as PVSRA/Vector candles.
Dynamic Zones for PVSRA Candles (Imbalance)
Zones that match the color of the respective vector candle display imbalance on the chart.
- In PVSRA analysis, it is assumed that such imbalances will be revisited and corrected. It can be customized whether this should happen with candle wicks or just the candle bodies.
Market Sessions with High/Low Points (DST)
Relevant market sessions: Sydney/NZX, Tokyo, Hong Kong, EU, New York, as well as the Brinks sessions pre EU/NY, are marked with high/low points and labeled on the chart.
- In PVSRA/Mixed analysis, these represent important liquidity zones of the individual trading sessions, often serving as key support/resistance levels.
WIL (Weekly Interest Level) - High/Low of the Asian Session
The new WIL levels represent the market open/Asian session of the new trading week: Sydney open to Hong Kong close.
- This forms an important price range for the trading week and is always a key breakout zone or rejection area in mixed analysis. Additional liquidity is needed to break through these levels.
- Higher effort against the start of the week – an imbalance (above/below).
High/Low Point of Control (POC) Indicators for Wicks and Candle Bodies
Additionally, the indicator includes pivot-based POC markers at key highs/lows on the chart.
- A POC is generated from the candle footprint (1000 resolution) and displayed on the chart.
- **Note:** If the POC is in a wick, it is shown as a line; if the POC is only in the candle body, it is displayed in small text.
- In mixed analysis, POCs in volume-heavy wicks are always a key indication of price levels that will be revisited and a potential enhancer for a wick-fill upwards or downwards.
EMA/Pivot Points/Psychological Levels Classic/Average Ranges:
Daily/ADR - Weekly/AWR / High/Low values for day/week, as well as the daily open of the current trading day, form the foundation of the indicator.
- Base structures that account for imbalance must break certain price levels to confirm or invalidate a previous movement (bullish or bearish).
- 13/50/200/800 EMA retrace: Breaking these in either direction without addressing an imbalance on the opposite side requires confirmation after the break.
- Pivot-level trading operates on the same principle.
- **Note:** Pivot levels in this indicator have additional M-levels, which represent 50% markers to provide better insights into potential retraces or upward moves.
- For example: Breaking M1, retracing, and confirming at M1 with a target at M2.
To recognize a standard 3-level rise or retrace scenario in mixed analysis, as well as a potential extended chart progression, these levels are essential.
**Note:** Average ranges such as High/Low ADR are particularly important levels where interruptions are expected. Profit-taking, long/short, is common at these points, independent of standard structures. This also applies to the high/low levels of the last trading day and the weekly versions of these levels.
The daily open helps identify possible SPOT/Futures gaps (depending on the asset, such as a missing futures market over the weekend: NAS/DAX).
Important:
The Lite Mode is designed to help traders reduce the chart to essential core functions (PVSRA/EMA/WIL/Psy/Daily Open/Hi-Lo) to apply classic TA effectively and strengthen a mixed analysis or challenge certain assumptions regarding confirmation and imbalance.
**Note:** It is recommended to additionally use a MACD indicator to identify potential trends and momentum.
- For example, a positive MACD trend supporting a 50 EMA breakout with a target of the 200 EMA under positive imbalance (standard mixed pattern).
To cater to personal preferences or trading strategies, it is possible to add custom EMA values to the indicator without the need for a second or third separate indicator.
All functions are fully customizable within the indicator settings.
Equal Highs and LowsDescription:
The ‘Equal Highs and Lows’ indicator is a technical analysis tool that marks identical price levels on a trading chart using the current time-frame, assisting traders in identifying potential support and resistance zones or liquidity draws. It creates a horizontal line connecting points where the price has created equal highs and lows within a specified lookback period. Unique to this tool, it maintains a clean chart by removing the line once the price surpasses the equal highs or falls below the equal lows, ensuring only the currently relevant equal highs and lows are highlighted.
Features:
Customization Options: Users can adjust the appearance of the lines (color, width, and style) to match their chart setup or preferences. Users can also choose to extend the lines marking the equal highs/lows to the right of the chart making the equal high/low levels more easier to visualize.
User-Defined Lookback Length: The number of bars to look back for finding equal highs and lows can be set by the user, allowing for flexibility in different market conditions.
How It Works:
The indicator meticulously scans the chart over a user-specified lookback duration, identifying bars with matching high or low values that have not been mitigated on the current chat timeframe, thereby constructing an index of equal values. It subsequently connects these equal values on the chart with a line. While this intuitive indicator does not forecast future market trends, it emphasizes significant price levels derived from historical data.
Usage:
Identifying Support and Resistance: The lines drawn by the indicator can be used to identify potential support and resistance zones and/or draws of liquidity, which are crucial for making informed trading decisions.
Strategy Development: Traders can incorporate the visual cues provided by the indicator into their trading strategies, using them as one of the factors for entry or exit decisions.
Originality:
This indicator presents a distinctive method for pinpointing and illustrating equal highs and lows, granting traders a crucial insight into key price levels. It stands apart from conventional indicators by offering extensive personalization and employing a novel approach to augment chart analysis. Uniquely, it retains only unmitigated equal high/low levels on the chart, automatically discarding mitigated price levels once the price has reached that level.
Conclusion:
The "Equal Highs and Lows" indicator is a practical tool for traders looking to enhance their chart analysis with visual cues of significant price levels. Its customization options and innovative approach make it a valuable addition to the trading toolkit, suitable for various trading styles and strategies.
Depth of Market (DOM) [LuxAlgo]The Depth Of Market (DOM) tool allows traders to look under the hood of any market, taking price and volume analysis to the next level. The following features are included: DOM, Time & Sales, Volume Profile, Depth of Market, Imbalances, Buying Pressure, and up to 24 key intraday levels (it really packs a punch).
As a disclaimer, this tool does not use tick data, it is a DOM reconstruction from the provided real-time time series data (price and volume). So the volume you see is from filled orders only, this tool does not show unfilled limit orders.
Traders can enable or disable any of the features at will to avoid being overwhelmed with too much information and to make the tool perform faster.
The features that have the biggest impact on performance are Historical Data Collection, Key Levels (POC & VWAP), Time & Sales, Profile, and Imbalances. Disable these features to improve the indicator computational performance.
🔶 DOM
This is the simplest form of the tool, a simple DOM or ladder that displays the following columns:
PRICE: Price level
BID: Total number of market sell orders filled or limit buy orders filled.
SELL: Sell market orders
BUY: Buy market orders
ASK: Total number of market buy orders filled or limit sell orders filled.
The DOM only collects historical data from the last 24 hours and real-time data.
Traders can select a reset period for the DOM with two options:
DAILY: Resets at the beginning of each trading day
SESSIONS: Resets twice, as DAILY and 15.5 hours later, to coincide with the start of the RTH session for US tickers.
The DOM has two main modes, it can display price levels as ticks or points. The default is automatic based on the current daily volatility, but traders can manually force one mode or the other if they wish.
For convenience, traders have the option to set the number of lines (price levels), and the size of the text and to display only real-time data.
By default, the top price is set to 0 so that the DOM automatically adjusts the price levels to be displayed, but traders can set the top price manually so that the tool displays only the desired price levels in a fixed manner.
🔹 Volume Profile
As additional features to the basic DOM, traders have access to the volume profile histogram and the total volume per price level.
This helps traders identify at a glance key price areas where volume is accumulating (high volume nodes) or areas where volume is lacking (low volume nodes) - these areas are important to some traders who base their decision-making process on them.
🔹 Imbalances
Other added features are imbalances and buying pressure:
Interlevel Imbalance: volume delta between two different price levels
Intralevel Imbalance: delta between buy and sell volume at the same price level
Buying Pressure Percent: percentage of buy volume compared to total volume
Imbalances can help traders identify areas of interest in the price for possible support or resistance.
🔹 Depth
Depth allows traders to see at a glance how much supply is above the current price level or how much demand is below the current price level.
Above the current price level shows the cumulative ask volume (filled sell limit orders) and below the current price level shows the cumulative bid volume (filled buy limit orders).
🔶 KEY LEVELS
The tool includes up to 24 different key intraday levels of particular relevance:
Previous Week Levels
PWH: Previous week high
PWL: Previous week low
PWM: Previous week middle
PWS: Previous week settlement (close)
Previous Day Levels
PDH: Previous day high
PDL: Previous day low
PDM: Previous day middle
PDS: Previous day settlement (close)
Current Day Levels
OPEN: Open of day (or session)
HOD: High of day (or session)
LOD: Low of day (or session)
MOD: Middle of day (or session)
Opening Range
ORH: Open range high
ORL: Open range low
Initial Balance
IBH: Initial balance high
IBL: Initial balance low
VWAP
+3SD: Volume weighted average price plus 3 standard deviations
+2SD: Volume weighted average price plus 2 standard deviations
+1SD: Volume weighted average price plus 1 standard deviation
VWAP: Volume weighted average price
-1SD: Volume weighted average price minus 1 standard deviation
-2SD: Volume weighted average price minus 2 standard deviations
-3SD: Volume weighted average price minus 3 standard deviations
POC: Point of control
Different traders look at different levels, the key levels shown here are objective and specific areas of interest that traders can act on, providing us with potential areas of support or resistance in the price.
🔶 TIME & SALES
The tool also features a full-time and sales panel with time, price, and size columns, a size filter, and the ability to set the timezone to display time in the trader's local time.
The information shown here is what feeds the DOM and it can be useful in several ways, for example in detecting absorption. If a large number of orders are coming into the market but the price is barely moving, this indicates that there is enough liquidity at these levels to absorb all these orders, so if these orders stop coming into the market, the price may turn around.
🔶 SETTINGS
Period: Select the anchoring period to start data collection, DAILY will anchor at the start of the trading day, and SESSIONS will start as DAILY and 15.5 hours later (RTH for US tickers).
Mode: Select between AUTO and MANUAL modes for displaying TICKS or POINTS, in AUTO mode the tool will automatically select TICKS for tickers with a daily average volatility below 5000 ticks and POINTS for the rest of the tickers.
Rows: Select the number of price levels to display
Text Size: Select the text size
🔹 DOM
DOM: Enable/Disable DOM display
Realtime only: Enable/Disable real-time data only, historical data will be collected if disabled
Top Price: Specify the price to be displayed on the top row, set to 0 to enable dynamic DOM
Max updates: Specify how many times the values on the SELL and BUY columns are accumulated until reset.
Profile/Depth size: Maximum size of the histograms on the PROFILE and DEPTH columns.
Profile: Enable/Disable Profile column. High impact on performance.
Volume: Enable/Disable Volume column. Total volume traded at price level.
Interlevel Imbalance: Enable/Disable Interlevel Imbalance column. Total volume delta between the current price level and the price level above. High impact on performance.
Depth: Enable/Disable Depth, showing the cumulative supply above the current price and the cumulative demand below. Impact on performance.
Intralevel Imbalance: Enable/Disable Intralevel Imbalance column. Delta between total buy volume and total sell volume. High impact on performance.
Buying Pressure Percent: Enable/Disable Buy Percent column. Percentage of total buy volume compared to total volume.
Imbalance Threshold %: Threshold for highlighting imbalances. Set to 90 to highlight the top 10% of interlevel imbalances and the top and bottom 10% of intra-level imbalances.
Crypto volume precision: Specify the number of decimals to display on the volume of crypto assets
🔹 Key Levels
Key Levels: Enable/Disable KEY column. Very high performance impact.
Previous Week: Enable/Disable High, Low, Middle, and Close of the previous trading week.
Previous Day: Enable/Disable High, Low, Middle, and Settlement of the previous trading day.
Current Day/Session: Enable/Disable Open, High, Low and Middle of the current period.
Open Range: Enable/Disable High and Low of the first candle of the period.
Initial Balance: Enable/Disable High and Low of the first hour of the period.
VWAP: Enable/Disable Volume-weighted average price of the period with 1, 2, and 3 standard deviations.
POC: Enable/Disable Point of Control (price level with the highest volume traded) of the period.
🔹 Time & Sales
Time & Sales: Enable/Disable time and sales panel.
Timezone offset (hours): Enter your time zone\'s offset (+ or −), including a decimal fraction if needed.
Order Size: Set order size filter. Orders smaller than the value are not displayed.
🔶 THANKS
Hi, I'm makit0 coder of this tool and proud member of the LuxAlgo Opensource team, it's an honor to be part of the LuxAlgo family doing something I love as it's writing opensource code and sharing it with the world. I'd like to thank all of you who use, comment on, and vote for all of our open-source tools, and all of you who give us your support.
And of course thanks to the PineCoders family for all the work in front of and behind the scenes that makes the PineScript community what it is, simply the best.
Peace, Love & PineScript!
ZigZag ProHello Traders!
TRN ZigZag Pro is an indicator which identifies, and highlights pivot points (swings) and prints useful information about the swings in the chart (e.g. length, duration, ...). The indicator uses an extremely precise swing algorithm to detect the most important pivot points. Compared to other swing or zig-zag indicators TRN ZigZag Pro works in real-time, does not need a look-a-head to find swings and is not repainting. Moreover, equal (double) highs and lows are detected and displayed. The TRN ZigZag Pro helps traders to visualize pure price action and supports the trader to identify key turning points or trends.
The indicator comes with the following features:
Precise real-time swing detection without repainting
Equal/double high and low detection
Displaying of swing labels, values and information
Customizable settings as well as look and feel
It's important to note that the TRN ZigZag Pro is a visual tool and does not provide specific buy or sell signals. It serves as a guide for traders to analyze market structure in depth and make well-informed trading decisions based on their trading strategy and additional technical analysis.
Getting an edge with the TRN ZigZag Pro
The indicator clearly displays up trends, defined as a sequence of higher highs (HH) and higher lows (HL), with green labels and down trends, defined as a sequence of lower lows (LL) and lower highs (LH), with red labels. Equal highs/double tops (DT) and equal lows/ double bottoms (DB) are highlighted in gold.
In addition, the labels show a full stack of valuable information about the swings to maximize your accuracy.
Length
Length percentage in relation to the last swing length
Duration
Label (e.g. HH, LL...)
Use cases for swing detection
Trend Identification
By connecting the swing highs and lows, traders can identify and analyze the prevailing trend in the market. An uptrend is characterized by higher swing highs and lows, while a downtrend is characterized by lower highs and lower lows. The indicator helps traders visually to assess the strength and continuity of the trend.
Support And Resistance Levels
The swing highs and lows can act as support and resistance levels. Swing highs may act as resistance levels where selling pressure increases, while swing lows may act as support levels where buying pressure increases. Traders often pay attention to these levels as potential areas for trade entries, exits, or placing stop-loss orders.
Pattern Recognition
The swings identified by the indicator can help traders recognize chart patterns, such as equal high/lows, consolidations, wedges, triangles or more complex patterns like Gartley or Head and Shoulders. These patterns can provide insights into potential trend continuation or reversal.
Trade Entry and Exit
Traders may use TRN ZigZag Pro to determine potential trade entry and exit points. For example, in an uptrend, traders may look for opportunities to enter long positions near swing lows or on pullbacks to support levels. Conversely, in a downtrend, traders may consider short positions near swing highs or on retracements to resistance levels.
Conclusion
While signals from TRN ZigZag Pro can be informative, it is important to recognize that their reliability may vary. Various external factors can impact market prices, and it is essential to consider your risk tolerance and investment goals when executing trades.
Risk Disclaimer
The content, tools, scripts, articles, and educational resources offered by TRN Trading are intended solely for informational and educational purposes. Remember, past performance does not ensure future outcomes.
Quarterly DFR [Dango]Introducing the Defining Range Indicator, a powerful tool designed to help traders identify and understand the important levels of highs, lows, and equilibrium within a selected quarterly cycle. This innovative script provides valuable insights into the key price levels that are likely to elicit a strong reaction in the market, enabling traders to make more informed decisions and enhance their trading strategies.
Key Features:
Identifies and displays the defining high, low, and equilibrium levels based on the selected quarterly cycle
Utilizes advanced algorithms to analyze price action and determine the most significant levels
Provides a visual representation of the defining range on the chart, making it easy for traders to identify potential support, resistance, and pivot points
Enables traders to backtest and understand how price has reacted to these levels in the past
How It Works:
The Defining Range Indicator employs a sophisticated algorithm to analyze price action within the selected quarterly cycle. By examining the price behavior and patterns within this timeframe, the script determines the most significant high, low, and equilibrium levels that are likely to influence future price movements.
The indicator takes into account various factors, such as price momentum, volatility, and volume, to identify the key levels that define the range. These levels are then visually represented on the chart, providing traders with a clear picture of the important price points to watch.
The Defining Range Indicator works in the following steps:
Quarterly Cycle Selection: Traders select the desired quarterly cycle timeframe (90-minute, daily, weekly, monthly, or yearly) to focus the analysis on.
High and Low Identification: The script analyzes the price action within the selected quarterly cycle to determine the most significant high and low points. These levels are considered the defining high and low of the range.
Equilibrium Calculation: The indicator calculates the equilibrium level, which represents the midpoint between the defining high and low. This level is considered a potential pivot point where price may find balance or reverse direction.
Visual Representation: The defining high, low, and equilibrium levels are plotted on the chart, providing traders with a clear visual representation of the key price levels to monitor.
Expected Usage:
The Defining Range Indicator is designed to help traders gain a better understanding of the important price levels within a selected quarterly cycle. By identifying the defining high, low, and equilibrium, traders can make more informed decisions and enhance their trading strategies.
Support and Resistance Identification: The defining high and low levels act as potential support and resistance areas. Traders can use these levels to plan their trades, set entry and exit points, and manage risk effectively.
Pivot Point Trading: The equilibrium level represents a potential pivot point where price may find balance or change direction. Traders can watch for price behavior around this level to identify potential trading opportunities.
Backtesting and Historical Analysis: The Defining Range Indicator enables traders to backtest their strategies and understand how price has reacted to the defining levels in the past. By analyzing historical price action, traders can gain valuable insights into the effectiveness of their trading approach and make necessary adjustments.
Confluence and Confirmation: Traders can use the Defining Range Indicator in conjunction with other technical analysis tools, such as the Quarterly High and Low Indicator or the Quarterly Cycles Indicator, to confirm trade setups and increase confidence in their trading decisions.
Risk Management: By understanding the location of the defining high, low, and equilibrium levels, traders can make more informed decisions about stop-loss placement and position sizing. Setting stop-losses beyond these key levels can help mitigate the risk of getting stopped out prematurely due to short-term price fluctuations.
Limitations and Disclaimer:
While the Defining Range Indicator is a valuable tool, it should not be used in isolation. Traders should combine the insights gained from this indicator with other forms of analysis, risk management, and sound trading psychology to develop a well-rounded and effective trading approach.
Please note that the indicator's accuracy may be impacted by extreme market volatility or unusual events, and the defining levels should not be relied upon in isolation. As with any trading tool, individual results may vary, and past performance does not guarantee future outcomes. Traders should always exercise caution, use appropriate risk management techniques, and continuously educate themselves to adapt to changing market conditions.
This indicator is provided for educational purposes only and should not be considered financial advice. Always conduct your own due diligence and consult with a financial professional before making any trading decisions.
Privacy of Code:
The underlying logic and specific calculations used in the Defining Range Indicator's algorithm are proprietary and not disclosed to protect the intellectual property of the script. The methods used to identify the defining high, low, and equilibrium levels are the result of extensive research, testing, and refinement. By keeping these details confidential, the script maintains its competitive edge and ensures the protection of its intellectual property.
To be Used in Pair with Quarterly Cycle Indicator
PAT Screener | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Price Action Toolkit (PAT) Screener! This screener can spot trading opportunities that Price Action Toolkit offers across 8 different tickers! We believe that this screener will help you take a glimpse of the current state of the market much easier.
Features of the new Price Action Toolkit (PAT) Screener :
Finds Latest Across 8 Tickers:
Order Blocks
Breaker Blocks
Fair Value Gaps (FVG)
Inversion FVGs
Market Structures (BOS, CHoCH, CHoCH+)
Liquidity Zones
Liquidity Grabs
Premium / Discount Zones
Shows Additional Information Like :
Strength
Retests
(Bullish & Bearish) Volume
Consumption
Also :
All Features Support Tuning
Customizable Theme
📌 HOW DOES IT WORK ?
1. Order Blocks
Order blocks occur when there is a high amount of market orders exist on a price range. It is possible to find order blocks using specific formations on the chart.
The high & low volume of order blocks should be taken into consideration while determining their strengths. The determination of the high & low volume of order blocks are similar to FVGs, in a bullish order block, the high volume is the last 2 bars' total volume, while the low volume is the oldest bar's volume. In a bearish order block scenario, the low volume becomes the last 2 bars' total volume.
2. Breaker Blocks
Breaker blocks form when an order block fails, or "breaks". It is often associated with market going in the opposite direction of the broken order block, and they can be spotted by following order blocks and finding the point they get broken, i.e. price goes below a bullish order block.
The volume of a breaker block is simply the total volume of the bar that the original order block is broken. Often the higher the breaking bar's volume, the stronger the breaker block is.
The strength of Order & Breaker Blocks are calculated by the size of the block to the Average True Range (ATR) of the chart.
3. Fair Value Gaps
Fair value gaps often occur when there is an imbalance in the market, and can be spotted with a specific formation on the chart.
The volume when the FVG occurs plays an important role when determining the strength of it, so we've placed two bars on the FVG zone, indicating the high & low volumes of the FVG. The high volume is the total volume of the last two bars on a bullish FVG, while the low volume is - of the FVG. For a bearish FVG, the total volume of the last two bars is the low volume. The indicator can also detect FVGs that exist in other timeframes than the current chart.
4. Inversion Fair Value Gaps
A Fair Value Gap generally occur when there is an imbalance in the market. They can be detected by specific formations within the chart. An Inverse Fair Value Gap is when a FVG becomes invalidated, thus reversing the direction of the FVG.
IFVGs get consumed when a Close / Wick enters the IFVG zone. Check this example:
5. Market Structures
Sometimes specific market structures form and break as the market fills buy & sell orders. Formed Change of Character (CHoCH) and Break of Structure (BOS) often mean that market will change direction, and they can be spotted by inspecting low & high pivot points of the chart.
The number of times the chart recently had a BOS is displayed between brackets, Ex : (3)
6. Liquidity Zones
Buyside & Sellside Liquidity zones are where most traders place their take-profits and stop-losses in their long / short positions. They are spotted by using high & low pivot points on the chart.
7. Liquidity Grabs
Liquidity grabs occur when one of the latest pivots has a false breakout. Then, if the wick to body ratio of the bar is higher than 0.5 (can be changed from the settings) a liquidity grab has occurred.
8. Premium & Discount Zones
The premium zone is a zone that is over the fair value of the asset's price, and the discount zone is the opposite. They are formed by the latest high & low pivot points.
If the latest close price is outside the Premium or Discount zone, you will see "Premium ⬆️" or "Discount ⬇️". These mean that the price is currently higher than the premium zone or lower than the discount zone.
🚩UNIQUENESS
This screener offers a comprehensive dashboard for traders, combining multiple analytical elements with customizable settings to aid in decision-making across different tickers and timeframes. We believe that this will help traders spot trading opportunities much easier by providing crucial information in a single dashboard. Our new screener contains of common elements like Order & Breaker Blocks, Fair Value Gaps & IFVGs as well as rather unique elements like Liquidity Grabs . With the use of up to 8 tickers & timeframes , you can easily take a look at the bigger picture of the market. We recommend reading the "How Does It Work" section of the description to get a better understanding about how this indicator is unique to others.
⚙️SETTINGS
1. Tickers
You can set up to 8 tickers for the screener to scan here. You can also enable / disable them and set their individual timeframes.
You can enable / disable Retests, Strength, Consumption and (Bullish & Bearish) Volume for :
Order Blocks (Retests, Strength, Bullish & Bearish Volume)
Breaker Blocks (Retests, Strength, Volume)
Fair Value Gaps (Retests, Consumption, Strength, Bullish & Bearish Volume)
Inversion Fair Value Gaps (Retests, Consumption, Strength, Volume)
2. Order Blocks
Enabled -> Enables / Disables Order Blocks
Zone Invalidation -> Select between Wick & Close price for Order Block Invalidation.
Swing Length -> Swing length is used when finding order block formations. Smaller values will result in finding smaller order blocks.
3. Breaker Blocks
Enabled -> Enables / Disables Breaker Blocks
Zone Invalidation -> Select between Wick & Close price for Breaker Block Invalidation.
4. Fair Value Gaps
Enabled -> Enables / Disables Fair Value Gaps
Zone Invalidation -> Select between Wick & Close price for FVG Zone Invalidation.
Zone Filtering -> With "Average Range" selected, algorithm will find FVG zones in comparison with average range of last bars in the chart. With the "Volume Threshold" option, you may select a Volume Threshold % to spot FVGs with a larger total volume than average.
FVG Detection -> With the "Same Type" option, all 3 bars that formed the FVG should be the same type. (Bullish / Bearish). If the "All" option is selected, bar types may vary between Bullish / Bearish.
Detection Sensitivity -> You may select between Low, Normal or High FVG detection sensitivity. This will essentially determine the size of the spotted FVGs, with lower sensitivities resulting in spotting bigger FVGs, and higher sensitivities resulting in spotting all sizes of FVGs.
5. Inversion Fair Value Gaps
Zone Invalidation -> Select between Wick & Close price for IFVG Zone Invalidation. This setting also switches the type for IFVG consumption.
6. Market Structures
Break Of Structure (BOS) -> If the current structure of the market is broken in a bullish or bearish direction, it will be displayed.
Change Of Character (CHoCH) -> If the market shifts into another direction, it will be displayed.
Change Of Character+ (CHoCH+) -> This will display Change Of Characters detected with higher sensitivity if enabled.
7. Liquidity Zones
Buyside Liquidity -> Enables / Disables Buyside Liquidity
Sellside Liquidity -> Enables / Disables Sellside Liquidity
8. Liquidity Grabs
Pivot Length -> This setting determines the range of the pivots. This means a candle has to have the highest / lowest wick of the previous X bars and the next X bars to become a high / low pivot.
Wick-Body Ratio -> After a pivot has a false breakout, the wick-body ratio of the latest candle is tested. The resulting ratio must be higher than this setting for it to be considered as a liquidity grab.
9. Premium & Discount Zones
Enabled -> Enables / Disables Premium & Discount Zones.
10. Style
You can customize the visual looks of the screener here.