Volume Gaps and ImbalancesThis Pine script indicator is designed to visually depict price inefficiencies, as identified by Volume Imbalances (VI) or Gaps. A Volume Gap is a scenario where the wicks of two successive candles don’t intersect, while an Imbalance occurs when only the wicks overlap, leaving the bodies apart. These zones of inefficiency frequently act as magnets for price, with the market striving rebalance in accordance with ICT principles.
Relevance:
Volume Gaps/Imbalances are zones of highly inefficient price delivery as per ICT concepts and represent a very strong draw to price. Price will often seek to rebalance those zones to ensure efficient price delivery. Consequently, these zones can provide good targets for entries in the opposite direction or take profit targets for previous entries in the direction of the Gap/Imbalance.
How It Works:
The indicator keeps track of all Gaps/Imbalances from the beginning of the available history. It automatically removes all mitigated Gaps/Imbalances, which are situations where the price has at least reached the bottom of a bullish gap or the top of a bearish gap.
On the last bar, the most recent valid gaps are highlighted with a box drawn from the start to the end of the gap. The start of a bullish gap is determined by the highest price of the previous candle’s open or close, while for bearish gaps, it’s the lowest price of the previous candle’s open or close. Conversely, the end of a bullish gap is the lowest price of the current candle’s open or close, and for bearish gaps, it’s the highest price of the current candle’s open or close.
To enhance the indicator’s speed and minimize chart noise, only the most recent gaps will be displayed, up to the limit set in the indicator settings.
Each displayed VI/GAP will indicate the size of the imbalance in ticks. For imbalances greater than 3 ticks, which represent stronger draws of liquidity, the color transparency will be reduced, and the text will be made more prominent. Volume Gaps are also marked with a 🧲 emoji for easy visual identification.
The indicator will automatically extend the boxes representing valid imbalances to the current bar for as long as the imbalance is not mitigated.
If an imbalance has been tapped, but not mitigated, the indicator will append 🚩emoji to denote that the imbalance has been partially mitigated and may no longer have as strong of a draw for price.
Configurability:
A user may configure the number of imbalances to show, the setting applies to bullish/bearish imbalances individually. This setting can be set to any value from 1 – 50.
Appearance wise, color, style and color transparency of each box representing an imbalance can be configured. The imbalance box label can be configured by setting the text size, along with the vertical & horizontal alignment.
What makes this indicator different:
Designed with high performance in mind, to reduce impact on chart render time.
Only keeps valid imbalances on the chart, with a limit on the # drawn
Indicates the size of the gap and provides visual markets to denote stronger, weaker and partially mitigated gaps
Mum Analizi
Bearish 3 Bars Reversal PatternThis TradingView Pine Script indicator identifies and highlights a bearish 3-bar reversal pattern on your chart. The script also calculates the percentage difference between the current low and the previous high, displaying this value on the chart when the pattern is detected.
Features:
Pattern Detection:
The script detects a bearish 3-bar reversal pattern when the high of the previous bar is higher than the high of the bar before it, and the current high is lower than the previous high.
Percentage Difference Calculation:
When the pattern is detected, the script calculates the percentage difference between the current low and the previous high. This percentage is displayed on the chart.
Visual Indicators:
When a bearish 3-bar reversal pattern is detected, a label is created on the chart showing the calculated percentage difference. The label is styled with a downward arrow, red color, and white text for clear visibility.
Alerts:
An alert condition is set up to notify users when the bearish 3-bar reversal pattern is detected. This allows traders to take timely action based on the pattern.
Bullish 3 Bars Reversal PatternThis TradingView Pine Script indicator identifies and highlights a bullish 3-bar reversal pattern on your chart. The script also calculates the percentage difference between the current high and the previous low, displaying this value on the chart when the pattern is detected.
Features:
Pattern Detection:
The script detects a bullish 3-bar reversal pattern when the low of the previous bar is lower than the low of the bar before it, and the current low is higher than the previous low.
Percentage Difference Calculation:
When the pattern is detected, the script calculates the percentage difference between the current high and the previous low. This percentage is displayed on the chart.
Visual Indicators:
When a bullish 3-bar reversal pattern is detected, a label is created on the chart showing the calculated percentage difference. The label is styled with an upward arrow, green color, and white text for clear visibility.
Alerts:
An alert condition is set up to notify users when the bullish 3-bar reversal pattern is detected. This allows traders to take timely action based on the pattern.
Demand Supply Zone AlertsDemand Supply Zone Alert Indicator
This indicator functions as a scanner/screener and is designed to identify symbols with potential demand and supply zones and generate alerts based on your customized settings. It does not visually plot anything on the chart but is used to place alerts.
Key Features:
1. Demand Supply Zone Patterns:
- Drop Base Rally
- Rally Base Rally
- Rally Base Drop
- Drop Base Drop
2. Zoning Methods:
- Wick to Wick: In a demand zone, this method uses the highest high of the basing as the proximal line. For supply zones, it uses the lowest low of the basing.
- Body to Wick: In a demand zone, this method uses the highest body of the basing as the proximal line. For supply zones, it uses the lowest body of the basing.
3. Legin Methods:
- Candle Type: Based on the candle's bullish or bearish structure.
- Candle Color: Uses the candle color to determine the legin, with green indicating a rally and red indicating a drop.
4. Additional Zone Options:
- Follow Through Pattern: Zones with one legout followed by another legout, based on user-defined strength settings.
- Overnight Gap Zones: Zones formed due to overnight gaps after the basing.
- All Demand Supply Zone Structures: Includes all zones, even if they are not considered quality zones.
5. Zone Settings:
- Number of Candles in Basing: Customize the number of candles in the basing phase. For example, setting it to 3 will only identify zones with 3 or fewer basing candles.
- Legout Strength for Single Legout Pattern: Defines how strong a legout candle must be to qualify as a zone.
- Legout Strength for Follow-Through Pattern: Specifies the strength required for two consecutive legout candles to qualify as a follow-through pattern.
Functionality:
The indicator identifies zones based on a three-component structure: legin, basing, and legout. It uses an algorithm that categorizes candles as legin, basing, or legout based on their range compared to the average candle on the chart. Quality zones are defined by legout candles that are significantly larger than the average candle, while basing candles are smaller.
Once a valid zone structure is identified, the indicator will generate an alert from the list of symbols provided in the settings. Alerts will notify users according to their alert notification settings.
Usage Recommendations:
- This indicator works as a real-time scanner or screener to shortlist symbols when a valid zone is formed based on user settings.
- It aids in identifying potential demand and supply zones, but does not provide explicit buy or sell signals.
- Users should integrate this tool with their own trading plan and thoroughly evaluate any identified symbols before making trades.
Limitations:
This indicator does not provide explicit buy or sell signals. It is intended to aid in identifying symbols where demand and supply zones are being created. Users should use this tool in conjunction with their own trade plan and thoroughly evaluate any identified symbols before making any trades.
Disclaimer:
Please ensure you thoroughly evaluate and qualify any identified symbols according to your individual trade plan before making any trades.
ATR Gerchik LightAverage True Range ( ATR ) is a technical analysis indicator that measures volatility in the market. ATR is a moving average of the true range over a period of time.
ATR calculation procedure:
1. Determine the true maximum - this is the highest of the current maximum and yesterday's closing price of the day.
2. Determine the true minimum - this is the smallest of the current minimum and yesterday's closing price.
3. Determine the true range - this is the distance between the true maximum and minimum.
4. We exclude extremely large candles (> x2 ATR) and extremely small ones (< 0.5 ATR) from the obtained true ranges.
5. We calculate the average for the selected period based on the remaining range.
6. We calculate the percentage of the current True Range relative to the average ATR value for the previous period.
Description:
If you analyze it yourself, you will see that 75-80% of the time, the instrument moves only 1 ATR per day. You must understand that if an instrument has, for example, moved 80% of its daily range, it is not advisable to purchase it. This is comparable to a car's fuel tank: if the tank is almost empty, the car won't go far. Most indicators that calculate ATR include anomalous candles, which give unreliable results and lead to incorrect decisions. Because of this, many traders prefer to calculate ATR on their own.
However, the Gerchik ATR indicator accounts for anomalous candles and filters out extremely large candles (> 2x ATR) and extremely small ones (< 0.5x ATR). Additionally, this indicator immediately shows the consumed “fuel” of the instrument as a percentage, so you don't have to calculate the distance traveled yourself. This allows you to make quick, informed decisions. If we see that the tank is almost empty, it is logical not to get into that car today. When building any strategy, you must rely on the average movement.
Key Features:
Anomalous Candle Filtering: Excludes extremely large and small candles to provide more reliable ATR values.
Consumed Fuel Indicator: Shows the percentage of the ATR consumed, helping traders quickly assess the remaining potential movement.
Daily Timeframe Focus: Designed specifically for use on daily charts for accurate long-term analysis.
Practical Applications:
Entry and Exit Points: Use the ATR to determine optimal entry and exit points by assessing market volatility and potential price movement.
Stop-Loss Placement: Calculate stop-loss levels based on ATR to ensure they are placed at appropriate distances, accounting for current market volatility.
Trend Confirmation: Use the percentage of ATR consumed to confirm the strength of a trend and decide whether to enter or exit trades.
Examples of Use:
Trend Following: During strong trends, ATR helps identify periods of increased volatility, signaling potential breakouts or reversals.
Range Trading: In ranging markets, ATR can highlight periods of low volatility, indicating consolidation and potential breakout zones.
Note: The indicator is displayed and works only on the daily timeframe!
The indicator was created according to the instructions, description of the functionality, and strategy of Mr. Gerchik. Thank you so much, Chief!
________________________
Average True Range ( ATR , средний истинный диапазон) – это индикатор технического анализа, который измеряет волатильность на рынке. ATR представляет собой скользящее среднее истинного диапазона за определенный период времени.
Порядок расчета ATR:
1. Определяем истинный максимум – это наивысшее из текущего максимума и вчерашней цены закрытия дня.
2. Определяем истинный минимум – это наименьшее из текущего минимума и вчерашней цены закрытия.
3. Определяем истинный диапазон – это расстояние между истинным максимумом и минимумом.
4. Исключаем из полученных истинных диапазонов экстремально большие свечи (> x2 ATR) и экстремально маленькие (< 0.5 ATR).
5. Рассчитываем среднее за выбранный период исходя из оставшегося диапазона.
6 . Рассчитываем процент текущего истинного диапазона (True Range) относительно среднего значения ATR за предыдущий период.
Описание:
Если вы сами проанализируете, то увидите, что 75-80% времени инструмент ходит только 1 ATR. И вы должны понимать, что если инструмент внутри дня прошел, к примеру, 80% своего движения, то этот инструмент больше нельзя покупать. Это можно сравнить с баком машины: если бак почти пустой, машина далеко не уедет. Большинство индикаторов, которые рассчитывают ATR, производят расчет с паранормальными свечами. Это дает недостоверный результат и приводит к неверным решениям. Многие трейдеры из-за этого не используют готовые индикаторы и предпочитают считать ATR самостоятельно. Но индикатор ATR Gerchik учитывает паранормальные свечи и фильтрует экстремально большие свечи (> x2 ATR) и экстремально маленькие (< 0.5 ATR). Также этот индикатор сразу показывает израсходованный "бензин" инструмента в процентах. И вам не надо самостоятельно высчитывать пройденный путь. Вы можете быстро принимать правильные решения. Если мы видим, что бак почти пустой, логично не садиться в эту машину сегодня. Когда вы строите какую-то стратегию, вы должны обязательно полагаться на среднестатистическое движение.
Существует много стратегий, завязанных на ATR, которые учитывают волатильность инструмента, запас хода, точки разворота, места выставления стоп-лоссов (SL) и тейк-профитов (TP) и другие факторы. Я не буду останавливаться на них, так как каждый может найти описание этих стратегий и использовать их на свой выбор.
Индикатор отображается и работает только на дневном таймфрейме!
Индикатор создан по наставлениям, описанию функционала и стратегии господина Герчика. Огромное спасибо, Шеф!
ICT Single Candle Order Block (SCOB) [UAlgo]The "ICT Single Candle Order Block (SCOB) " designed for traders who utilize the concept of Order Blocks in their trading strategy. Order Blocks are significant price levels where institutions or smart money have placed their trades, leading to potential future price reactions when these levels are revisited. This indicator focuses on identifying and highlighting Single Candle Order Blocks (SCOBs), allowing traders to visually analyze key price levels on their charts.
🔶 What is Single Candle Order Block (SCOB) ?
A Single Candle Order Block (SCOB) is a specific type of Order Block that is identified based on a single candlestick pattern. These patterns indicate potential areas where significant buying or selling interest has occurred, often leading to a notable price reaction when revisited. In the context of this indicator, a bullish SCOB is identified when a specific bullish candlestick pattern is met, and a bearish SCOB is identified based on a bearish candlestick pattern.
Bullish SCOB: Detected when the open price of two bars ago is higher than its close, the close price of the previous bar is higher than its open, the current close price is higher than the open, the low of the previous bar is lower than the low of two bars ago, and the current close is higher than the high of the previous bar.
Bearish SCOB: Detected when the open price of two bars ago is lower than its close, the close price of the previous bar is lower than its open, the current close price is lower than the open, the high of the previous bar is higher than the high of two bars ago, and the current close is lower than the low of the previous bar.
🔶 Key Features
Show Single Candle Order Block (SCOB): Toggle the visibility of the Single Candle Order Blocks on the chart.
Mitigation Method: Choose between "Close" and "Wick" methods for determining whether a SCOB has been mitigated (price has interacted with the block).
Show Last X SCOBs: Control the number of most recent SCOBs displayed on the chart, allowing you to focus on the most relevant price levels.
Volatility Filter: Enable or disable the volatility filter, which uses the Average True Range (ATR) to filter out less significant SCOBs. When enabled, only SCOBs with an ATR above the mean value of the ATR are displayed.
Customizable Colors: Configure the colors for bullish and bearish SCOBs to enhance visual clarity. The indicator uses cooler RGB values to ensure the blocks are distinct and easily noticeable.
🔶 Disclaimer
The "ICT Single Candle Order Block (SCOB) " indicator is provided for educational and informational purposes only. Trading involves significant risk and may not be suitable for all investors.
Past performance is not indicative of future results. Users should use this indicator in conjunction with their own research and trading strategy.
Candlestick Structure [LuxAlgo]The Candlestick Structure indicator detects major market trends and displays various candlestick patterns aligning with the detected trend, filtering out potentially unwanted patterns as a result. Multiple trend detection methods are included and can be selected by the users.
A dashboard showing the alignment percentage of each individual pattern is also provided.
🔶 USAGE
By distinguishing major and minor trend detection, we can still detect patterns based on minor trends, yet filter out the patterns that do not align with the major trend.
By detecting candlestick patterns that align with a major trend, we can effectively detect the ending points of retracements, potentially providing various entry points of interest within a trend.
Users are able to track the alignment of each candlestick pattern in the dashboard to reveal which patterns typically align with the trend and which may not.
Note: Alignment % only checks if the pattern's direction is the same as the current trend direction. These are only raw readings and not any type of confidence score.
🔶 DETAILS
In this indicator, we are identifying and tracking 16 different Candlestick Patterns.
🔹 Bullish Patterns
Hammer: Identified by a small upper wick (or no upper wick) with a small body, and an elongated lower wick whose length is 2X greater than the candle body’s width.
Inverted Hammer: Identified by a small lower wick (or no lower wick) with a small body, and an elongated upper wick whose length is 2X greater than the candle body’s width.
Bullish Engulfing: A 2 bar pattern identified by a large bullish candle body fully encapsulating (opening lower and closing higher) the previous small (bearish) candle body.
Rising 3: A 5 bar pattern identified by an initial full-bodied bullish candle, followed by 3 bearish candles that trade within the high and low of the initial candle, followed by another full-bodied bullish candle closing above the high of the initial candle.
3 White Soldiers: Identified by 3 full-bodied bullish candles, each opening within the body and closing below the high, of the previous candle.
Morning Star: A 3 bar pattern identified by a full-bodied bearish candle, followed by a small-bodied bearish candle, followed by a full-bodied bullish candle that closes above the halfway point of the first candle.
Bullish Harami: A 2 bar pattern, identified by an initial bearish candle, followed by a small bullish candle whose range is entirely contained within the body of the initial candle.
Tweezer Bottom: A 2 bar pattern identified by an initial bearish candle, followed by a bullish candle, both having equal lows.
🔹 Bearish Patterns
Hanging Man: Identified by a small upper wick (or no upper wick) with a small body, and an elongated lower wick whose length is 2X greater than the candle body’s width.
Shooting Star: Identified by a small lower wick (or no lower wick) with a small body, and an elongated upper wick whose length is 2X greater than the candle body’s width.
Bearish Engulfing: A 2 bar pattern identified by a large bearish candle body fully encapsulating (opening higher and closing lower) the previous small (bullish) candle body.
Falling 3: A 5 bar pattern identified by an initial full-bodied bearish candle, followed by 3 bullish candles that trade within the high and low of the initial candle, followed by another full-bodied bearish candle closing below the low of the initial candle.
3 Black Crows: Identified by 3 full-bodied bearish candles, each open within the body and closing below the low, of the previous candle.
Evening Star: A 3 bar pattern identified by a full-bodied bullish candle, followed by a small-bodied bullish candle, followed by a full-bodied bearish candle that closes below the halfway point of the first candle.
Bearish Harami: A 2 bar pattern, identified by an initial bullish candle, followed by a small bearish candle whose range is entirely contained within the body of the initial candle.
Tweezer Top: A 2 bar pattern identified by an initial bullish candle, followed by a bearish candle, both having equal highs.
🔹 Trend Types
Major trend is displayed at all times, the display will change depending on the trend method selected.
The minor trend can also be visualized; to avoid confusion, the minor trend can optionally be displayed through the candle colors.
Supertrend: Displays Upper and Lower SuperTrend, When we break above the upper, it is considered an Uptrend. When we break below the lower, it is considered a Downtrend.
EMAs: Displays Fast and Slow EMAs, When Fast>Slow, it is considered an Uptrend. When Fast<Slow, it is considered a Downtrend.
ChoCh: Displays ChoCh Lines and Labels, When a Bullish ChoCh occurs, it is now considered as an Uptrend. When a Bearish ChoCh occurs, it is now considered a Downtrend.
Donchian Channel: Displays the Highest and Lowest Values, When we break above the Highest, it is considered an Uptrend. When we break below the Lowest, it is considered a Downtrend.
Below is an example of the Change of Character (ChoCh) method of trend detection.
Note: In this description, each screenshot has a different trend method in use, scroll through if you are looking for a specific one.
🔶 SETTINGS
Candlestick Patterns: Choose which candlestick patterns to include in calculations.
Minor Trend Length: Determines the Donchian Channel length to use for minor trend identification.
Major Trend Method: Determines which trend method to use for identifying Major Trend.
Major Trend Parameters: Various inputs for controlling Major trends, depending on the specific method you have selected.
Color Candles: Colors the chart candles based on minor trend.
Dashboard: Control display size and location of Alignment Dashboard.
Hindsight TrendNon-realtime but highly accurate trend analyzer with only one fundamental parameter ( period aka "minimum trend length")
Basically Hindsight Trend is pivot points on steroids (handles many cases much better). Plus it shows the trend line.
Period
I usually like periods of 10, 20 or 30.
The indicator's delay is identical to the chosen period.
You can actually try a low period like 4 or 5 to get something resembling a realtime indicator.
Uptrends are based on candle lows, downtrends are based on candle highs. So it is possible to have an uptrend and a downtrend at the same time.
Triangles
At trend start, a triangle is drawn. (Trendline isn't always there if the trend didn't last that long.)
Triangle size shows how long the high or low that started the trend remained unbroken. E.g. with period 20: Small triangle = 20+ candles, medium triangle = 40+ candles, big triangle = 80+ candles. So a big triangle marks an important reversal point.
How Hindsight Trend works
Whenever a candle completes, its high and low are saved as potentially "notable" points. A high or low is the more notable the longer it stays unbroken (= not touched again by price).
Now we simply take the notable highs and lows (as in, staying unbroken at least for the user-selected period)... and connect them together - if they are close enough to each other (less than "period" candles away). And decorate the first point in each trend with a triangle.
We only know whether a point is notable after "period" more candles have printed, so that's where the indicator's delay comes from.
Finally we divide the period by 2 and look at highs and lows which are unbroken for that shorter time. While they are not fully "notable" as defined above, we'll call them "semi-notable". Those points are only considered at the end of a trend, and help us extend the trend line a bit further.
QuasimodoThis indicator helps traders spot certain patterns on a price chart that might indicate a change in price direction. These patterns are known as "engulfing patterns."
How It Works1.
Bullish Engulfing Patterns:- The current bar (or candle) closes higher than it opens (it's a green or white candle).- The previous bar closed lower than it opened (it was a red or black candle).- The current bar's high is higher than the previous bar's high, and its low is lower than the previous bar's low.- There's another variation where both the current and previous bars are green, but the current bar is still higher and lower than the previous one.
2. Bearish Engulfing Patterns:- The current bar closes lower than it opens (it's a red or black candle).- The previous bar closed higher than it opened (it was a green or white candle).- The current bar's low is lower than the previous bar's low, and its high is higher than the previous bar's high.- There's another variation where both the current and previous bars are red, but the current bar is still higher and lower than the previous one.
What It Shows-
When the indicator spots one of these patterns, it colors the previous candle:-
Yellow for a bullish pattern (price might go up).-
Pink for a bearish pattern (price might go down).
Alerts- The indicator can also send an alert to let you know when it finds one of these patterns, so you don't miss it.
Inside Bar Setup [as]Inside Bar Setup Indicator Description
The **Inside Bar Setup ** indicator is a powerful tool for traders to identify and visualize inside bar patterns on their charts. An inside bar pattern occurs when the current candle's high is lower than the previous candle's high, and the current candle's low is higher than the previous candle's low. This pattern can indicate a potential breakout or a continuation of the existing trend.
Key Features:
1. **Highlight Inside Bar Patterns:**
- The indicator highlights inside bar patterns with distinct colors for bullish and bearish bars. Bullish inside bars are colored with the user-defined bull bar color (default lime), and bearish inside bars are colored with the user-defined bear bar color (default maroon).
2. **Marking Mother Candle High and Low:**
- The high and low of the mother candle (the candle preceding the inside bar) are marked with horizontal lines. The high is marked with a green line, and the low is marked with a red line.
- These levels are labeled as "Range High" and "Range Low" respectively, with the labels displayed a few bars to the right for clarity. The labels have a semi-transparent background for better visibility.
3. **Target Levels:**
- The indicator calculates and plots potential target levels (T1 and T2) for both long and short positions based on user-defined multipliers of the mother candle's range.
- For long positions, T1 and T2 are plotted above the mother candle's high.
- For short positions, T1 and T2 are plotted below the mother candle's low.
- These target levels are optional and can be toggled on or off via the input settings.
4. **Customizable Inputs:**
- **Colors:**
- Bull Bar Color: Customize the color for bullish inside bars.
- Bear Bar Color: Customize the color for bearish inside bars.
- **Long Targets:**
- Show Long T1: Toggle the display of the first long target.
- Show Long T2: Toggle the display of the second long target.
- Long T1: Multiplier for the first long target above the mother candle's high.
- Long T2: Multiplier for the second long target above the mother candle's high.
- **Short Targets:**
- Show Short T1: Toggle the display of the first short target.
- Show Short T2: Toggle the display of the second short target.
- Short T1: Multiplier for the first short target below the mother candle's low.
- Short T2: Multiplier for the second short target below the mother candle's low.
5. **New Day Detection:**
- The indicator detects the start of a new day and clears the inside bar arrays, ensuring that the pattern detection is always current.
#### Usage:
- Add the indicator to your TradingView chart.
- Customize the inputs to match your trading strategy.
- Watch for highlighted inside bars to identify potential breakout opportunities.
- Use the marked range highs and lows, along with the calculated target levels, to plan your trades.
This indicator is ideal for traders looking to capitalize on inside bar patterns and their potential breakouts. It provides clear visual cues and customizable settings to enhance your trading decisions.
Note:
This indicator is based on famous 15 min inside bar strategy shared by Subashish Pani on his youtube channel Power of stocks. Please watch his videos to use this indicator for best results.
Liquidity Swings [UAlgo]The "Liquidity Swings " indicator is designed to help traders identify liquidity swings within the market. This tool is particularly useful for visualizing areas where liquidity is accumulating and where it is being swept, providing valuable insights for making informed trading decisions. By tracking the pivots in price and associating them with volume, the indicator highlights zones of potential support and resistance, helping traders understand market dynamics more clearly.
🔶 Key Features
Liquidity Swing Sensitivity: Adjustable sensitivity settings to fine-tune the detection of liquidity swings according to market conditions and trader preferences.
Two modes of liquidity calculation:
Cumulative Liquidity: Aggregates unswept liquidity over multiple swings until it is swept, providing a broader view of liquidity accumulation.
Individual Liquidity: Displays the accumulated liquidity for each swing independently, offering a more granular perspective.
Visual Customization: Options to customize the colors and sizes of liquidity lines, areas, and informational text for better visual clarity.
Dynamic Updates: The indicator dynamically updates liquidity zones and labels, adjusting to new market data to keep traders informed in real-time.
🔶 Disclaimer
The "Liquidity Swings " indicator is provided for educational and informational purposes only.
It should not be considered as financial advice or a recommendation to buy or sell any financial instrument.
The use of this indicator involves inherent risks, and users should employ their own judgment and conduct their own research before making any trading decisions. Past performance is not indicative of future results.
🔷 Related Scripts
Liquidity Sweeps
Williams %R Liquidity Sweeps
Engulfing Pattern Alerts By PropFirm AlgoWe have now decided to make this indicator to support the trading community! If you find yourself struggling to identify bullish engulfing and bearish engulfing candles, this one is for you.
Release Notes:
Initial release with robust detection of bullish and bearish engulfing patterns.
Added trend and volume filters for enhanced pattern accuracy.
Custom alerts for real-time notifications of potential trading opportunities.
Appendix 1 - Example Case of Use For Educational Study.
Appendix 2 - Technical description which focuses on explaining the functionality of the script, how the code works, and how it can be used by traders, providing further immediate insight value.
Appendix 1:
This indicator will provide you with Two types Bullish and Bearish Engulfing Alerts.
The Regular Bullish and Bearish Engulfing Candle's Shown As
Bullish Engulfing ︽
Bearish Engulfing ︾
And the Filtered Bullish and Bearish Engulfing Candle Shown As
Filtered Bullish Engulfing ⇡
Filtered Bearish Engulfing ⇣
You can also change the Alert Symbol to any text, symbol or emoji of choice in the Setting Style Panel . This allows you to customize the alert symbol style to your liking, Example....
Using the power of artificial intelligence, we coded this indicator based on technical descriptions to perfect this simple problem.
Use this tool together with different strategies as a confirmation to your trading bias.
Use Supply and Demand Zones together with the Engulfing Pattern Alerts
First, Verify if the bullish engulfing candle is at the end of a dying trend.
Secondly, Check if it’s at a major 1-hour, 4-hour, or daily support and resistance zone.
Then wait for the retest, then enter a position.
DON’T USE THE ENGULFING ALERT AS A POINT OF ENTRY, OR WHILE MARKETS ARE CONSOLIDATING nor in the middle of an active trend.
Now for the second most used method:
Use The Fibonacci together with the Engulfing Pattern Alerts
First, Identify an impulse candle that creates a new trend in the market.
Then Draw out your Fibonacci tool from the start of the candle to the end of the impulse leg where rejection is shown.
Wait for the price to retrace to the 61.8 retracement and use the engulfing candle as a second confirmation.
And lastly, wait for the price to retest the fib level showing signs of rejection, then enter.
Appendix 2:
Technical Description:
The "Engulfing Pattern Alerts By PropFirm Algo" script is a sophisticated tool designed to identify and alert traders of potential bullish and bearish engulfing patterns in the market, enhanced by trend and volume filters for improved accuracy. This script helps traders spot potential trend reversals by analyzing candlestick patterns in conjunction with volume data and moving averages.
Key Features:
Bullish Engulfing Pattern Detection: Identifies when a smaller bearish candle is followed by a larger bullish candle, indicating potential upward price movement.
Bearish Engulfing Pattern Detection: Identifies when a smaller bullish candle is followed by a larger bearish candle, indicating potential downward price movement.
Volume Filter: Enhances pattern reliability by ensuring the identified pattern is accompanied by a significant volume increase.
Trend Filter: Utilizes Simple Moving Averages (SMA) to filter patterns based on the prevailing market trend, reducing false signals on the "Filtered Engulfing Alerts" Setting.
Custom Alerts: Configurable alerts for both bullish and bearish engulfing patterns, allowing traders to stay informed in real-time.
How It Works:
Bullish Engulfing Pattern:
Detected when the body of the current candle completely engulfs the body of the previous candle.
Confirmed if the current candle closes higher than it opens, and the previous candle closes lower than it opens.
Volume on the current candle must be greater than the previous candle.
Bearish Engulfing Pattern:
Detected when the body of the current candle completely engulfs the body of the previous candle.
Confirmed if the current candle closes lower than it opens, and the previous candle closes higher than it opens.
Volume on the current candle must be greater than the previous candle.
Trend Filter:
Uses moving averages to determine the market trend.
Bullish patterns are only considered in downtrends.
Bearish patterns are only considered in uptrends.
Alerts:
Alerts can be set up for both bullish and bearish patterns, ensuring you are notified when significant market movements are detected.
How to Use:
Add the script to your chart.
Configure the alert settings according to your trading preferences.
Monitor your chart for plotted symbols indicating potential bullish (︽) and bearish (︾) engulfing patterns.
Utilize the alert conditions to get notified when these patterns occur.
Master Pattern [UAlgo]🔶 Description:
"Master Pattern by UAlgo" aims to identify and visualize "Master Patterns" in price movements on financial charts, and focusing on detecting liquidity levels and sweeps. The indicator provides users with the ability to customize settings such as master pattern detection and detection flexibility, sensitivity to liquidity levels, and visualization preferences.
🔶 What is the Master Pattern ?
The Master Pattern is a framework built around understanding market cycles, which include three main phases: Contraction, Expansion, and Trend.
Contraction Phase: During this phase, the market fluctuates less and consolidates within a narrow range. Institutional trading volumes tend to be low and it is recommended to avoid trading entries during this period.
Expansion Phase: volatility increases and prices fluctuate greatly. Institutional traders begin to establish positions at this stage and may manipulate prices to attract retail traders to create liquidity for their own buy or sell targets.
Trend Phase: The final phase that completes the market cycle. Institutional traders started taking profits, causing the trend to reverse. This triggered panic among retail traders, leading to liquidations and stop-losses. This creates liquidity from which institutional traders can profit, while retail traders' positions are overvalued.
🔶 Key Features:
Pattern Detection : The indicator detects and visualizes contraction patterns in price movements, helping traders identify potential areas of price consolidation.
Also traders can choose between different modes (Strict, Normal, Relax) for obtaining master patterns, providing flexibility in pattern identification based on individual trading strategies and preferences.
The Value/Expansion Line : This value line is considered by institutional traders as a potential “Point of Origin” for future price movements.
An Application Example of the Master Pattern :
Select the Appropriate Timeframes: A significant separation between the higher timeframe (HTF) and the lower timeframe (LTF) is essential. For instance, combinations like 4H and 15M, 4H and 5M, or 1H and 1M. You can change this according to your own strategy.
Trade Based on Contraction Box, Value Line and Liquidity: When the HTF is above value, look for buying opportunities on your LTF below value. Conversely, when the HTF is below value, seek selling opportunities on your LTF above value. Sweeping liquidity in LTF is also an important parameter.
Also Value/Expansion Line can also be used as Support/Resistance zone,
Liquidity Levels : The indicator includes functionality to detect and display liquidity levels on the chart.
Dashboard Display : A customizable dashboard provides users with key information, including liquidity levels, master pattern values, and whether the current price is above or below Master Pattern's value lines.
Additionally, when liquidity is swept or the price rises above or falls below the value line. this information can be displayed on the dashboard.
Customizable Settings: Users can adjust parameters such as the pattern detection mode, sensitivity to liquidity levels, liquidity type (cumulative or individual for each swing), visualization preferences for master patterns, the position and font size of the dashboard.
🔶 Disclaimer:
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
EngulfScanEngulf Scan
Introduction:
The Engulf Scan indicator helps users identify bullish and bearish engulfing candlestick patterns on their charts. These patterns are often used as signals for trend reversals and are important indicators for traders. Engulf Scan signals are generated when an engulfing pattern is swallowed by another candlestick of the opposite color.The signal of a candle engulfment formation is generated when the 1st candle is engulfed by the 2nd candle and the 2nd candle is engulfed by the 3rd candle.
Features:
Bullish Engulfing Pattern: Indicates the start of an upward trend and typically signals that the market is likely to move higher.
Bearish Engulfing Pattern: Indicates the start of a downward trend and typically signals that the market is likely to move lower.
Color Coding: Users can customize the background colors for bullish and bearish engulfing patterns.
Usage Guide:
Adding the Indicator: Add the "Engulf Scan" indicator to your TradingView chart.
Color Settings: Choose your preferred colors for bullish and bearish engulfing patterns from the indicator settings.
Pattern Detection: View the engulfing patterns on the chart with the specified colors and symbols. These patterns help identify potential trend reversal points.
Parameters and Settings:
Bullish Engulfing Color: Background color for the bullish engulfing pattern.( Green)
Bearish Engulfing Color: Background color for the bearish engulfing pattern. (Red)
Examples:
Bullish Engulfing Example: On the chart below, you can see bullish engulfing patterns highlighted with a green background. (Green)
Bearish Engulfing Example: On the chart below, you can see bearish engulfing patterns highlighted with a red background. (Red)
Frequently Asked Questions (FAQ):
How are engulfing patterns detected?
Engulfing patterns are formed when a candlestick completely engulfs the previous candlestick. For a bullish engulfing pattern, a bullish candlestick follows a bearish one. For a bearish engulfing pattern, a bearish candlestick follows a bullish one.
Which timeframes work best with this indicator?
Engulfing patterns are generally more reliable on daily and higher timeframes, but you can test the indicator on different timeframes to see if it fits your trading strategy.
Can I detect a reversal or trend?
As can be seen in the image, it sometimes appears as a return signal and sometimes as a harbinger of an ongoing trend.But it may be a mistake to use the indicator only for these purposes. However, this indicator may not be sufficient when used alone. It can be combined with different indicators from the Tradingview library.
Updates and Changelog:
v1.0: Initial release. Added detection and color coding for bullish and bearish engulfing patterns.
-Please feel free to write your valuable comments and opinions. I attach importance to your valuable opinions so that I can improve myself.
Japanese Candlestick Pattern RecognizerJapanese candlestick patterns are a powerful tool in technical analysis, offering traders and investors a detailed view of price action and market sentiment.
1. Spinning Top
Description: The Spinning Top has a small candle body with long upper and lower shadows. This indicates that both buyers and sellers were active during the period, but neither took control. The close is near the open.
Significance: Signals indecision in the market. Can appear in both uptrends and downtrends and suggests that the current direction may be losing momentum.
Type: Neutral
2. Doji
Description: A Doji has almost equal opening and closing prices, meaning there was no clear direction during the period. It has long upper and lower shadows.
Significance: Signals indecision or a potential trend reversal. In the context of a strong trend, a Doji can indicate that the trend is losing strength.
Type: Neutral
3. White Marubozu
Description: A long white (or green) candle body with no shadows. Indicates that buyers were in control throughout the entire period.
Significance: Strongly bullish. A White Marubozu often signals the continuation of an uptrend or the start of a new uptrend.
Type: Bullish
4. Black Marubozu
Description: A long black (or red) candle body with no shadows. Indicates that sellers were in control throughout the entire period.
Significance: Strongly bearish. A Black Marubozu often signals the continuation of a downtrend or the start of a new downtrend.
Type: Bearish
5. Hammer
Description: A small candle body at the upper end of the trading range with a long lower shadow. Signals a bullish reversal after a downtrend.
Significance: Bullish reversal. The long lower shadow shows that sellers were strong during the day, but buyers managed to push the price back up.
Type: Bullish
6. Hanging Man
Description: A small candle body at the upper end of the trading range with a long lower shadow. Signals a bearish reversal after an uptrend.
Significance: Bearish reversal. The long lower shadow shows that sellers were strong during the day, suggesting that buyers may be losing strength.
Type: Bearish
7. Inverted Hammer
Description: A small candle body at the lower end of the trading range with a long upper shadow. Signals a bullish reversal after a downtrend.
Significance: Bullish reversal. The long upper shadow shows that buyers attempted to push the price up, indicating a potential trend reversal.
Type: Bullish
8. Shooting Star
Description: A small candle body at the lower end of the trading range with a long upper shadow. Signals a bearish reversal after an uptrend.
Significance: Bearish reversal. The long upper shadow shows that buyers tried to push the price higher, but sellers managed to drive it back down.
_____________________________________
Japanische Candlestick-Muster sind ein leistungsstarkes Werkzeug in der technischen Analyse, das Händlern und Investoren eine detaillierte Sicht auf die Kursentwicklung und Marktstimmung bietet.
1. Spinning Top
Beschreibung: Der Spinning Top hat einen kleinen Kerzenkörper und lange obere und untere Schatten. Dies zeigt, dass sowohl Käufer als auch Verkäufer während der Periode aktiv waren, aber keiner die Kontrolle übernommen hat. Der Schlusskurs liegt nahe dem Eröffnungskurs.
Bedeutung: Signalisiert Unentschlossenheit im Markt. Kann sowohl im Aufwärtstrend als auch im Abwärtstrend erscheinen und zeigt an, dass die aktuelle Richtung möglicherweise an Schwung verliert.
Typ: Neutral
2. Doji
Beschreibung: Ein Doji hat nahezu gleiche Eröffnungs- und Schlusskurse, was bedeutet, dass es während der Periode keine klare Richtung gab. Es hat lange obere und untere Schatten.
Bedeutung: Signalisiert Unentschlossenheit oder mögliche Trendumkehr. Im Kontext eines starken Trends kann ein Doji darauf hinweisen, dass der Trend an Kraft verliert.
Typ: Neutral
3. White Marubozu
Beschreibung: Langer weißer (oder grüner) Kerzenkörper ohne Schatten. Zeigt an, dass Käufer den ganzen Tag über die Kontrolle hatten.
Bedeutung: Stark bullisch. Ein White Marubozu signalisiert oft die Fortsetzung eines Aufwärtstrends oder den Beginn eines neuen Aufwärtstrends.
Typ: Bullish
4. Black Marubozu
Beschreibung: Langer schwarzer (oder roter) Kerzenkörper ohne Schatten. Zeigt an, dass Verkäufer den ganzen Tag über die Kontrolle hatten.
Bedeutung: Stark bärisch. Ein Black Marubozu signalisiert oft die Fortsetzung eines Abwärtstrends oder den Beginn eines neuen Abwärtstrends.
Typ: Bearish
5. Hammer
Beschreibung: Kleiner Kerzenkörper am oberen Ende der Handelsspanne, langer unterer Schatten. Signalisiert eine bullische Umkehr nach einem Abwärtstrend.
Bedeutung: Bullische Umkehr. Der lange untere Schatten zeigt an, dass die Verkäufer während des Tages stark waren, aber die Käufer konnten den Preis zurück nach oben treiben.
Typ: Bullish
6. Hanging Man
Beschreibung: Kleiner Kerzenkörper am oberen Ende der Handelsspanne, langer unterer Schatten. Signalisiert eine bärische Umkehr nach einem Aufwärtstrend.
Bedeutung: Bärische Umkehr. Der lange untere Schatten zeigt an, dass die Verkäufer während des Tages stark waren, was darauf hindeutet, dass die Käufer an Kraft verlieren könnten.
Typ: Bearish
7. Inverted Hammer
Beschreibung: Kleiner Kerzenkörper am unteren Ende der Handelsspanne, langer oberer Schatten. Signalisiert eine bullische Umkehr nach einem Abwärtstrend.
Bedeutung: Bullische Umkehr. Der lange obere Schatten zeigt, dass die Käufer versucht haben, den Preis nach oben zu treiben, und dies könnte auf eine bevorstehende Trendumkehr hinweisen.
Typ: Bullish
8. Shooting Star
Beschreibung: Kleiner Kerzenkörper am unteren Ende der Handelsspanne, langer oberer Schatten. Signalisiert eine bärische Umkehr nach einem Aufwärtstrend.
Bedeutung: Bärische Umkehr. Der lange obere Schatten zeigt, dass die Käufer versucht haben, den Preis weiter nach oben zu treiben, aber die Verkäufer konnten den Preis wieder nach unten drücken.
Typ: Bearish
Japanese CandlesSimple script to add standard Japanese candles in a new pane for use when using a non-standard chart (Ex: Heikin Ashi) that doesn't use true OHLC values in it's calculation so that you can still monitor true values and activity without having to take up the screen real estate that using a layout containing a whole new chart would require. This also makes horizontal sync of the main chart to the Japanese candle chart perfect at all times.
CS PatternsOverview
The CS Patterns indicator is designed to identify and highlight various candlestick patterns on a trading chart. Candlestick patterns are a crucial tool for traders as they help in predicting market movements and potential reversals. This indicator includes single, double, and triple candlestick patterns without revealing the source code, making it an ideal tool for traders who want to utilize advanced pattern recognition while keeping the script proprietary.
Candlestick Patterns Included
Single Candlestick Patterns
Bullish Hammer:
Found at the bottom of a downtrend.
Features a small body, long lower shadow, and little to no upper shadow.
Indicates potential reversal to an uptrend.
Bearish Hanging Man:
Found at the top of an uptrend.
Similar structure to the Bullish Hammer but indicates a potential reversal to a downtrend.
Bullish Inverted Hammer:
Found at the bottom of a downtrend.
Features a small body, long upper shadow, and little to no lower shadow.
Suggests a potential reversal to an uptrend.
Bearish Shooting Star:
Found at the top of an uptrend.
Indicates a potential reversal to a downtrend.
Dragonfly Doji:
Small or non-existent upper shadow and long lower shadow.
Indicates a potential reversal when found at the bottom of a trend.
Gravestone Doji:
Long upper shadow and small or non-existent lower shadow.
Indicates a potential reversal when found at the top of a trend.
Standard Doji:
Very small body, indicates indecision in the market.
Can signal reversals when found at the tops or bottoms of trends.
Long-Legged Doji:
Long upper and lower shadows with a small body.
Indicates a potential market reversal.
Double Candlestick Patterns
Bullish Engulfing:
A smaller bearish candle followed by a larger bullish candle that engulfs it.
Indicates a potential reversal to an uptrend.
Bearish Engulfing:
A smaller bullish candle followed by a larger bearish candle that engulfs it.
Indicates a potential reversal to a downtrend.
Bullish Harami:
A large bearish candle followed by a smaller bullish candle within its range.
Indicates a potential reversal to an uptrend.
Bearish Harami:
A large bullish candle followed by a smaller bearish candle within its range.
Indicates a potential reversal to a downtrend.
Bullish Piercing Line:
A bearish candle followed by a bullish candle that closes above the midpoint of the previous candle.
Indicates a potential reversal to an uptrend.
Bearish Dark Cloud Cover:
A bullish candle followed by a bearish candle that closes below the midpoint of the previous candle.
Indicates a potential reversal to a downtrend.
Bullish Inside Bar:
A smaller bullish or bearish candle completely within the range of the previous bearish candle.
Indicates a potential continuation or reversal to an uptrend.
Bearish Inside Bar:
A smaller bullish or bearish candle completely within the range of the previous bullish candle.
Indicates a potential continuation or reversal to a downtrend.
Triple Candlestick Patterns
Bullish Morning Star:
A bearish candle followed by a smaller-bodied candle (bullish or bearish), and then a larger bullish candle.
Indicates a potential reversal to an uptrend.
Bearish Evening Star:
A bullish candle followed by a smaller-bodied candle (bullish or bearish), and then a larger bearish candle.
Indicates a potential reversal to a downtrend.
How to Use?
Adding the Indicator:
Open TradingView and go to the Pine Script Editor.
Copy and paste the provided code into a new script.
Save and add the script to your chart.
Interpreting the Signals:
The indicator will highlight the patterns on the chart with specific labels.
Use these visual cues to make informed trading decisions based on potential reversals or continuations indicated by the patterns.
Customizing the Settings:
The indicator allows for customization of various settings through input options.
Adjust these settings according to your trading strategy and preferences.
Linear Regression Channel [GOODY]Linear Regression Channel
The Linear Regression Channel indicator is a versatile tool for traders, providing valuable insights into price trends and potential reversal points. It plots two linear regression channels on the chart, helping you visualize price dynamics and make informed trading decisions.
Indicator Features and Settings
General Settings:
• Source: The price source used for channel calculations. Typically, the close price is used.
1st Channel Settings:
• Length: The number of bars used to calculate the linear regression channel. Increasing this value widens the channel and makes it less responsive to recent price changes.
• Upper Deviation Multiplier: Multiplier for the upper deviation from the regression line. Higher values widen the upper boundary.
• Lower Deviation Multiplier: Multiplier for the lower deviation from the regression line. Higher values widen the lower boundary.
• Show Channel Lines: Toggle to show or hide the channel lines, useful for visualizing channel boundaries.
• Show Channel Background: Toggle to show or hide the background color between the channel lines, highlighting the area covered by the channel.
• Show Labels: Toggle to show or hide price level labels for the channel lines, helping to identify exact price levels at the boundaries.
• Upper Label Color: Color for the upper price level label.
• Lower Label Color: Color for the lower price level label.
• Label Offset: Offset for the price level labels, adjusting them horizontally.
1st Channel Display Settings:
• Extend Lines Left: Extend the regression channel lines to the left of the chart, visualizing historical performance.
• Extend Lines Right: Extend the regression channel lines to the right of the chart, anticipating future price movements.
1st Channel Style Settings:
• Upper 1st Channel Line Color: Color for the upper line of the first channel.
• Lower 1st Channel Line Color: Color for the lower line of the first channel.
• Upper Channel Color: Color for the upper channel area, filling the area between the upper channel line and the midline.
• Lower Channel Color: Color for the lower channel area, filling the area between the lower channel line and the midline.
• Baseline Color (DownTrend): Color of the baseline during a downtrend.
• Baseline Color (Up Trend): Color of the baseline during an uptrend.
2nd Channel Settings:
• Length for 2nd Channel: The number of bars used to calculate the second linear regression channel.
• Upper Deviation Multiplier for 2nd Channel: Multiplier for the upper deviation from the regression line in the second channel.
• Lower Deviation Multiplier for 2nd Channel: Multiplier for the lower deviation from the regression line in the second channel.
2nd Channel Display Settings:
• Show 2nd Channel Lines: Toggle to show or hide the second channel lines, useful for visualizing channel boundaries.
• Show 2nd Channel Background: Toggle to show or hide the background color between the second channel lines, highlighting the area covered by the second channel.
2nd Channel Style Settings:
• Upper 2nd Channel Color: Color for the upper line of the second channel.
• Lower 2nd Channel Color: Color for the lower line of the second channel.
• Baseline Color for 2nd Channel (Up Trend): Color of the baseline during an uptrend in the second channel.
• Baseline Color for 2nd Channel (Down Trend): Color of the baseline during a downtrend in the second channel.
• Upper 2nd Channel Background Color: Background color for the upper part of the second channel, filling the area between the upper channel line and the midline.
• Lower 2nd Channel Background Color: Background color for the lower part of the second channel, filling the area between the lower channel line and the midline.
• Line Style for 2nd Channel: Choose the style of the second channel lines (Solid, Dotted, Dashed, Arrow, Round).
2nd Channel Line Settings:
• Extend 2nd Channel Lines Left: Extend the second channel lines to the left of the chart, visualizing historical performance.
• Extend 2nd Channel Lines Right: Extend the second channel lines to the right of the chart, anticipating future price movements.
Other Settings:
• Show VWAP Detection: Toggle to enable or disable VWAP detection. VWAP (Volume Weighted Average Price) indicates the average price of the asset, weighted by volume.
• Show Doji Detection: Toggle to enable or disable Doji candle detection. Doji candles have small bodies, indicating market indecision.
• Doji Size Threshold: Threshold to determine a Doji candle. A smaller value indicates a stricter Doji definition.
How to Read the Indicator for Trading
Channel Lines and Colors:
• The upper line of the 1st channel (green) and the 2nd channel (blue) represents the upper boundary based on linear regression and deviation multipliers.
• The lower line of the 1st channel (red) and the 2nd channel (orange) represents the lower boundary.
• The midline changes color dynamically based on the trend direction:
• Pink during a downtrend for the 1st channel.
• Blue during an uptrend for the 1st channel.
• Gray during a consolidation for both channels.
• The 2nd channel uses similar color logic.
Channel Background:
• The background color between the channel lines highlights the area covered by the channel:
• Green for the upper area and red for the lower area in the 1st channel.
• Blue and orange for the upper and lower areas in the 2nd channel, respectively.
Labels:
• Price level labels at the channel boundaries provide exact price levels, displayed at the upper and lower lines if enabled.
VWAP and Doji Detection:
• VWAP is plotted as circles on the chart, showing the volume-weighted average price.
• Doji candles are highlighted with a background color if detected, indicating potential market indecision.
Alerts:
• Alerts are triggered when the trend direction of the channels changes. For example:
• An alert notifies you if the 1st channel is in an uptrend while the 2nd channel is in a downtrend.
• An alert notifies you if the 1st channel is in a downtrend while the 2nd channel is in an uptrend.
Trading with the Indicator
• Trend Identification: Use the color and direction of the midline and baseline to identify the current trend. An uptrend is indicated by a blue midline, while a downtrend is indicated by a pink midline.
• Reversal Points: Monitor when the price approaches the upper or lower boundaries of the channels, as these can act as support or resistance levels.
• Volume Insights: Use the VWAP and liquidity levels to understand the true average price based on volume and identify significant areas of trading activity.
• Market Indecision: Watch for Doji candles, which can signal potential reversals or periods of consolidation.
Svopex Pin Bar DetectorThe Pin Bar Detector is a technical analysis tool designed to identify pin bar candlestick patterns on trading charts. A pin bar is characterized by a small candle body and a long shadow, indicating a significant rejection of prices that can signal potential reversals in the market.
Papercuts Recency CandlesPapercuts Recency Candles
V0.8 by Joel Eckert @PapercutsTrading
***This is currently an experimental visual exploratory concept.***
*** Experimental tools should only be explored by fellow coders and experienced traders.***
DESCRIPTION:
As coders, how can we seamlessly transition between actual and smoothed price data sets as data ages?
This is a visual experiment to see if and how data can be smoothly transitioned from one value to another over a set number of candles. If we visualize a chart in 3 zones, a head, a body, and a tail we can start to understand how this could work. The head zone would represent the first data set of actual asset prices. The body zone would represent the transition period from the first to the to the second data set. Last, the tail zone would represent the second data set made of a Hull Moving Average of the asset.
CONCEPT:
It is conceived that data and position precision constantly shift as they decay or age, therefore making older price levels act more like price regions or zones vs exact price points. This is what I am calling Recency.
This indicator utilizes the concept of "Recency" to explore the possibility of a new style of candle. It aims to maintain accurately on recent prices action but loosen up accuracy on older price action. The very nature of this requires ALTERING HISTORICAL DATA within the body zone or transition candles to achieve the effect. It is similar to trying to merge a line chart type with a candle chart type.
This experiment of using recency for candles was to create candles that stay more accurate near current price but fade away into a simple line as they age out, resulting in a simplified view of the big picture which consists of older price action.
This experimental design theoretically will help you stay focused only on what is currently unfolding and to minimize distractions from older price nuances.
USAGE:
WHO:
This is not recommended for new traders or novices that are unfamiliar with standard tools. Standardized tools should always be used to get grounded and build a foundation.
Active traders who are familiar with trading comfortably should experiment with this to see if they find it interesting or usable.
Pine coders may find this concept interesting enough, and may adapt the idea to other elements of their own scripts if they find it interesting… I just ask they give credit where credit is due.
HOW:
The best way to visualize how this works is to do the following:
Load it on a chart.
Turn off Standard candles in Chart Setting of the current window. I actually just turn off the bodies and borders, and dim the old wicks as I like the way the old wicks look when left alone with these new candles.
Enable chart replay at a faster speed, like 3x, and play back the chart to watch the behavior of the candles.
You’ll be able to see how the head of the candle type preserves OHLC, and indicates direction but as the candle starts to age it progressively flowers into the HMA
While it plays back try adjusting settings to see how they affect behavior.
You can see the data average in real-time which often reveals how unstable actual price noise really is.
The head candle diagonals indicate the candle body direction.
SETTINGS:
Coloring: You can choose your own bullish or bearish colors to match your scheme.
Price Line: The price line is colored according to the trend and
Head Length: These candles are true to the source high and low. They remain slightly brighter than transition candles. We have a max of 50 to keep things responsive.
Time Decay Length: This is the amount of candles it takes to transition to the tail. Max is 300 to keep things responsive.
Decay Continuity: This forces transition candles to complete the HMA curve instead of creating gaps when conforming to it. The best way to visualize this feature is to run a 3x replay of an asset, and toggle the result on and off. On is preferred.
Tail HMA Length: This is the smoothing amount for the resulting HMA stepline that calculates every close, but has a delayed draw until after the transition candles. You can optionally turn off the delayed visibility to help with comprehension.
Tail HMA Weight: This is simply an option to make the tail thicker or thinner. This also adjusts the border on the head candles to help them stand out.
Show Side Bias Dots: Default true: Draws a dot when bias to one side changes to help keep you on the right side of trade. Side bias is simply the alignment of 3 moving averages in one direction.
IMPORTANT NOTES:
You'll have to turn off or dim the standard candles in your view "Chart Settings" to see this properly.
Be aware that since the candles are based on boxes and utilize the “recency concept”, which means their data decays and changes as it ages. This results in a cleaner chart overall, but exact highs and lows will be averaged out as the data decays, forming a Hull Moving Average stepline of your defined length once decay has finished.
SUMMARY OF HOW IT WORKS:
First it takes candle information and creates unique boxes that represent each candle based on the high and low. It utilizes boxes because standard candles once written, cannot be later altered or removed… which is a key element for this effect to work.
Next it creates a second box and line from open to close for the body of the Head candles. This indicates direction at a glance.
As candles age beyond the defined distance of the “Head” they enter the "Body" aka "Time Decay" zone. Here the accuracy of the high and low will be averaged down using an incremental factor of the HMA, defined by "Time Decay Length" amount of candles.
The resulting tail is an HMA of Tail HMA Length. This tail is always calculate at close, but is not drawn instantly. The draw is delayed so that there is not overlapping data, and this makes the effect look more elegant.
There are also two EMAs within the script that do nothing but help candle coloring and help provide a trade side bias. When both EMA's and the HMA align, a side bias is defined. Only when the side bias changes will a new dot is formed.
Head candles have been simplified from previous versions to be easier to read at a a glance.
Consecutive count backtester / quantifytools- Overview
Consecutive counting is a simple method to mechanically define trending states to the upside and downside. Consecutive counts are calculated by taking reference price level (e.g. close 4 candles ago) and count closes above/below it up to a maximum count that resets the consecutive count back to 1. This tool provides the means to backtest each count by measuring % change in price after each count (e.g. % gain 2 candles after a given count).
Users can define reference source that starts the consecutive count (e.g. close 4 candles ago), maximum count where counter resets (e.g. after 9th count) and backtesting period (e.g. price change 2 candles after count).
Filters add extra conditions that must be met on the consecutive count to qualify as valid, which are also reflected on the backtest metrics. The counts can be refined using the following filters:
- RSI above/below X
- Price above/below/at moving average of choice
- Relative volume above/below X
Average gain corresponding to each count as they occur can be toggled off for less clutter. Average price change can also be visualized using candle color. Colors, gradient and table/label sizes are fully customizable.
- Practical guide
Example #1: Identify reversal potential
Consecutive counting is a simple yet effective method to for detecting reversals, for which 7-9 counts are traditionally used. Whether that holds true or not can now be put through a test with different variations of the method as well as using additional filters to improve the probability of a turn.
Example #2: Identify trend following potential
Consecutive counts can also have utility value for trend following. When historical short term change is to the downside, expect downside, when to the upside, expect upside.
RSI divergence(mom check)The core of this indicator is obviously RSI divergence. But there are some tips I would like to explain and suggest.
First of all, although the basic principle of this indicator is simple: simply comparing the price and RSI value within a given time period. To be more specific, if the price now is lowest among last 300 candlesticks but its RSI value is not, then the candlesticks will be marked. However, sometimes it is not accurate. Here are some examples:
This is bitcoin 2h chart from COINBASE. It is true that we can capture most of corrections and make a fortune during a bull market. However, the market is not always consist of bull market:
This is also bitcoin 2h chart from COINBASE. We can imagine how much money we would lose if we buy every time solely according to the RSI divergence signals during a bear market. So, how to solve this question? As a bullish indicator, it's normal to have distortions in a bear market, but I still hope to improve its win rate and make it more reliable even though when people are trading during a bear market. So we need to add some filtering conditions to screen out all the divergence signals.
The first indicator came in my mind is: Momentum. Here is the momentum code with its zero axis:
//@version=5
indicator(title="Momentum", shorttitle="Mom", timeframe="", timeframe_gaps=true)
//input variables
len = input.int(30, minval=1, title="Length")
src = input(close, title="Source")
//calculate momentum
mom = src - src
//draw momentum chart
plot(mom, color=#2962FF, title="MOM")
//draw 0 axis
hline(0, "Zero Line", color=color.white)
One thing we should notice is that ’30’ is the time period of the momentum, you can change this to everything you want according to which assets you are trading. For example, in a long-run bullish stock market or gold market, you can set ’60’. But when it comes to futures or crypto, maybe 30 is a better choice.
Now, I use momentum as a condition to distinguish a bearish trend: if the all momentum value of past 100 candlesticks of my RSI divergence signals are minus, which means these divergence signals are in a bearish trend, in this case, I market them as purple signal2. Attached are some examples of BTC, ETH and SOL charts. We can see if we trade according to green signal1s. We gonna have to cut our losses multiple times, and for leveraged traders, it could even mean facing liquidation. However, signal2 has helped filter most of signal1s. So in most conditions, I believe the appearance of signal2 represents the end of bearish trends.
So far, we have created an overall frame. And I have set ‘alertcondition’ functions so that we can use this indicator to set alerts.
Here are some tips I would like to suggest based on my personal experiences:
1. Set stop losses and follow them strictly;
2. Adjust the time period according to different assets. For instance, 4h chart is good for bitcoin and most altcoin. But when it comes to stock market, 12h or 1d may be a better choice. You need to find the best suitable time period by yourself;
3. In a bear market, please be especially cautious with the green Signal 1; they are great for following uptrends but are not suitable for bottom-fishing. I recommend waiting for the purple Signal 2 to appear before placing trust again in the green Signal 1.
4. To be continued….
Multi Time Period Box Analysis v2 [ HDBhagat ]The "Multi Time Period Chart" indicator in Pine Script is designed to overlay multiple sets of boxes on the chart, each representing price movements on different timeframes. It allows traders to visually compare price action across various timeframes simultaneously. The indicator offers flexibility by allowing users to choose between automatic mode (where timeframes are selected based on predefined rules) or manually defining custom timeframes.
Key Features:
Multi-Timeframe Analysis: The indicator enables traders to analyze price action across multiple timeframes concurrently, facilitating a comprehensive view of market dynamics.
User-Defined Timeframes: Traders can customize the timeframes for each set of boxes according to their preferences. They have the option to choose between automatic mode, which selects timeframes based on predefined rules, or manually inputting custom timeframes.
Visual Representation: Price movements are visually represented by boxes drawn on the chart, with each box indicating the price range (from high to low) within a specific timeframe. The color of the boxes indicates whether the closing price is higher or lower than the opening price.
Dynamic Updates: The indicator dynamically updates the boxes as new price data becomes available. It ensures that the visualization remains accurate and reflects the most recent market conditions.
Customizable Styling: Traders can customize the appearance of the boxes, including color, border style, and text display. This allows for personalization to suit individual preferences and improve readability.
Efficient Resource Management: The script efficiently manages computing resources by only processing data when necessary, avoiding unnecessary calculations and reducing runtime errors.
Compatibility: The script is compatible with the Pine Script language on the TradingView platform, making it accessible to a wide range of traders who use this platform for technical analysis.
Overall, the "Multi Time Period Chart" indicator provides traders with a powerful tool for conducting multi-timeframe analysis, aiding in trend identification, pattern recognition, and decision-making in the financial markets.