Candlestick analysis
CPR with VWAP, Supertrend & Trend-based Candle ColorsCPR with VWAP, Supertrend & Trend-Based Candle Colors
🔥 Overview
This powerful TradingView indicator combines CPR (Central Pivot Range), VWAP, Supertrend, and EMAs to provide clear buy/sell signals and trend-based candle coloring. Whether you're a day trader or swing trader, this tool helps identify key support/resistance levels and market trends efficiently.
📌 Features:
✅ CPR (Central Pivot Range) – Key intraday support/resistance levels
✅ VWAP (Volume-Weighted Average Price) – Institutional trading benchmark
✅ Supertrend Indicator – Helps determine the overall market trend
✅ EMA (20, 50, 200) – Identify trend direction & key moving average support/resistance
✅ Trend-Based Candle Coloring –
Green Candles when price is above Supertrend & 20 EMA (Bullish Trend)
Red Candles when price is below Supertrend & 20 EMA (Bearish Trend)
✅ Previous Day High/Low Levels – Important reference points
✅ Customizable Settings – Enable/disable CPR, EMA, or adjust Supertrend parameters
📊 How to Use This Indicator?
🔹 For Intraday & Swing Trading: Use CPR & Supertrend to find key support/resistance zones
🔹 For Trend Confirmation: Look for price above Supertrend & VWAP for bullish confirmation
🔹 For Breakout Trades: Watch price crossing VWAP or EMAs with strong volume
🔹 For Reversal Trades: Red to Green candle switch near support = possible buy signal
🎯 Trading Strategy Example:
🔹 BUY Signal: When price is above Supertrend, VWAP & 20 EMA (Bullish confirmation)
🔹 SELL Signal: When price is below Supertrend, VWAP & 20 EMA (Bearish confirmation)
💡 Best used with volume analysis & price action confirmations!
🔧 Customization Options:
🔹 Turn CPR & EMA ON/OFF
🔹 Adjust Supertrend ATR & Multiplier
🔹 Modify EMA Length & Colors
📈 Ideal For:
✔️ Intraday Traders
✔️ Swing Traders
✔️ Price Action Traders
✔️ Trend Followers
🔔 Add this to your chart & take your trading to the next level! 🚀
MohMaayaaa### **Good Trading Habits for Success**
1️⃣ **Have a Trading Plan** – Define your strategy, entry & exit points, and risk management rules before executing trades.
2️⃣ **Risk Management** – Never risk more than **1-2%** of your capital per trade to avoid major losses.
3️⃣ **Use Stop-Loss & Take-Profit** – Protect your trades with stop-loss to limit losses and take-profit to secure gains.
4️⃣ **Position Sizing** – Adjust trade size based on risk, ensuring no single trade can wipe out your account.
5️⃣ **Emotional Discipline** – Avoid revenge trading, overtrading, or making impulsive decisions. Stick to your plan.
6️⃣ **Keep a Trading Journal** – Track your trades, analyze mistakes, and refine your strategy.
7️⃣ **Continuous Learning** – Stay updated with market trends, technical analysis, and improve your strategy over time.
🔹 **Key Rule:** **Survive first, profit later.** Focus on **capital preservation** before chasing big wins. 🚀
MohMaayaaa### **Good Trading Habits for Success**
1️⃣ **Have a Trading Plan** – Define your strategy, entry & exit points, and risk management rules before executing trades.
2️⃣ **Risk Management** – Never risk more than **1-2%** of your capital per trade to avoid major losses.
3️⃣ **Use Stop-Loss & Take-Profit** – Protect your trades with stop-loss to limit losses and take-profit to secure gains.
4️⃣ **Position Sizing** – Adjust trade size based on risk, ensuring no single trade can wipe out your account.
5️⃣ **Emotional Discipline** – Avoid revenge trading, overtrading, or making impulsive decisions. Stick to your plan.
6️⃣ **Keep a Trading Journal** – Track your trades, analyze mistakes, and refine your strategy.
7️⃣ **Continuous Learning** – Stay updated with market trends, technical analysis, and improve your strategy over time.
🔹 **Key Rule:** **Survive first, profit later.** Focus on **capital preservation** before chasing big wins. 🚀
20 EMA Touch Alert [v5]The Focuz 20 EMA Touch Alert is a simple yet powerful tool developed by Focuz to help traders stay alert when the market price touches the 20-period Exponential Moving Average (EMA).
Nakshatra Indicator 2025Day to day nakshtra based stock selection with automated plot nakshtra line on chart. use 15 mints timeframe for better result. All the stocks and market selection is on the observation basis from last 3 years. Here we are divided 27 nakshtra on three group swing buy is from Ashwini to Ashlesha, delivery buy is from Magha to Jyestha and sell on rise is from Mool to Revati nakshtra. .
Mak-EMAs DPlots the daily values of EMAs on any timeframe. You can change the values for number of days and the associated colours using the settings tab.
All in One | Best Forex Session Indicator by SanykaAll in one. Here's what the indicator currently has:
- Session indicator (Asia, Frankfurt, London, New York and CBDR)
- Automatic session time detection
- Levels Monthly Open, Weekly Open, Daily Open, NY Midnight, PDH, PDL
- Fractals (3-bar fractal)
- View HTF imbalance (FVG) on the LTF timeframe
- Watermark on your screen for beautiful screenshots
- Notes (Your notes on the screen so you don't forget anything)
Why my indicator?
- Beautiful, stylish, eye-pleasing indicator
- Frequent script updates
- Lots of settings for each function
- More functionality planned to be implemented.
- If you need anything, you can write to me in Telegram, and I will implement it in a short time
My Telegram: t.me/sanyka88
RUS:
Все в одном. Вот что сейчас есть в индикаторе:
- Индикатор сессии (Азия, Франкфурт, Лондон, Нью-Йорк и CBDR)
- Автоматическое определение времени сессии
- Уровни Monthly Open, Weekly Open, Daily Open, NY Midnight, PDH, PDL
- Фракталы (3-барный фрактал)
- Просмотр HTF-имбаланса (FVG) на таймфрейме LTF
- Водяной знак на вашем экране для красивых скриншотов
- Заметки (Ваши заметки на экране, чтобы вы ничего не забыли)
Почему именно мой индикатор?
- Красивый, стильный, приятный глазу индикатор
- Частые обновления скрипта
- Очень много настроек под каждую функцию
- Планируется реализовать еще больше функционала.
- Если вам что-то нужно, вы можете написать мне в Telegram, и я это реализую в короткие сроки
Мой Telegram: t.me/sanyka88
SBS INTRA PROIndicator is useful for both intraday and long term purposes.
use 5 MIn, 15Min TF for intraday
and for long term use Weekly TF.
Ivan Gomes StrategyIG Signals+ - Ivan Gomes Strategy
This script is designed for scalping and binary options trading, generating buy and sell signals at the beginning of each candle. Although it is mainly optimized for short-term operations, it can also be used for medium and long-term strategies with appropriate adjustments.
How It Works
• The indicator provides buy or sell signals at the start of the candle, based on a statistical probability of candle patterns, depending on the timeframe.
• It is essential to enter the trade immediately after the signal appears and exit at the end of the same candle.
• If the first operation results in a loss (Loss), the script will send another trade signal at the start of the next candle. However, if the first trade results in a win (Gain), no new signal will be generated.
• The signals follow cycles of 3 candles, regardless of the timeframe. However, if a Doji candle appears, the cycle is interrupted, and no signals will be generated until the next valid cycle starts.
• The strategy consists of up to two trades per cycle: if the first trade is not successful, the second trade serves as an additional attempt to recover.
Key Points to Consider
1. Avoid trading in sideways markets – If price levels do not fluctuate significantly, the accuracy of the signals may decrease.
2. Trade in the direction of the trend – Using Ichimoku clouds or other trend indicators can help confirm trend direction and improve signal reliability. If the market is in an uptrend (bullish trend) and the indicator generates a sell signal, the most prudent decision would be to wait for a buy signal that aligns with the main trend. The same applies to downtrends, where buy signals may be riskier.
These decisions should be based on chart reading and supported by other technical analysis tools, such as support and resistance levels, which indicate zones where price might face obstacles or reverse direction. Additionally, Fibonacci retracement levels can help identify possible pullback points within a trend. Moving averages are also useful for visualizing the general market direction and confirming whether an indicator signal aligns with the overall price structure. Combining these tools can increase trade accuracy and prevent unnecessary trades against the main trend, reducing risks.
3. Works based on probability statistics – The algorithm analyzes candle formations and their statistical probabilities depending on the timeframe to optimize trade entries.
4. Best suited for scalping and binary options – This strategy performs best in 1-minute and 5-minute timeframes, allowing for multiple trades throughout the day.
Technical Details
• The script detects the candle cycle and assigns an index to each candle to identify patterns and possible reversals.
• It recognizes reference candles, stores their colors, and compares them with subsequent candles to determine if a signal should be triggered.
• Doji candle rules are implemented to avoid false signals in indecisive market conditions. When a Doji appears, the script does not generate signals for that cycle.
• The indicator displays visual alerts and notifications, ensuring fast execution of trades.
Disclaimer
The IG Signals+ indicator was created to assist traders who struggle to analyze the market by providing objective trade signals. However, no strategy is foolproof, and this script does not guarantee profits.
Trading involves significant financial risk, and users should test it in a demo account before trading with real money. Proper risk management is crucial for long-term success.
AntoQQE - BarsThis script is a variation on the QQE (Quantitative Qualitative Estimation) concept applied to RSI. It calculates a smoothed RSI line, then determines a “Dynamic Average Range” around that line. By tracking the RSI’s movement relative to these upper (shortBand) and lower (longBand) levels, it determines when price momentum shifts enough to suggest a possible trend flip. The script plots color-coded candles based on these momentum conditions:
• RSI Calculation and Smoothing
An RSI value is obtained over a specified period, then smoothed by an EMA. This smoothed RSI serves as the core measure of momentum.
• Dynamic Average Range (DAR)
The script computes the volatility of the smoothed RSI using two EMAs of its bar-to-bar movements. It multiplies this volatility factor by a QQE multiplier to create upper and lower bands that adapt to changes in RSI volatility.
• Trend Flips
When the smoothed RSI crosses above or below its previous band level (shortBand or longBand), the script interprets this as a shift in momentum and sets a trend state accordingly (long or short).
• Candle Coloring
Finally, the script colors each candle according to how far the smoothed RSI is from a neutral baseline of 50:
Candles turn green when the RSI is sufficiently above 50, suggesting bullish momentum.
Candles turn red when the RSI is sufficiently below 50, indicating bearish momentum.
Candles turn orange when they are near the 50 level, reflecting a more neutral or transitional phase.
Traders can use these colored candles to quickly see when the RSI’s momentum has moved into overbought/oversold zones—or is shifting between bullish and bearish conditions—without needing to consult a separate oscillator window. The adaptive nature of the band calculations can help in spotting significant shifts in market sentiment and volatility.
AFO LiteAFO Lite – Multiple Pivot Breakout & Session Indicator
Overview
AFO Lite is a sophisticated market structure indicator that combines advanced pivot detection with breakout, false break, and engulfing candle pattern analysis – all while visually integrating key session information such as the Asia range and Silent Time. This indicator is designed to provide traders with clear signals on swing highs/lows filtered by ATR, breakout opportunities, and potential false breaks, helping you to better time entries on higher timeframes (M15/H1/H4) for the products you follow.
Pivot High/Low Detection
Swing Logic with ATR Filter:
The indicator identifies swing highs and lows using a custom pivot function. It compares the central candle against surrounding candles and uses an ATR-based threshold to filter out noise. This ensures that only significant swings (with a deviation greater than a set multiple of the ATR) are recognized as pivot points.
Pivot Data Storage:
Each detected pivot is stored as an object (PivotData) that includes the bar index, price, pivot number, and a flag indicating if it has been broken. This systematic approach allows for accurate tracking and subsequent analysis of market structure.
Breakout Detection
First-Time Breakout:
The indicator monitors the most recent (active) pivot. When the price breaches this pivot level (support or resistance) – defined as the close moving beyond the pivot price while the previous bar did not – a breakout is confirmed.
Visual Breakout Signals:
A breakout line is drawn from the pivot point to the current bar, with color coding based on the pivot’s order. The first breakout on a pivot is highlighted in yellow; subsequent breakouts on later pivots appear in red (for support) or lime (for resistance).
Alert Integration:
Alerts are generated the first time a breakout occurs from a pivot level, ensuring that you are notified of potential structural changes in the market.
False Break Detection
False Break Conditions:
A false break is signaled when the price temporarily breaches the pivot level but fails to maintain the move – for example, if the low is below support but the close reverts above the previous bar’s high (or vice versa for resistance).
Timeframe Filtering:
False break alerts are only triggered on higher timeframes (e.g., 30 minutes or more) to avoid noise from lower timeframes like M1, M5, or M15.
Visual & Alert Signals:
When a false break is detected, the indicator places a label on the chart and sends an alert, helping you to avoid entering a trade based on a spurious signal.
Engulfing Candle Pattern Detection
Candle Pattern Analysis:
In addition to pivot and breakout analysis, AFO Lite incorporates an engulfing candle pattern (Type 1) module. It calculates candle bodies and ranges, comparing the current candle with the previous one to identify bullish or bearish engulfing patterns.
Visual Highlighting & Alerts:
When an engulfing pattern meets the specified criteria (including a minimum candle range relative to ATR), the indicator highlights the area on the chart with colored boxes and draws dotted lines at key levels. Alerts are then triggered to notify you of the potential reversal signal.
Session Information & Visualization
Asia Session Range:
The indicator defines the Asia session based on a user-defined time range (e.g., 04:00–12:00 Asia/Ho_Chi_Minh). It calculates the session’s highest and lowest prices and draws a range box and horizontal lines to clearly mark this area.
Silent Time:
A separate background color is applied during “Silent Time” (e.g., 23:00–08:00) so that you can easily identify periods when alerts may be muted or less reliable.
Best Practices for Use
Timeframes:
For optimal performance, set alerts on higher timeframes such as M15, H1, or H4 on the instruments you trade. The indicator is designed to filter out noise and only alert you when significant breakouts or false breaks occur.
Alerts:
Enable alerts for both breakout and false break signals. This ensures you receive notifications whenever there is a meaningful change in market structure.
Customization:
Adjust the ATR multiplier, ATR length, and session settings to match your trading style and the characteristics of your target market.
Final Remarks
Thank you for using AFO Lite. I hope this tool enhances your market analysis and trading decisions. I welcome your feedback and suggestions for further improvements.
Volume Delta & Order Block Suite [QuantAlgo]Upgrade your volume analysis and order flow trading with Volume Delta & Order Block Suite by QuantAlgo, a sophisticated technical indicator that leverages advanced volume delta calculations, along with dynamic order block detection to provide deep insights into market participant behavior. By calculating the distribution of volume between buyers and sellers and tracking pivotal volume zones, the indicator helps traders understand the underlying forces driving price movements. It is particularly valuable for those looking to identify high-probability trading opportunities based on volume imbalances and key price levels where significant activity has occurred.
🟢 Technical Foundation
The Volume Delta & Order Block Suite utilizes sophisticated volume analysis techniques to estimate buying and selling pressure within each price candle. The core volume delta calculation employs a formula that estimates buy volume as: Volume × (Close - Low) ÷ (High - Low) , with sell volume calculated as the remainder of total volume. This approach assumes that when price closes near the high of a candle, most volume represents buying pressure, and when price closes near the low, most volume represents selling pressure.
For order block detection, the indicator implements a multi-step process involving volume pivot identification and price state tracking. It first detects significant volume pivot points using the ta.pivothigh function with a user-defined pivot period. It then tracks the market's order state based on whether the high exceeds the highest high or the low falls below the lowest low. When a volume pivot occurs, the indicator creates order blocks based on price levels at that pivot point. These blocks are continuously monitored for invalidation based on subsequent price action.
🟢 Key Features & Signals
1. Volume Delta Representation on Candles
The Volume Delta visualization on candles shows the buy/sell distribution directly on price bars, creating an immediate visual representation of volume pressure.
When buyers are dominant, candles are colored with the bullish theme color (default: green/teal).
Similarly, when sellers are dominant, candles are colored with the bearish theme color (default: red).
This visualization provides immediate insights into underlying volume pressure without requiring separate indicators, helping traders quickly identify which side of the market is in control.
2. Buy/Sell Pressure Information Table
The Volume Analysis Table provides a comprehensive breakdown of volume metrics across multiple timeframes, helping traders identify shifts in market behavior.
The table is organized into four timeframe columns:
Current Volume
1 Bar Before
1 Day Before
1 Week Before
For each timeframe, the table displays:
Buy volume: The estimated buying volume based on price action
Sell volume: The estimated selling volume based on price action
Total volume: The sum of buy and sell volume
Delta: The difference between buy and sell volume (positive when buyers are dominant, negative when sellers are dominant)
Additionally, the table shows both absolute values and percentage distributions, with trend indicators (Up, Down, or Neutral) at the bottom row of each timeframe column.
This multi-timeframe approach helps traders:
→ Identify volume imbalances between buyers and sellers
→ Track changes in volume delta across different periods
→ Compare current conditions with historical patterns
→ Detect potential reversals by watching for shifts in delta direction
The delta values are particularly useful as they provide a clear indication of market dominance – positive delta (Up) when buyers are dominant, and negative delta (Down) when sellers are dominant.
3. Order Blocks and Their Confluence
Order blocks represent significant price zones where volume pivots occur, potentially indicating areas of significant market participant activity.
The indicator identifies two types of order blocks:
Bullish Order Blocks (support): Highlighted with a green/teal color, these represent potential support areas where price might bounce when revisited
Bearish Order Blocks (resistance): Highlighted with a red color, these represent potential resistance areas where price might reverse when revisited
Each order block is visualized as a colored rectangle with a dashed line showing the average price within the block. The blocks are extended to the right until they are invalidated.
Order blocks can serve as key reference points for trading decisions, for example:
Support/resistance identification
Stop loss placement (beyond the opposite edge of the block)
Potential reversal zones
Target areas for profit-taking
When price approaches an order block, traders should look for confluence with the volume delta on candles and the information in the volume analysis table. Strong setups occur when all three components align – for example, when price approaches a bearish order block with increasing sell volume shown on the candles and in the volume table.
🟢 Practical Usage Tips
→ Volume Analysis and Interpretation: The indicator visualizes the buy/sell volume ratio directly on price candles using color intensity, allowing traders to immediately identify which side (buyers or sellers) is dominant. This information helps in assessing the strength behind price movements and potential continuation or reversal signals.
→ Order Block Trading Strategies: The indicator highlights significant price zones where volume pivots occur, marking these as potential support (bullish order blocks) or resistance (bearish order blocks). Traders can use these levels to identify potential reversal points, stop placement, and profit targets.
→ Multi-timeframe Volume Comparison: Through its comprehensive volume analysis table, the indicator enables traders to compare volume patterns across current, recent, daily, and weekly timeframes. This helps in identifying shifts in market behavior and confirming the strength of ongoing trends.
🟢 Pro Tips
Adjust Pivot Period based on your timeframe:
→ Lower values (3-5) for more frequent order blocks
→ Higher values (7-10) for stronger, less frequent order blocks
Fine-tune Mitigation Method based on your trading style:
→ "Wick" for more conservative invalidation
→ "Close" for more lenient order block survival
Look for confluence between components:
→ Strong volume delta in the expected direction when price touches an order block
→ Corresponding patterns in the volume analysis table
→ Overall market context aligning with the expected direction
Use for multiple trading approaches:
→ Support/resistance trading at order blocks
→ Trend confirmation with volume delta
→ Reversal detection when volume delta changes direction
→ Stop loss placement using order block boundaries
Combine with:
→ Trend analysis using trend-following indicators for trade confirmation
→ Multiple timeframe analysis for strategic context
Weekend Filter Candlestick [odnac]Custom Candlestick Chart with Weekend Visibility Toggle
This indicator customizes the appearance of candlesticks by using a dark gray theme for better visibility.
Additionally, it provides an option to hide weekend candles, allowing traders to focus on weekday price action.
Features:
✅ Dark gray candlestick design for a clean and minimalistic look.
✅ Weekend hiding option – Users can enable or disable weekend candles with a simple toggle.
✅ Helps traders avoid weekend noise and focus on key market movements.
How to Use:
Add the indicator to your chart.
Use the "Hide Weekend Candles" setting to toggle weekend visibility.
When enabled, weekend candles will be hidden for a cleaner chart.
When disabled, all candles, including weekends, will be displayed.
This indicator is useful for traders who prefer to analyze weekday trends without unnecessary weekend fluctuations. 🚀
Demand/Supply Absorption PatternHey everyone,
I'm publishing this indicator to seek feedback and support from the community.
This indicator is designed to identify, confirm, and send alerts whenever a Demand/Supply absorption pattern appears on the chart.
Core Logic:
Impulse Move – A single candle or a cluster of candles with a strong bullish/bearish move, characterized by a price range and volume significantly exceeding the ATR and average volume. (I've already implemented this logic and highlighted these zones with rectangles.)
Absorption Phase – Following this move, signs of exhaustion in the previous Demand/Supply emerge. These signs can include small-bodied candles like Doji or Inside Bars, combined with low volume, indicating a potential absorption phase.
Breakout Confirmation – Finally, a breakout candle in the opposite direction confirms the reversal after the consolidation phase.
Challenges & Community Support
I've encountered difficulties in fully implementing steps 2 and 3. While detecting strong impulsive moves and sending alerts has already been helpful in tracking potential setups, completing the full pattern requires waiting 3-4 hours (on a 1-hour chart) or even until the next day (on a 4-hour chart). This delay makes it easy to miss potential price movements in real time.
I’d love to get feedback or suggestions from the community to improve this indicator further.
Thanks for your support!
Cheers! 🚀
ATR 3x Multiplier StrategyBeta version
Volatility and Candle Spikes in Trading
Volatility
Volatility refers to the degree of variation in the price of a financial asset over time. It measures how much the price fluctuates and is often associated with risk and uncertainty in the market. High volatility means larger price swings, while low volatility indicates more stable price movements.
Key aspects of volatility:
Measured using indicators like Average True Range (ATR), Bollinger Bands, and Implied Volatility (IV).
Influenced by factors such as market news, economic events, and liquidity.
Higher volatility increases both risk and potential profit opportunities.
Candle Spikes
A candle spike (or wick) refers to a sudden price movement that forms a long shadow or wick on a candlestick chart. These spikes can indicate strong buying or selling pressure, liquidity hunts, or stop-loss triggers.
Types of candle spikes:
Bullish Spike (Long Lower Wick): Indicates buyers rejected lower prices, pushing the price higher.
Bearish Spike (Long Upper Wick): Suggests sellers rejected higher prices, pushing the price lower.
Stop-Loss Hunt: Market makers may trigger stop-losses by creating artificial spikes before reversing the price.
News-Induced Spikes: Economic data releases or unexpected events can cause sudden price jumps.
Understanding volatility and candle spikes can help traders manage risk, spot entry/exit points, and avoid false breakouts. 🚀📈
Wick to Candle Ratio with Multiple ColorsThe display in question likely provides visual representations or data related to the concept of the dot-based wick-to-body ratio. This ratio is a term often used in financial markets, particularly in the context of candlestick charts.
In candlestick charts, each candlestick represents a specific time period (such as a minute, hour, day, etc.) and provides four pieces of price data: the opening price, closing price, highest price, and lowest price of an asset within that timeframe. The "body" of the candlestick is the area between the opening and closing prices, while the "wicks" (or shadows) are the lines extending from the body, representing the highest and lowest prices during the period.
The dot-based wick-to-body ratio refers to a method of quantifying the relative lengths of the wicks compared to the body using dots or points. In this context, a display illustrating this ratio might show different candlesticks with highlighted dots representing the ratio between the length of the wick and the body. A higher ratio could indicate more volatility in price movements during that timeframe, while a lower ratio might suggest comparatively stable price action.
GAPs and AVPIs by BULL┃NETThe B | N - GAPA (GAPs and AVPIs by BULL|NET)
indicator helps traders to identify gaps between bars and imbalances in price and
volume.
read the 2 Disclaimers before use!
Disclaimer BullNett:
The information provided in this document is for educational and informational purposes only and does not constitute financial, investment, or trading advice. Any use of the content is at your own risk. No liability is assumed for any losses or damages resulting from reliance on this information. Trading financial instruments involves significant risks, including the potential loss of all invested capital. There is no guarantee of profits or specific outcomes. Please conduct your own research and consult a professional financial advisor if needed.
Disclaimer TradingView:
According to the www.tradingview.com
Gaps and imbalances are considered important price levels or ranges because the
price usually tends to close gaps and to get rid of imbalances sooner or later. At the
same time, gaps can deliver support or resistance and tell you a lot about market
sentiment.
Knowing where gaps and imbalances are or have been is vital for successful trading.
Read bevor use!!
Concepts and Functionality:
AVPI: Assumed Volume Price Imbalance
The price curve on a chart is like waves on the ocean. It goes up and
down and sometimes it is smooth. More wind means higher waves and if
the wind slows down the waves get smaller. An under sea earthquake
can cause a tsunami which is the exception of the rule: Extremely higher
waves without more wind.
This is what we consider an AVPI. The price is rising or falling sharply at
a single bar with only slightly increased or even decreased volume. The
change in price seems to be rather the result of a single event than of a
broader change in market sentiment. Such an imbalance is subject to be
corrected sooner or later: the price will return to where the imbalance
started. The Gap will get closed.
AVPIs can be spotted in any timeframe across any asset. And most
importantly you will usually see them at any broker for the same asset.
No matter whether you look i.e. at the original Nasdaq (NASDAQ:NDX)
chart or at the corresponding charts of CFD brokers.
Using the historical display feature of the indicator you will spot price
ranges where a couple of bearish and bullish AVPIs take turns. This is
usually the result of bears and bulls fighting for dominance. Play with the
historical display and the replay feature of TradingView to get a feeling
how things developed depending on who won the fight.
Candle Gaps
If the high and low of two consecutive candles do not overlap we talk
about a candle gap. Other than AVPIs which can be spotted across any
broker Candle Gaps are specific to a broker, the asset and the chart.
If you spot the same Candle Gap across different brokers and the original
chart, i.e. NASDAQ:NDX if you trade the Nasdaq, the Gap can be
considered meaningful and important because it marks a price range in
the market that hasn’t been traded at all (nobody was willing to sell or
buy in that price range).
Candle Gaps are usually closed within a very
short time. Often, you can see these gaps being filled on the same day,
but depending on the asset, they can also remain open for days.
Body Gaps
If you compare the high or low of the current bar with the open or close
of the bar before you will see there are times where the current extreme
does not overlap with the body of the previous bar. This is called a Body
Gap.
If the Body Gap extends a Candle Gap (see impressions section below)
to the body of the previous bar you should consider the Body Gap to be
a bigger Candle Gap.
If several Body Gaps occur in quick succession in a trend they indicate
acceleration and maybe an upcoming exhaustion of the trend.
Combined with the B | N – TREX by BULL|NETT you might find a good trend entry (see
impressions section below).
Single Body Gaps usually do not have much impact other than indicating
the price will likely turn quickly to close the Gap.
It is important to note Body Gaps should always be verified in the 1
minute time frame. You might see a body gap in the 3 minute timeframe
but not below because of the calculation of the Body in the higher time
frame. (see impressions section below)
AVPI OPTIONS
Default assumption for an AVPI:
• If the current bar height (high – low) is at least three times bigger
(growth >= 200%) than the height of the bar before (high –
low )
• And the current bar body (open – close or close – open) measures
at least 70% of its total height (high - low)
• And the growth of volume since the last bar (volume – volume ) is
not bigger than 1.5 times (growth <= 50%) the growth of the current
bar height
Example:
Current bar height: 13205.10 Previous bar height: 2500.60 Growth of
height = 13205.10 / 2500.60 = 5.28 times bigger Growth of height in
percent (GoH) = 13205.10 * 100 / 2500.60 – 100 = 428.08%
Current bar height: 13205.10 Current bar body: 11007.72 Proportion of
body (PoB): 11007.72 * 100 / 13205.10 = 83.36%
Current bar volume: 608470.00 Previous bar volume: 357365.00 Change
in volume: 608470 * 100 / 357365 – 100 = 70.27% Max. change in
volume allowed: 428.08 * 50% = 214%
Condition check: Growth of height (GoH) in percent 428.08% > 200%
Proportion of body 83.36% > 70% Growth of volume (GoV) 70.27% <
214%
All conditions are true and we can assume a volume to price imbalance.
The following settings allow you to modify the calculation parameters.
The defaults deliver highly reliable results across all markets and assets.
Any changes may end in displaying false results.
Settings:
● Maximum GoV in percent The default maximum growth of volume is
50% of the growth of height. You can change it down to 25% in steps of
1%. This setting decreases the allowed maximum growth of volume. The
calculation becomes more strict.
● Minimum GoH in percent The default minimum growth of height of the
current bar compared to the previous bar is 200%. You can change the
setting between 150% and 250%. The previous bar is taken as 100%. A
growth by 100% means the current bar height is two times the height of
the previous bar. If the previous bar has a height of 50 points, a growth of
200% expects the current height to be 150 (50 + 2 * 50) points. A setting
of 150% results in 125 (50 + 50 + 25) points, and 250% gives 175 (50 +
2 * 50 + 25) points.
● Minimum PoB in percent The default minimum proportion of the current
bar's body of its height is 70%. You can choose a value between 65%
and 90%. The height of the bar (high – low) is always 100%. If you
reduce the setting, you allow a smaller body (larger wicks). If you raise
the setting, you demand a larger body (less wicks).
● AVPIs By default, AVPI calculation and display are enabled. For
backtesting purposes, you can switch them off.
The two color fields allow you to differentiate between AVPIs with
increasing and decreasing volume. A lower volume at the current bar
than at the previous bar while the bar height is growing can tell you
something about the market sentiment in higher timeframes.
The text color field allows you to change the color of the range display in
the AVPI box.
● AVPI Insight By default, you will see a small 🛈 in the middle of the
AVPI bar. The tooltip of the label contains all parameters as shown in the
example calculation above. If you don’t need it, you can disable this
feature. The other two fields determine the color and size of the 🛈.
— Body and Candle Gap Options
● Body Gaps By default, the display of Body Gaps is enabled. You can
disable it for backtesting purposes. Change the color of the box and text
to your liking.
● Candle Gaps By default, the display of Candle Gaps is enabled. You
can disable it for backtesting purposes. Change the color of the box and
text to your liking.
— HISTORICAL OPTIONS
All historical options are for backtesting and learning purposes only.
● Show past AVPIs If enabled, the live display of AVPIs is switched off.
Select the number of the latest AVPIs to display. You can differentiate
between bullish (up) and bearish (down) AVPIs. Past AVPIs will be
displayed in their dimension at the moment they occurred.
● Show past Body Gaps If enabled, the live display of Body Gaps is
switched off. Select the number of the latest Body Gaps to display. You
can differentiate between bullish (up) and bearish (down) Body Gaps.
Past Body Gaps will be displayed in their dimension at the moment they
occurred.
● Show past Candle Gaps If enabled, the live display of Candle Gaps is
switched off. Select the number of the latest Candle Gaps to display. You
can differentiate between bullish (up) and bearish (down) Candle Gaps.
Past Candle Gaps will be displayed in their dimension at the moment
they occurred.
— DISPLAY OPTIONS
● 2 Decimals To streamline the appearance of prices, they are set to
display two decimals only. Numbers get rounded! However, trading
currency pairs or crypto assets might need to display the full amount of
decimals. In this case, simply disable the setting “2 Decimals.”
● Show Gap Range By default, each Gap Box will contain its range.
Depending on the direction (up/down), the range is displayed from
Bottom to Top or vice versa. If you want a cleaner chart, you can disable
the range.
— NERDS ONLY
These options are for nerdy pro-traders. For most of them, you need
knowledge about the Pine Protocol Console. If you have no idea what I
am talking about, these features are not for you.
● Bar Details In replay mode, you will see the details of the current bar in
the pine protocol.
_____________________________________________
Disclaimer BullNett:
The information provided in this document is for educational and informational purposes only and does not constitute financial, investment, or trading advice. Any use of the content is at your own risk. No liability is assumed for any losses or damages resulting from reliance on this information. Trading financial instruments involves significant risks, including the potential loss of all invested capital. There is no guarantee of profits or specific outcomes. Please conduct your own research and consult a professional financial advisor if needed.
Disclaimer TradingView:
According to the www.tradingview.com
Copyright: 2025-BULLNET - All rights reserved/b]
Roadmap:
Version 1.0 28.02.2025
No wick candlesОпис коду:
Цей скрипт для Pine Script v6 аналізує свічки на графіку і визначає свічки, що не мають фітіля знизу або згори. Він позначає їх відповідними маркерами та змінює колір свічок на помаранчевий для покращення видимості. Цей індикатор допомагає трейдерам ідентифікувати важливі зони на графіку, де свічки мають специфічні риси (без фітіля), і використовується для виявлення потенційних точок для подальших торгівельних рішень.
Що робить цей індикатор:
Зелені свічки без фітіля знизу: Це свічки, у яких ціна відкриття дорівнює мінімуму свічки. Вони позначаються зеленими стрілками під свічкою.
Червоні свічки без фітіля згори: Це свічки, у яких ціна відкриття дорівнює максимуму свічки. Вони позначаються червоними стрілками над свічкою.
Зміна кольору свічок: Свічки, що відповідають умовам (без фітіля знизу або згори), змінюють свій колір на помаранчевий для підвищення видимості та чіткого виділення важливих зон.
Як використовувати:
Цей індикатор допомагає вам ідентифікувати зони, де ціна не має фітіля знизу (для зелених свічок) або згори (для червоних свічок). Ці свічки можуть бути важливими для трейдерів, оскільки вони часто сигналізують про сильні рівні підтримки або опору, де ймовірно відбудеться ретест.
Важливо:
Чекати ретест зони: Після появи таких свічок (особливо у зонах підтримки або опору) можна очікувати, що ці рівні будуть перевірені ще раз. Якщо ціни повертаються до цих зон, це може бути сигналом для входу в ринок.
Торгівля на ретестах: Якщо ціна після першого відскоку знову наближається до цієї зони (де була свічка без фітіля), можна очікувати відскок або продовження тренду, що створює можливість для вхідної позиції.
_______________________________
Description:
This Pine Script v6 indicator analyzes the candles on the chart and identifies those that have no lower or upper wicks. It marks these candles with appropriate markers and changes the candle colors to orange for better visibility. This indicator helps traders identify important zones on the chart where candles exhibit specific characteristics (no wicks), which can be used to spot potential trading opportunities.
What this indicator does:
Green candles with no lower wick: These are candles where the opening price equals the low of the candle. They are marked with a green arrow below the candle.
Red candles with no upper wick: These are candles where the opening price equals the high of the candle. They are marked with a red arrow above the candle.
Candle color change: Candles that meet the conditions (no lower or upper wick) change their color to orange for better visibility and to clearly highlight important zones.
How to use:
This indicator helps you identify zones where prices have no lower wick (for green candles) or no upper wick (for red candles). These candles may be important for traders, as they often indicate strong support or resistance levels where a retest is likely to occur.
Important:
Wait for a zone retest: After these candles appear (especially at support or resistance zones), you can expect these levels to be tested again. If the price returns to these zones, it could signal an opportunity to enter the market.
Trading on retests: If the price approaches the zone (where a wickless candle occurred) again, it may indicate a bounce or trend continuation, which provides a potential entry point.
Double Top/Bottom Fractals DetectorDouble Top/Bottom Detector with Williams Fractals (Extended + Early Signal)
This indicator combines the classic Williams Fractals methodology with an enhanced mechanism to detect potential reversal patterns—namely, double tops and double bottoms. It does so by using two separate detection schemes:
Confirmed Fractals for Pattern Formation:
The indicator calculates confirmed fractals using the traditional Williams Fractals rules. A fractal is confirmed if a bar’s high (for an up fractal) or low (for a down fractal) is the highest or lowest compared to a specified number of bars on both sides (default: 2 bars on the left and 2 on the right).
Once a confirmed fractal is identified, its price (high for tops, low for bottoms) and bar index are stored in an internal array (up to the 10 most recent confirmed fractals).
When a new confirmed fractal appears, the indicator compares it with previous confirmed fractals. If the new fractal is within a user-defined maximum bar distance (e.g., 20 bars) and the price difference is within a specified tolerance (default: 0.8%), the indicator assumes that a double top (if comparing highs) or a double bottom (if comparing lows) pattern is forming.
A signal is then generated by placing a label on the chart—SELL for a double top and BUY for a double bottom.
Early Signal Generation:
To capture potential reversals sooner, the indicator also includes an “early signal” mechanism. This uses asymmetric offsets different from the confirmed fractal calculation:
Signal Right Offset: Defines the candidate bar used for early signal detection (default is 1 bar).
Signal Left Offset: Defines the number of bars to the left of the candidate that must confirm the candidate’s price is the extreme (default is 2 bars).
For an early top candidate, the candidate bar’s high must be greater than the highs of the bars specified by the left offset and also higher than the bar immediately to its right. For an early bottom candidate, the corresponding condition applies for lows.
If the early candidate’s price level is within the acceptable tolerance when compared to any of the previously stored confirmed fractals (again, within the allowed bar distance), an early signal is generated—displayed as SELL_EARLY or BUY_EARLY.
The early signal block can be enabled or disabled via a checkbox input, allowing traders to choose whether to use these proactive signals.
Key Parameters:
n:
The number of bars used to confirm a fractal. The fractal is considered valid if the bar’s high (or low) is higher (or lower) than the highs (or lows) of the preceding and following n bars.
maxBarsApart:
The maximum number of bars allowed between two fractals for them to be considered part of the same double top or bottom pattern.
tolerancePercent:
The maximum allowed percentage difference (default: 0.8%) between the high (or low) values of two fractals to qualify them as matching for the pattern.
signalLeftOffset & signalRightOffset:
These parameters define the asymmetric offsets for early signal detection. The left offset (default: 2) specifies how many bars to look back, while the right offset (default: 1) specifies the candidate bar’s position.
earlySignalsEnabled:
A checkbox option that allows users to enable or disable early signal generation. When disabled, the indicator only uses confirmed fractal signals.
How It Works:
Fractal Calculation and Plotting:
The confirmed fractals are calculated using the traditional method, ensuring robust identification by verifying the pattern with a symmetrical offset. These confirmed fractals are plotted on the chart using triangle shapes (upwards for potential double bottoms and downwards for potential double tops).
Pattern Detection:
Upon detection of a new confirmed fractal, the indicator checks up to 10 previous fractals stored in internal arrays. If the new fractal’s high or low is within the tolerance range and close enough in terms of bars to one of the stored fractals, it signifies the formation of a double top or double bottom. A corresponding SELL or BUY label is then placed on the chart.
Early Signal Feature:
If enabled, the early signal block checks for candidate bars based on the defined asymmetric offsets. These candidates are evaluated to see if their high/low levels meet the early confirmation criteria relative to nearby bars. If they also match one of the confirmed fractal levels (within tolerance and bar distance), an early signal is issued with a label (SELL_EARLY or BUY_EARLY) on the chart.
Benefits for Traders:
Timely Alerts:
By combining both confirmed and early signals, the indicator offers a proactive approach to detect reversals sooner, potentially improving entry and exit timing.
Flexibility:
With adjustable parameters (including the option to disable early signals), traders can fine-tune the indicator to better suit different markets, timeframes, and trading styles.
Enhanced Pattern Recognition:
The dual-layered approach (confirmed fractals plus early detection) helps filter out false signals and captures the essential formation of double tops and bottoms more reliably.