ICTProTools | ICT Insight - Momentum Structures🚀 INTRODUCTION
The Momentum Structures Indicator builds upon the principles of ICT (Inner Circle Trader) and Smart Money Concepts (SMC) to give traders a clearer view of market dynamics. These methods reveal how institutional trading activity shapes price movements, particularly through different types of market liquidity.
The indicator is designed to provide traders with advanced insights into market dynamics by focusing on key price imbalances and higher-timeframe structures . By combining these elements, the indicator allows users to analyze price behavior across multiple timeframes, helping them anticipate potential liquidity pools and price reversals. The emphasis on price imbalances and liquidity zones makes it a versatile tool for both intraday and longer-term strategies, providing critical insights for understanding market cycles and potential turning points.
💎 FEATURES
Imbalance Bar Colors / Zones
Imbalances are fundamental components of the ICT methodology, highlighting areas where price accelerates, creating gaps that may indicate a lack of liquidity . These voids often point to potential reversal or continuation zones in the price action.
An imbalance typically arises when supply and demand are out of balance, resulting in a gap between price levels. Traders keep a close eye on these gaps, as they could present opportunities to enter trades when the price revisits them , as they suggest a strong institutional interest.
We can notice two types of imbalances… A Fair Value Gap (FVG) usually forms from three consecutive candles, defining the space between the wicks of the first and last candle. Conversely, a Volume Imbalance (VI) occurs when a gap appears between the opening and closing prices of two consecutive candles. When these imbalances align with FVGs, they offer a well-rounded framework for assessing market strength.
By analyzing both FVGs and VIs together, traders can gain valuable insight into potential price movements and better evaluate the likelihood of continuation or reversal.
This chart illustrates the Fair Value Gaps (FVG) and Volume Imbalances (VI) within the GBPUSD price action. The FVG Bar Color and FVG Zone represent the same Fair Value Gaps, and similarly, the VI Bar Color and VI Zone display the same Volume Imbalances. They highlight areas where rapid price movements have created gaps in the market. These gaps indicate potential zones for trade entries or exits as the price may return to fill them. As we can see on the chart, the major part of imbalances created has already been filled. They constitute really interesting Point of Interest (POI).
The 50% FVG line marks the midpoint of the gap, which is often considered an important level for price action. A clear example appears in the Bearish FVG on the top left, where price first filled it below the midline, creating a small reaction. The price then liquidated this "fake mitigation" by moving just above the midline before beginning its significant downward movement. This demonstrates the crucial role of imbalances and how precisely price interacts with them.
Traders can use this information to identify potential buying or selling opportunities based on the interaction of price with these gaps and volume imbalances, aiding in the development of their trading strategies.
PO3 Candles (Power of Three)
The Power of Three is a critical concept in the ICT methodology that analyzes Higher Timeframe (HTF) candles focusing on the opening price, high wick, low wick, and closing price. This framework helps traders understand the current market cycle, in three phases , and its trading implications.
Accumulation Phase: In this initial phase, the price consolidates around the opening price as the market gathers liquidity. This often signals that larger players are positioning for the next move.
Manipulation Phase: Represented by the candle wicks, this phase indicates the extreme points where liquidity grabs often occur. Observing these wicks helps traders identify the end of the accumulation phase and potential turning points.
Distribution Phase: The candle body reflects a decisive price movement in one direction , following accumulation and manipulation. Traders align with the direction of this phase to capture the “real candle move”.
Our indicator provides you with the valuable capability to integrate the True Day Range, as defined by ICT. This concept, rooted in institutional logic, defines a trading day as starting at 00:00 New York time. You can customize it to match your trading style and analysis needs.
You can also overlay imbalances (FVG and VI) directly onto PO3 Candles, seamlessly combining imbalance detection with high-timeframe price action. This approach gives you a sharper market perspective, uncovering potential turning points with greater clarity.
In summary, PO3 Candles help traders assess the market structure and identify cycle positions on HTF candles, enabling them to make more strategic trading decisions, which allows for better entry and exit timing, avoiding traps, and seizing the best opportunities to capture significant market moves.
This chart illustrates the application of the Power of Three concept to EURUSD price action, highlighting key phases of market behavior.
In this example, we observe the Daily candles, where a significant Bullish imbalance appears from previous days, forming a Fair Value Gap (FVG). Additionally, there’s a small Volume Imbalance (VI) at the candle's opening, signaling liquidity that the price needs to fill.
Now, focusing on the Weekly candle, we can clearly identify its phases. First, there's an accumulation phase around the opening price, which, as shown by the Daily candles, took some time to develop. Then, the manipulation phase occurs, signaled by the upper wick of the Weekly candle, which liquidates the previously created accumulation. It’s time to look for a potential selling position... Finally, the price falls, beginning to form its bearish body and completing the real move of the week.
This framework allows traders to better understand the market structure and make informed decisions based on the current cycle.
Standard Deviation (STD)
The Standard Deviation (STD) is a concept within the ICT methodology that focuses on identifying periods of consolidation within the market. Specifically, it examines the Central Bank Dealers Range (CBDR) , which occurs between 13:00 and 23:00 New York time. During this period, the market often exhibits consolidation , creating an environment where price action stabilizes before making significant moves.
This consolidation forms the basis of the Standard Deviation (STD) concept. This is based on the idea that the volatility observed during this consolidation phase can be used to anticipate future market volatility. Once this consolidation is identified, the STD framework duplicates the established range both above and below the consolidation area.
As price approaches these duplicated levels, it offers traders critical information on where to anticipate potential reactions. If the price nears the upper boundary of the consolidation, it suggests a potential reversal point, indicating an opportunity to consider selling. Conversely, if the price approaches the lower boundary, it may signal an opportunity to look for buying positions . This duplication could enable traders to determine potential high and low points for the trading day or week for example.
Finally, the Standard Deviation (STD) concept provides a valuable framework for identifying potential key reaction points in the market by leveraging consolidation within the CBDR. By duplicating these ranges, traders can anticipate significant price movements and refine their strategies.
This chart illustrates the Standard Deviation (STD) concept applied to EURUSD price action. The highlighted areas in blue indicate high duplications and low duplications derived from the consolidation identified during the Central Bank Dealing Range (CBDR), marked by the dark gray rectangle.
The high duplications represent potential resistance levels, suggesting areas where the price may encounter selling pressure, while the low duplications signify potential support levels, indicating where buying interest could emerge.
The annotations emphasize how price reacts at these duplicated levels, showing the critical role of the STD in determining where price movements may stall or reverse. In this example, the price responded perfectly to both an upward and a downward duplication, confirming that these levels could represent the day's high and low, an observation validated here. This highlights the precision of price movements, with the price stopping exactly at the full duplication levels (but we can not that the price could also have paused at the midline levels, indicated by the dashed gray lines).
This visualization helps traders anticipate potential reactions and align their strategies with market dynamics, ensuring informed decision-making based on established price behavior.
✨ SETTINGS
Imbalance Bar Colors / Zones: Choose to display FVGs, VIs, or both, with customizable color settings. Choose to extend zones or set them to be removed when mitigated.
PO3 Candles: Customize the PO3 Candles for different timeframes (Daily, Weekly, Monthly), including the calculation Mode (Classic or True Day Range) and timezone associated, and set your body, border, and wick preferred colors. The Imbalance Bar Color and FVG Zones can also be displayed on these HTF candles, as they are configured in their settings.
STD: Select the timeframe on which to base it and configure the number of duplications and midline settings. You can also define the time range and timezone related to consolidation detection, giving you control over when and where the STD should apply.
🎯 CONCLUSION
The Momentum Structures Indicator combines the core principles of ICT and Smart Money Concepts to provide traders with advanced tools for understanding market dynamics. By focusing on key elements like imbalances and liquidity zones, it offers a comprehensive framework for analyzing price behavior. This indicator empowers traders to identify key market phases, anticipate potential reversals, and refine their entry and exit points with precision. While its features provide a valuable edge, it’s essential to remember that none should be used on its own and many more factors go into being a profitable trader.
Multitimeframe
ICTProTools | ICT Insight - Time & Price Zones🚀 INTRODUCTION
The Time and Price Zones indicator builds upon the foundational concepts of ICT (Inner Circle Trader) and Smart Money Concepts (SMC). These methodologies analyze the behavior of institutional traders (known as "smart money") by focusing on liquidity, key price levels, and market timing.
Liquidity refers to areas with high concentrations of pending orders (stops, take-profits, entries) in the market. Large institutions efficiently need to execute their massive orders without causing excessive slippage. To achieve this, they strategically create and exploit liquidity pools by driving the price toward areas where retail traders cluster their positions.
Then, through "liquidity grabs" or "stop hunts,” institutions accumulate or distribute positions at optimal prices . This strategy allows them to fill large orders with minimal market impact, typically clearing out retail traders' positions before the price reverses.
This indicator helps traders apply these principles by merging time-based and price-based analysis tools for better market understanding. By combining high-impact sessions like Kill Zones with pivotal price markers such as Previous Highs and Lows, traders can see where institutional activity intersects with liquidity pools, improving their decision-making.
This powerful combination allows users to monitor market dynamics in real time, helping them spot sentiment shifts and identify crucial turning points more effectively.
💎 FEATURES
Kill Zones
Kill Zones are critical periods of the trading day characterized by heightened institutional activity, resulting in increased liquidity and significant price movements. By recognizing these zones, you can strategically focus your efforts on the most advantageous moments for trading.
The Asian Session , which runs from 5 PM to 1 AM New York time, serves as an essential liquidity provider before the onset of more volatile trading periods. This session is intricately linked to the Smart Money Tool (SMT - See below), as the highs and lows established during this period provide foundational liquidity levels. You can set alerts when these levels are breached , allowing you to stay informed without constant chart monitoring and make timely trading decisions.
Transitioning into the London Kill Zone from 2 to 5 AM New York time marks the beginning of the European session, often associated with increased volatility. Following this, the New York Kill Zone , occurring from 7 to 10 AM , sees significant overlap between the London and New York sessions, where liquidity flows intensify and frequently correlate with notable price reversals. Finally, the London Close from 10 to 12 PM signifies the end of the European session, often ending the day with a retracement in the daily range.
Thanks to the timezone you can select relative to a region, Kill Zones will automatically adapt to time changes throughout the year and between different brokers , ensuring accurate Kill Zone timings without manual adjustments.
Incorporating our advanced Kill Zones indicator into your trading strategy gives you unparalleled insights and enhanced functionality. With integrated alerts for breaches of key levels, you can stay informed and ready to act without the need for constant chart monitoring, allowing you to focus on executing your trading strategies effectively.
We can see on this chart the identified Kill Zones during the trading day on EURUSD , including the Asian Session in gray, which tends to consolidate slightly (creating liquidity), the London Kill Zone in orange, which tends to move fast, often taking Asian quickly, the New York Kill Zone in green, with always a lot of movements, and the London Close in blue, seeming rather to retrace.
The midline indicates the 50% mark of the session, serving as a reference point for potential price reactions. Additionally, the highs and lows established during the Asian Session are linked to the Smart Money Tool (SMT) and can trigger alerts when breached. Here, you could have received an alert when Asian Low (marked AL) and Asian High (marked AH) were swept.
Previous & Open Levels
Previous and Open levels are key elements in ICT methodology, showing important price points from major timeframes (Daily, Weekly, Monthly). These levels (Previous High, Low, Open, and their separators) help traders understand price dynamics and anticipate market shifts.
The Previous levels connect directly to the Smart Money Tool (SMT - See below) as they provide foundational liquidity levels. In ICT methodology, previous are levels where many traders place their Stop Loss, thus creating liquidity. This helps you understand potential market reactions and whether prices will likely continue their trend or reverse.
You’ll be instantly notified whenever the price interacts with any of these Previous levels. This means you can stay informed about critical market movements without the need to monitor your charts constantly.
The indicator also displays Opening prices and includes separators for daily, weekly, and monthly levels, offering a clear market overview.
Open levels can act as simplified indicators of Premium and Discount Zones. To be above the opening price can be considered as the Premium Zone , where the market offers higher prices, typically suitable for selling opportunities. Conversely, to be below this price can be considered as the Discount Zone , where prices are relatively lower, offering potential buying opportunities.
These visual elements help you identify crucial market zones that reflect both past price action and current market dynamics.
Our indicator offers you the exclusive ability to integrate the True Day Range, as described by ICT. Based on institutional logic, this concept defines the trading day starting at 00:00 New York time. You can adapt this flexible feature to match your trading style and analysis needs.
By incorporating our advanced Previous levels indicator into your trading arsenal, you gain powerful insights and enhanced functionality.
The chart above displays key Previous and open levels on EURUSD , including the Month, Week, and Day lines, along with separators for enhanced clarity. All levels are based on the True Day Range Mode. The notes indicate significant price points, highlighting how the price interacts with these important levels, which helps us to understand it…
We can start with the biggest liquidity, the Previous Month. In this example, we can see the PMH, and the price seems to have used this level as a reversal point. The PM levels are indeed significant liquidity zones. We can observe the creation of wicks that interact with this level, signaling a liquidity grab.
Following this, the price drops quickly before rebounding, creating a liquidity range, that will probably be liquidated then… This is why it rises again to form what is now the PDH (Previous Day High), using it as liquidity (inducement) while using the PWH (Previous Week High) as a rebound level. The PWH is indeed a High Resistance (HR) area since there is only a few liquidity at this point thanks to the liquidity grab. The price has no reason to move higher.
Looking ahead, we can forecast that the price may continue its decline, potentially targeting lower liquidity levels. There is likely additional liquidity beneath the current range, particularly near the PDL (Previous Day Low) and PWL (Previous Week Low).
Additionally, we can note that at this point, the price was above the D.O.P (Daily Open) and W.O.P (Weekly Open), areas where selling would be more favorable. The price reacts significantly around these levels, creating large wicks, demonstrating their importance.
SMT Dashboard (Smart Money Tool)
The Smart Money Tool (SMT) is a powerful concept within the ICT methodology that enables you to compare various assets based on liquidity uptake from significant price levels.
By utilizing the SMT, you can analyze any asset , whether it’s a currency pair, stock, cryptocurrency, or other financial instruments. The dashboard helps you identify the strongest and weakest assets by analyzing their interactions with critical liquidity levels and identifying divergences , including those related to the Previous Month, Previous Week, Previous Day, and Asian Session Highs and Lows. By doing so, he identifies the most bullish symbol. It will therefore tend to rise more easily, or at least fall less, than the other one.
The SMT includes alert functionality that notifies you whenever a new SMT is created or has changed , allowing you to stay informed about which asset is currently the strongest. This means you can react promptly to market changes without constantly monitoring your charts.
Additionally, since the SMT relies on the Previous levels, it is influenced by the selected mode, whether based on traditional Previous levels or the True Day Range . This flexibility ensures that you are using the most relevant information available for your trading decisions. Asian High and Asian Low levels are also calculated according to the schedules configured in the Kill Zones section.
In summary, the Smart Money Tool displays the strongest and weakest assets based on liquidity uptake, providing you with clear information on which asset to prioritize, so you can maximize your potential profits. By incorporating this concept into your approach, you align your decisions with prevailing market dynamics, offering you unparalleled insights and features tailored to enhance your trading strategy.
This chart displays the Smart Money Tool (SMT) dashboard on the GBPUSD symbol, which compares the liquidity uptake for EURUSD and GBPUSD pairs. The indicator shows that both Previous Month's and Week's High and Low were taken for both pairs. However, the Asian High (AH) has been breached on GBPUSD but not on EURUSD, while the Asian Low (AL) has been taken by EURUSD. As a result, GBPUSD is identified as the stronger asset, indicating that traders should focus on buying opportunities with GBPUSD rather than EURUSD. This analysis helps traders prioritize the best symbol for their strategies based on the most relevant liquidity divergences.
✨ SETTINGS
Kill Zones: Customize the display options for the Asian (with lines), London, New York, and London Close Kill Zones. Configure timezone options, midlines, and color preferences.
Previous & Open Levels: Adjust how Previous High/Low levels, Open and separators are displayed. Select between Classic or True Day Range Mode based on your trading preferences.
SMT: Choose the correlated assets for the SMT comparison and select which liquidity (Monthly, Weekly, Daily, Asian) to use and display. Configure settings like liquidity sweeps and strongest pair emojis.
Alerts: Configure alerts for key events such as the Asian High/Low or Previous Levels liquidity sweep, and SMT divergences.
🎯 CONCLUSION
The Time and Price Zones indicator offers a practical and insightful approach to market analysis by combining major principles of ICT and Smart Money Concepts into a cohesive tool. It empowers traders to understand key price levels, liquidity dynamics, and institutional activity with ease. By helping traders avoid being the liquidity of the market and instead align with institutional flows, the indicator can significantly enhance performances. While its features provide a valuable edge, it’s essential to remember that none should be used on its own and many more factors go into being a profitable trader.
Heat Map Trend (VIDYA MA) [BigBeluga]The Heat Map Trend (VIDYA MA) - BigBeluga indicator is a multi-timeframe trend detection tool based on the Volumetric Variable Index Dynamic Average (VIDYA). This indicator calculates trends using volume momentum, or volatility if volume data is unavailable, and displays the trends across five customizable timeframes. It features a heat map to visualize trends, color-coded candles based on an average of the five timeframes, and a dashboard that shows the current trend direction for each timeframe. This tool helps traders identify trends while minimizing market noise and is particularly useful in detecting faster market changes in shorter timeframes.
🔵 KEY FEATURES & USAGE
◉ Volumetric Variable Index Dynamic Average (VIDYA):
The core of the indicator is the VIDYA moving average, which adjusts dynamically based on volume momentum. If volume data isn't available, the indicator uses volatility instead to smooth the moving average. This allows traders to assess the trend direction with more accuracy, using either volume or volatility, if volume data is not provided, as the basis for the trend calculation.
// VIDYA CALCULATION -----------------------------------------------------------------------------------------
// ATR (Average True Range) and volume calculation
bool volume_check = ta.cum(volume) <= 0
float atrVal = ta.atr(1)
float volVal = volume_check ? atrVal : volume // Use ATR if volume is not available
// @function: Calculate the VIDYA (Volumetric Variable Index Dynamic Average)
vidya(src, len, cmoLen) =>
float cmoVal = ta.sma(ta.cmo(volVal, cmoLen), 10) // Calculate the CMO and smooth it with an SMA
float absCmo = math.abs(cmoVal) // Absolute value of CMO
float alpha = 2 / (len + 1) // Alpha factor for smoothing
var float vidyaVal = 0.0 // Initialize VIDYA
vidyaVal := alpha * absCmo / 100 * src + (1 - alpha * absCmo / 100) * nz(vidyaVal ) // VIDYA formula
◉ Multi-Timeframe Trend Analysis with Heat Map Visualization:
The indicator calculates VIDYA across five customizable timeframes, allowing traders to analyze trends from multiple perspectives. The resulting trends are displayed as a heat map below the chart, where each timeframe is represented by a gradient color. The color intensity reflects the distance of the moving average (VIDYA) from the price, helping traders to identify trends on different timeframes visually. Shorter timeframes in the heat map are particularly useful for detecting faster market changes, while longer timeframes help to smooth out market noise and highlight the general trend.
Trend Direction:
Heat Map Reading:
◉ Dashboard for Multi-Timeframe Trend Directions:
The built-in dashboard displays the trend direction for each of the five timeframes, showing whether the trend is up or down. This quick overview provides traders with valuable insights into the current market conditions across multiple timeframes, helping them to assess whether the market is aligned or if there are conflicting trends. This allows for more informed decisions, especially during volatile periods.
◉ Color-Coded Candles Based on Multi-Timeframe Averages:
Candles are dynamically colored based on the average of the VIDYA across all five timeframes. When the price is in an uptrend, the candles are colored blue, while in a downtrend, they are colored red. If the VIDYA averages suggest a possible trend shift, the candles are displayed in orange to highlight a potential change in momentum. This color coding simplifies the process of identifying the dominant trend and spotting potential reversals.
BTC:
SP500:
◉ UP and DOWN Signals for Trend Direction Changes:
The indicator provides clear UP and DOWN signals to mark trend direction changes. When the average VIDYA crosses above a certain threshold, an UP signal is plotted, indicating a shift to an uptrend. Conversely, when it crosses below, a DOWN signal is shown, highlighting a transition to a downtrend. These signals help traders to quickly identify shifts in market direction and respond accordingly.
🔵 CUSTOMIZATION
VIDYA Length and Momentum Settings:
Adjust the length of the VIDYA moving average and the period for calculating volume momentum. These settings allow you to fine-tune how sensitive the indicator is to market changes, helping to match it with your preferred trading style.
Timeframe Selection:
Select five different timeframes to analyze trends simultaneously. This gives you the flexibility to focus on short-term trends, long-term trends, or a combination of both depending on your trading strategy.
Candle and Heat Map Color Customization:
Change the colors of the candles and heat map to fit your personal preferences. This customization allows you to align the visuals of the indicator with your overall chart setup, making it easier to analyze market conditions.
🔵 CONCLUSION
The Heat Trend (VIDYA MA) - BigBeluga indicator provides a comprehensive, multi-timeframe view of market trends, using VIDYA moving averages that adapt to volume momentum or volatility. Its heat map visualization, combined with a dashboard of trend directions and color-coded candles, makes it an invaluable tool for traders looking to understand both short-term market fluctuations and longer-term trends. By showing the overall market direction across multiple timeframes, it helps traders avoid market noise and focus on the bigger picture while being alert to faster shifts in shorter timeframes.
Did it move?That is the eternal question in trading.: Is the price moving? This indicators aims to answer that question. It is based on concepts from 2 Bars from "The Strat". This indicator measures the distance the current price is above the previous high or below the previous low and on two timeframes. The assumption is that the price is moving as long as the price is above or below the previous bar.
The distance the price moved is normalized by the standard deviation. This serves the trader in two ways: 1) you can quickly determine if a price movement is significant (score > 1), and 2) you can plan exits when the score falls below 1 (e.g., movement become insignificant). Movement upwards are colored green and down movements are red. When the price is also above the higher timeframe high (below the HTF low), the color are more intense. When the price is not moving, the background is highlighted.
Finally, there are two alert setting. One is for then the price stops moving (movement score falls below a threshold. The other is a exit/reversal warning. For example if there is a strong move in the opposite it will trigger that alert.
ViPlay Signal Indicator ProViPlay Signal Indicator Pro is an innovative tool designed for traders looking to enhance the accuracy and effectiveness of their trading decisions. It provides a comprehensive approach to market analysis, generating informative trend change signals based on in-depth market analysis and advanced algorithms.
By adjusting the RISK parameter, traders can customize the signal frequency to match their preferences and trading strategies. This versatile tool is suitable for various trading styles and assets, including Forex, stocks, cryptocurrencies, and commodities, helping traders make informed decisions across any market.
Key Features of the Indicator
1. The RISK parameter controls the frequency of trend change signals. The lower the value, the more frequent the signals will appear, and vice versa. This gives users flexibility in adjusting the indicator according to their strategy.
2. Signal Generation:
Modified Range Oscillator (MRO):
This is the core element of the indicator's functionality. It works in two stages:
– MRO1: This stage focuses on short-term price movements, identifying volatility peaks and potential reversal points that may indicate an upcoming trend change. It is particularly useful for traders looking for quick opportunities.
– MRO2: This stage analyzes long-term trends, filtering out minor market fluctuations. It helps traders focus on more stable movements, reducing the impact of noise.
Williams %R:
This indicator works in conjunction with MRO, confirming reversal points by analyzing market overbought or oversold conditions. This reduces the likelihood of false signals, providing additional confidence in forecasts.
The combination of MRO and Williams %R ensures that traders receive reliable and timely signals, reflecting both immediate market conditions (via MRO1) and long-term trends (via MRO2), making the tool suitable for different trading horizons.
How the components work together:
MRO performs the primary task of identifying potential trend reversal points, dividing the analysis into short-term and long-term perspectives. In the first stage (MRO1), it evaluates market volatility and predicts potential reversals. In the second stage (MRO2), it filters out random fluctuations, providing more stable signals. Williams %R acts as an additional layer of confirmation: if MRO indicates a trend reversal and Williams %R confirms it by showing overbought or oversold conditions, the signal is considered more reliable.
In an uptrend, MRO1 indicates a reversal when the price reaches a local high, while MRO2 confirms the trend's stability. Williams %R further validates this signal, reducing the likelihood of a false entry. In a downtrend, the indicator works similarly, helping traders lock in profits or open short positions.
Williams %R:
Complements MRO by assessing market conditions for overbought or oversold levels. If MRO1 indicates a reversal and Williams %R confirms it, the likelihood of a false signal is significantly reduced.
RISK parameter:
Controls the sensitivity of MRO1 to changes in volatility. At higher values, minor fluctuations are filtered out, which is useful for long-term strategies. At lower values, the signals become more frequent, making it suitable for scalping.
3. Visual Signals:
– Green Up Arrow: Marks potential upward trends.
– Red Down Arrow: Marks potential downward trends, helping traders identify possible entry points
4. How levels are calculated:
Support and resistance levels are calculated based on historical price data. Specifically:
Support 1: This is the minimum price (low) over the last 200 bars.
Support 2: This is the minimum price over the last 500 bars.
Support 3: This is the minimum price over the last 1000 bars.
Resistance 1: This is the maximum price (high) over the last 200 bars.
Resistance 2: This is the maximum price over the last 500 bars.
Resistance 3: This is the maximum price over the last 1000 bars.
The levels are not static; they update with every bar, allowing traders to see current price zones. Users can enable or disable the display of different levels through parameters.
Support and resistance levels help traders identify key points for potential price reversals. The indicator automatically calculates these levels and displays them on the chart, allowing the user to use them for making trading decisions.
How to Use ViPlay Signal Indicator Pro
1. Add the Indicator to the Chart
2. Choose a Timeframe suitable for your trading strategy. The indicator supports all timeframes.
3. Customize Parameters:
Adjust the RISK parameter to control signal frequency (1–49, default 49).
Set the Take-Profit percentage (default 7%).
Configure moving average periods.
Adjust support and resistance levels.
4. Analyze:
– Use informative buy and sell signals based on market analysis.
– Use a customizable Take-Profit level based on the entry price to determine optimal exit points.
– Utilize key support and resistance levels on the selected timeframe to identify optimal entry and exit points.
– The information in the table indicates the strength of the current trend. When the value reaches 0 or 100, the trend changes.
* Note that the indicator serves as an analytical tool and does not replace sound trading strategies.
Uniqueness and Originality
1. Innovative Algorithms
The combination of Modified Range Oscillator (MRO) and Williams %R is not a standard pairing in trading tools. The two-phase approach of MRO provides users with a comprehensive understanding of the market, offering information on both short-term fluctuations and long-term trends, while Williams %R serves as an additional filter to eliminate false signals.
2. The indicator uses mathematical functions such as True Range (TR) to analyze volatility and identify potential entry and exit points.
3. Versatility
The indicator supports all financial market assets, including Forex, stocks, cryptocurrencies, and commodities. It adapts to any trading style or strategy. Additionally, it is compatible with all timeframes, benefiting both short-term and long-term traders.
4. Ease of Use
5. All elements of the indicator can be customized or hidden according to the user’s needs, making it a convenient tool for market analysis. The indicator is compatible with all financial market assets, including Forex, stocks, cryptocurrencies, and commodities.
Important Notes
This indicator is an analytical tool and does not guarantee profits. Signals should be used alongside personal analysis and risk management strategies. Traders should note that no indicator can provide 100% accurate predictions, and there is always a possibility of false signals.
Session Highs and Lows IndicatorThis indicator marks the high and low levels for key trading sessions, allowing traders to identify significant price zones across different markets. The default session times are defined in UTC and will automatically adjust to your local timezone:
- **London Session (07:00-09:00 UTC)**: Tracks intraday liquidity zones for potential highs/lows.
- **New York Session (12:00-14:00 UTC)**: Highlights volatility during market overlaps with Europe.
- **Asia Session (23:00-01:00 UTC)**: Confirms trend continuation and retracement opportunities.
- **New York Close Session (19:00-21:00 UTC)**: Focuses on reversals and breakout tests during global transitions.
The script dynamically updates session highs and lows with clear labels and dashed horizontal lines for better visualization. **Time ranges can be adjusted to suit your trading preferences.** This makes the indicator flexible and effective for liquidity hunting, trend trading, and breakout strategies.
TheHorsyAlgoPROThe Horsy algo is an automated strategy that uses any minute Higher timeframe range as reference and search for a purge of liquidity on the HTF high or low where buyside or sell side liquidity is, the algo only search this at specific desired times that can be configured according to the time you usually trade, the strategy is known as Turtle soup purge and reverse or lately as CRT.
Why is useful?
The purpose of this Algorithm is to help turtle soup traders to quickly identify when the market is likely to reverse the algo evaluates if the opportunity is worth it, base on risk reward and other desired filters. Also this strategy can help to quickly backtest the trader strategy it can be configured in different timeframes and adapt to the trader personality, they can easily see the results and statistics and notice if its profitable or not.
This algo is useful for intraday traders looking for a purge and reverse at a key times and at key HTF price levels this only looks the previous HTF highs and lows but is important to also monitor Order blocks, FVGs, gaps, or wicks to have the best results.
How it works and how it does it?
The Horsy algo simply Jumps from one type of liquidity to another one buyside to sell side or vice versa. In order for the algo to trigger an entry it has to meet these conditions
1. Take HTF liquidity, trade above a HTF high or below a HTF low in the selected time window
2. Make a change in the state of delivery with a close below the previous candle low for shorts and close above previous candle high for longs.
3. Allow for a reasonable risk reward, it will use the highest high for shorts and the lowest low for longs. The default take profit is the opposite side of the range.
4. Validate others user filters this include enter only trades aligned with the HTF bias, or trades aligned with the LTF bias or booth. The algo have the option to enter only premium and discount entries. And finally, an option to allow for different contract sizes depending of the maximum percent of the account we want to risk default is 1%. For this last option is important to check the initial balance and leverage are configured correctly, is disable by default because it requires more capital to perform well.
We can see the algo performing in the picture below with a short trade, notice there are some white lines, they are the high or the low of HTF candle that start generating inside candles in the HTF meaning a possible consolidation. The algo plots the HTF ranges in a shaded boxes as you can see below
The HTF bias as you can see in the picture is calculated based on the last close of the HTF meaning close above previous HTF high is bullish close below previous HTF low is bearish. This HTF bias level is also the last HTF mid-price or 50%. By default, this line is enabled.
The LTF bias is calculated based on the range created from the expansion outside the previous HTF range is also the mid-price. If the LTF close above previous HTF high is bullish and if the LTF close below previous HTF low is bearish. By default this LTF bias line is disable.
This strategy includes an original and personal developed code that uses dealing ranges to recognize if the market is expanding, retracing, reversing or consolidating. This allow the algo to exit the position when it detects a retracement or at the end of the expansion. This is the default exit type.
You can monitor the previous dealing ranges created in history with an option than can be enable, by default is disable, this ranges are created after price takes buyside and then sell side or vice versa. So this dealing ranges can be useful also to identify minor pools of liquidity and premium and discount in the lower timeframe.
The picture below is a long example, the exit in this case is just at the high of the range. The normal take profit is in a blue line for longs.
How to use it?
First select the desired HTF timeframe recommended is from 30min to 240min then you setup the chart on the lower timeframe you want to trade recommended is from 1min to 15min to enter. By default This strategy is designed to work for intraday during key times when price take stops and then moves quickly away from them. You can select as much as 6 different times or just one. After you select the desired time window where the algo will look for the purge and reverse, They are highlighted in the candles that change colors excluding the gray ones that indicates consolidation.
Then the Algo allow to performs several additional filters in the entries you can select if you want to trade only longs or shorts trades, you can select when to move the stop loss to Break even. In deviations of the risk or you can just select to remove risk when price hits the 50% of previous HTF range.
You can select the minimum desired risk reward of the trade before is allow to be taken. Once is configured correctly the algo should trigger signals with a triangle up or down plus the strategy entry.
At the beginning of the picture there are some blue lines in the HTF high low and close, this is to easily identify that the market is in the Asia session, the time can be configured by the user, these lines are normally gray.
On the right top of the screen you can see some statistics about the strategy how many trades it took, ARR is an approximated value of the accumulated total risk reward of all the trades when they get closed in the simulation.
Profit factor and percent profitable are also shown should be green it means that the strategy makes money over time. But apart from that is important to notice how it makes money it is stable over time? it is a roller coaster? that why I Include this other measurements MxcsTps is the maximum consecutives take profits and Mxcsls is the maximum consecutive stop losses it takes, the slash number after it is the consecutive Break evens. So this way you know what to expect and what is normal in the strategy.
The algo shows all the times the stop loss, take profit and break even level if enable in the colored red lines for short and blue lines for longs. You can also select how price will manage the profit or stoploss point meaning that you can choose to wait for the candle to close to invalidate your idea or to take profit. This is good to avoid liquidity sweeps but can also lead to mayor loses if the idea is wrong. The default setting is to close the trade when price takes the high or low where the stoploss is, the take profit is taken after a retracement to allow to profit on expansions. You can select also to exit on a reversal if you want to ride all the move. This last option has to be used with caution because sometimes price just retrace or reverse very fast decreasing the trade profit and overall strategy performance.
The algo have the option to use standard deviation from the normal risk if you prefer to prevent liquidity sweeps near the stop level this make wider stops but can lead to increased loses so it has to be used carefully.
Below is a picture that show the entry stop and take profit levels with an exit on a retracement activated.
Strategy Results
The backtesting results are obtained simulating a 2000usd account in the Micro Nasdaq using 1 contract per trade. Commission are set to 2usd per contract, slippage to 1tick. You can see in list of trades we are not risking more than 1 % percent of the account. The backtested range is from august to November 2024. This strategy doesn’t generate too much trades because of the time filters and conditions that has to be meet to take an entry but you can see the results of the last 4months with the available data that are around 32 trades.
The default settings for this strategy is HTF as 240min designed to work on a LTF 5min chart, the default purge times are 245-300, 745-800, 845-900, 1045-1100 and 1245-1300 UTC-4, the algo will look for shorts or longs, with a minimum risk reward of 2.0. With an additional filter of the HTFBias. The take profit is by default taken on the first retracement after hitting the target. The default settings are optimized to work on the Nasdaq or Spy, but can also perform well in other assets with the correct adjustments.
Remember entries constitute only a small component of a complete winning strategy. Other factors like risk management, position-sizing, trading frequency, trading fees, and many others must also be properly managed to achieve profitability. Past performance doesn’t guarantee future results. To really take advantage of this strategy you have to study turtle soup and the HTF key levels use this only as a confirmation that your overall idea will play out and use it to backtest your model.
Summary of features
·Adaptable strategy to different HTF timeframes from 1-1440min
· Select up to 6 different purge time windows UTC-4, UTC-5
· Choose desired Risk Reward per trade
· Easily see the HTF high low close and 50% key levels in the LTF
· Identify HTF consolidations that generate key major liquidity pools
· HTF/LTF bias filters to trade in favor of the big trend or in sync
· Shaded boxes that indicate if the market is bullish, bearish or consolidating
· See the current midpoint of the last expansion move
· Optimal trade entry filter to trade only in a discount or premium
· Customizable trade management take profit, stop, breakeven level
· Option to exit on a close, retracement or reversal after hitting the take profit level
· Option to exit on a close or reversal after hitting stop loss
· Configurable breakeven point with standard deviations or at 50% of the HTF
· Calculate different contract sizes depending of a percentage of the initial balance
· Standard deviations from normal risk can be used to prevent liquidity sweeps
· See dealing ranges history to check minor pools of liquidity and premium or discount
· Dashboard with instant statistics about the strategy current settings
FU Candle Indicator V3.2What the FU Candle Indicator does:
First we need to understand what FU candles are. There's bullish and bearish FU candles.
Bullish FU candles are candles that have a long wick that takes out the previous candles low, then turns around and closes above the high of the previous candle.
Bearish FU candles are candles that have a long wick that takes out the previous candles high, then turns around and closes below the low of the previous candle.
Then there's so called attempted FU candles (ATT FU)
The difference between normal FU candles and ATT FU candles is, that the ATT FU candle doesn't close above/below the high/low of the previous candle but only above the previous candle's body close.
Bullish ATT FU Candle:
Bearish ATT FU Candle:
Detection of Bullish FU Candles:
Bullish FU Candles are detected by measuring the distance between the low of the previous candle and the low of the current candle.
Then the distance between the previous candles high and the current candles close price are measured.
If current candle low < previous candle low and current candle close > previous candle high = Bullish FU Candle.
Detection of Bullish ATT FU Candles:
Bullish ATT FU Candles are detected by measuring the distance between the low of the previous candle and the low of the current candle.
Then the distance between the previous candles close or open price and the current candles close price are measured. If the previous candle closed bearish, the open price is used for comparison, if the previous candle closed bullish, the close price is used for comparison.
If current candle low < previous candle low and current candle close > previous candle open or close = Bullish ATT FU Candle.
Detection of Bearish FU Candles:
Bearish FU Candles are detected by measuring the distance between the high of the previous candle and the high of the current candle.
Then the distance between the previous candles low, AND the current candles close price are measured.
If current candle high > previous candle high, AND current candle close < previous candle low = Bearish FU Candle.
Detection of Bearish ATT FU Candles:
Bearish ATT FU Candles are detected by measuring the distance between the high of the previous candle and the high of the current candle.
Then the distance between the previous candles close or open price and the current candles close price are measured. If the previous candle closed bearish, the open price is used for comparison, if the previous candle closed bullish, the close price is used for comparison.
If current candle high > previous candle high and current candle close < previous candle open or close = Bearish ATT FU Candle.
What makes this script unique?
It shows and liquidity grab and a break of structure on a lower timeframe in one candle.
It allows to adjust the settings for the asset and timeframe you're using
The built in filters (Fractal Filter and EMA Filter) are both optional but allow to filter out certain candles and most importantly it leaves room for experimentation and optimisation to your trading style.
Input Settings and how to use them:
Bullish FU Candle Color --> This setting is to set the color for bullish FU candles.
Bearish FU Candle Color --> This setting is to set the color for bearish FU candles.
Chart --> This setting enables you to display FU's on different timeframes instead of only the current time. It's set to current timeframe by default.
Liq. Grab in Points --> This is the strength of the liquidity grab. By how many points has the current candle taken out the low/ high of the previous candle. It's set to 20 by default but it has to be adjusted to the timeframe and asset you're using.
Engulfing in Points --> This the strength of the engulfing of the previous candle. It measures the distance of the current close price to the open, close, high or low of the previous candle. It depends if the current candle is bullish or bearish and if the previous candle was bullish or bearish and if ATT FUs are enabled but this setting applies to all methods. It's set to 20 by default but you have to adjust it to the asset and timeframe you're using.
Min. Size in Points --> This setting is to filter out tiny candles. It measures the overall size of the FU candle from low to high. It's set to 20 by default but you have to adjust it to the asset and timeframe you are using.
Min. Body Size in Points --> This setting is to filter out FU candles that have a tiny body. It measures the size of the body from open to close. It's set to 20 by default but you have to adjust it to the asset and timeframe you are using.
Max. Body Size in Points --> This setting is to filter out FU candles that have a huge body. It measures the size of the body from open to close. It's set to 10000 by default but you have to adjust it to the asset and timeframe you are using.
Show ATT FU Candles --> ATT FU Candles are FU's where the body only engulfs the previous candles body but not the wick. This type of FU candles is just as valid as the strong FU's where the Body and the wick of the previous Candle is engulfed. The setting is enabled by default.
Rejection Filter --> This setting is used filter out FU candles where the opposite side rejection is stronger than the body direction of the FU. This filters out a lot of traps. It's disabled by default.
Fractal Filter --> FU's are only valid if they broke a fractal of the past x candles. This filters out some of the FU candles that are inside a range and therefore invalid. This is an optional filter and disabled by default.
EMA Filter --> FU's are only if they are above/ below the EMA. This is to filter out most of the FU candles that are inside ranges. The EMA period can be set too. This is an optional filter and enabled and EMA length set to 7 by default. You can enable it and/ or change the length of the EMA to fit your trading style.
Show Entry Lines --> The entry line setting has been changed in terms of styling. The upper and lower line has been removed. Now only the 50% retracement line of the candle body is displayed and the line type, color, strength and length can be set to keep charts as clean as possible.
Alert Timeframes --> You can select the timeframes for which you want to receive an alert if you set and alert for the FU Candle indicator. If you set an alert for the FU Candle Indicator it will send an alert for every FU candle on every selected timeframe.
TF1-TF8 --> This setting is to enable or disable alerts for timeframe 1 - timeframe 8. By default all alerts are disabled, I recommend only enabling the ones that you actually use.
Recommended use:
A bullish FU candle doesn't necessarily mean it's a long and vice versa a bearish FU candle doesn't necessarily mean it's a short. In fact, most FU candles are traps. Often times you'll see a bullish FU candle starting a bearish reversal.
Whenever you see an FU Candle check the following:
Did the FU candle take relevant liquidity?
Is the FU Candle in line with the overall bias or does it go against the bias?
Where did the FU react? Example: A bearish FU candle that reacts in a bullish FVG is a perfect long entry and vice versa.
A bullish FU candle that takes out a relevant swing high can often be a fake-out and price can immediately reverse as the next candle opens.
Timing is also very important. Usually the valid FU candles happen after a strong move to one direction during high volume times and right before or right after a new candle opens on a higher timeframe.
Examples of valid setups:
Nr. 1) Mitigation Setup
Overall bullish on the higher time frame, liquidity grab to the downside, shift in momentum, strong move to the upside left a FVG. later price comes back into the FVG and forms a FU candle --> perfect long trade targeting the opposite side of the range.
Entry either at close of the FU or at the 50% retracement.
Nr. 2) Trap Setup
Clear bullish trend respecting the trend line, bearish FU candle forms but it didn't take any relevant liquidity to the upside. Only internal range liquidity. Perfect long entry using a buy limit below the lower wick of the FU candle with the SL below the nearest low.
Nr. 3) Liquidity Grab Setup
Bearish trend, price comes up aggressively and takes out a high and forms an FU Candle. Market entry short at close of the FU candle or at the 50% retracement of the FU candle or by putting a limit order right above the wick of the candle that follows the FU candle, targeting the opposite side of the range.
Nr. 4) Fake Breakout Setup
Price takes out a significant HTF low, then makes at least 2 BOS on the LTF and forms an Order Block or leaves an FVG. Price forms a bearish U that fails to close below the FVG or Orderblock.
Market entry long at the close of the bearish FU targeting the opposite side of the range. Vice versa for shorts. In simple terms: Bullish FUs at the top of the range and bearish FUs at the bottom of the range are usually always traps.
Sometimes price takes out the high/low of a trap FU before reversing aggressively so you can also have a limit order below the low of the bearish FU or above the high of a bullish FU in this case. But you risk missing the trade.
Entry Methods:
Entry Type 1) Market Entry at the close of the FU candle. --> Never miss a trade, not the best RRR.
Entry Type 2 Limit Entry at the 50% retracement of the body of the FU candle. --> Miss some of the trades but better RRR.
Entry Type 3 Limit order below the wick of the candle that follows the FU candle. --> Miss quite a lot of trades but by far best RRR.
Why this is a closed source script:
The source code of this script is not open because I have spent several years of my life developing it and I use it in all my trading bots.
Also I'm open for feedback and will modify/ update the script for free if I get input that can make it better.
For questions, please reach out via DM or check out my youtube channel. I have several videos explaining in detail how I use these candles, which are valid and which aren't.
Top-Down Trend and Key Levels with Swing Points//by antaryaami0
Overview
The “Top-Down Trend and Key Levels with Swing Points” indicator is a comprehensive tool designed to enhance your technical analysis by integrating multiple trading concepts into a single, easy-to-use script. It combines higher timeframe trend analysis, key price levels, swing point detection, and ranging market identification to provide a holistic view of market conditions. This indicator is particularly useful for traders who employ multi-timeframe analysis, support and resistance levels, and price action strategies.
Key Features
1. Higher Timeframe Trend Background Shading:
• Purpose: Identifies the prevailing trend on a higher timeframe to align lower timeframe trading decisions with the broader market direction.
• How it Works: The indicator compares the current higher timeframe close with the previous one to determine if the trend is up, down, or ranging.
• Customization:
• Trend Timeframe: Set your preferred higher timeframe (e.g., Daily, Weekly).
• Up Trend Color & Down Trend Color: Customize the background colors for uptrends and downtrends.
• Ranging Market Color: A separate color to indicate when the market is moving sideways.
2. Key Price Levels:
• Previous Day High (PDH) and Low (PDL):
• Purpose: Identifies key support and resistance levels from the previous trading day.
• Visualization: Plots horizontal lines at PDH and PDL with labels.
• Customization: Option to show or hide these levels and customize their colors.
• Pre-Market High (PMH) and Low (PML):
• Purpose: Highlights the price range during the pre-market session, which can indicate potential breakout levels.
• Visualization: Plots horizontal lines at PMH and PML with labels.
• Customization: Option to show or hide these levels and customize their colors.
3. First 5-Minute Marker (F5H/F5L):
• Purpose: Marks the high or low of the first 5 minutes after the market opens, which is significant for intraday momentum.
• How it Works:
• If the first 5-minute high is above the Pre-Market High (PMH), an “F5H” label is placed at the first 5-minute high.
• If the first 5-minute high is below the PMH, an “F5L” label is placed at the first 5-minute low.
• Visualization: Labels are placed at the 9:35 AM candle (closing of the first 5 minutes), colored in purple by default.
• Customization: Option to show or hide the marker and adjust the marker color.
4. Swing Points Detection:
• Purpose: Identifies significant pivot points in price action to help recognize trends and reversals.
• How it Works: Uses left and right bars to detect pivot highs and lows, then determines if they are Higher Highs (HH), Lower Highs (LH), Higher Lows (HL), or Lower Lows (LL).
• Visualization: Plots small markers (circles) with labels (HH, LH, HL, LL) at the corresponding swing points.
• Customization: Adjust the number of left and right bars for pivot detection and the size of the markers.
5. Ranging Market Detection:
• Purpose: Identifies periods when the market is consolidating (moving sideways) within a defined price range.
• How it Works: Calculates the highest high and lowest low over a specified period and determines if the price range is within a set percentage threshold.
• Visualization: Draws a gray box around the price action during the ranging period and labels the high and low prices at the end of the range.
• Customization: Adjust the range detection period and threshold, as well as the box color.
6. Trend Coloring on Chart:
• Purpose: Provides a visual cue for the short-term trend based on a moving average.
• How it Works: Colors the candles green if the price is above the moving average and red if below.
• Customization: Set the moving average length and customize the uptrend and downtrend colors.
How to Use the Indicator
1. Adding the Indicator to Your Chart:
• Copy the Pine Script code provided and paste it into the Pine Script Editor on TradingView.
• Click “Add to Chart” to apply the indicator.
2. Configuring Inputs and Settings:
• Access Inputs:
• Click on the gear icon next to the indicator’s name on your chart to open the settings.
• Customize Key Levels:
• Show Pre-Market High/Low: Toggle on/off.
• Show Previous Day High/Low: Toggle on/off.
• Show First 5-Minute Marker: Toggle on/off.
• Set Trend Parameters:
• Trend Timeframe for Background: Choose the higher timeframe for trend analysis.
• Moving Average Length for Bar Color: Set the period for the moving average used in bar coloring.
• Adjust Ranging Market Detection:
• Range Detection Period: Specify the number of bars to consider for range detection.
• Range Threshold (%): Set the maximum percentage range for the market to be considered ranging.
• Customize Visuals:
• Colors: Adjust colors for trends, levels, markers, and ranging market boxes.
• Label Font Size: Choose the size of labels displayed on the chart.
• Level Line Width: Set the thickness of the lines for key levels.
3. Interpreting the Indicator:
• Background Shading:
• Green Shade: Higher timeframe is in an uptrend.
• Red Shade: Higher timeframe is in a downtrend.
• Gray Box: Market is ranging (sideways movement).
• Key Levels and Markers:
• PDH and PDL Lines: Represent resistance and support from the previous day.
• PMH and PML Lines: Indicate potential breakout levels based on pre-market activity.
• F5H/F5L Labels: Early indication of intraday momentum after market open.
• Swing Point Markers:
• HH (Higher High): Suggests bullish momentum.
• LH (Lower High): May indicate a potential bearish reversal.
• HL (Higher Low): Supports bullish continuation.
• LL (Lower Low): Indicates bearish momentum.
• Ranging Market Box:
• Gray Box Around Price Action: Highlights consolidation periods where breakouts may occur.
• Range High and Low Labels: Provide the upper and lower bounds of the consolidation zone.
4. Applying the Indicator to Your Trading Strategy:
• Trend Alignment:
• Use the higher timeframe trend shading to align your trades with the broader market direction.
• Key Levels Trading:
• Watch for price reactions at PDH, PDL, PMH, and PML for potential entry and exit points.
• Swing Points Analysis:
• Identify trend continuations or reversals by observing the sequence of HH, HL, LH, and LL.
• Ranging Market Strategies:
• During ranging periods, consider range-bound trading strategies or prepare for breakout trades when the price exits the range.
• Intraday Momentum:
• Use the F5H/F5L marker to gauge early market sentiment and potential intraday trends.
Practical Tips
• Adjust Settings to Your Trading Style:
• Tailor the indicator’s inputs to match your preferred timeframes and trading instruments.
• Combine with Other Indicators:
• Use in conjunction with volume indicators, oscillators, or other technical tools for additional confirmation.
• Backtesting:
• Apply the indicator to historical data to observe how it performs and refine your settings accordingly.
• Stay Updated on Market Conditions:
• Be aware of news events or economic releases that may impact market behavior and the effectiveness of technical levels.
Customization Options
• Time Zone Adjustment:
• The script uses “America/New_York” time zone by default. Adjust the timezone variable in the script if your chart operates in a different time zone.
var timezone = "Your/Timezone"
• Session Times:
• Modify the Regular Trading Session and Pre-Market Session times in the indicator settings to align with the trading hours of different markets or exchanges.
• Visual Preferences:
• Colors: Personalize the indicator’s colors to suit your visual preferences or to enhance visibility.
• Label Sizes: Adjust label sizes if you find them too intrusive or not prominent enough.
• Marker Sizes: Further reduce or enlarge the swing point markers by modifying the swing_marker_size variable.
Understanding the Indicator’s Logic
1. Higher Timeframe Trend Analysis:
• The indicator retrieves the closing prices of a higher timeframe using the request.security() function.
• It compares the current higher timeframe close with the previous one to determine the trend direction.
2. Key Level Calculation:
• Previous Day High/Low: Calculated by tracking the highest and lowest prices of the previous trading day.
• Pre-Market High/Low: Calculated by monitoring price action during the pre-market session.
3. First 5-Minute Marker Logic:
• At 9:35 AM (end of the first 5 minutes after market open), the indicator evaluates whether the first 5-minute high is above or below the PMH.
• It then places the appropriate label (F5H or F5L) on the chart.
4. Swing Points Detection:
• The script uses ta.pivothigh() and ta.pivotlow() functions to detect pivot points.
• It then determines the type of swing point based on comparisons with previous swings.
5. Ranging Market Detection:
• The indicator looks back over a specified number of bars to find the highest high and lowest low.
• It calculates the percentage difference between these two points.
• If the difference is below the set threshold, the market is considered to be ranging, and a box is drawn around the price action.
Limitations and Considerations
• Indicator Limitations:
• Maximum Boxes and Labels: Due to Pine Script limitations, there is a maximum number of boxes and labels that can be displayed simultaneously.
• Performance Impact: Adding multiple visual elements (boxes, labels, markers) can affect the performance of the script on lower-end devices or with large amounts of data.
• Market Conditions:
• False Signals: Like any technical tool, the indicator may produce false signals, especially during volatile or erratic market conditions.
• Not a Standalone Solution: This indicator should be used as part of a comprehensive trading strategy, including risk management and other forms of analysis.
Conclusion
The “Top-Down Trend and Key Levels with Swing Points” indicator is a versatile tool that integrates essential aspects of technical analysis into one script. By providing insights into higher timeframe trends, highlighting key price levels, detecting swing points, and identifying ranging markets, it equips traders with valuable information to make more informed trading decisions. Whether you are a day trader looking for intraday opportunities or a swing trader aiming to align with the broader trend, this indicator can enhance your chart analysis and trading strategy.
Disclaimer
Trading involves significant risk, and it’s important to understand that past performance is not indicative of future results. This indicator is a tool to assist in analysis and should not be solely relied upon for making trading decisions. Always conduct thorough research and consider seeking advice from financial professionals before engaging in trading activities.
Volume Spike LevelsThis trading indicator finds specific high volume patterns that we have found to be the most likely to act as strong support and resistance levels and plots them on the chart. Using those high probability levels, the indicator will show lines in real time, as well as lines and important zones at the beginning of higher time frames to give you specific levels and areas where price is likely to react.
The most important volume zone for each time frame will have a color fill between the top and bottom lines of that high probability zone so you know to pay extra close attention to that area and look for price reactions there. If you can be patient enough to wait for price to hit these important areas and start to reverse, you will get great entries and help keep yourself from overtrading.
The levels shown can be adjusted to suit your preference, allowing you to get the right amount of levels for your trading strategy, whether that be scalping the 1 minute chart or long term investing via the daily chart.
HOW TO USE
For best results with this indicator, look for 2 types of setups. The first setup is a continuation bounce. You should be looking for these when price has broken out of its recent trading range either to the upside or the downside. When price is extending like this, look to take entries once a volume spike level shows up on the chart and price retraces back to that level. Then take your entry in the same direction as the trend. You can scalp quick wins this way, or you can wait for the next volume spike level to show up and price can’t hold that level any more, then get out. Place your stop loss just beyond the pivot that bounced off of the volume level.
The second type of setup you should look for is a reversal setup. This setup should be used when the market is ranging. Look for the top and bottom of the recent range and find the volume spike levels near the top or bottom of that range and wait for price to reach those levels. Once price hits that level and starts to show a reversal in price, take your entry. You can take quick scalps from those reversals for quick wins, or you can wait for price to reach the next major volume spike level and get out there or just before it. Place your stop loss just beyond the pivot that price made at the volume spike level where you entered your trade.
No matter which setup you are trading, it is never a bad idea to trail your stop loss as price moves towards your take profit level. Whatever volume spike timeframes you are using for your overall trend, you can use a lower time frame volume spike level to give you price points to trail your stop loss to there once price gets supportive at those levels and moves past them.
You should also pay close attention to how price reacts to the important volume zones shown. Many times, price will range inside or near these zones for a while and then form an accumulation just above or below that zone. When this happens, it is likely that price will start to move quickly in the direction that price moved away from that important zone. So when you see the price range inside of these zones and then go just beyond the zone on either side and accumulate, look to trade that breakout of the zone in the same direction that it moved away from the zone.
Note that on lower time frame charts, you will not be able to get some higher time frame levels because Tradingview limits the number of historical bars it can calculate on. So if you are on the 1-5 minute chart, you won’t be able to get yearly or quarterly levels late in the year/quarter due to the number of bars it has to calculate for those levels to populate is beyond the number of allowed bars. You can work around this by manually going to the daily chart and getting the yearly levels and drawing a horizontal line on your chart at the levels shown so that you still have those levels on your lower time frame charts. Unfortunately there is no way for us to work around this with code.
Each setting in the settings panel has a tooltip that will explain that specific setting so you understand how to use it. Just hover your mouse over the “i” icon and it will show a popup with the info. For the non-real time levels, the daily level settings will have the tooltips explaining everything and that info applies to all of the non-real time levels.
MODES
The indicator has two different modes you can use that will affect how the real time levels show up on your chart but will not affect the higher time frame levels. The default mode will give you static horizontal lines only. This means that when a high probability volume spike level comes in, a horizontal line will be drawn and will extend as long as the timeframe that the level is set to. For example a 60 minute volume spike time frame will extend the line for 60 minutes on the chart and then end. These lines will be drawn individually and will not update.
The second mode will give you variable lines and will show a color fill based on where price is in relation to all of the real time levels that are turned on. So if the price is above a level, it will color the background green and if the price is below a level, it will color the background red. This helps identify the trend of price compared to where the high probability volume spike levels came in so you can trade in the direction of the trend. With this mode, the lines for each time frame will update to the new level when a new volume spike for that time frame happens.
ALERTS
The indicator has alerts programmed for each different type of volume spike level that is available to add to your chart. So you can set an alert for when a new volume spike happens on any of the real time volume spike time frames, when price crosses the most recent real time volume spike level for each time frame, alert when any real time volume spike happens, alert when price crosses any of the higher time frame volume levels and also when price has crossed the upper or lower level of any of the important volume zones. Each alert is labeled the same as in the indicator settings so you can easily select which one you want.
For alerts to work properly, you have to have the levels turned on for whatever alerts you use. For example if you want an alert for Realtime 2 Volume Spikes, the Realtime 2 Volume Spike Levels must be turned on and shown on your chart.
Note that when using the alerts for price crossing a level, it will only alert when price crosses the most recent volume spike level. It will not alert when price crosses a previous level of the same time frame.
CUSTOMIZATION
You can customize nearly every feature of this indicator to tailor it to your specific trading style. Some of the customizable features are as follows: turn on or off labels for each time frame, turn on or off the color fills for important volume zones for each time frame, turn on or off the levels for each time frame, adjust the number of previous levels shown for each time frame, change the length of the lines for each time frame, extend the lines right for each time frame, change the color of the lines for each time frame, adjust the color fill colors for important volume zones, adjust the label colors and adjust the label offset length.
We also included some master settings to allow you to control various settings across all time frames with one click. These settings are as follows: turn on or off all labels, turn on or off all realtime levels, remove all lines except the most important volume zone on every time frame, turn on or off all color fills of important zones, adjust the background color fill of the trend coloring when set to variable lines and adjust the background color of all important zones.
There is also a feature that may need to be adjusted when you are looking at charts that do not have a lot of historical data. It will say the index is out of bounds, so look at the index number that the error shows by hovering over the red exclamation point next to the indicator name and adjust the setting labeled “Bar Index Threshold To Fix Errors” to a number that is slightly higher than the index number in the error message. This will fix the error by changing the calculations slightly to adjust for the bar indexes of that specific chart.
MARKETS IT CAN BE USED ON
This indicator can be used on any market that has volume data, including stocks, crypto, futures, forex and more.
TIME FRAMES IT CAN BE USED ON
This indicator has been programmed to work on the following time frames: 15 seconds, 30 seconds, 1 minute, 2 minute, 3 minute, 4 minute, 5 minute, 10 minute, 15 minute, 30 minute, 45 minute, 1 hour, 2 hour, 3 hour, 4 hour, 6 hour, 8 hour, 12 hour, 1 day, 2 day, 3 day, 1 week, 2 week, 1 month, 3 month and 1 year.
If you use a different time frame than shown above, you may get errors or irregular results, so please stick to the time frames that the trading indicator has been programmed to work correctly with.
Stage AnalysisStage Analysis was created by Stan Weinstein, and helps traders to identify where a stock/etf/index is in its Price Cycle.
The Price Cycle was introduced by Richard D. Wyckoff in the early 1900s, where he noted that stocks repeatedly go through a cycle of Accumulation, Markup, Distribution and Markdown. Stan Weinstein’s Stage Analysis method modified the Wyckoff Price Cycle, and converted it into four stages, which are:
Stage 1 = Accumulation
Stage 2 = Markup
Stage 3 = Distribution
Stage 4 = Markdown
Stage Analysis indicator:
Stan Weinstein had different definitions for the four stages – Stage 1: The Basing Area, Stage 2: The Advancing Phase, Stage 3: The Top Area, Stage 4: The Declining Phase. But for the purposes of the Stage Analysis indicator, you’ll note that we’ve combined Stage 1 and Stage 3, as they share numerous technical characteristics, and in our opinion, still require some discretionary judgement to determine whether they are showing accumulation or distribution characteristics.
So, we believe that neutral better describes them from a purely technical aspect, as being in Stage 3 doesn’t necessarily mean the top area, as it can still make a Stage 2 continuation breakout to new highs, instead of breaking down into Stage 4. Just as a Stage 1 basing pattern, can still make a further Stage 4 continuation breakdown, and won’t necessarily breakout into a Stage 2 advance. Hence, we display both Stage 1 and Stage 3 as Neutral, to help remove the perceived bias associated with Stage 3 and Stage 1.
So, in the indicator the Stages are displayed as three different colored backgrounds:
Blue = Stage 1 / Stage 3: Neutral
Green = Stage 2: Uptrend
Red = Stage 4: Downtrend
Stage 1 / Stage 3: Neutral (Blue background)
Stage 1 shows signs of a potential accumulation base structure developing and begins with a close above the 30-week simple moving average, when the stock is still below its (usually declining) 40-week MA as well, following a Stage 4 downtrend, and then remains in Stage 1 until either it breaks out into a Stage 2 uptrend, or returns to a Stage 4 downtrend once more. Although, there are often multiple failed breakout and breakdown attempts, which change the Stage briefly to Stage 2 or Stage 4, before reverting back into Stage 1, as the base broadens out.
The initial move into Stage 1 can occur in numerous different ways. Sometimes following a powerful rebound rally from the 52-week lows to above the 30-week MA, and at other times, after a basing period first, while the stock is still in Stage 4, and then only briefly moving into Stage 1, before breaking out into a new Stage 2 uptrend. But with all ways, there is a notable Change of Character compared to the previous Stage 4 downtrend, as supply and demand moves towards equilibrium, and the stock starts to build a more significant sideways range/base structure.
Stage 3 is the exact opposite of Stage 1, and instead of accumulation. Signs of distribution begin to appear when a stock is getting later in a Stage 2 Uptrend, with the stock first closing below its 30-week MA, and then starting to build a more significant sideways range/base structure, than the minor structures that formed when it was still trending higher in Stage 2.
It begins with a change of behaviour (i.e. a bigger correction than seen during the rest of Stage 2, that takes it below its 30-week, but still above its (usually rising) 40-week MA, and then that often broadens out into a sideways structure, with multiple swings above and below the 30-week MA, with tests of the highs and lows of the developing structure. Which can see it briefly revert to Stage 2, with failed breakout attempts at the highs (Upthrusts), or Stage 4, with failed breakdown attempts at the lows of the structure (Shakeouts or Springs).
So, Stage 1 and Stage 3 are both more neutral periods between the Stage 2 (Uptrend) and Stage 4 (Downtrend).
Stage 2: Uptrend (Green Background)
Stage 2 is the most important Stage for traders looking to buy stocks with the Stage Analysis method, and begins with a breakout from the prior Stage 1 base, but can also occur more suddenly from a V-bottom pattern or earnings gaps. In which case, it will move directly from a Stage 4 downtrend into a Stage 2 uptrend.
The move to Stage 2 requires certain technical aspects to be present, including a close above its near-term range (we use a 13-week range based on weekly closes), as well as its 200-day MA (40-week MA), and for our proprietary Stage Analysis Technical Attributes (SATA)* score to be at a least a SATA 6 of 10. And so, the change from Stage 1 to Stage 2 will often occur while the stock is still within a “broader” base structure, as the quarterly range is continually shifting, and doesn’t consider technical levels prior to that period.
The breakout point as Stage 2 begins is the Stage Analysis methods favoured entry zone for investors, as it marks the change from the Stage 1 basing period into the more dynamic Stage 2 uptrend (chart changes to green)
A secondary investor entry point can often form soon after the Stage 2 breakout, as the momentum fades from the initial rally, and it pulls back towards the breakout level, before finding support and swinging back higher into the advancing phase. So, the Stage Analysis indicator can be used to determine this secondary entry point by dropping down to an intraday timeframe – such as the 30-minute chart, and waiting for a Stage 2 breakout attempt on that much shorter timescale.
The Trader method entry points also form during the Stage 2 advance, and occur at the Stage 2 continuation breakout points of the more minor re-accumulation bases that form as the Stage 2 advance progresses higher.
Stage 4: Downtrend (Red Background)
Stage 4 is the opposite of Stage 2, and marks the beginning of a potential downtrend, as the distributional forces from Stage 3 gain control, and the stock attempts to move lower.
Stage 4 is the most important Stage for traders looking to short stocks with the Stage Analysis method, and as with Stage 2, it can also begin more suddenly following a sudden sharp decline or an earnings gap lower etc, that knifes through the key MAs and quarterly range.
The move to Stage 4 also requires certain technical aspects to be present, including a close below its near-term range (we use a 13-week range based on weekly closes), as well as its 200-day MA (40-week MA), and for our proprietary Stage Analysis Technical Attributes (SATA) score to be a maximum of a SATA 3 of 10, as if the SATA score is higher than 3, then it will still be considered as Stage 3 (blue) until that drops to a SATA 3 or lower.
The initial short entry point in Stage 4 occurs at the breakdown from Stage 3 to Stage 4 (chart changes to red), and as with Stage 2, a secondary entry point can form, but in Stage 4 it is on a potential pullback towards the breakdown level that then reverses lower once more. So, the Stage Analysis indicator can be used to determine this secondary entry point by dropping down to an intraday timeframe – such as the 30-minute chart, and waiting for a Stage 4 breakdown attempt on that much shorter timescale.
The Trader method short entry points also form during the Stage 4 decline, and occur at the Stage 4 continuation breakdown points of the more minor re-distribution bases that form as the Stage 4 decline progresses lower.
Recommended Chart Setup:
Weekly
Logarithmic scale
Recommended Indicators:
10 – Simple Moving Average
30 – Simple Moving Average
40 – Simple Moving Average (optional)
Mansfield Relative Strength (Original Version) (optional)
Stage Analysis Technical Attributes (SATA) (optional)
The Stages are intended to be used on the Weekly timeframe with a Logarithmic scale primarily, with a 10-week MA, 30-week MA and 40-week MA. But Stage Analysis can be used across multiple timeframes. So, for shorter-term swing traders, the 195-min (2bars/day), 2-hour, 1-hour, 30-min charts etc are often used with the same relative chart settings. But note that the lower the timeframe, the more noise that you’ll get, so you should always refer back to the weekly Stage to trade with the major trend.
Customise the Stage Analysis indicator
Edit colours of the Stages
Show/Hide Stages
Reference:
*Stage Analysis Technical Attributes (SATA)
The Stage Analysis Technical Attributes (SATA) scoring system is our proprietary tool which measures 10 of the key components that we look for in the Stage Analysis method to help to determine the Stage, and is made up of the following components:
Breakouts and Breakdowns
Price / Moving Averages
Relative Strength versus the S&P 500
Momentum
Volume
Overhead Resistance
Combining the SATA score with the price elements described in the Stages descriptions above, provides a Stage Analysis indicator that is faithful to Stan Weinstein's Stage Analysis method, and truly unique from other more simplistic automated versions of the Stages that you might find elsewhere.
Disclaimer: This indicator is for informational and educational purposes only. We accept no liability for any loss which may arise from the use of this indicator. All trading decisions are your own, and should be researched thoroughly, with appropriate risk management in place.
We are not affiliated with Stan Weinstein, and this is our own unique interpretation of the Stage Analysis method, based on our long experience with it.
Turtle Trade Channels Indicator with EMATurtle Trade Channels Indicator with EMA (TuTCI + EMA)
This custom indicator combines the classic Turtle Trading Channel strategy with an Exponential Moving Average (EMA) filter to provide clear entry and exit signals, as well as trend direction guidance.
Features:
Turtle Channels: The indicator calculates the upper and lower Turtle Trading Channels based on the highest and lowest values over a user-defined period ( Entry Length for the channel).
Entry/Exit Signals: Alerts you to potential buy and sell opportunities with visual signals on the chart.
Long Entry: When the price crosses above the upper channel.
Short Entry: When the price crosses below the lower channel.
Long Exit: When the price breaks below the exit line.
Short Exit: When the price breaks above the exit line.
EMA Filter: A 50-period Exponential Moving Average (EMA) is included to identify the overall trend. The background color turns green when the price is above the EMA (bullish trend) and red when the price is below the EMA (bearish trend).
Highlighter: Optional background highlighting for the most relevant signals, such as when the price crosses the upper or lower Turtle Channel. This feature helps to easily identify key market movements.
Visual Customization: Customize the EMA length, Entry/Exit lengths, and toggle signals and highlighting to suit your preferences.
How It Works:
The Turtle Trade Channels are designed to capture breakouts by identifying key price levels (highest high and lowest low) over a specified period. By combining this strategy with an EMA, the indicator ensures trades are aligned with the broader trend, increasing the probability of successful trades.
Uptrend: When the price is above the EMA, the indicator considers the trend to be bullish, and it highlights long entry signals.
Downtrend: When the price is below the EMA, the trend is considered bearish, and short entries are emphasized.
Customization:
Entry Length: Adjusts the period for calculating the Turtle Channel's entry levels.
Exit Length: Defines the period for calculating the exit levels.
EMA Length: The period for the Exponential Moving Average (default is set to 50).
Show Entry/Exit Signals: Toggle the visibility of entry/exit signals on the chart.
Highlighter On/Off: Toggle background highlighting for key signals.
This indicator is suitable for traders who follow trend-following strategies, particularly those influenced by the Turtle Trading methodology, and wish to use an EMA filter for better trend confirmation.
Use Cases:
Trend-following traders looking for clear entry/exit signals.
Breakout traders using the Turtle Trading concept to identify price breakouts.
Swing traders who want to incorporate trend analysis with price levels.
DTS- Dynamic Trend SignalDynamic Trend Signal
The Dynamic Trend Signal indicator is a powerful and highly customizable tool designed for traders who want clear and actionable signals to guide their trading decisions. This indicator leverages the relationship between two moving averages and the current price to provide concise buy/sell recommendations while visually enhancing your chart with professional-grade features.
Key Features:
Actionable Trading Signals:
STRONG BUY / NO SELL: When the price is above both moving averages.
BUY / NO SELL: When the price is above the longer moving average but below the shorter moving average.
NO BUY / SELL: When the price is below the longer moving average but above the shorter moving average.
STRONG SELL / NO BUY: When the price is below both moving averages.
Dynamic Signal Table:
Displays real-time trading signals in a convenient table format.
Automatically updates based on market conditions.
Customizable table position (top-left, top-right, bottom-left, or bottom-right).
Dynamic background and text colors for improved visibility:
Green shades for bullish signals.
Red shades for bearish signals.
Customizable Moving Averages:
Configure each moving average independently:
Choose between Simple Moving Average (SMA) and Exponential Moving Average (EMA).
Set unique lengths, colors, and line thickness for each average.
Default settings:
MA1: Short-term (8-period) with thickness 1.
MA2: Long-term (20-period) with thickness 2.
Optional Crossover Alerts:
Visual and textual alerts for moving average crossovers:
BUY: When the shorter moving average crosses above the longer moving average.
SELL: When the shorter moving average crosses below the longer moving average.
Crossover alerts are disabled by default but can be easily enabled in settings.
Ease of Use:
Intuitive interface with clean and professional visuals.
Fully customizable to fit any trading strategy or chart style.
How It Helps Traders:
The Dynamic Trend Signal simplifies market analysis by removing guesswork and focusing on clear, data-driven signals. Whether you're a beginner looking for straightforward guidance or an experienced trader seeking to enhance your strategy, this indicator provides:
Confidence in decision-making with clear buy/sell signals.
Customization to align with your unique trading approach.
Clarity through visually appealing, color-coded signals and alerts.
Ideal For:
Swing Traders
Day Traders
Trend Followers
Traders looking to integrate a dynamic, rule-based approach to their analysis.
How to Use:
Add the Dynamic Trend Signal indicator to your chart.
Adjust the moving average lengths, types, colors, and thickness to suit your trading strategy.
Monitor the signal table for actionable recommendations.
Optionally enable crossover alerts for real-time buy/sell notifications.
Unlock the power of clear and actionable trading signals with the Dynamic Trend Signal! Add it to your TradingView chart today and take your trading strategy to the next level.
ADM Indicator [CHE] Comprehensive Description of the Three Market Phases for TradingView
Introduction
Financial markets often exhibit patterns that reflect the collective behavior of participants. Recognizing these patterns can provide traders with valuable insights into potential future price movements. The ADM Indicator is designed to help traders identify and capitalize on these patterns by detecting three primary market phases:
1. Accumulation Phase
2. Manipulation Phase
3. Distribution Phase
This indicator places labels on the chart to signify these phases, aiding traders in making informed decisions. Below is an in-depth explanation of each phase, including how the ADM Indicator detects them.
1. Accumulation Phase
Definition
The Accumulation Phase is a period where informed investors or institutions discreetly purchase assets before a potential price increase. During this phase, the price typically moves within a confined range between established highs and lows.
Characteristics
- Price Range Bound: The asset's price stays within the previous high and low after a timeframe change.
- Low Volatility: Minimal price movement indicates a balance between buyers and sellers.
- Steady Volume: Trading volume may remain relatively constant or show slight increases.
- Market Sentiment: General market interest is low, as the accumulation is not yet apparent to the broader market.
Detection with ADM Indicator
- Criteria: An accumulation is detected when the price remains within the previous high and low after a timeframe change.
- Indicator Action: At the end of the period, if accumulation has occurred, the indicator places a label "Accumulation" on the chart.
- Visual Cues: A yellow semi-transparent background highlights the accumulation phase, enhancing visual recognition.
Implications for Traders
- Entry Opportunity: Consider preparing for potential long positions before a possible upward move.
- Risk Management: Use tight stop-loss orders below the support level due to the defined trading range.
2. Manipulation Phase
Definition
The Manipulation Phase, also known as the Shakeout Phase, occurs when dominant market players intentionally move the price to trigger stop-loss orders and create panic among less-informed traders. This action generates liquidity and better entry prices for large positions.
Characteristics
- False Breakouts: The price moves above the previous high or below the previous low but quickly reverses.
- Increased Volatility: Sharp price movements occur without fundamental reasons.
- Stop-Loss Hunting: The price targets common stop-loss areas, triggering them before reversing.
- Emotional Trading: Retail traders may react impulsively, leading to poor trading decisions.
Detection with ADM Indicator
- Manipulation Up:
- Criteria: Detected when the price rises above the previous high and then falls back below it.
- Indicator Action: Places a label "Manipulation Up" on the chart at the point of detection.
- Manipulation Down:
- Criteria: Detected when the price falls below the previous low and then rises back above it.
- Indicator Action: Places a label "Manipulation Down" on the chart at the point of detection.
- Visual Cues:
- Manipulation Up: Blue background highlights the phase.
- Manipulation Down: Orange background highlights the phase.
Implications for Traders
- Caution Advised: Be wary of false signals and avoid overreacting to sudden price changes.
- Preparation for Next Phase: Use this phase to anticipate potential distribution and adjust strategies accordingly.
3. Distribution Phase
Definition
The Distribution Phase occurs when the institutions or informed investors who accumulated positions start selling to the general market at higher prices. This phase often follows a Manipulation Phase and may signal an impending trend reversal.
Characteristics
- Price Reversal: The price moves in the opposite direction of the prior manipulation.
- High Trading Volume: Increased selling activity as large players offload positions.
- Trend Weakening: The previous trend loses momentum, indicating a potential shift.
- Market Sentiment Shift: Optimism fades, and uncertainty or pessimism may emerge.
Detection with ADM Indicator
- Distribution Up:
- Criteria: Detected after a verified Manipulation Up when the price subsequently falls below the previous low.
- Indicator Action: Places a label "Distribution Up" on the chart.
- Distribution Down:
- Criteria: Detected after a verified Manipulation Down when the price subsequently rises above the previous high.
- Indicator Action: Places a label "Distribution Down" on the chart.
- Visual Cues:
- Distribution Up: Purple background highlights the phase.
- Distribution Down: Maroon background highlights the phase.
Implications for Traders
- Exit Signals: Consider closing long positions if in a Distribution Up phase.
- Short Selling Opportunities: Potential to enter short positions anticipating a downtrend.
Using the ADM Indicator on TradingView
Indicator Overview
The ADM Indicator automates the detection of Accumulation, Manipulation, and Distribution phases by analyzing price movements relative to previous highs and lows on a selected timeframe. It provides visual cues and labels on the chart, helping traders quickly identify the current market phase.
Features
- Multi-Timeframe Analysis: Choose from auto, multiplier, or manual timeframe settings.
- Visual Labels: Clear labeling of market phases directly on the chart.
- Background Highlighting: Distinct background colors for each phase.
- Customizable Settings: Adjust colors, styles, and display options.
- Period Separators: Optional separators delineate different timeframes.
Interpreting the Indicator
1. Accumulation Phase
- Detection: Price stays within the previous high and low after a timeframe change.
- Label: "Accumulation" placed at the period's end if detected.
- Background: Yellow semi-transparent color.
- Action: Prepare for potential long positions.
2. Manipulation Phase
- Detection:
- Manipulation Up: Price rises above previous high and then falls back below.
- Manipulation Down: Price falls below previous low and then rises back above.
- Labels: "Manipulation Up" or "Manipulation Down" placed at detection.
- Background:
- Manipulation Up: Blue color.
- Manipulation Down: Orange color.
- Action: Exercise caution; avoid impulsive trades.
3. Distribution Phase
- Detection:
- Distribution Up: After a Manipulation Up, price falls below previous low.
- Distribution Down: After a Manipulation Down, price rises above previous high.
- Labels: "Distribution Up" or "Distribution Down" placed at detection.
- Background:
- Distribution Up: Purple color.
- Distribution Down: Maroon color.
- Action: Consider exiting positions or entering counter-trend trades.
Configuring the Indicator
- Timeframe Type: Select Auto, Multiplier, or Manual for analysis timeframe.
- Multiplier: Set a custom multiplier when using "Multiplier" type.
- Manual Resolution: Define a specific timeframe with "Manual" option.
- Separator Settings: Customize period separators for visual clarity.
- Label Display Options: Choose to display all labels or only the most recent.
- Visualization Settings: Adjust colors and styles for personal preference.
Practical Tips
- Combine with Other Analysis Tools: Use alongside volume indicators, trend lines, or other technical tools.
- Backtesting: Review historical data to understand how the indicator signals would have impacted past trades.
- Stay Informed: Keep abreast of market news that might affect price movements beyond technical analysis.
- Risk Management: Always employ stop-loss orders and position sizing strategies.
Conclusion
The ADM Indicator is a valuable tool for traders seeking to understand and leverage market phases. By detecting Accumulation, Manipulation, and Distribution phases through specific price action criteria, it provides actionable insights into market dynamics.
Understanding the precise conditions under which each phase is detected empowers traders to make more informed decisions. Whether preparing for potential breakouts during accumulation, exercising caution during manipulation, or adjusting positions during distribution, the ADM Indicator aids in navigating the complexities of the financial markets.
Disclaimer:
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
This indicator is inspired by the Super 6x Indicators: RSI, MACD, Stochastic, Loxxer, CCI, and Velocity . A special thanks to Loxx for their relentless effort, creativity, and contributions to the TradingView community, which served as a foundation for this work.
Best regards Chervolino
Overview of the Timeframe Levels in the `autotimeframe()` Function
The `autotimeframe()` function automatically adjusts the higher timeframe based on the current chart timeframe. Here are the specific timeframe levels used in the function:
- Current Timeframe ≤ 1 Minute
→ Higher Timeframe: 240 Minutes (4 Hours)
- Current Timeframe ≤ 5 Minutes
→ Higher Timeframe: 1 Day
- Current Timeframe ≤ 1 Hour
→ Higher Timeframe: 3 Days
- Current Timeframe ≤ 4 Hours
→ Higher Timeframe: 7 Days
- Current Timeframe ≤ 12 Hours
→ Higher Timeframe: 1 Month
- Current Timeframe ≤ 1 Day
→ Higher Timeframe: 3 Months
- Current Timeframe ≤ 7 Days
→ Higher Timeframe: 6 Months
- For All Higher Timeframes (over 7 Days)
→ Higher Timeframe: 12 Months
Summary:
The function assigns a corresponding higher timeframe based on the current timeframe to optimize the analysis:
- 1 Minute or Less → 4 Hours
- Up to 5 Minutes → 1 Day
- Up to 1 Hour → 3 Days
- Up to 4 Hours → 7 Days
- Up to 12 Hours → 1 Month
- Up to 1 Day → 3 Months
- Up to 7 Days → 6 Months
- Over 7 Days → 12 Months
This automated adjustment ensures that the indicator works effectively across different chart timeframes without requiring manual changes.
Harmonic Pattern Detector (75 patterns)Harmonic Pattern Detector offers a record amount of "Harmonic Patterns" in one script, with 75 different patterns detected, together with up to 99 different swing lengths.
🔶 USAGE
Harmonic Patterns are detected from several different ZigZag lines, derived from Swings with different lengths (shorter - longer term)
Depending on the settings ' Minimum/Maximum Swing Length ', the user will see more or less patterns from shorter and/or longer-term swing points.
🔹 Fibonacci Ratio
Certain patterns have only one ratio for a specific retrace/extension instead of one upper and one lower limit. In this case, we add a ' Tolerance ', which adds a percentage tolerance below/above the ratio, creating two limits.
A higher number may show more patterns but may become less valid.
Hoovering over points B, C, and D will show a tooltip with the concerning limits; adjusted limits will be seen if applicable.
Tooltips in settings will also show which patterns the Fibonacci Ratio applies to.
🔹 Triangle Area Ratio
Using Heron's formula , the triangle area is calculated after the X-Y axis is normalized.
Users can filter patterns based on the ratio of the smallest triangle to the largest triangle.
A lower Triangle Area Ratio number leads to more symmetrical patterns but may appear less frequently.
🔶 DETAILS
Harmonic patterns are based on geometric patterns, where the retracement/extension of a swing point must be located between specific Fibonacci ratios of the previous swing/leg. Different Harmonic Patterns require unique ratios to become valid patterns.
In the above example there is a valid 'Max Butterfly' pattern where:
Point B is located between 0.618 - 0.886 retracement level of the X-A leg
Point C is located between 0.382 - 0.886 retracement level of the A-B leg
Point D is located between 1.272 - 2.618 extension level of the B-C leg
Point D is located between 1.272 - 1.618 extension level of the X-A leg
Harmonic Pattern Detector uses ZigZag lines, where swing highs and swing lows alternate. Each ZigZag line is checked for valid Harmonic Patterns . When multiple types of Harmonic Patterns are valid for the same sequence, the pattern will be named after the first one found.
Different swing lengths form different ZigZag lines.
By evaluating different ZigZag lines (up to 99!), shorter—and longer-term patterns can be drawn on the same chart.
🔹 Blocks
The patterns are organized into blocks that can be toggled on or off with a single click.
When a block is enabled, the user can still select which specific patterns within that block are enabled or disabled.
🔹 Visuals
Besides color settings, labels can show pattern names or arrows at point D of the pattern.
Note this will happen 1 bar after validation because one extra bar is needed for confirmation.
An option is included to show only arrows without the patterns.
🔹 Updated Patterns
When a Swing Low is followed by a lower low or a Swing High followed by a higher high , triggering a pattern identical to a previous one except with a different point D, the pattern will be updated. The previous C-D line will be visible as a dashed line to highlight the event. Only the last dashed line is shown when this happens more than once.
🔹 Optimization
The script only verifies the last leg in the initial phase, significantly reducing the time spent on pattern validation. If this leg doesn't align with a potential Harmonic Pattern , the pattern is immediately disregarded. In the subsequent phase, the remaining patterns are quickly scrutinized to ensure the next leg is valid. This efficient process continues, with only valid patterns progressing to the next phase until all sequences have been thoroughly examined.
This process can check up to 99 ZigZag lines for 75 different Harmonic Patterns , showcasing its high capacity and versatility.
🔹 Ratios
The following table shows the different ratios used for each Harmonic Pattern .
' min ' and ' max ' are used when only one limit is provided instead of 2. This limit is given a percentage tolerance above and below, customizable by the setting ' Tolerance - Fibonacci Ratio '.
For example a ratio of 0.618 with a tolerance of 1% would result in:
an upper limit of 0.624
a lower limit of 0.612
|-------------------|------------------------|------------------------|-----------------------|-----------------------|
| NAME PATTERN | BCD (BD) | ABC (AC) | XAB (XB) | XAD (XD) |
| | min max | min max | min max | min max |
|-------------------|------------------------|------------------------|-----------------------|-----------------------|
| 'ABCD' | 1.272 - 1.618 | 0.618 - 0.786 | | |
| '5-0' | 0.5 *min - 0.5 *max | 1.618 - 2.24 | 1.13 - 1.618 | |
| 'Max Gartley' | 1.128 - 2.236 | 0.382 - 0.886 | 0.382 - 0.618 | 0.618 - 0.786 |
| 'Gartley' | 1.272 - 1.618 | 0.382 - 0.886 | 0.618*min - 0.618*max | 0.786*min - 0.786*max |
| 'A Gartley' | 1.618*min - 1.618*max | 1.128 - 2.618 | 0.618 - 0.786 | 1.272*min - 1.272*max |
| 'NN Gartley' | 1.128 - 1.618 | 0.382 - 0.886 | 0.618*min - 0.618*max | 0.786*min - 0.786*max |
| 'NN A Gartley' | 1.618*min - 1.618*max | 1.128 - 2.618 | 0.618 - 0.786 | 1.272*min - 1.272*max |
| 'Bat' | 1.618 - 2.618 | 0.382 - 0.886 | 0.382 - 0.5 | 0.886*min - 0.886*max |
| 'Alt Bat' | 2.0 - 3.618 | 0.382 - 0.886 | 0.382*min - 0.382*max | 1.128*min - 1.128*max |
| 'A Bat' | 2.0 - 2.618 | 1.128 - 2.618 | 0.382 - 0.618 | 1.128*min - 1.128*max |
| 'Max Bat' | 1.272 - 2.618 | 0.382 - 0.886 | 0.382 - 0.618 | 0.886*min - 0.886*max |
| 'NN Bat' | 1.618 - 2.618 | 0.382 - 0.886 | 0.382 - 0.5 | 0.886*min - 0.886*max |
| 'NN Alt Bat' | 2.0 - 4.236 | 0.382 - 0.886 | 0.382*min - 0.382*max | 1.128*min - 1.128*max |
| 'NN A Bat' | 2.0 - 2.618 | 1.128 - 2.618 | 0.382 - 0.618 | 1.128*min - 1.128*max |
| 'NN A Alt Bat' | 2.618*min - 2.618*max | 1.128 - 2.618 | 0.236 - 0.5 | 0.886*min - 0.886*max |
| 'Butterfly' | 1.618 - 2.618 | 0.382 - 0.886 | 0.786*min - 0.786*max | 1.272 - 1.618 |
| 'Max Butterfly' | 1.272 - 2.618 | 0.382 - 0.886 | 0.618 - 0.886 | 1.272 - 1.618 |
| 'Butterfly 113' | 1.128 - 1.618 | 0.618 - 1.0 | 0.786 - 1.0 | 1.128*min - 1.128*max |
| 'A Butterfly' | 1.272*min - 1.272*max | 1.128 - 2.618 | 0.382 - 0.618 | 0.618 - 0.786 |
| 'Crab' | 2.24 - 3.618 | 0.382 - 0.886 | 0.382 - 0.618 | 1.618*min - 1.618*max |
| 'Deep Crab' | 2.618 - 3.618 | 0.382 - 0.886 | 0.886*min - 0.886*max | 1.618*min - 1.618*max |
| 'A Crab' | 1.618 - 2.618 | 1.128 - 2.618 | 0.276 - 0.446 | 0.618*min - 0.618*max |
| 'NN Crab' | 2.236 - 4.236 | 0.382 - 0.886 | 0.382 - 0.618 | 1.618*min - 1.618*max |
| 'NN Deep Crab' | 2.618 - 4.236 | 0.382 - 0.886 | 0.886*min - 0.886*max | 1.618*min - 1.618*max |
| 'NN A Crab' | 1.128 - 2.618 | 1.128 - 2.618 | 0.236 - 0.447 | 0.618*min - 0.618*max |
| 'NN A Deep Crab' | 1.128*min - 1.128*max | 1.128 - 2.618 | 0.236 - 0.382 | 0.618*min - 0.618*max |
| 'Cypher' | 1.272 - 2.00 | 1.13 - 1.414 | 0.382 - 0.618 | 0.786*min - 0.786*max |
| 'New Cypher' | 1.272 - 2.00 | 1.414 - 2.14 | 0.382 - 0.618 | 0.786*min - 0.786*max |
| 'Anti New Cypher' | 1.618 - 2.618 | 0.467 - 0.707 | 0.5 - 0.786 | 1.272*min - 1.272*max |
| 'Shark 1' | 1.618 - 2.236 | 1.128 - 1.618 | 0.382 - 0.618 | 0.886*min - 0.886*max |
| 'Shark 1 Alt' | 1.618 - 2.618 | 0.618 - 0.886 | 0.446 - 0.618 | 1.128*min - 1.128*max |
| 'Shark 2' | 1.618 - 2.236 | 1.128 - 1.618 | 0.382 - 0.618 | 1.128*min - 1.128*max |
| 'Shark 2 Alt' | 1.618 - 2.618 | 0.618 - 0.886 | 0.446 - 0.618 | 0.886*min - 0.886*max |
| 'Leonardo' | 1.128 - 2.618 | 0.382 - 0.886 | 0.5*min - 0.5*max | 0.786*min - 0.786*max |
| 'NN A Leonardo' | 2.0*min - 2.0*max | 1.128 - 2.618 | 0.382 - 0.886 | 1.272*min - 1.272*max |
| 'Nen Star' | 1.272 - 2.0 | 1.414 - 2.14 | 0.382 - 0.618 | 1.272*min - 1.272*max |
| 'Anti Nen Star' | 1.618 - 2.618 | 0.467 - 0.707 | 0.5 - 0.786 | 0.786*min - 0.786*max |
| '3 Drives' | 1.272 - 1.618 | 0.618 - 0.786 | 1.272 - 1.618 | 1.618 - 2.618 |
| 'A 3 Drives' | 0.618 - 0.786 | 1.272 - 1.618 | 0.618 - 0.786 | 0.13 - 0.886 |
| '121' | 0.382 - 0.786 | 1.128 - 3.618 | 0.5 - 0.786 | 0.382 - 0.786 |
| 'A 121' | 1.272 - 2.0 | 0.5 - 0.786 | 1.272 - 2.0 | 1.272 - 2.618 |
| '121 BG' | 0.618 - 0.707 | 1.128 - 1.733 | 0.5 - 0.577 | 0.447 - 0.786 |
| 'Black Swan' | 1.128 - 2.0 | 0.236 - 0.5 | 1.382 - 2.618 | 1.128 - 2.618 |
| 'White Swan' | 0.5 - 0.886 | 2.0 - 4.237 | 0.382 - 0.786 | 0.238 - 0.886 |
| 'NN White Swan' | 0.5 - 0.886 | 2.0 - 4.236 | 0.382 - 0.724 | 0.382 - 0.886 |
| 'Sea Pony' | 1.618 - 2.618 | 0.382 - 0.5 | 0.128 - 3.618 | 0.618 - 3.618 |
| 'Navarro 200' | 0.886 - 3.618 | 0.886 - 1.128 | 0.382 - 0.786 | 0.886 - 1.128 |
| 'May-00' | 0.5 - 0.618 | 1.618 - 2.236 | 1.128 - 1.618 | 0.5 - 0.618 |
| 'SNORM' | 0.9 - 1.1 | 0.9 - 1.1 | 0.9 - 1.1 | 0.618 - 1.618 |
| 'COL Poruchik' | 1.0 *min - 1.0 *max | 0.382 - 2.618 | 0.128 - 3.618 | 0.618 - 3.618 |
| 'Henry – David' | 0.618 - 0.886 | 0.44 - 0.618 | 0.128 - 2.0 | 0.618 - 1.618 |
| 'DAVID VM 1' | 1.618 - 1.618 | 0.382*min - 0.382*max | 0.128 - 1.618 | 0.618 - 3.618 |
| 'DAVID VM 2' | 1.618 - 1.618 | 0.382*min - 0.382*max | 1.618 - 3.618 | 0.618 - 7.618 |
| 'Partizan' | 1.618*min - 1.618*max | 0.382*min - 0.382*max | 0.128 - 3.618 | 0.618 - 3.618 |
| 'Partizan 2' | 1.618 - 2.236 | 1.128 - 1.618 | 0.128 - 3.618 | 1.618 - 3.618 |
| 'Partizan 2.1' | 1.618*min - 1.618*max | 1.128*min - 1.128*max | 0.128 - 3.618 | 0.618 - 3.618 |
| 'Partizan 2.2' | 2.236*min - 2.236*max | 1.128*min - 1.128*max | 0.128 - 3.618 | 0.618 - 3.618 |
| 'Partizan 2.3' | 1.618*min - 1.618*max | 0.618 - 1.618 | 0.128 - 3.618 | 0.618 - 3.618 |
| 'Partizan 2.4' | 2.236*min - 2.236*max | 1.618*min - 1.618*max | 0.128 - 3.618 | 0.618 - 3.618 |
| 'TOTAL' | 1.272 - 3.618 | 0.382 - 2.618 | 0.276 - 0.786 | 0.618 - 1.618 |
| 'TOTAL NN' | 1.272 - 4.236 | 0.382 - 2.618 | 0.236 - 0.786 | 0.618 - 1.618 |
| 'TOTAL 1' | 1.272 - 2.618 | 0.382 - 0.886 | 0.382 - 0.786 | 0.786 - 0.886 |
| 'TOTAL 2' | 1.618 - 3.618 | 0.382 - 0.886 | 0.382 - 0.786 | 1.128 - 1.618 |
| 'TOTNN 2NN' | 1.618 - 4.236 | 0.382 - 0.886 | 0.382 - 0.786 | 1.128 - 1.618 |
| 'TOTAL 3' | 1.272 - 2.618 | 1.128 - 2.618 | 0.276 - 0.618 | 0.618 - 0.886 |
| 'TOTNN 3NN' | 1.272 - 2.618 | 1.128 - 2.618 | 0.236 - 0.618 | 0.618 - 0.886 |
| 'TOTAL 4' | 1.618 - 2.618 | 1.128 - 2.618 | 0.382 - 0.786 | 1.128 - 1.272 |
| 'BG 1' | 2.618*min - 2.618*max | 0.382*min - 0.382*max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
| 'BG 2' | 2.237*min - 2.237*max | 0.447*min - 0.447*max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
| 'BG 3' | 2.0 *min - 2.0 *max | 0.5 *min - 0.5 *max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
| 'BG 4' | 1.618*min - 1.618*max | 0.618*min - 0.618*max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
| 'BG 5' | 1.414*min - 1.414*max | 0.707*min - 0.707*max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
| 'BG 6' | 1.272*min - 1.272*max | 0.786*min - 0.786*max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
| 'BG 7' | 1.171*min - 1.171*max | 0.854*min - 0.854*max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
| 'BG 8' | 1.128*min - 1.128*max | 0.886*min - 0.886*max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
|-------------------|------------------------|------------------------|-----------------------|-----------------------|
🔶 SETTINGS
🔹 Swings
Minimum Swing Length: Minimum length used for the swing detection.
Maximum Swing Length: Maximum length used for the swing detection.
🔹 Patterns
Toggle Pattern Block
Toggle separate pattern in each Pattern Block
🔹 Tolerance
Fibonacci Ratio: Adds a percentage tolerance below/above the ratio when only one ratio applies, creating two limits.
Triangle Area Ratio: Filters patterns based on the ratio of the smallest triangle to the largest triangle.
🔹 Display
Labels: Display Pattern Names, Arrows or nothing
Patterns: Display or not
Last Line: Display previous C-D line when updated
🔹 Style
Colors: Pattern Lines/Names/Arrows - background color of patterns
Text Size: Text Size of Pattern Names/Arrows
🔹 Calculation
Calculated Bars: Allows the usage of fewer bars for performance/speed improvement
Another Brian"Another Brian" is an advanced TradingView indicator meticulously designed to offer traders a multifaceted analysis by integrating both technical and fundamental metrics. Unlike standard indicators, this script uniquely combines multi-period Moving Averages (SMA and WMA) with multi-day Volume-Weighted Average Prices (VWAPs) to accurately identify trend directions and potential support/resistance levels. It incorporates pivot points (S2 and R2) specifically calculated for intraday timeframes (1 to 14 minutes) to highlight key profit-taking areas tailored for day trading.
A standout feature of "Another Brian" is its dynamic background color coding, which changes based on the selected timeframe. This visual cue allows traders to instantly recognize the current trading context, enhancing situational awareness and decision-making efficiency.
On the fundamental side, the script evaluates dividend yield and dividend payout ratios, integrating these metrics with distribution data—crucial for ETFs where distributions may not appear as traditional dividends. By pulling and analyzing distribution information, "Another Brian" provides a more comprehensive yield assessment. This data is then compared to historical volatility (HV), enabling traders to gauge the stability and risk associated with their investments.
The indicator also features a comprehensive Risk-Adjusted Yield Ratio (RAYR), which compares the annualized distribution yield to its standard deviation. This ratio helps traders assess the efficiency of ETFs by balancing yield against volatility, highlighting investments that offer an optimal risk-return profile.
Central to the user experience is a dynamic data table that displays essential metrics such as 20-day Volume, ATR20, ADR20, moving averages status, yield ratios, and volatility measures. This table is color-coded for quick visual interpretation:
Setup : turn off the candle colors, the indicator draws price.
Red Indicators: Signal that a closer examination is needed, allowing traders to swiftly identify potential issues or opportunities.
Green and Yellow Indicators: Provide positive or neutral signals, aiding in the swift assessment of market conditions.
Additionally, "Another Brian" includes a trigger detection system that identifies potential bullish or bearish conditions based on the interaction between SMAs and WMAs across multiple timeframes. These triggers offer actionable trading signals, enhancing the tool's utility for both novice and experienced traders.
Key Features:
Moving Averages (MA):
Simple Moving Average (SMA): Calculates SMA over various periods (20-day, 50-day) to identify trend directions.
Weighted Moving Average (WMA): Computes WMA to give more significance to recent price data, aiding in trend detection.
Volume-Weighted Average Price (VWAP):
Multi-Day VWAPs: Plots VWAPs for 1-day, 2-day, and 3-day periods, helping traders identify potential support and resistance levels based on volume-weighted pricing.
Pivot Points:
Support (S2) and Resistance (R2): Calculates and plots key pivot points for intraday timeframes (1 to 14 minutes), assisting in identifying potential profit-taking zones for day trades.
Volatility Metrics:
Average True Range (ATR): Measures market volatility over a 20-day period.
Historical Volatility (HV): Assesses volatility over the past year, providing insights into price fluctuations.
Dividend and Distribution Analysis:
Dividend Yield & Payout Ratio: Displays current dividend yield and payout ratios as percentages.
Distribution Data: Integrates distribution information for ETFs, ensuring comprehensive yield analysis even when distributions don't appear as traditional dividends.
Risk-Adjusted Yield Ratio (RAYR):
RAYR Calculation: Compares the annualized distribution yield to its standard deviation, indicating the yield received for each unit of risk taken.
RAYR Indicators: Highlights ETFs with favorable RAYR values, aiding in identifying investments that offer a balanced risk-return profile.
Dynamic Data Table:
Comprehensive Metrics Display: Showcases key metrics such as 20-day Volume, ATR20, ADR20, moving averages status, yield ratios, and volatility measures.
Color-Coding: Utilizes color-coded elements to indicate the status of various metrics, enhancing visual interpretation and decision-making.
Quick View Alerts: Red indicators prompt traders to take a closer look, streamlining the analysis process.
Trigger Indicators:
Pre-Trigger Conditions: Identifies potential market triggers based on moving average crossovers and other predefined conditions.
Bullish and Bearish Conditions: Differentiates between bullish and bearish trends, providing visual cues for potential trade opportunities.
Background Color Coding:
Timeframe-Based Coloring: Changes the chart's background color based on the selected timeframe (e.g., yellow for 1-minute, blue for 5-minute), offering an immediate visual reference for the current trading context.
Usage Benefits:
Holistic Market Analysis: Combines technical indicators with fundamental metrics to provide a well-rounded view of stock performance.
Enhanced Decision-Making: Helps traders identify trends, volatility, and potential trade triggers, facilitating informed trading strategies.
Visual Clarity: Employs color-coded elements and a comprehensive data table to simplify complex data, making it easier to interpret market conditions at a glance.
Customization: Offers flexibility in selecting which VWAPs to display and allows for adjustments based on different timeframes and trading preferences.
Efficiency in Monitoring: The dynamic background and color-coded table enable quick assessments, saving traders time and enhancing responsiveness to market changes.
"Another Brian" is an invaluable tool for traders seeking to integrate multiple analytical perspectives into their trading routine. By providing deeper market insights through its unique combination of technical and fundamental metrics, along with intuitive visual cues, "Another Brian" empowers traders to make more informed and strategic decisions in the dynamic stock market environment.
Supertrend and MACD strategyThe Supertrend and MACD Strategy is a comprehensive trading approach designed to capitalize on market trends by using a combination of the Supertrend indicator, the Exponential Moving Average (EMA), and the Moving Average Convergence Divergence (MACD). This strategy aims to identify optimal entry and exit points for both long and short trades, while incorporating strict risk management rules.
Indicators Used:
Supertrend: This indicator is used to identify the overall trend direction. It provides clear signals for trend reversals, helping traders to enter trades in the direction of the prevailing trend.
200-period EMA: This long-term moving average is used to determine the primary trend direction. The strategy only takes long trades when the price is above the 200 EMA and short trades when the price is below it.
MACD: The MACD is used to gauge the momentum and confirm the signals provided by the Supertrend and EMA. It consists of the MACD line, the signal line, and the histogram.
Entry Conditions:
Long Entry:
The Supertrend indicator shows an uptrend (direction > 0).
The MACD line is above the signal line (macd > signal).
The price is above the 200-period EMA (close > ema200).
Short Entry:
The Supertrend indicator shows a downtrend (direction < 0).
The MACD line is below the signal line (macd < signal).
The price is below the 200-period EMA (close < ema200).
Exit Conditions:
Long Exit:
Exit the long position when the MACD line crosses below the signal line (ta.crossunder(macd, signal)).
Set a stop loss (SL) below the lowest low of the last 10 periods (lowestLow - 1).
Short Exit:
Exit the short position when the MACD line crosses above the signal line (ta.crossover(macd, signal)).
Set a stop loss (SL) above the highest high of the last 10 periods (highestHigh + 1).
Risk Management:
The strategy ensures that no new positions are opened if there is already an open trade, preventing overexposure in the market.
Alerts:
Alerts are set to notify traders when the MACD crosses the signal line, providing timely updates for potential exit points.
Weekly Bullish Pattern DetectorThis script is a TradingView Pine Script designed to detect a specific bullish candlestick pattern on the weekly chart. Below is a detailed breakdown of its components:
1. Purpose
The script identifies a four-candle bullish pattern where:
The first candle is a long green (bullish) candlestick.
The second and third candles are small-bodied candles, signifying consolidation or indecision.
The fourth candle is another long green (bullish) candlestick.
When this pattern is detected, the script:
Marks the chart with a visual label.
Optionally triggers an alert to notify the trader.
2. Key Features
Overlay on Chart:
indicator("Weekly Bullish Pattern Detector", overlay=true) ensures the indicator draws directly on the price chart.
Customizable Inputs:
length (Body Size Threshold):
Defines the minimum percentage of the total range that qualifies as a "long" candle body (default: 14%).
smallCandleThreshold (Small Candle Body Threshold):
Defines the maximum percentage of the total range that qualifies as a "small" candle body (default: 10%).
Candlestick Property Calculations:
bodySize: Measures the absolute size of the candle body (close - open).
totalRange: Measures the total high-to-low range of the candle.
bodyPercentage: Calculates the proportion of the body size relative to the total range ((bodySize / totalRange) * 100).
isGreen and isRed: Identify bullish (green) or bearish (red) candles based on their open and close prices.
Pattern Conditions:
longGreenCandle:
Checks if the candle is bullish (isGreen) and its body percentage exceeds the defined length threshold.
smallCandle:
Identifies small-bodied candles where the body percentage is below the smallCandleThreshold.
consolidation:
Confirms the second and third candles are both small-bodied (smallCandle and smallCandle ).
Bullish Pattern Detection:
bullishPattern:
Detects the full four-candle sequence:
The first candle (longGreenCandle ) is a long green candle.
The second and third candles (consolidation) are small-bodied.
The fourth candle (longGreenCandle) is another long green candle.
Visualization:
plotshape(bullishPattern):
Draws a green label ("Pattern") below the price chart whenever the pattern is detected.
Alert Notification:
alertcondition(bullishPattern):
Sends an alert with the message "Bullish Pattern Detected on Weekly Chart" whenever the pattern is found.
3. How It Works
Evaluates Candle Properties:
For each weekly candle, the script calculates its size, range, and body percentage.
Identifies Each Component of the Pattern:
Checks for a long green candle (first and fourth).
Verifies the presence of two small-bodied candles (second and third).
Detects and Marks the Pattern:
Confirms the sequence and marks the chart with a label if the pattern is complete.
Sends Alerts:
Notifies the trader when the pattern is detected.
4. Use Cases
This script is ideal for:
Swing Traders:
Spotting weekly patterns that indicate potential bullish continuations.
Breakout Traders:
Identifying consolidation zones followed by upward momentum.
Pattern Recognition:
Automatically detecting a commonly used bullish formation.
5. Key Considerations
Timeframe: Works best on weekly charts.
Customization: The thresholds for "long" and "small" candles can be adjusted to suit different markets or volatility levels.
Limitations:
It doesn't confirm the pattern's success; further analysis (e.g., volume, support/resistance levels) may be required for validation
Daily Moving Averages on Intraday ChartsThis moving average script displays the chosen 5 daily moving averages on intraday (minute) charts. It automatically adjusts the intervals to show the proper moving averages.
In a day there are 375 trading minutes from 9:15 AM to 3:30PM in Indian market. In 5 days there are 1875 minutes. For other markets adjust this data accordingly.
If 5DMA is chosen on a five minute chart the moving average will use 375 interval values (1875/5 = 375) of 5minute chart to calculate moving average. Same 5DMA on 25minute chart will use 75 interval values (1875/25 = 75).
On a 1minute chart the 5DMA plot will use 1875 interval values to arrive at the moving average.
Since tradingview only allows 5000 intervals to lookback, if a particular daily moving average on intraday chart needs more than 5000 candle data it won't be shown. E.g 200DMA on 5minute chart needs 15000 candles data to plot a correct 200DMA line. Anything less than that would give incorrect moving average and hence it won't be shown on the chart.
MA crossover for the first two MAs is provided. If you want to use that option, make sure you give the moving averages in the correct order.
You can enhance this script and use it in any way you please as long as you make it opensource on TradingView. Feedback and improvement suggestions are welcome.
Special thanks to @JohnMuchow for his moving averages script for all timeframes.
Value Zones [Influxum]The volume of traded contracts at a specific price level is, in our opinion, one of the most critical components of any trading system. The area where price acceptance occurred, and the most contracts were traded, represents a very objective phenomenon on the chart, reducing the degree of discretionary trading. This is commonly referred to as POC – Point of Control – the point where the most units of an instrument were traded. Our Value Zones take this a step further by identifying additional local extremes, i.e., areas where significant trading volumes occurred locally at specific prices. This provides objective information about the points on the market where buyers and sellers agreed on a price, resulting in what is known as consolidation. This information can help identify the price levels or zones where aggressive buyer or seller behavior, and consequently a significant price reaction, might be expected. We do not perceive the POC or local extremes as mere price levels but rather as zones. The distribution of trades in the market is a stochastic process, and deviations can occur, which is why we extend local extremes and the POC with a coefficient reflecting the current session's volatility.
🟪 General Settings
Session
Value Zones are always calculated for a specific time period. In this section, you can set whether you want to see Value Zones for 30-minute candles, hourly charts, 4-hour charts, daily, weekly, or monthly timeframes. Keep in mind the timeframe you are currently viewing. If you attempt to display monthly Value Zones on minute candles, the chart will typically load only 10,000 to 20,000 candles, representing a maximum of 20 days, which is insufficient for accurately determining monthly Value Zones.
Levels of Detai l
To simplify working with Value Zones, you don’t need to manually set the size of a single row in the volume profile in terms of ticks. Simply choose how many rows the entire range of the selected session should be divided into. Local maxima will then be identified within the specified number of rows. The more rows you choose, the more detailed the Value Zones will be. However, this may lead to identifying local extremes too close to each other (in cases where consolidation has occurred for a longer period). We recommend an optimal setting of 50 to 100 rows to ensure the significant local extremes are effectively visualized.
Volume Type
An interesting metric is not just the volume traded at a price but also the ratio of buy and sell volumes – the delta. Based on the data available, this is not a precise tick-based or bid-ask delta but rather a delta derived from the volume of candles on lower timeframes. For daily sessions, for instance, we use minute candles. If a candle closes higher than it opens, it is considered positive delta. If it closes lower, it is negative delta. This helps identify whether buyers or sellers were more aggressive at a specific price level (not whether there were more buyers or sellers, as each trade always involves both sides).
🟪 Heatmap
A heatmap visualizes the volume profile, displaying volume on a given row through color intensity. For standard volume, the intensity represents a single color. For delta, separate colors are used to represent positive and negative delta intensity.
Align
Choose whether the Heatmap will always appear on the right or left side. If set to the right, historical Heatmaps will display at the start of the next session after the session concludes. A developing session’s Heatmap will appear on the right in real time. If set to the left, the Heatmap will always appear at the start of the session it represents. For a developing session, the Heatmap is also on the left. Note that right after the session begins, the Heatmap may look unusual because there isn’t yet enough price data to calculate all the rows (e.g., the 50 rows set in Levels of Detail).
Heatmap Length
This determines the Heatmap’s length in terms of the number of candles.
Color Settings
You can configure colors separately for Volume and Delta modes. The color settings for POC are shared for both modes.
🟪 Local Peaks
Draw Local Peaks
Here, you can set how local peaks (in addition to POC) will be displayed. If set to "None," neither POC nor any local extreme will be shown. You can choose to display POC and local peaks as lines, boxes, or both.
Number of Local Peaks
If set to 0 and a display mode for POC and local extremes (line, box, or both) is active, only the POC will be displayed. Any value higher than 0 will display that number of local extremes, as long as they are found. If the Level of Detail is set too low, no local extremes might be identified.
🟪 Visuals - Historical & Current
To tailor your chart to your preferences, you can freely customize the colors for local peaks and POC, lines and boxes, and even differentiate between historical and developing values. The choice is entirely yours!
Richs Market StructureThis Pine Script indicator, "Last Bullish High & Lowest Low Tracker with Timeframe Background and Fill", is designed to visually track bullish and bearish trends based on price action on the current chart and a user-defined timeframe. It provides dynamic line plotting, area fills, and background coloring to represent trend alignment between the current chart and the selected timeframe.
Features and Functionalities
Tracks Bullish Highs and Bearish Lows:
The script identifies:
Bullish High: The highest price reached after a bullish (green) candle.
Bearish Low: The lowest price reached after a bearish (red) candle.
It dynamically updates these levels based on the price movements.
Line Plotting:
Current Chart Lines:
The Plotted Bullish High line (green/red) indicates the last bullish high.
The Lowest Low line (green/red) indicates the last bearish low.
Selected Timeframe Lines:
A separate set of lines is plotted for the user-defined timeframe (e.g., daily, weekly):
A Bullish High Line for the selected timeframe (lighter green).
A Lowest Low Line for the selected timeframe (lighter red).
Dynamic Area Fills:
The area between the Plotted Bullish High and Lowest Low is filled:
Green Fill: When both lines are green (indicating a bullish alignment).
Red Fill: When both lines are red (indicating a bearish alignment).
For the selected timeframe:
The area between the timeframe-specific Bullish High and Lowest Low is similarly filled with lighter colors.
Background Color Based on Timeframe Alignment:
The background color represents the trend alignment on the selected timeframe:
Green Background: When the timeframe’s Bullish High is rising and Lowest Low is rising (bullish trend).
Red Background: When the timeframe’s Bullish High is falling and Lowest Low is falling (bearish trend).
What It’s For
This indicator is designed for traders who want to:
Visualize Trends Across Timeframes:
It helps identify when the current chart’s trend aligns with a higher timeframe trend (e.g., daily, weekly).
Useful for multi-timeframe analysis.
Spot Bullish and Bearish Trends:
The color-coded lines and fills clearly show the dominant trend on both the current chart and the selected timeframe.
Plan Trades Based on Trend Alignment:
When the current chart and selected timeframe show the same trend:
Both lines and fills turn green (bullish).
Both lines and fills turn red (bearish).
This alignment is a potential signal for entering long or short trades.
Identify Reversals and Divergences:
Divergence between the current chart and timeframe trends (e.g., green on one, red on the other) may indicate trend weakening or reversal.
Visual Elements
Lines:
Solid lines (current chart): Represent the Plotted Bullish High and Lowest Low.
Dashed/lighter lines (selected timeframe): Represent the timeframe-specific Bullish High and Lowest Low.
Fills:
Green/Red fills highlight trend zones:
On the current chart (darker).
On the selected timeframe (lighter).
Background:
The entire chart background turns green or red based on the selected timeframe’s trend alignment.
Summary
This indicator is ideal for traders who want a clear visual representation of price trends and multi-timeframe alignment. It simplifies trend-following strategies by providing:
Easy-to-interpret fills and background colors.
Clear bullish and bearish zones.
Multi-timeframe trend confirmation.
Trend FinderEnglish
Trend Finder is an indicator designed to identify breakouts and breakdowns based on specified timeframes. It monitors the previous high and low prices and changes the bar color when the current close price surpasses these levels.
Features
Customizable Timeframes: Set your preferred high/low and close resolutions.
Visual Alerts: Bars turn lime green on breakout above the previous high and red on breakdown below the previous low.
Alert Conditions: Receive notifications when significant price movements occur.
日本語
Trend Finderは、指定した時間枠に基づいてブレイクアウトとブレイクダウンを識別するためのインジケーターです。前日の高値と安値を監視し、現在の終値がこれらのレベルを超えたときにバーの色を変更します。
特徴
カスタマイズ可能な時間枠 高値/安値と終値の解像度を設定可能。
視覚的アラート 前日の高値を超えるとバーがライムグリーンに、安値を下回ると赤に変化。
アラート条件 重要な価格変動時に通知を受け取れます。
Chart Example
Disclaimer
This indicator is for educational purposes only and should not be considered as financial advice. Always perform your own analysis before making trading decisions.
MTF ADX TableThis Indicator displays a table on the chart with the Average Directional Index (ADX) values for two different timeframes. It calculates the ADX using a custom formula and shows the ADX values along with their corresponding timeframes. The table's position, font size, and background color can be customized, and the timeframes are labeled with "ADX" appended to their unit (e.g., "5m ADX", "1D ADX"). The table updates dynamically with the latest ADX values for each timeframe. The indicator also provides a rating, based of the thresholds settings
Dynamic Spot vs Perp Spread### **Description for TradingView Publication**
---
**Dynamic Spot vs Perp Spread**
(For USDT-Spot and USDT.P-Perp)
Summary of Usefulness:
This indicator is a valuable tool for traders who want to monitor and capitalize on the relationship between spot and perpetual futures (perp) prices. When the spot price exceeds the perp price, it's often a leading signal that the perp price will follow, creating potential trading opportunities. While this behavior doesn't happen every time, divergences between spot and perp prices can frequently signal significant market movements.
What it Does:
This indicator calculates and displays the price spread (percentage difference) between the spot price and perpetual futures (perp) price of a cryptocurrency asset. It dynamically adjusts to the instrument being viewed, ensuring that spot dominance (spot price higher) is plotted above the zero line and perp dominance (perp price higher) is plotted below the zero line. Additionally, the indicator accounts for symbols with multipliers (e.g., `1000SHIBUSDT.P`) to ensure accurate calculations.
Key features include:
- Automatic symbol detection and adjustment for Spot/Perp pairs.
- Dynamic handling of price multipliers for assets with prefixes like `1000`.
- Visualization of spread with a histogram and optional smoothing using an EMA (Exponential Moving Average).
- Configurable alerts for significant spread changes and spread flips.
- No repainting: the indicator uses the `barmerge.lookahead_off` setting to ensure stable, non-repainting values.
---
### **How to Use**
1. **Add the Indicator:**
- Search for "Dynamic Spot vs Perp Spread" in the TradingView Indicators library and add it to your chart.
2. **Understand the Visualization:**
- A positive spread (green histogram) indicates that the spot price is higher than the perp price (spot dominance).
- A negative spread (red histogram) indicates that the perp price is higher than the spot price (perp dominance).
3. **Customize Settings:**
- **EMA Length:** Use the input field to smooth the spread data over a chosen number of periods.
- **Alert Threshold:** Set a threshold to receive alerts when the spread exceeds a specific percentage.
4. **Receive Alerts:**
- Enable alerts for spread flips (when dominance shifts between spot and perp) or when the spread exceeds the defined threshold.
5. **Use Case Examples:**
- **Spot vs. Perp Arbitrage:** Traders can monitor significant deviations between spot and perp prices to identify potential arbitrage opportunities.
- **Market Sentiment Analysis:** Persistent spot dominance may indicate stronger buying interest in the spot market, while perp dominance may suggest futures market speculation.
---
### **Repainting Behavior**
This indicator **does not repaint** because it uses `barmerge.lookahead_off` for all calculations, ensuring that data from the comparison symbol (spot or perp) is locked to the currently completed candle. This means the values plotted and alerts triggered are reliable and do not change retrospectively.
Repainting occurs when an indicator uses future-looking or incomplete data for calculations. By design, this indicator avoids such practices, making it suitable for live trading and analysis.
---