50%er Lite by Tren10x50%er Script Lite
Overview:
The Tren10x 50%er Script Lite is a streamlined version of my fully-featured 50%er script. It calculates the critical 50% line of the previous candle and extends this functionality to daily, weekly, monthly, quarterly, and yearly levels. This script also detects previous highs and lows for these timeframes, providing a comprehensive view of key price levels. Additionally, it calculates and prints opening levels for the day, week, month, quarter, and year. A custom timeframe feature allows for flexibility in setting 50% and high/low levels, catering to individual trading preferences.
How It Works:
The script leverages Pine Script to calculate the midpoint (50%) of the previous candle's high and low. This midpoint acts as a crucial level for traders to identify potential support and resistance. The same logic is applied to daily, weekly, monthly, quarterly, and yearly timeframes, offering a multi-dimensional perspective on price action.
The script identifies and marks the previous high and low points for these timeframes, which are essential for breakout and breakdown strategies. It also tracks and prints the opening levels for various periods, helping traders gauge market sentiment from the open.
How to Use:
Adding to Chart:
Apply the Tren10x 50%er Script Lite to your TradingView chart.
Configuring Inputs:
Customize the timeframes and levels according to your trading strategy.
Use the custom timeframe feature to set specific periods for 50% and high/low levels.
Analyzing Levels:
Observe the plotted 50% lines and opening levels to identify potential areas of support and resistance.
Utilize the previous high and low markers to spot breakout or breakdown points.
Strategizing Trades:
Incorporate these levels into your trading strategy for entry and exit points.
Monitor price reactions around these critical levels for potential trade setups.
What Makes It Original:
50%er Lite stands out for its simplicity and precision. By focusing on the essential 50% line and previous high/low levels across multiple timeframes, it provides traders with a clear and concise view of the market. The custom timeframe feature adds a layer of personalization, allowing traders to adapt the script to their unique trading styles.
50%er Lite maintains a clean and straightforward approach. It offers essential data without overwhelming the user, making it a valuable tool for both novice and experienced traders.
Future Prospects:
For traders seeking even more advanced features, the fully-fledged version of the 50%er script includes Futures levels.
Pivot points and levels
Multiple Naked LevelsPURPOSE OF THE INDICATOR
This indicator autogenerates and displays naked levels and gaps of multiple types collected into one simple and easy to use indicator.
VALUE PROPOSITION OF THE INDICATOR AND HOW IT IS ORIGINAL AND USEFUL
1) CONVENIENCE : The purpose of this indicator is to offer traders with one coherent and robust indicator providing useful, valuable, and often used levels - in one place.
2) CLUSTERS OF CONFLUENCES : With this indicator it is easy to identify levels and zones on the chart with multiple confluences increasing the likelihood of a potential reversal zone.
THE TYPES OF LEVELS AND GAPS INCLUDED IN THE INDICATOR
The types of levels include the following:
1) PIVOT levels (Daily/Weekly/Monthly) depicted in the chart as: dnPIV, wnPIV, mnPIV.
2) POC (Point of Control) levels (Daily/Weekly/Monthly) depicted in the chart as: dnPoC, wnPoC, mnPoC.
3) VAH/VAL STD 1 levels (Value Area High/Low with 1 std) (Daily/Weekly/Monthly) depicted in the chart as: dnVAH1/dnVAL1, wnVAH1/wnVAL1, mnVAH1/mnVAL1
4) VAH/VAL STD 2 levels (Value Area High/Low with 2 std) (Daily/Weekly/Monthly) depicted in the chart as: dnVAH2/dnVAL2, wnVAH2/wnVAL2, mnVAH1/mnVAL2
5) FAIR VALUE GAPS (Daily/Weekly/Monthly) depicted in the chart as: dnFVG, wnFVG, mnFVG.
6) CME GAPS (Daily) depicted in the chart as: dnCME.
7) EQUILIBRIUM levels (Daily/Weekly/Monthly) depicted in the chart as dnEQ, wnEQ, mnEQ.
HOW-TO ACTIVATE LEVEL TYPES AND TIMEFRAMES AND HOW-TO USE THE INDICATOR
You can simply choose which of the levels to be activated and displayed by clicking on the desired radio button in the settings menu.
You can locate the settings menu by clicking into the Object Tree window, left-click on the Multiple Naked Levels and select Settings.
You will then get a menu of different level types and timeframes. Click the checkboxes for the level types and timeframes that you want to display on the chart.
You can then go into the chart and check out which naked levels that have appeared. You can then use those levels as part of your technical analysis.
The levels displayed on the chart can serve as additional confluences or as part of your overall technical analysis and indicators.
In order to back-test the impact of the different naked levels you can also enable tapped levels to be depicted on the chart. Do this by toggling the 'Show tapped levels' checkbox.
Keep in mind however that Trading View can not shom more than 500 lines and text boxes so the indocator will not be able to give you the complete history back to the start for long duration assets.
In order to clean up the charts a little bit there are two additional settings that can be used in the Settings menu:
- Selecting the price range (%) from the current price to be included in the chart. The default is 25%. That means that all levels below or above 20% will not be displayed. You can set this level yourself from 0 up to 100%.
- Selecting the minimum gap size to include on the chart. The default is 1%. That means that all gaps/ranges below 1% in price difference will not be displayed on the chart. You can set the minimum gap size yourself.
BASIC DESCRIPTION OF THE INNER WORKINGS OF THE INDICTATOR
The way the indicator works is that it calculates and identifies all levels from the list of levels type and timeframes above. The indicator then adds this level to a list of untapped levels.
Then for each bar after, it checks if the level has been tapped. If the level has been tapped or a gap/range completely filled, this level is removed from the list so that the levels displayed in the end are only naked/untapped levels.
Below is a descrition of each of the level types and how it is caluclated (algorithm):
PIVOT
Daily, Weekly and Monthly levels in trading refer to significant price points that traders monitor within the context of a single trading day. These levels can provide insights into market behavior and help traders make informed decisions regarding entry and exit points.
Traders often use D/W/M levels to set entry and exit points for trades. For example, entering long positions near support (daily close) or selling near resistance (daily close).
Daily levels are used to set stop-loss orders. Placing stops just below the daily close for long positions or above the daily close for short positions can help manage risk.
The relationship between price movement and daily levels provides insights into market sentiment. For instance, if the price fails to break above the daily high, it may signify bearish sentiment, while a strong breakout can indicate bullish sentiment.
The way these levels are calculated in this indicator is based on finding pivots in the chart on D/W/M timeframe. The level is then set to previous D/W/M close = current D/W/M open.
In addition, when price is going up previous D/W/M open must be smaller than previous D/W/M close and current D/W/M close must be smaller than the current D/W/M open. When price is going down the opposite.
POINT OF CONTROL
The Point of Control (POC) is a key concept in volume profile analysis, which is commonly used in trading.
It represents the price level at which the highest volume of trading occurred during a specific period.
The POC is derived from the volume traded at various price levels over a defined time frame. In this indicator the timeframes are Daily, Weekly, and Montly.
It identifies the price level where the most trades took place, indicating strong interest and activity from traders at that price.
The POC often acts as a significant support or resistance level. If the price approaches the POC from above, it may act as a support level, while if approached from below, it can serve as a resistance level. Traders monitor the POC to gauge potential reversals or breakouts.
The way the POC is calculated in this indicator is by an approximation by analysing intrabars for the respective timeperiod (D/W/M), assigning the volume for each intrabar into the price-bins that the intrabar covers and finally identifying the bin with the highest aggregated volume.
The POC is the price in the middle of this bin.
The indicator uses a sample space for intrabars on the Daily timeframe of 15 minutes, 35 minutes for the Weekly timeframe, and 140 minutes for the Monthly timeframe.
The indicator has predefined the size of the bins to 0.2% of the price at the range low. That implies that the precision of the calulated POC og VAH/VAL is within 0.2%.
This reduction of precision is a tradeoff for performance and speed of the indicator.
This also implies that the bigger the difference from range high prices to range low prices the more bins the algorithm will iterate over. This is typically the case when calculating the monthly volume profile levels and especially high volatility assets such as alt coins.
Sometimes the number of iterations becomes too big for Trading View to handle. In these cases the bin size will be increased even more to reduce the number of iterations.
In such cases the bin size might increase by a factor of 2-3 decreasing the accuracy of the Volume Profile levels.
Anyway, since these Volume Profile levels are approximations and since precision is traded for performance the user should consider the Volume profile levels(POC, VAH, VAL) as zones rather than pin point accurate levels.
VALUE AREA HIGH/LOW STD1/STD2
The Value Area High (VAH) and Value Area Low (VAL) are important concepts in volume profile analysis, helping traders understand price levels where the majority of trading activity occurs for a given period.
The Value Area High/Low is the upper/lower boundary of the value area, representing the highest price level at which a certain percentage of the total trading volume occurred within a specified period.
The VAH/VAL indicates the price point above/below which the majority of trading activity is considered less valuable. It can serve as a potential resistance/support level, as prices above/below this level may experience selling/buying pressure from traders who view the price as overvalued/undervalued
In this indicator the timeframes are Daily, Weekly, and Monthly. This indicator provides two boundaries that can be selected in the menu.
The first boundary is 70% of the total volume (=1 standard deviation from mean). The second boundary is 95% of the total volume (=2 standard deviation from mean).
The way VAH/VAL is calculated is based on the same algorithm as for the POC.
However instead of identifying the bin with the highest volume, we start from range low and sum up the volume for each bin until the aggregated volume = 30%/70% for VAL1/VAH1 and aggregated volume = 5%/95% for VAL2/VAH2.
Then we simply set the VAL/VAH equal to the low of the respective bin.
FAIR VALUE GAPS
Fair Value Gaps (FVG) is a concept primarily used in technical analysis and price action trading, particularly within the context of futures and forex markets. They refer to areas on a price chart where there is a noticeable lack of trading activity, often highlighted by a significant price movement away from a previous level without trading occurring in between.
FVGs represent price levels where the market has moved significantly without any meaningful trading occurring. This can be seen as a "gap" on the price chart, where the price jumps from one level to another, often due to a rapid market reaction to news, events, or other factors.
These gaps typically appear when prices rise or fall quickly, creating a space on the chart where no transactions have taken place. For example, if a stock opens sharply higher and there are no trades at the prices in between the two levels, it creates a gap. The areas within these gaps can be areas of liquidity that the market may return to “fill” later on.
FVGs highlight inefficiencies in pricing and can indicate areas where the market may correct itself. When the market moves rapidly, it may leave behind price levels that traders eventually revisit to establish fair value.
Traders often watch for these gaps as potential reversal or continuation points. Many traders believe that price will eventually “fill” the gap, meaning it will return to those price levels, providing potential entry or exit points.
This indicator calculate FVGs on three different timeframes, Daily, Weekly and Montly.
In this indicator the FVGs are identified by looking for a three-candle pattern on a chart, signalling a discrete imbalance in order volume that prompts a quick price adjustment. These gaps reflect moments where the market sentiment strongly leans towards buying or selling yet lacks the opposite orders to maintain price stability.
The indicator sets the gap to the difference from the high of the first bar to the low of the third bar when price is moving up or from the low of the first bar to the high of the third bar when price is moving down.
CME GAPS (BTC only)
CME gaps refer to price discrepancies that can occur in charts for futures contracts traded on the Chicago Mercantile Exchange (CME). These gaps typically arise from the fact that many futures markets, including those on the CME, operate nearly 24 hours a day but may have significant price movements during periods when the market is closed.
CME gaps occur when there is a difference between the closing price of a futures contract on one trading day and the opening price on the following trading day. This difference can create a "gap" on the price chart.
Opening Gaps: These usually happen when the market opens significantly higher or lower than the previous day's close, often influenced by news, economic data releases, or other market events occurring during non-trading hours.
Gaps can result from reactions to major announcements or developments, such as earnings reports, geopolitical events, or changes in economic indicators, leading to rapid price movements.
The importance of CME Gaps in Trading is the potential for Filling Gaps: Many traders believe that prices often "fill" gaps, meaning that prices may return to the gap area to establish fair value.
This can create potential trading opportunities based on the expectation of gap filling. Gaps can act as significant support or resistance levels. Traders monitor these levels to identify potential reversal points in price action.
The way the gap is identified in this indicator is by checking if current open is higher than previous bar close when price is moving up or if current open is lower than previous day close when price is moving down.
EQUILIBRIUM
Equilibrium in finance and trading refers to a state where supply and demand in a market balance each other, resulting in stable prices. It is a key concept in various economic and trading contexts. Here’s a concise description:
Market Equilibrium occurs when the quantity of a good or service supplied equals the quantity demanded at a specific price level. At this point, there is no inherent pressure for the price to change, as buyers and sellers are in agreement.
Equilibrium Price is the price at which the market is in equilibrium. It reflects the point where the supply curve intersects the demand curve on a graph. At the equilibrium price, the market clears, meaning there are no surplus goods or shortages.
In this indicator the equilibrium level is calculated simply by finding the midpoint of the Daily, Weekly, and Montly candles respectively.
NOTES
1) Performance. The algorithms are quite resource intensive and the time it takes the indicator to calculate all the levels could be 5 seconds or more, depending on the number of bars in the chart and especially if Montly Volume Profile levels are selected (POC, VAH or VAL).
2) Levels displayed vs the selected chart timeframe. On a timeframe smaller than the daily TF - both Daily, Weekly, and Monthly levels will be displayed. On a timeframe bigger than the daily TF but smaller than the weekly TF - the Weekly and Monthly levels will be display but not the Daily levels. On a timeframe bigger than the weekly TF but smaller than the monthly TF - only the Monthly levels will be displayed. Not Daily and Weekly.
CREDITS
The core algorithm for calculating the POC levels is based on the indicator "Naked Intrabar POC" developed by rumpypumpydumpy (https:www.tradingview.com/u/rumpypumpydumpy/).
The "Naked intrabar POC" indicator calculates the POC on the current chart timeframe.
This indicator (Multiple Naked Levels) adds two new features:
1) It calculates the POC on three specific timeframes, the Daily, Weekly, and Monthly timeframes - not only the current chart timeframe.
2) It adds functionaly by calculating the VAL and VAH of the volume profile on the Daily, Weekly, Monthly timeframes .
Futures Settlement [NeoButane]Traders use settlement prices as both support/resistance and as a target for price to trend towards. The intention of this script is to provide possible entry and exit levels for swing and scalp trades by drawing horizontal lines of true settlement prices provided by TradingView.
The settlement price, which is calculated daily, is used to determine the profit/loss of a trader's futures position. Prior to the daily close, price settlement of futures contracts is performed by taking the average of its traded price during a specified period of time.
Usage
The settlement prices, shown as horizontal lines, serve as support or resistance for entry or exit. There are hundreds of ways to combine this with favorite indicators, or it can be used as levels for pure price action traders.
See how settlement price levels can be used in confluence with oscillators.
Configuration
Toggles to show each settlement. Reprint shows prior weeks or months after they've ended. Back-adjusted futures, which affect expired futures price history on continuous futures charts, should only be enabled on non-standard charts to match the user's chart settings.
What this script does
This script plots the daily, weekly, and monthly settlements for futures, including an average for the two most recent weekly or monthly settlements. The weekly settlement uses the last day of the week's daily settlement and the monthly settlement uses the last day of the month's daily settlement. For symbols that do not have settlement prices, which will be almost if not all symbols that are not futures, the settlement price instead becomes price at the last second before the daily/weekly/monthly close. In those cases, this script becomes a tool for automatically plotting daily/weekly/monthly closes.
See below for two different bitcoin charts. The chart on top is a non-futures chart and a futures chart is at the bottom. Note that CME bitcoin futures settle 4 hours (1500 CST) before bitcoin's daily close (UTC).
How this script works
TradingView has a built-in ability to display daily settlements instead of the actual daily close. This can be enabled in chart settings for futures on the daily timeframe and there is an argument for Pine Script to do so as well. Because settlement times are different for multiple products during the day, the script uses the settlement price from daily timeframe, which is guaranteed to be correct because TradingView is wonderful. I accidentally found the undocumented backadjustment and settlement_at_close when I was trying to use ticker.inherit() to create a symbol with its daily close time changed to another symbol's, which I still haven't figured out. TradingView has since added documentation for both of them, but there's still an ambiguous 'etc.' in the description of ticker.inherit() so maybe there's more secret arguments...
The script is able to be used on non-standard charts by using ticker.standard(), but back-adjustment will need to be changed by input to match chart settings.
References
Investopedia explanation of settlement price.
www.investopedia.com
Settlement prices for ES.
www.cmegroup.com
CME summary of settlement price.
www.cmegroup.com
How to enable settlement price as close for daily intervals in TradingView. This does not affect the use of this script.
www.tradingview.com
About back-adjustment for continuous futures charts in TradingView.
www.tradingview.com
Logarithmic and Linear Fibonacci LevelsIntroduction
Fibonacci levels are a technical analysis tool used by some traders to identify potential support and resistance levels. The principle for determining these levels is to take the distance between selected reference high and low points (swing high and swing low in general) as 1 unit and mark the ratios derived from the Fibonacci sequence, such as 0.236, 0.382, 0.618, etc., over this 1 unit. In the conventional method of level determination, the 1 unit is divided into equal distances within itself, and Fibonacci levels are determined based on these equal distances. These types of levels are called Linear Levels . A relatively less common method involves dividing the 1 unit into progressively smaller, more accurately described as proportionally equal, distances and determining Fibonacci levels based on these distances. These types are called Logarithmic Levels . The purpose of this indicator is to provide ease of use in determining both Linear and Logarithmic levels.
Where can it be Used?
Logarithmic Levels can be used in any instrument where volatility is high for any reason. Specifically in crypto, Logarithmic Levels work very well for BINANCE:BTCUSDT (to observe this, please study the wick from January 23, 2024). As another example, Logarithmic Levels can be used to identify potential accumulation and distribution schemes in altcoins with relatively high volume and market capitalization (refer to the chart provided above BINANCE:FETUSDT ). Additionally, when analyzing traditional markets, Logarithmic Levels can be beneficial for stocks with highly inflated or deflated prices (e.g., NASDAQ:TSLA , NASDAQ:NVDA ), in stock markets of countries battling high inflation (e.g., BIST:XU100 ), or in currency pairs of countries experiencing a recession (e.g., FX_IDC:JPYUSD ).
How can it be Used?
It is designed similarly to the Fibonacci Tool provided by Trading View to ensure users feel familiar with it. When you start the indicator, select the reference levels (Level 1 and Level 0), then click on the indicator settings to choose specific levels and customize them according to your preferences.
What Makes it Unique?
Indeed, in the Fibonacci Tool provided by Trading View, we can see both linear and logarithmic levels. However, to view logarithmic levels, it is necessary to switch the relevant instrument's Super Chart to a logarithmic scale. This causes the levels we want to remain 'linear' to also be displayed in their logarithmic form, potentially leading to errors in other indicators we use, incorrect functioning of trend lines drawn in linear scaling, and so on. Additionally, when the Super Chart is scaled logarithmically, it prevents the ability to set alerts for prices and trend lines. This indicator was created to avoid these problems without needing to change the chart's scaling method and to allow the simultaneous viewing of both Linear and Logarithmic levels.
Financial Frontline:Integrated Market Analysis Toolkit[drshah93]Title: Financial Frontline: Bollinger BandWidth with Moving Average + Fractal & Alligator + Ichimoku Cloud + Anchored VWAP
This script is developed to integrate multiple robust technical analysis tools into a single, comprehensive indicator. Designed for traders seeking an all-in-one solution, this script combines Fractal and Alligator, Ichimoku Cloud, Anchored VWAP, and Bollinger BandWidth with Moving Average, providing a holistic view of the market.
Unlocking Market Dynamics: How It Works Together
This multi-tool indicator is more than just a mashup; it is a strategically crafted integration that maximizes the strengths of each component to deliver a versatile and insightful trading tool.
1. Fractal and Alligator:
o Concept:
The Fractal & Alligator combination serves as a powerful mechanism for identifying trend reversals and continuations.
Fractals pinpoint potential turning points in the market, while the Alligator lines, consisting of smoothed moving averages, provide a clear indication of trend direction and strength.
By plotting visual markers for completed top and bottom fractals, this component helps traders to easily identify critical potential turning points of market reversal.
The Bill Williams' Alligator’s three moving averages (jaw, teeth, and lips) further enhance this analysis by indicating the prevailing trend and its momentum, making it easier to discern when to enter or exit trades.
o Details: Customizable jaw, teeth, and lips represent the market's direction. Top and bottom fractals help identify potential support and resistance levels.
o Usage: Enable the Alligator to visualize the market's trend direction and use fractals to spot potential entry and exit points.
2. Ichimoku Cloud:
o Concept:
The Ichimoku Cloud component adds another layer of market insight by providing a comprehensive view of support and resistance levels, trend direction, and momentum.
The cloud (Kumo) itself indicates key support and resistance zones, while the Tenkan-sen and Kijun-sen lines offer shorter-term trend and momentum insights.
The Chikou Span, or lagging line, provides a perspective on current price action relative to past prices.
This multi-faceted approach helps traders to identify high-probability trading opportunities and to understand the broader market context, allowing for more informed trading decisions.
o Details: Includes conversion line (Tenkan-sen), base line (Kijun-sen), leading spans (Senkou Span A & B), and lagging span (Chikou Span). Customizable lengths and colors for each element.
o Usage: Use the cloud's color and position relative to price to determine bullish or bearish trends and identify potential trading signals.
3. Anchored VWAP:
o Concept:
Anchored VWAPs (Volume Weighted Average Price) are dynamically anchored to significant price points such as swing highs and lows.
This component helps traders to understand the average price paid over a specific period and to identify critical price levels that may act as support or resistance.
By anchoring the VWAP to significant points, this indicator provides a more precise view of where key market participants are positioned, aiding in the identification of potential reversal points and confirming trend direction.
Anchored VWAP (Volume Weighted Average Price) provides the average price of an asset, weighted by volume, from a specific anchor point.
o Details: Multiple Anchored VWAP lines from significant highs and lows. Customizable lengths and colors for each VWAP.
o Usage: Analyze the price's relationship to VWAP lines to assess market strength and potential reversal points.
4. Bollinger BandWidth with Moving Average:
o Concept:
This component combines the volatility insights of Bollinger BandWidth with the trend-following properties of moving averages.
The Bollinger BandWidth measures the distance between the upper and lower Bollinger Bands, offering a visual representation of market volatility.
Bollinger Bands measure market volatility, while BandWidth indicates the degree of volatility.
When combined with a moving average, it helps to identify periods of market contraction and expansion.
Crossovers between the Bollinger BandWidth and the moving average provide timely alerts for potential entry and exit points, enabling traders to react quickly to changing market conditions.
o Details: Bollinger Bands with customizable lengths, source, and standard deviation. BandWidth calculation and moving average with options for SMA, EMA, SMMA, WMA.
o Usage: Identify periods of high and low volatility using BandWidth and adjust trading strategies accordingly. Use the moving average to smooth out volatility signals.
Customization Options for Tailored Analysis
One of the standout features of this multi-tool indicator is its high level of customization. Traders can toggle each indicator on or off according to their preferences and adjust input parameters such as lengths, colors, and offsets. This flexibility allows traders to tailor the tool to their specific trading style and market conditions, ensuring that they can extract maximum value from the analysis provided.
The Synergy of Combined Indicators: Enhancing Technical Analysis
The real power of this script lies in how these four indicators work together to provide a comprehensive analysis of the market. When combined, they cover various aspects of technical analysis:
• Trend Detection: The Alligator and Ichimoku Cloud work together to confirm trend direction and strength, while the Anchored VWAP highlights critical price levels.
• Reversal Points: Fractals and Ichimoku's Tenkan-sen/Kijun-sen crossovers help identify potential market reversals.
• Volatility and Momentum: The Bollinger BandWidth with Moving Average provides insights into market volatility, which complements the momentum signals from the Ichimoku Cloud.
• Support and Resistance: Fractals and Anchored VWAP pinpoint key levels. They provide clear support and resistance levels, enhancing the trader's ability to make informed decisions.
Advantages to Technical Analysis
• Holistic View: Combines trend, momentum, volatility, and price levels into a single script.
• Enhanced Decision-Making: Multiple confirmation signals increase the reliability of trading signals.
• Flexibility: Customizable settings allow traders to tailor the indicator to their specific needs.
• Efficiency: Reduces the need to switch between multiple charts and indicators, streamlining the analysis process.
How to Use:
1. Access the indicator settings to customize each component according to your trading strategy.
2. Toggle visibility for Fractal and Alligator, Ichimoku Cloud, Anchored VWAP, and Bollinger BandWidth components.
3. Adjust lengths, colors, and calculation methods to match your charting style and preferences.
4. Combine insights from trend analysis, support/resistance levels, and volatility measures for informed trading decisions.
Elevate your trading analysis with this all-in-one tool, merging multiple indicators into a powerful script that offers a comprehensive view of the market.
In Conclusion: An Indispensable Tool for Traders
This multi-tool indicator is designed to cater to the needs of traders who seek a comprehensive and versatile analytical framework. By integrating Fractal & Alligator, Ichimoku Cloud, Anchored VWAP, and Bollinger BandWidth with Moving Average, it provides a holistic view of market conditions, enhancing the trader's ability to identify key trends, support/resistance levels, and potential trading signals. This script is not just a combination of indicators but a thoughtfully crafted tool that delivers actionable insights and helps traders to stay ahead in the financial markets.
Author: drshah93
Sylvain Zig-Zag [MyTradingCoder]This Pine Script version of ZigZagHighLow is a faithful port of Sylvain Vervoort's original study, initially implemented in NinjaScript and later added to the thinkorswim standard library. This indicator identifies and connects swing points in price data, offering a clear visualization of market moves that exceed a specified threshold. Additionally, it now includes features for detecting and plotting support and resistance levels, enhancing its utility for technical analysis.
Overview
The Sylvain Zig-Zag study excels at highlighting significant price swings by plotting points where the price change, combined with volatility adjustments via the Average True Range (ATR), exceeds a user-defined percentage. It effectively smooths out minor fluctuations, allowing traders to focus on the primary market trends. This tool is particularly useful in identifying potential turning points, trends in price movements, and key support and resistance levels, making it a valuable addition to your technical analysis arsenal.
How It Works
The Sylvain Zig-Zag indicator works by detecting swing points in the price data and connecting them to form a zigzag pattern. A swing point is identified when the price moves a certain distance, defined by a combination of percentage change and ATR. This distance must be exceeded for a swing point to be plotted.
When the price moves upwards and exceeds the previous high by a specified percentage plus a factor of the ATR, a new high swing point is plotted. Conversely, a low swing point is plotted when the price moves downwards and exceeds the previous low by the same criteria. This ensures that only significant price moves are considered, filtering out minor fluctuations and providing a clear view of the overall market trend.
In addition to plotting zigzag lines, the indicator can now identify and draw support and resistance levels based on the detected swing points. These levels are crucial for identifying potential reversal areas and market structure.
Key Features
Swing Point Detection: Accurately identifies significant price swings by considering both percentage price change and volatility (via Average True Range).
Dynamic Support/Resistance: Automatically generates support and resistance lines based on the identified swing points, providing potential areas of price reversals.
Customizable Parameters: Tailor the indicator's sensitivity to your preferred trading style and market conditions. Adjust parameters like percentage reversal, ATR settings, and absolute/tick reversals.
Visual Clarity: Choose to display the ZigZag line, support/resistance levels, new trend icons, continuation icons, and even customize bar colors for easy visual analysis.
Trading Applications
Trend Identification: Easily visualize the prevailing market trend using the direction of the ZigZag line and support/resistance levels.
Entry/Exit Signals: Potential entry points can be identified when the price interacts with the dynamic support/resistance levels.
Stop-Loss Placement: Use recent swing points as logical places for setting stop-loss orders.
Profit Targets: Project potential price targets based on the distance between previous swing points.
Input Parameters
Several input parameters can be adjusted to customize the behavior of the Sylvain Zig-Zag indicator. These parameters allow traders to fine-tune the detection of swing points and support/resistance levels to better suit their trading strategy and the specific market conditions they are analyzing.
High Source and Low Source:
These inputs define the price points used for detecting high and low swing points, respectively. You can choose between high, low, open, or close prices for these calculations.
Percentage Reversal:
This input sets the minimum percentage change in price required for a swing to be detected. A higher percentage value will result in fewer but more significant swing points, while a lower value will detect more frequent, smaller swings.
Absolute Reversal:
This parameter allows for an additional fixed value to be added to the minimum price change and ATR change. This can be useful for increasing the distance between swing points in volatile markets.
ATR Length:
This input defines the period used for calculating the ATR, which is a measure of market volatility. A longer ATR period will smooth out the ATR calculation, while a shorter period will make it more sensitive to recent price changes.
ATR Multiplier:
This factor is applied to the ATR value to adjust the sensitivity of the swing point detection. A higher multiplier will increase the required price movement for a swing point to be plotted, reducing the number of detected swings.
Tick Reversal:
This input allows for an additional value in ticks to be added to the minimum price change and ATR change, providing further customization in the swing point detection process.
Support and Resistance:
Show S/R: Enable or disable the plotting of support and resistance levels.
Max S/R Levels: Set the maximum number of support and resistance levels to display.
S/R Line Width: Adjust the width of the support and resistance lines.
Visual Settings
The Sylvain Zig-Zag indicator also includes visual settings to enhance the clarity of the plotted swing points and trends. You can customize the color and width of the zigzag line, and enable icons to indicate new trends and continuation patterns. Additionally, the bars can be colored based on the detected trend, aiding in quick visual analysis.
Conclusion
This port of the ZigZagHighLow study from NinjaScript to Pine Script preserves the essence of Sylvain Vervoort’s methodology while adding new features for support and resistance. It provides traders with a powerful tool for technical analysis. The combination of price changes and ATR ensures that you have a robust and adaptable tool for identifying key market movements and structural levels. Customize the settings to match your trading style and gain a clearer picture of market trends, turning points, and support/resistance areas. Enjoy improved market analysis and more informed trading decisions with the Sylvain Zig-Zag indicator.
Market Structure Oscillator [LuxAlgo]The Market Structure Oscillator indicator analyzes and synthesizes short-term, intermediate-term, and long-term market structure shifts and breaks, visualizing the output as oscillators and graphical representations of real-time market structures on the main price chart.
The oscillator presentation of the detected market structures helps traders visualize trend momentum and strength, identifying potential trend reversals, and providing different perspectives to enhance the analysis of classic market structures.
🔶 USAGE
A market structure shift signals a potential change in market sentiment or direction, while a break of structure indicates a continuation of the current trend. Detecting these events in real-time helps traders recognize both trend changes and continuations. The market structure oscillator translates these concepts visually, offering deeper insights into market momentum and strength. It aids traders in identifying overbought or oversold conditions, potential trend reversals, and confirming trend direction.
Oscillators often generate signals based on crossing certain thresholds or diverging from price movements, providing cues for traders to enter or exit positions.
The weights determine the influence of each period (short-term, intermediate-term, long-term) on the final oscillator value. By changing the weights, traders can emphasize or de-emphasize the importance of each period. Higher weights increase their respective market structure's influence on the oscillator value. For example, if the weight for the short-term period is set to 0, the final value of the oscillator will be calculated using only the intermediate-term and long-term market structures.
The indicator features a Cycle Oscillator component, which uses the market structure oscillator values to generate a histogram and provide further insights into market cycles and potential signals. The Cycle Oscillator aids in timing by allowing traders to more easily see the median length of an oscillation around the average point, helping them identify both favorable prices and favorable moments for trading.
Users can also display detected market structures on the price chart by enabling the corresponding market structure toggle from the "Market Structures on Chart" settings group.
🔶 DETAILS
The script initiates its analysis by detecting swing levels, which form the fundamental basis for its operations. It begins by identifying short-term swing points, automatically detected solely based on market movements without any reliance on user-defined input. Short-Term Swing Highs (STH) are peaks in price surrounded by lower highs on both sides, while Short-Term Swing Lows (STL) are troughs surrounded by higher lows.
To identify intermediate-term and long-term swing points, the script uses previously detected short-term swing points as reference points. It examines these points to determine intermediate-term swings and further analyzes intermediate-term swings to identify long-term swing points. This method ensures a thorough and unbiased evaluation of market dynamics, providing traders with reliable insights into market structures.
Once swing levels are detected, the process continues with the analysis of Market Structure Shifts (MSS) and Breaks of Structure (BoS). A Market Structure Shift, also known as a Change of Character (CHoCH), is a critical event in price action analysis that suggests a potential shift in market sentiment or direction. It occurs when the price reverses from an established trend, indicating that the current trend may be losing momentum and a reversal could be imminent.
On the other hand, a Break of Structure signifies the continuation of the existing market trend. This event occurs when the price decisively moves beyond a previous swing high or low, confirming the strength and persistence of the prevailing trend.
The indicator analyzes price patterns using a pure price action approach and identifies market structures for short-term, intermediate-term, and long-term periods. The collected data is then normalized and combined using specified weights to calculate the final Market Structure Oscillator value.
🔶 SETTINGS
The indicator incorporates user-defined settings, allowing users to tailor it according to their preferences and trading strategies.
🔹 Market Structure Oscillator
Market Structure Oscillator: Toggles the visibility of the market structures oscillator.
Short Term Weight: Defines the weight for the short-term market structure.
Intermediate Term Weight: Defines the weight for the intermediate-term market structure.
Long Term Weight: Defines the weight for the long-term market structure.
Oscillator Smoothing: Determines the smoothing factor for the oscillator.
Gradient Colors: Allows customization of bullish and bearish gradient colors.
Market Structure Oscillator Crosses: Provides signals based on market structure oscillator equilibrium level crosses.
🔹 Cycle Oscillator
Cycle Oscillator - Histogram: Toggles the visibility of the cycle oscillator.
Cycle Signal Length: Defines the length of the cycle signal.
Cycle Oscillator Crosses: Provides signals based on cycle oscillator crosses.
🔹 Market Structures on Chart
Market Structures: Allows plotting of market structures (short, intermediate, and long term) on the chart.
Line, Label, and Color: Options to display lines and labels for different market structures with customizable colors.
🔹 Oscillator Components
Oscillators: Separately plots short-term, intermediate-term, and long-term oscillators. Provides options to display these oscillators with customizable colors.
🔶 RELATED SCRIPTS
Market-Structures-(Intrabar)
MSS-FVG Fusion by Tren10xMSS-FVG Fusion Script by Tren10x
What the Script Does:
The MSS-FVG Fusion Script by Tren10x combines Market Structure Shifts (MSS) and Fair Value Gaps (FVG) to provide traders with strategic entry points, customizable features, and a comprehensive tool for trading analysis. It identifies shifts and breaks in market structure while pinpointing significant fair value gaps.
How the Script Works:
Strategic Entry Points:
The script's logic detects fair value gaps formed prior to a market structure shift and uses these gaps as optimal entry points, integrating the precision of MSS with the significance of FVGs
Accurate and Timely Entry Points:
By combining MSS and FVG, the script aims to offer more precise and timely entry points, enhancing the overall trading strategy.
Dynamic Features for Cleaner Approach:
Users can toggle between box fair value gaps and bar fair value gaps, providing a cleaner and more customizable approach to analyzing price action.
Display of Untested FVGs:
The script is designed to display only untested fair value gaps based on how they are filled. It differentiates between gaps filled by the body of a candle and those filled by the wick, ensuring that only gaps that have not been fully tested are highlighted.
Delete Wick Filled FVG highlights that the FVG should be deleted if the price only wicks through the FVG but does not close outside it, indicating that the gap has been tested but not fully filled.
Whereas Delete Body Filled FVG focuses on the scenario where the price action closes outside of the FVG, indicating that the gap has been fully filled. So in this screenshot above, there is a large wick through the FVG but no close below. Therefore, this FVG will remain until there is a close in the other direction.
Or choose both! Enabling both options will remove both body filled and wick filled FVGs from your chart, leaving only FVGs that are still fully or partially untested, such as the image above.
Features:
Market Structure Shifts (MSS):
Detects shifts in market structure to help anticipate potential trend reversals and capitalize on new trading opportunities.
Market Structure Breaks (MSB):
Highlights breaks in market structure, signaling potential continuation or reversal points in the market.
Fair Value Gaps (FVG):
Identifies gaps in price where the market has moved rapidly, pinpointing potential areas of support and resistance. Includes a 50% line of the FVG, which often acts as a key level.
Customization Options:
Text Customization: Add personalized text and customize aspects such as color, line style, text size, border color and style, and FVG bar width.
FVG Handling: Options to delete FVGs where the price has wicked through but did not close inside the box, or delete FVGs when the price has closed outside the box.
FVG Display Options: Choose between traditional FVG boxes or a cleaner FVG bar look.
Input Options: Set the number of FVGs and market structure indicators displayed on the chart.
How to Use the Script:
Add to Chart:
Load the MSS-FVG Fusion Script onto your TradingView chart.
Customize Settings:
Adjust text, colors, line styles, and other settings to fit your trading preferences.
Analyze the Chart:
Observe the highlighted MSS, MSB, and FVGs to identify potential entry and exit points.
Use the dynamic features to toggle between different FVG display options and focus on untested gaps.
Leverage the 50% lines of FVGs and other key levels to make informed trading decisions.
What Makes This Script Original:
This script is original because it integrates the strategic fusion of Market Structure Shifts (MSS) and Fair Value Gaps (FVG) for entry points, offers dynamic customization between box and bar FVGs, and highlights only untested gaps based on how they are filled, providing a tailored and actionable analysis.
The Flip by Tren10xWhat the Script Does:
"The Flip" is a simple trading script designed to enhance market analysis and trading decisions by detecting key price levels and timeframe shifts. It identifies when timeframes switch from bullish to bearish or vice versa and displays this information using the 50% levels and the Full Time Frame Continuity (FTFC) table.
How the Script Works:
Detection of Key Levels:
50% Level of the Previous Candle: The script calculates and displays the midpoint of the previous candle, helping traders quickly identify potential reversal points and key support or resistance levels.
Opening Print Levels: The script tracks the opening prices for various timeframes (Day, Week, Month, Quarter, and Year), indicating whether the current price is above or below these levels to understand market sentiment and trends.
High/Low Levels: It monitors and displays the Previous Day High/Low, Week High/Low, Month High/Low, Quarter High/Low, and Year High/Low, highlighting significant price levels and potential breakout or breakdown points.
Full Time Frame Continuity Table:
The script provides a visual table showing the alignment of different timeframes (bullish or bearish), allowing traders to make informed decisions based on the overall market structure.
How to Use the Script:
Add to Chart:
Load "The Flip" script onto your TradingView chart.
Customize Settings:
Adjust the appearance and display settings to fit your trading preferences.
Analyze the Chart:
Use the 50% level of the previous candle to identify potential reversal points.
Track the opening print levels for various timeframes to gauge market sentiment.
Monitor the high/low levels to spot significant price levels and potential breakout or breakdown points.
Refer to the FTFC table to see the alignment of different timeframes and make decisions based on the overall market structure.
What Makes This Script Original:
Integration with "The Strat"
Inspired by "The Strat" created by Rob Smith, "The Flip" focuses on the critical moment when timeframes switch from bullish to bearish or vice versa, providing a unique perspective on market movements.
Comprehensive Market View:
By displaying the 50% level of the previous candle, opening print levels, high/low levels, and a full time frame continuity table, the script offers a holistic view of the market, helping traders make more informed decisions.
User-Friendly Visualization:
The script's visual indicators and FTFC table make it easy to quickly assess market conditions and potential trading opportunities, enhancing both the efficiency and effectiveness of market analysis.
When Full Time-Frame Continuity is bullish, you will see a green check mark ✔️, indicating all major timeframes (Daily, Weekly, Month, Quarter, and Year) are aligned.
When Full Time-Frame Continuity is bearish, you will see a red drop 🩸, indicating all major timeframes (Daily, Weekly, Month, Quarter, and Year) are aligned.
Otherwise, you will see mixed timeframes.
Pure Price Action Order & Breaker Blocks [LuxAlgo]The Pure Price Action Order & Breaker Blocks indicator is a pure price action adaptation of our previously published and highly popular Order-Blocks-Breaker-Blocks script.
Similar to its earlier version, this indicator detects order blocks that can automatically turn into breaker blocks on the chart once mitigated. However, the key difference/uniqueness is that the pure price action version relies solely on price patterns, eliminating the need for length definitions. In other words, it removes the limitation of user-defined inputs, ensuring a robust and objective analysis of market dynamics.
🔶 USAGE
An order block is a significant area on a price chart where there was a notable accumulation or distribution of orders, often identified by a strong price move followed by consolidation. Traders use order blocks to identify potential support or resistance levels.
A mitigated order block refers to an order block that has been invalidated due to subsequent market movements. It may no longer hold the same significance in the current market context. However, when the price mitigates an order block, a breaker block is confirmed. It is possible that the price might trade back to this breaker block, potentially offering a new trading opportunity.
Users can optionally enable the "Historical Polarity Changes" labels within the settings menu to see where breaker blocks might have previously provided effective trade setups.
This feature is most effective when using replay mode. Please note that these labels are subject to backpainting.
🔶 DETAILS
The swing points detection feature relies exclusively on price action, eliminating the need for numerical user-defined settings.
The first step involves detecting short-term swing points, where a short-term swing high (STH) is identified as a price peak surrounded by lower highs on both sides. Similarly, a short-term swing low is recognized as a price trough surrounded by higher lows on both sides.
Intermediate-term swing and long-term swing points are detected using the same approach but with a slight modification. Instead of directly analyzing price candles, we now utilize the previously detected short-term swing points. For intermediate-term swing points, we rely on short-term swing points, while for long-term swing points, we use the intermediate-term ones.
🔶 SETTINGS
Detection: Market structure used to detect swing points for creating order blocks.
Show Last Bullish OB: Number of the most recent bullish order/breaker blocks to display on the chart.
Show Last Bearish OB: Number of the most recent bearish order/breaker blocks to display on the chart.
Use Candle Body: Allows users to use candle bodies as order block areas instead of the full candle range.
🔹 Style
Show Historical Polarity Changes: Allows users to see labels indicating where a swing high/low previously occurred within a breaker block.
🔶 RELATED SCRIPTS
Pure-Price-Action-Structures.
Order-Blocks-Breaker-Blocks.
Anchored Auto Fibonacci Retracement with Alerts [ImaWrknMan]SYNOPSIS
Automatically generates a Fibonacci Retracement anchored to the candle of your choosing. As price moves further away from the anchor point, the fib levels automatically adjust to represent the entirety of the move.
BULLISH VS. BEARISH
It automatically detects if the Fibonacci Retracement should be drawn from the low or high of the anchored candle by considering the candles that follow (if they produce new highs, it will use the anchored candle low; if they produce new lows, it will use the anchored candle high).
MITIGATION
If the Fibonacci levels are fully retraced (i.e., price pulls back beyond the originating price), the levels will remain on the chart but it will no longer adjust as new candles form - it will become static.
OPTIONS
The following options are offered:
Extend Retracement Levels
The Fibonacci Retracement levels will extend beyond the last candle into the future. These extensions are visually represented using dashed lines.
Retracement Levels
Twelve levels are supported. The default levels mirror those used by the standard Fibonacci Retracement tool. Select only the levels you want to see on the chart. Line color can also be customized to your liking. You can optionally define an alert condition and alert message for each level (see "Alerts" below).
ALERTS
To receive an alert when price retraces into a level, check the "Alert" box to the right of that level. You can optionally define the text to display in the alert by entering it in the text box to the right of the alert checkbox. Levels with alerts will be marked on the chart with a "bell" symbol. Once you've selected the alerts you want to receive and (optionally) the text for each alert, create an Alert for the indicator.
NOTE: You do NOT need to create a separate Alert for each level.
Limitations
Alerts can only be defined for levels that fall between 0 and 1.
Once an alert is created, its settings are fixed. Any changes to the settings after the Alert is created will have no effect on the existing Alert. In this case, the Alert should be recreated.
Alert notifications will only be generated for visible levels.
Other Alerts
Alert on expansion - Use this alert option if you want to be notified when price moves further from the anchored price, causing the retracement levels to adjust. This is useful if you have Limit orders at current levels and you want to cancel or move them when the levels change.
"Alert on mitigation" - Use this alert option if you want to be notified when the Fibonacci Retracement has been fully retraced.
The code for this indicator was inspired by the Fibonacci Toolkit by LuxAlgo
Support and Resistance Pivot Points/Lines [Mauserrifle]Support and Resistance Pivot Points/Lines by Mauserrifle. A personal take on drawing support and resistance pivot lines. This indicator was born as the core of bot strategies I am trying to build. I think this indicator with its feature called “Cooldown rounding” can be useful to others to manually scalp or analyze charts. I did not find other indicators to do the same so I hope you find it useful.
A summary of the features:
It will draw high/low pivot lines based on a maximum of eight higher timeframes
You can set up how many days the lines are valid and appear per timeframe. The default period days are based on a 2m chart strategy. Consider higher values for day charts.
The lines will be drawn from the moment when they are KNOWN, which helps analyzing historical charts. You can change this behavior to make them draw from the pivot (looking at future data on historic data)
The pivot point lines can be rounded by multiple methods: round, ceil/floor, roundn (decimal) and round_to_mintick. This general rounding feature is disabled by default because, in my opinion, a much more useful one can be used which I call “Cooldown rounding” described in the next point.
Cooldown rounding: Round lows and highs for a cooldown period to keep the previous pivot line instead of adding a new line when they match the rounded value within the cooldown period. The existing line will be extended. This feature is useful because it makes sure the initial line is added to the exact high/low pivot level but any future lines within the rounding will just extend the existing line. Consider using roundn on some intraday charts such as SPY 2m.
You can set a maximum minutes for the cooldown. The default is 3 years which is just based on some charting techniques for scalping 2m. It will just enable the cooldown rounding permanently on the intraday (due max bar limit) and with a limit on daily. Tweak it to your needs.
It is possible to always add new pivot lines when a new high is higher or low is lower compared to previous line. Thus ignoring the rounding logic. Consider disabling it on intraday charts such as SPY 2m.
NOTE:
Only configured timeframes EQUAL/ABOVE your chart timeframe will activate
The default period days are optimized for a 2m intraday trading strategy. Consider higher values for day charts.
Max lines rendered is set to 500
Line calculation is limited by the max bars of the chart and date range
Repainting may happen on intraday when for example using a 2m chart timeframe with pivots on 15m+ (as documented by tradingview). Rendered days 7+ will also cause repainting issues on 2m charts. See tradingview support docs: 43000478429. For scalping manually using already known lines this shouldn't be a problem I think but be aware!
The default settings have been set so every chart timeframe will show lines without further configuration.
Keep an eye on the data window how many lines are rendered. Make sure you never exceed 500. Anything above will cause earlier lines to disappear which could be a problem when you use it to analyze historical data.
I hope you find this useful!
DISCLAIMER
Trading is risky & most day traders lose money. This indicator is purely for informational & educational purposes only. Past performance does not guarantee future results.
Double Top, Double Bottom & Head and Shoulders Patterns [ST]Double Top, Double Bottom & Head and Shoulders Patterns
Description in English:
This indicator identifies double top, double bottom, head and shoulders, and inverse head and shoulders patterns on a 4-hour timeframe. It marks the pivot points with circles and outlines the structures with lines, providing clear visual signals of these important reversal patterns.
The colors are customizable for each pattern type.
Detailed Explanation:
Configuration:
Pivot Length: This input defines the period over which pivot points are calculated. The default value is 10.
Circle Color: This input sets the color of the circles that mark the identified double top and double bottom patterns. The default color is blue.
Line Color: This input sets the color of the lines that circle the identified structures of double top and double bottom patterns. The default color is red.
Head and Shoulders Color: This input sets the color of the circles and lines that mark the head and shoulders patterns. The default color is orange.
Inverse Head and Shoulders Color: This input sets the color of the circles and lines that mark the inverse head and shoulders patterns. The default color is purple.
Pattern Identification:
Pivot High and Low: The script uses the pivothigh and pivotlow functions to identify local maxima and minima, essential for detecting the patterns.
Double Top: Identified when there are two pivot highs within the pivot length, and the second high is equal to the first. This pattern typically indicates a potential reversal from an uptrend to a downtrend.
Double Bottom: Identified when there are two pivot lows within the pivot length, and the second low is equal to the first. This pattern typically indicates a potential reversal from a downtrend to an uptrend.
Head and Shoulders: Identified when there is a higher pivot high (head) between two lower pivot highs (shoulders), indicating a potential reversal from an uptrend to a downtrend.
Inverse Head and Shoulders: Identified when there is a lower pivot low (head) between two higher pivot lows (shoulders), indicating a potential reversal from a downtrend to an uptrend.
Drawing Circles and Lines:
Double Top: Marked with blue circles and red lines.
Double Bottom: Marked with blue circles and red lines.
Head and Shoulders: Marked with orange circles and lines.
Inverse Head and Shoulders: Marked with purple circles and lines.
Indicator Benefits:
Pattern Identification: Helps traders identify key reversal patterns (double top, double bottom, head and shoulders, and inverse head and shoulders) on the 4-hour timeframe.
Visual Cues: Provides clear visual signals for these patterns, aiding in making informed trading decisions.
Customizable Parameters: Allows traders to adjust the pivot length, circle color, line color, head and shoulders color, and inverse head and shoulders color to suit different trading strategies and market conditions.
Justification of Component Combination:
Combining pivot point identification with pattern recognition provides a robust method for detecting significant reversal patterns. The visual cues enhance the trader's ability to quickly spot these patterns on the chart.
How Components Work Together:
The script first identifies pivot points based on the specified pivot length.
It then checks for the presence of double top, double bottom, head and shoulders, and inverse head and shoulders patterns using these pivot points.
When a pattern is identified, it is marked with a circle on the chart, and lines are drawn around the structure to provide a clear visual indication of the pattern's presence.
Título: Padrões de Morro Duplo, Fundo Duplo e Ombro-Cabeça-Ombro
Descrição em Português:
Este indicador identifica padrões de morro duplo, fundo duplo, ombro-cabeça-ombro e ombro-cabeça-ombro invertido no gráfico de 4 horas.
Ele marca os pontos de pivô com círculos e contorna as estruturas com linhas, fornecendo sinais visuais claros desses importantes padrões de reversão. As cores são personalizáveis para cada tipo de padrão.
Explicação Detalhada:
Configuração:
Comprimento do Pivô: Este input define o período sobre o qual os pontos de pivô são calculados. O valor padrão é 10.
Cor do Círculo: Este input define a cor dos círculos que marcam os padrões identificados de morro duplo e fundo duplo. A cor padrão é azul.
Cor da Linha: Este input define a cor das linhas que contornam as estruturas identificadas de morro duplo e fundo duplo. A cor padrão é vermelha.
Cor de Ombro-Cabeça-Ombro: Este input define a cor dos círculos e linhas que marcam os padrões de ombro-cabeça-ombro. A cor padrão é laranja.
Cor de Ombro-Cabeça-Ombro Invertido: Este input define a cor dos círculos e linhas que marcam os padrões de ombro-cabeça-ombro invertido. A cor padrão é lilás.
Identificação de Padrões:
Pivô Alto e Baixo: O script usa as funções pivothigh e pivotlow para identificar máximas e mínimas locais, essenciais para detectar os padrões.
Morro Duplo: Identificado quando há duas máximas de pivô dentro do comprimento do pivô, e a segunda máxima é igual à primeira. Este padrão geralmente indica uma reversão potencial de uma tendência de alta para uma tendência de baixa.
Fundo Duplo: Identificado quando há duas mínimas de pivô dentro do comprimento do pivô, e a segunda mínima é igual à primeira. Este padrão geralmente indica uma reversão potencial de uma tendência de baixa para uma tendência de alta.
Ombro-Cabeça-Ombro: Identificado quando há uma máxima de pivô mais alta (cabeça) entre duas máximas de pivô mais baixas (ombros), indicando uma reversão potencial de uma tendência de alta para uma tendência de baixa.
Ombro-Cabeça-Ombro Invertido: Identificado quando há uma mínima de pivô mais baixa (cabeça) entre duas mínimas de pivô mais altas (ombros), indicando uma reversão potencial de uma tendência de baixa para uma tendência de alta.
Desenho de Círculos e Linhas:
Morro Duplo: Marcado com círculos azuis e linhas vermelhas.
Fundo Duplo: Marcado com círculos azuis e linhas vermelhas.
Ombro-Cabeça-Ombro: Marcado com círculos e linhas laranjas.
Ombro-Cabeça-Ombro Invertido: Marcado com círculos e linhas lilás.
Benefícios do Indicador:
Identificação de Padrões: Ajuda os traders a identificar padrões-chave de reversão (morro duplo, fundo duplo, ombro-cabeça-ombro e ombro-cabeça-ombro invertido) no gráfico de 4 horas.
Sinais Visuais: Fornece sinais visuais claros para esses padrões, auxiliando na tomada de decisões informadas.
Parâmetros Personalizáveis: Permite que os traders ajustem o comprimento do pivô, a cor do círculo, a cor da linha, a cor de ombro-cabeça-ombro e a cor de ombro-cabeça-ombro invertido para se adequar a diferentes estratégias de negociação e condições de mercado.
Justificação da Combinação de Componentes:
Combinar a identificação de pontos de pivô com o reconhecimento de padrões fornece um método robusto para detectar padrões de reversão significativos. Os sinais visuais melhoram a capacidade do trader de identificar rapidamente esses padrões no gráfico.
Como os Componentes Funcionam Juntos:
O script primeiro identifica os pontos de pivô com base no comprimento do pivô especificado.
Em seguida, verifica a presença de padrões de morro duplo, fundo duplo, ombro-cabeça-ombro e ombro-cabeça-ombro invertido usando esses pontos de pivô.
Quando um padrão é identificado, ele é marcado com um círculo no gráfico, e linhas são desenhadas ao redor da estrutura para fornecer uma indicação visual clara da presença do padrão.
MultiTFlevels with Volume Display1. Overview
This indicator is intended for use on trading platforms like TradingView and provides the following features:
Volume Profile Analysis:
Shows cumulative volume delta (CVD) and displays buying and selling volumes.
Historical OHLC Levels:
Plots historical open, high, low, and close levels for various timeframes (e.g., daily, weekly, monthly).
Customizable Settings:
Allows users to toggle different elements and customize display options.
2. Inputs
Timeframe Display Toggles:
Users can choose to display OHLC levels from different timeframes such as previous month, week, day, 4H, 1H, 30M, 15M, and 5M.
CVD Display Toggle: Option to show or hide the Cumulative Volume Delta (CVD).
Line and Label Customization:
leftOffset and rightOffset: Define how far lines are extended left and right from the current bar.
colorMonth, colorWeek, etc.: Customize colors for different timeframe OHLC levels.
labelOffset and rightOffset: Control the positioning of volume labels.
3. Key Features
Cumulative Volume Delta (CVD)
Calculation:
Computes the cumulative volume delta by adding or subtracting the volume based on whether the close price is higher or lower than the open price.
Display:
Shows a label on the chart indicating the current CVD value and whether the market is leaning towards buying or selling.
Historical OHLC Levels
Data Retrieval:
Uses the request.security function to fetch OHLC data from different timeframes (e.g., monthly, weekly, daily).
Plotting:
Draws lines and labels on the chart to represent open, high, low, and close levels for each selected timeframe.
Buying and Selling Volumes
Calculation:
Calculates buying and selling volumes based on whether the close price is higher or lower than the open price.
Display:
Shows labels on the chart for buying and selling volumes.
4. Functions
getOHLC(timeframe)
Retrieves open, high, low, and close values from the specified timeframe.
plotOHLC(show, open, high, low, close, col, prefix)
Draws OHLC lines and labels on the chart for the given timeframe and color.
5. Usage
Chart Overlay: The indicator is overlaid on the main chart (i.e., it appears directly on the price chart).
Historical Analysis:
Useful for analyzing historical price levels and volume dynamics across different timeframes.
Volume Insights:
Helps traders understand the cumulative volume behavior and market sentiment through the CVD and volume labels.
In essence, this indicator provides a comprehensive view of historical price levels across multiple timeframes and the dynamics of market volume through CVD and volume labels. It can be particularly useful for traders looking to combine price action with volume analysis for a more in-depth market assessment.
SL ManagerSTOP LOSS MANAGER
Overview:
The "SL Manager" indicator is designed to assist traders in managing their stop loss (SL) and take profit (TP) levels for both long and short positions. This tool helps you visualize intermediate levels, enhancing your trading decisions by providing crucial information on the chart.
Usage:
This indicator is particularly useful for traders who want to manage their trades more effectively by visualizing potential adjustment points for their stop loss and take profit levels. It helps in making informed decisions to maximize profits and minimize risks by providing clear levels to take partial profits and adjust stop losses.
Features:
Position Input: Select between "long" and "short" positions.
Entry Price: Specify the entry price of your trade.
Take Profit: Define the price level at which you want to take profit.
Stop Loss: Set the stop loss price level to manage your risk.
Intermediate Levels:
For both long and short positions, the indicator calculates and plots the following intermediate levels:
50% Take Profit (TP 50%): Midway between the entry price and the take profit level, where you can take partial profits and move your SL up to the 25% mark.
75% Take Profit (TP 75%): Three-quarters of the way from the entry price to the take profit level, where you can take partial profits and move your SL to breakeven.
Stop Loss Move to 25% (SL Move to 25%): A level where the stop loss can be adjusted to lock in profits.
Visualization:
The indicator plots the calculated levels directly on the chart, provided the data for the current day is available. Different color codes and line styles distinguish between the various levels:
TP 50% and TP 75% are plotted in green.
SL Move to 25% is plotted in red .
Entry/Breakeven is plotted in blue.
Precise ATR Stop Loss - Daily Pullbacks [ST]Precise ATR Stop Loss - Daily Pullbacks
This indicator uses ATR (Average True Range) combined with the identification of pullback lows and highs on daily charts to calculate more precise stop loss levels.
How it works:
Identification of Pullbacks:
Pullback Lows: Identifies significant low points on daily charts that can serve as support.
Pullback Highs: Identifies significant high points on daily charts that can serve as resistance.
ATR (Average True Range):
Measures market volatility and is used to adjust stop loss levels according to market conditions.
Dynamic Stop Loss:
Stop Loss for Uptrend:
When a pullback low is identified on a daily chart, the stop loss is set slightly below this point, adjusted by the ATR.
This level is shown by a green line on the chart.
Stop Loss for Downtrend:
When a pullback high is identified on a daily chart, the stop loss is set slightly above this point, adjusted by the ATR.
This level is shown by a red line on the chart.
Indicator Benefits:
Improved Precision: Uses significant pullback points on daily charts to set stops more accurately.
Dynamic Stop Loss:
Automatically adjusts stop loss levels according to market volatility, providing more effective risk management.
Título: Precise ATR Stop Loss - Daily Pullbacks
Descrição em Português:
Este indicador utiliza o ATR (Average True Range) combinado com a identificação de fundos e topos de pullback em gráficos diários para calcular níveis de stop loss mais precisos.
Como funciona:
Identificação de Pullbacks:
Fundos de Pullback: Identifica pontos de mínima significativos em gráficos diários que podem servir como suporte.
Topos de Pullback: Identifica pontos de máxima significativos em gráficos diários que podem servir como resistência.
ATR (Average True Range):
Mede a volatilidade do mercado e é utilizado para ajustar os níveis de stop loss de acordo com as condições do mercado.
Stop Loss Dinâmico:
Stop Loss para Tendência de Alta: Quando um fundo de pullback é identificado em um gráfico diário, o stop loss é colocado um pouco abaixo desse ponto, ajustado pelo ATR. Este nível é mostrado por uma linha verde no gráfico.
Stop Loss para Tendência de Baixa: Quando um topo de pullback é identificado em um gráfico diário, o stop loss é colocado um pouco acima desse ponto, ajustado pelo ATR. Este nível é mostrado por uma linha vermelha no gráfico.
Benefícios do Indicador:
Precisão Melhorada: Utiliza pontos de pullback significativos em gráficos diários para posicionar stops de forma mais precisa.
Stop Loss Dinâmico: Ajusta automaticamente os níveis de stop loss de acordo com a volatilidade do mercado, proporcionando uma gestão de risco mais eficaz.
ICT Power Of Three | Flux Charts💎 GENERAL OVERVIEW
Introducing our new ICT Power Of Three Indicator! This indicator is built around the ICT's "Power Of Three" strategy. This strategy makes use of these 3 key smart money concepts : Accumulation, Manipulation and Distribution. Each step is explained in detail within this write-up. For more information about the process, check the "HOW DOES IT WORK" section.
Features of the new ICT Power Of Three Indicator :
Implementation of ICT's Power Of Three Strategy
Different Algorithm Modes
Customizable Execution Settings
Customizable Backtesting Dashboard
Alerts for Buy, Sell, TP & SL Signals
📌 HOW DOES IT WORK ?
The "Power Of Three" comes from these three keywords "Accumulation, Manipulation and Distribution". Here is a brief explanation of each keyword :
Accumulation -> Accumulation phase is when the smart money accumulate their positions in a fixed range. This phase indicates price stability, generally meaning that the price constantly switches between up & down trend between a low and a high pivot point. When the indicator detects an accumulation zone, the Power Of Three strategy begins.
Manipulation -> When the smart money needs to increase their position sizes, they need retail traders' positions for liquidity. So, they manipulate the market into the opposite direction of their intended direction. This will result in retail traders opening positions the way that the smart money intended them to do, creating liquidity. After this step, the real move that the smart money intended begins.
Distribution -> This is when the real intention of the smart money comes into action. With the new liquidity thanks to the manipulation phase, the smart money add their positions towards the opposite direction of the retail mindset. The purpose of this indicator is to detect the accumulation and manipulation phases, and help the trader move towards the same direction as the smart money for their trades.
Detection Methods Of The Indicator :
Accumulation -> The indicator detects accumulation zones as explained step-by-step :
1. Draw two lines from the lowest point and the highest point of the latest X bars.
2. If the (high line - low line) is lower than Average True Range (ATR) * accumulationConstant
3. After the condition is validated, an accumulation zone is detected. The accumulation zone will be invalidated and manipulation phase will begin when the range is broken.
Manipulation -> If the accumulation range is broken, check if the current bar closes / wicks above the (high line + ATR * manipulationConstant) or below the (low line - ATR * manipulationConstant). If the condition is met, the indicator detects a manipulation zone.
Distribution -> The purpose of this indicator is to try to foresee the distribution zone, so instead of a detection, after the manipulation zone is detected the indicator automatically create a "shadow" distribution zone towards the opposite direction of the freshly detected manipulation zone. This shadow distribution zone comes with a take-profit and stop-loss layout, customizable by the trader in the settings.
The X bars, accumulationConstant and manipulationConstant are subject to change with the "Algorithm Mode" setting. Read the "Settings" section for more information.
This indicator follows these steps and inform you step by step by plotting them in your chart.
🚩UNIQUENESS
This indicator is an all-in-one suite for the ICT's Power Of Three concept. It's capable of plotting the strategy, giving signals, a backtesting dashboard and alerts feature. Different and customizable algorithm modes will help the trader fine-tune the indicator for the asset they are currently trading. The backtesting dashboard allows you to see how your settings perform in the current ticker. You can also set up alerts to get informed when the strategy is executable for different tickers.
⚙️SETTINGS
1. General Configuration
Algorithm Mode -> The indicator offers 3 different detection algorithm modes according to your needs. Here is the explanation of each mode.
a) Small Manipulation
This mode has the default bar length for the accumulation detection, but a lower manipulation constant, meaning that slighter imbalances in the price action can be detected as manipulation. This setting can be useful on tickers that have lower liquidity, thus can be manipulated easier.
b) Big Manipulation
This mode has the default bar length for the accumulation detection, but a higher manipulation constant, meaning that heavier imbalances on the price action are required in order to detect manipulation zones. This setting can be useful on tickers that have higher liquidity, thus can be manipulated harder.
c) Short Accumulation
This mode has a ~70% lower bar length requirement for accumulation zone detection, and the default manipulation constant. This setting can be useful on tickers that are highly volatile and do not enter accumulation phases too often.
Breakout Method -> If "Close" is selected, bar close price will be taken into calculation when Accumulation & Manipulation zone invalidation. If "Wick" is selected, a wick will be enough to validate the corresponding zone.
2. TP / SL
TP / SL Method -> If "Fixed" is selected, you can adjust the TP / SL ratios from the settings below. If "Dynamic" is selected, the TP / SL zones will be auto-determined by the algorithm.
Risk -> The risk you're willing to take if "Dynamic" TP / SL Method is selected. Higher risk usually means a better winrate at the cost of losing more if the strategy fails. This setting is has a crucial effect on the performance of the indicator, as different tickers may have different volatility so the indicator may have increased performance when this setting is correctly adjusted.
3. Visuals
Show Zones -> Enables / Disables rendering of Accumulation (yellow) and Manipulation (red) zones.
Important Levels by Sandun Kolambage
### Pine Script Indicator: Important Levels by Sandun Kolambage
#### Description
Introducing our new pivot point and high/low indicator for TradingView! This indicator is designed to help traders identify key levels of support and resistance across different timeframes, from daily to yearly. By analyzing historical data and market trends, our indicator displays the most important pivot points and high/low levels, giving you a better understanding of market dynamics and potential trading opportunities.
Whether you're a day trader, swing trader, or long-term investor, our indicator can help you optimize your trading strategy and achieve your financial goals. Install our indicator on TradingView today and start taking advantage of these important levels!
#### Key Features
- **Daily, Weekly, Monthly, and Yearly Levels:** Automatically plots the open, high, low, and close prices for different timeframes to help traders identify significant levels.
- **Pivot Points:** Calculates and displays pivot points for weekly, monthly, and yearly timeframes, providing additional support and resistance levels.
- **Customizable Line Styles:** Offers options to customize the appearance of the lines (solid, dashed, or dotted) for better visualization.
- **Conditional Coloring:** Uses color coding to highlight the relationship between different timeframe closes, making it easy to spot important levels.
#### How It Works
1. **Daily, Weekly, Monthly, and Yearly Levels:**
- The indicator uses `request.security` to fetch and display open, high, low, and close prices for daily, weekly, monthly, and yearly timeframes.
- Lines are plotted at these key levels with colors indicating their relationship to closes of other timeframes.
2. **Pivot Points:**
- Pivot points are calculated using the formula \((High + Low + Close) / 3\).
- These pivot points are plotted on the chart and labeled clearly to indicate potential support and resistance areas.
3. **Customizable Line Styles:**
- Users can select from solid, dashed, or dotted lines to represent the key levels and pivot points for better clarity and personal preference.
4. **Conditional Coloring:**
- The indicator applies conditional coloring to the lines based on the comparison of current close prices across different timeframes. Yellow indicates lower closes, and red indicates higher closes, making it easy to identify important price levels quickly.
#### Usage Instructions
1. **Enable Key Levels:**
- Toggle the "Daily Weekly Monthly High/Low" option to display or hide the respective levels.
- Select your preferred line style (solid, dashed, dotted) for better visibility.
2. **Display Pivot Points:**
- Toggle the "Pivot" option to show or hide the weekly, monthly, and yearly pivot points on the chart.
3. **Interpret Color Coding:**
- Yellow lines indicate levels where the close price is lower compared to a specific timeframe close.
- Red lines indicate levels where the close price is higher compared to a specific timeframe close.
- Specific colors for yearly levels and pivots are used to distinguish them clearly on the chart.
By following these guidelines, traders can effectively use this indicator to identify critical price levels and make informed trading decisions.
Algo Market Structure (Nephew_Sam_)This indicator takes a different approach into reading market structure.
The key difference between this logic compared to the pivot logic is; we read highs and lows based on bullish and bearish candles. Ie:
Pivot method - highest/lowest point in previous and next X candles
Algo method - Bullish candle(s) followed by a bearish candle and vice versa
More explanation in each of the key feature below.
Here are all of the concepts and features included in the indicator:
Timeframe
- You can select the timeframe of the indicator (has to be higher or equal to the chart timeframe)
- Min option is the minimum timeframe to show the indicator. If you show daily structure on 1m chart, you can run into a timeout error so keep it close to the chart timeframe.
- Recommended timeframe for no bugs is the current chart timeframe.
Structure
The structure is calculated using a combination of candle patterns (ie. pivot top = Bullish x3-Bearish-Bullish) and marks out circle labels after a new HH or LL
Structure high = 1 or more consecutive bull candles followed by a bear candle
Structure low = 1 or more consecutive bear candles followed by a bull candle
Structure direction change = when the second previous H/L is taken out (TLQ)
ILQ - Inducement Liquidity concept
In a bearish example this is the most recent structure high.
TLQ
In a bearish example this is the second most recent structure high.
This is also what helps define our structure direction. If broken, the structure changes (bullish / bearish) and plots a bos line.
EPA - Efficient price action
When price returns back to previous structure point after bos. Similar to an ICT breaker.
Note: It might be a little, just a little buggy if you have set your indicator timeframe to higher than the chart timeframe.
Extremes Zones
The final zone to find a trade entry before a structural shift. These are wick of the TLQ candle. This is select the wick of the current timeframe candle even if indicator is set to higher timeframe.
MSU
Tiny arrow labels at the bottom of your chart. Plots the arrows when price is between an ILQ and TLQ
VTA
Valid trading range. This is when we get some sort of a structure pattern. Plots a box when price induces previous structure point and then breaks structure in the opposite direction. Here are the patterns:
Bull VTA - HH-LL-HH
Bear VTA - LL-HH-LL
Bull Strict VTA - LL-HH-LL-HH
Bear Strict VTA - HH-LL-HH-LL
Bar colors
Changes the bar color based on the structure to all green/red.
Note: for this to work, you will have to right click on the indicator, then under visual order select 'bring to front'
Table
This table plots the structure stats/data
1. If structure is bullish / bearish
2. If price is efficient or not
3. If there is an MSU
4. If price is inside a VTA
Disclaimer: This indicator is fully written from scratch by me, the idea behind the concepts come from AlgoHub material on Youtube. Do NOT use this code for reselling purposes and if anything is created using any part of this code, the source code should be public.
Harmonic Patterns [WinWorld]PREFACE
This indicator was made with the help of our team's fellow friend and harmonic patterns expert, whose support we deeply appreciate — @Muneer_Gove
DESCRIPTION
Harmonic patterns are one the most recognizable and popular trading concepts in the word of trading.
They are distinct formations, found in the financial markets, that predict potential price movements based on Fibonacci ratios. These patterns, which include the Gartley, Bat, Alt Bat, Butterfly and etc., identify specific and repetitive price structures that can forecast future price reversals. By incorporating these patterns into trading process, one does gain an opportunity to profit from repetetitve price movements.
The whole thing about harmonic pattern is the process of finding them. The basic step-by-step guide to build a harmonic pattern is this:
Locate significant highs and lows on the chart, which form the basis of the pattern. The best tools to use for this purple is zigzag, because zigzag indicator draw lines, which will be helpful quite helpful in the process and will save you a lot of time;
Use Fibonacci tools to measure the retracement and extension levels between legs of pattern — distances between pair of points . Each harmonic pattern has specific Fibonacci ratios that define its structure;
Draw lines connecting the pivot points according to the pattern's structure. For example, a Gartley pattern connects five points (X, A, B, C, D) in a specific sequence and ratio;
Ensure that the identified structure adheres to the harmonic pattern’s Fibonacci requirements. If the points align within the acceptable ranges, the pattern is valid.
In order to better understand this process let's see an example of the pattern from our indicator right away:
This is a Butterfly pattern. Its set of retracememt ratios is as follows:
AB/XA = 0.756 to 0.816
BC/AB = 0.382 to 0.990
CD/BC = 1.618 to 2.618
AD/XA = 1.27
Below you can see that each ratio of the pattern is successfully met:
* Note : white lines — ratio range, yellow line — point 's price level in between ranges.
AB/XA Ratio
BC/AB Ratio
CD/BC Ratio
AD/XA Ratio
SETTINGS
Main Settings
Failed Patterns — shows/hides patterns, which meet one of these conditions:
— Price crossed level of point C before reaching PRZ;
— New pattern appeared and PRZ of previous pattern was not reached;
Completed Patterns — shosw/hides patterns, whose PRZ was reached;
Dashboard — shows/hides dashboard, which displays active patterns (patterns, which can be used to trade).
Alert Settings
PRZ — enables/disables alert of event, when price reaches PRZ.
ZigZag Settings
Depth #1-9 — shows/hides patterns of the chosen zigzag copy. Here you can choose customize depth number.
Pattern Visual Controls
Bullish Patterns — shows/hides bullish patterns;
Bearish Patterns — shows/hides bearish patterns;
Pending Patterns — shows/hides patterns, whose PRZ has not been reached yet;
list of pattern names — hides/shows chosen pattern.
Colours
Bullish — colour of bullish patterns;
Bearish — colour of bearish patterns.
IMPORTANT CONCEPTS
PRZ — entry target level.
If its text near the line level is purple, it means that PRZ has NOT been reached yet.
If it is white, it means that PRZ has been reached.
In order for SL or TP to be counted when price reaches, price has to reach PRZ first with its high/low.
SL — stop-loss.
If its near the line level is red, it means that SL has NOT been reached yet.
If it is white, it means that SL has been reached.
If it is gray, it means that SL has been invalidated — price crossed with high/low the level of point C before reaching PRZ.
If SL is reached and price reaches TP targets, they will be counted.
SL of each pattern are built by individual ratio. For example, in Butterfly pattern SL ratio is 1.414 and it is calculated as (SL - A)/XA.
IMPORTANT NOTE : SL is reached when price crosses SL level with candle's close (!)
TP — take-profit.
If its near the line level is green, it means that TP has NOT been reached yet.
If it is white, it means that TP has been reached.
If one of the TP targets is reached and price reached SL, it will not be counted.
IMPORTANT NOTE : TP is reached when price crosses TP level with candle's high/low(!)
TP of each pattern are built by same the ratios for all patterns, but it is calculated by individual algorithm. For example, in the same Butterfly pattern TP ratio will be 0.382, 0.500 and 0.618 and they will be placed as Fibonacci retracement grid from point A to point D ( same for formula for all other patterns, excluding the ones listed next ), BUT on Shark , Muner and AB=CD pattern the same TP will be placed as Fibonacci retracement grid from point C to point D
WHY USE THIS INDICATOR?
Our Harmic Patterns indicator uses zigzag, which is based on depth mechanic. In order to identify the maximum possible amount of patterns this indicator runs 9 copies of the same zigzags with different depth values. Each copy of zigzag can be turned off in the settings individually.
At the moment of publishing, this indicator can autmatically identify 10 patterns:
Crab
Deep Crab
Gartley
Deep Gartley
Bat
Alt Bat
Muner
Butterfly
Shark
AB=CD
Things, that make this indicator different from other harmonic pattern indicator, are:
Advanced pattern recognition and validation process. We have implemeted special logic, which allows the indicator to draw fully accurate patterns, which satisfy industry standards.
For example, let's say we have a bearish pattern. We take points X an A. If there is a price's high, that is above X point's high, such pattern should be automatically invalidated. We have found even one indicator that does perform such validation process, and our indicator does that. . And this is just one example, we have much of such mechanics implemeted thanks to Mr. Muner's knowledge.
Advanced pattern extension mechanics . Right this mechanic applies to only one pattern — Shark. Its classic CD/BC ratio is 0.886, but when price moves in a way so this ratio now equals to 1.13, this signal the indicator to redraw the pattern, based on this new CD/BC ratio. We haven't found any indicator on the market that has such mechanic implemented.
Dashboard for displaying active patterns . On this dashboard you can find patterns, whose SL and TP have not been touched yet. If price touches the SL or TP of the pattern, this pattern is removed from the dashboard, because it is considered finished.
At the moment of publishing this dashboard only shows the patterns from the current timeframe.
Informative alert when price reaches PRZ of the pattern . Many other indicator do not provide details of this event, which requires trader to waste his time on opening up the chart and searching for this event. Our indicator allows trader to see the PRZ price right when alert happens and open up the trade much fastr.
Alert message is made by this template:
, : PRZ was reached at on
Example:
BTCUSDT, long Bat: PRZ was reached at 70,000 on 15m.
ALERTS
At the moment of publishing this indicator offers one alert, which happens when price reaches PRZ level.
HOW CAN I GET THE MOST OUT OF THIS INDICATOR?
This indicator can act as the standalone tool, because PRZ, TP and SL are assigned to each pattern and tracked during the pattern's life period.
You can this indicator with any other strategy or indicator, because this indicator is basically a tool that shows the trader repetitive price formations, after which price tends to go a certaion direction in the most cases, allowing trader to profit from it.
You can try combining Harmonic Patterns indicator with Smart Money tools, made by our team, because Smart Money strategies basically show the most liquid price zones and levels, which can be used to find an entry opportunity and Harmonic Patterns indicator can be added to make a final decision on the entry.
If you are interested in trying these two strategies together, feel free to learn Smart Money trading strategy by reading our Advanced SMC guide, which is available in our eductional materials.
SUMMARY
Harmonic Patterns indicator is an advanced tool of technical analysis, which automatically finds 10 most used harmonic patterns on the chart, assign PRZ, TP and SL targets to them and tracks them during each pattern 'life period'.
While searching for these patterns, this indicator performs series of validation techniques, that allow trader to see only the most valid patterns, which have a higher changes to succeed.
This indicator can be used both as a standalone tool and as 'team player' for any stategy by being the tool, which can be used for making a final decision on an entry target.
AFTERWORD
This indicator has been developed for more than 2 weeks, which consisted of everyday discussions, bug fixes and special additons to the algorithm in order to making patterns more valid, so we really hope you will find a great use of this indicator and it will help you recude time on the analysis and boost your profits :)
We want to express our gratitude to @Muneer_Gove once again, because he has done huge job helping us fine-tuning the algorithm, building complex pattern validatiom and extension logic and fixing bugs. Thank you!
Best of luck , traders!
— with love, WinWorld Team
Previous Highs & Lows [LuxAlgo]The Previous Highs & Lows indicator highlights a user-set amount of previous maximum/minimum prices made within specific intervals, these are displayed as levels customizable levels.
Additionally, one upper and lower zone constructed from the previously displayed highs/lows is included, providing support/resistance areas.
🔶 USAGE
Previous highs/lows are often perceived as key trading levels with the potential of generating multiple reactions upon being reached.
While the daily interval is more commonly used, users can use different intervals, with the indicator supporting hourly, daily, weekly, monthly, and yearly intervals. Using higher intervals on low timeframes can return more distant levels relative to the most recent price, which might not be relevant.
Each level is numbered, with more recent previous highs/lows having a lower number associated with them, users can also highlight more recent levels through a transparency gradient.
Users can control the amount of previous highs/lows displayed using the "Show Last" settings, with a higher value providing more potential support/resistance. Returned previous highs/lows can eventually be filtered out based on their position by enabling the "Filter Based On Position" setting, only keeping previous highs above the current closing price and previous lows below the current closing price, giving more relevant levels as a result.
🔹 Previous High/Low Areas
The indicator includes two areas constructed from the respective percentiles of the returned previous highs/lows. These can be useful as more general support/resistance areas.
Wider areas are often indicative of a group of previous highs or lows being more dispersed, resulting in areas that are easier to reach. Wider areas can also be obtained by increasing the "Areas Width" setting.
Note: Areas will only be displayed if "Show Last" is greater than 1
🔶 SETTINGS
Show Last: Determines the amount of more recent previous highs and previous low levels displayed by the indicator.
Interval: Interval used to capture maximum/minimum price values,
Areas Width: Width of the displayed top/bottom areas, with higher values returning wider areas.
Filter Based On Position: When enabled only display previous highs above the current closing price and previous lows below the current closing price.
🔹 Style
Minimum Gradient Transparency: Minimum transparency value applied to the colors of the oldest displayed previous highs/lows levels.
High and Low of Last 5 Trading Days### Indicator Description: High and Low of Last 5 Trading Days
**Indicator Name:** High and Low of Last 5 Trading Days
**Purpose:**
This indicator plots the high and low levels for each of the last 5 trading days on your TradingView chart. It helps traders to visualize important price levels from the recent trading history, which can act as potential support and resistance levels.
**Features:**
1. **Daily High and Low Levels:** Plots the high and low prices for each of the last 5 trading days.
2. **Unique Colors for Each Day:** Each trading day's high and low levels are color-coded uniquely for easy identification.
3. **Solid Lines:** The high and low levels are represented by solid lines for better visibility.
4. **Day Labels:** The lines are labeled with the corresponding day and whether it is a high or low level (e.g., "MON HI", "MON LO").
5. **Dynamic Updates:** The levels and labels are updated at the beginning of each new day, ensuring that the most recent 5 days are always displayed.
**Usage:**
- **Support and Resistance:** Identify key support and resistance levels based on the previous 5 days' high and low prices.
- **Trend Analysis:** Determine the recent price trend by observing the relative positioning of the daily high and low levels.
- **Price Action:** Analyze price action around these levels to make informed trading decisions.
**Configuration:**
- The indicator does not require any user input. It automatically calculates and displays the high and low levels for the past 5 trading days.
**Visual Elements:**
- **Lines:** Solid lines in different colors (red, green, teal, purple, orange) represent the high and low levels.
- **Labels:** Text labels at the right end of each line indicate the day and whether it is a high or low level (e.g., "MON HI", "TUE LO").
This indicator provides a clear visual representation of significant price levels from the recent trading history, aiding traders in their technical analysis and decision-making process.
Automated Round Number Crossing Analysis [@Mishu]Hello, TradingView community! I'm thrilled to present the "Automated Round Number Crossing Analysis" script, a sophisticated tool designed to help traders identify and analyze key psychological thresholds in the financial markets. This indicator leverages the concept of round numbers to enhance trading strategies, providing a comprehensive analysis of price levels and their interactions.
Key Features:
Round Number Levels: This script automatically calculates and plots multiple round number levels based on a user-defined middle price (MRN) and gap value. These levels are displayed on the chart, allowing traders to visually identify significant price points.
Crossing Analysis: The script counts various types of crossings for each round number level within a specified lookback period:
Cross Up: The price crosses above the level.
Cross Down: The price crosses below the level.
High Over Close Below: The high of the bar is above the level, but the close is below.
Low Under Close Above: The low of the bar is below the level, but the close is above.
Table Display: Users can enable a detailed table that summarizes the crossing counts and percentages for each level. The table is highly customizable, with options to adjust its position, text size, and the data displayed.
Customizable Plot Settings: Users have the flexibility to show or hide the levels and their labels. The script provides various customization options for label positions, colors, and text styles, ensuring that the indicator can be tailored to individual preferences.
Comprehensive Analysis: By analyzing price interactions with round number levels, traders can gain insights into potential support and resistance zones. This can be particularly useful for developing and refining trading strategies.
Table Display Details:
The table shows the following information for each level:
Level Name: Identifies the round number level.
Cross Up Count: Number of times the price crossed above the level.
Cross Down Count: Number of times the price crossed below the level.
High Over Close Below Count: Number of times the high was above but the close was below the level.
Low Under Close Above Count: Number of times the low was below but the close was above the level.
Total Crossings: The sum of all crossing counts for the level.
Percentage of Total Crossings: The percentage of the total crossings that each level represents, providing a relative measure of the activity at each level.
How It Works:
Input Settings:
Starting Price (Middle) (MRN): The central price around which round numbers are calculated.
Gap: The interval between each round number level.
Lookback Period: The number of bars to consider for crossing analysis.
Table and plot customization options to adjust the display according to user preferences.
Level Calculation: The script calculates multiple levels above and below the MRN using the specified gap.
Crossing Counts: The script uses built-in Pine Script functions to count the various types of crossings for each level. It tracks these counts over the lookback period, updating them as new bars are added.
Table Display: If enabled, a table is displayed on the chart showing the crossing counts and percentages for each level. This table helps traders quickly understand the significance of each level.
Labels and Plots: The script plots the levels on the chart and optionally displays labels indicating the level names and their corresponding prices. These labels are updated in real-time as the chart evolves.
Usage:
Support and Resistance Identification: The indicator helps traders identify potential support and resistance zones based on round numbers, which are often psychological levels in the market.
Strategy Development: By analyzing how often the price interacts with these levels, traders can develop strategies that take advantage of these key points.
Market Analysis: The comprehensive crossing analysis provides deeper insights into market behavior, allowing for more informed trading decisions.
Example Use Case:
Imagine you are trading the S&P 500 and want to identify key levels where the price might reverse or accelerate. By setting the MRN to the current price and adjusting the gap to a suitable value (e.g., 50 points), the script will plot horizontal lines at these intervals. The crossing analysis will then show how often the price interacts with these levels, helping you pinpoint significant zones for potential trades.
This script is a valuable addition to any trader's toolkit, providing a structured way to analyze round number levels and their impact on price action. I hope you find it useful for your trading activities. Happy trading!