OPEN-SOURCE SCRIPT
Updated

Cnagda Pure Price Action

8 410
Cnagda Pure Price Action (CPPA) indicator is a pure price action-based system designed to provide traders with real-time, dynamic analysis of the market. It automatically identifies key candles, support and resistance zones, and potential buy/sell signals by combining price, volume, and multiple popular trend indicators.

How Price Action & Volume Analysis Works
  • Silver Zone – Logic, Reason, and Trade Planning

  • Logic & Visualization:

  1. The Silver Zone is created when the closing price is the lowest in the chosen window and volume is the highest in that window.
  2. Visually, a large silver-colored box/rectangle appears on the chart.
  3. Thick horizontal lines (top and bottom) are drawn at the high and low of that candle/bar, extending to the right.

  • Reasoning:

This combination typically occurs at strong “accumulation” or support areas:
Sellers push the price down to the lowest point, but aggressive buyers step in with high volume, absorbing supply.
snapshot
Indicates potential exhaustion of selling and likely shift in market control to buyers.

How to Plan Trades Using Silver Zone:
Watch if price returns to the Silver Zone in the future: It often acts as powerful support.
Bullish entries (buys) can be planned when price tests or slightly pierces this zone, especially if new buy signals occur (like yellow/green candle labels).
Place your stop-loss below the bottom line of the Silver Zone.
Target: Look for the nearest resistance or opposing zone, or use indicator’s bullish label as confirmation.
snapshot
Extra Tip:
Multiple touches of the Silver Zone reinforce its importance, but if price closes deeply below it with high volume, that’s a caution signal—support may be breaking.
Black Zone – Logic, Reason, and Trade Planning (as CPPA):
Logic & Visualization:
The Black Zone is created when the closing price is the highest in the chosen window and volume is the lowest in that window.
Visually, a large black-colored box/rectangle appears on the chart, along with thick horizontal lines at the top (high) and bottom (low) of the candle, extending to the right.
Reasoning:
This combination signals a strong “distribution” or resistance area:
Buyers push the price up to a local high, but low volume means there is not much follow-through or conviction in the move.
Often marks exhaustion where uptrend may pause or reverse, as sellers can soon step in.

How to Plan Trades Using Black Zone:
snapshot
If price revisits the Black Zone in the future, it often acts as major resistance.

Bearish entries (sells) are considered when price is near, testing, or slightly above the Black Zone—especially if new sell signals appear (like blue/red candle labels).
snapshot
Place your stop-loss just above the top line of the Black Zone.

Target: Nearest support zone (such as a Silver Zone) or next indicator’s bearish label.

Extra Tip:
Multiple touches of the Black Zone make it stronger, but if price closes far above with rising volume, be cautious—resistance might be breaking.

Support Line – Logic, Reason, and Trade Planning (as Cppa):

Logic & Visualization:
The Support Line is a dynamically drawn dashed line (usually blue) that marks key price levels where the market has previously shown significant buying interest.

The line is generated whenever a candle forms a high price with high volume (orange logic).

The script checks for historical pivot lows, past support zones, and even higher timeframe (HTF) supports, and then extends a blue dashed line from that price level to the right, labeling it (sometimes as “Prev Support Orange, HTF”).

Reasoning:
This line helps you visually identify where demand has been strong enough to hold price from falling further—essentially a floor in the market used by professional traders.

If price approaches or re-tests this line, there’s a good chance buyers will defend it again.

How to Plan Trades Using Support Line:
snapshot
Watch for price to approach the Support Line during down moves. If you see a bullish candlestick pattern, buy labels (yellow/green), or other indicators aligning, this can be a high-probability entry zone.
snapshot
Great for planning stop-loss for long trades: place stops just below this line.

Target: Next resistance zone, Black Zone, or the top of the last swing.

Extra Tip:
Multiple confirmations (support line + Silver Zone + bullish label) provide powerful entry signals.
If price closes strongly below the Support Line with volume, be cautious—support may be breaking, and a trend reversal or deeper correction could follow.

Resistance Line – Logic, Reason, and Trade Planning (from CPPA):

Logic & Visualization:
The Resistance Line is a dynamically drawn dashed line (usually purple or red) that identifies price levels where the market has previously faced significant selling pressure.

This line is created when a candle reaches a high price combined with high volume (orange logic), or from a historical pivot high/resistance,

The script also tracks higher timeframe (HTF) resistance lines, labeled as “Prev Resistance Orange, HTF,” and extends these dashed lines to the right across the chart.

Reasoning:
Resistance Lines are visual markers of “supply zones,” where buyers previously failed, and sellers took control.

If the price returns to this line later, sellers may get active again to defend this level, halting the uptrend.

How to Plan Trades Using Resistance Line:

Watch for price to approach the Resistance Line during up moves. If you see bearish candlestick patterns, sell labels (blue/red), or bearish indicator confirmation, this becomes a strong shorting opportunity.
snapshot
Perfect for placing stop-loss in short trades—put your stop just above the Resistance Line.

Target: Next support zone (Silver Zone) or bottom of the last swing.
snapshot
If the price breaks above with high volume, avoid shorting—resistance may be failing.

Extra Tip:
Multiple resistances (Resistance Line + Black Zone + bearish label) make short signals stronger.
Choppy movement around this line often signals indecision; wait for a clear rejection before entering trades.

Bullish / Bearish Label – Logic, Reason, and Trade Planning:

Logic & Visualization:

The indicator constantly calculates a "Bull Score" and a "Bear Score" based on several factors:

Trend direction from price slope

Confirmation by popular indicators (RSI, ADX, SAR, CMF, OBV, CCI, Bollinger Bands, TWAP)

Adaptive scoring (higher score for each bullish/bearish condition met)

If Bull Score > Bear Score, the chart displays a green "BULLISH" label (usually below the bar).

If Bear Score > Bull Score, the chart displays a red "BEARISH" label (usually above the bar).

If neither dominates, a "NEUTRAL" label appears.

Reasoning:
The labels summarize complex price action and indicator analysis into a simple, actionable sentiment cue:

Bullish: Majority of conditions indicate buying strength; trend is up.

Bearish: Majority signals show selling pressure; trend is down.

How to Use in Trade Planning:
Use the Bullish label as confirmation to enter or hold long (buy) positions, especially if near support/Silver Zone.
Use the Bearish label to enter/hold short (sell) positions, especially if near resistance/Black Zone.
For best results, combine with candle color, volume analysis, or other labels (yellow/green for buys, blue/red for sells).
Avoid trading against these labels unless you have strong confluence from zones/support levels.

Yellow Label (Buy Signal) – Logic, Reason & Trade Planning:

Logic & Visualization:
The yellow label appears below a candle (label.style_label_up, yloc.belowbar) and marks a potential buy signal.

Script conditions:

The candle must be a “yellow candle” (which means it’s at the local lowest close, not a high, with normal volume).

Volume is decreasing for 2 consecutive candles (current volume < previous volume, previous volume < second previous).

When these conditions are met, a yellow label is plotted below the candle.

Reasoning:

This scenario often marks the end of selling pressure and start of possible accumulation—buyers may be stepping in as sellers exhaust.

Decreasing volume during a local price low means selling is slowing, possibly hinting at a reversal.

How to Trade Using Yellow Label:
Entry: Consider buying at/just above the yellow-labeled candle’s close.
snapshot
Stop-loss: A bit below the candle’s low (or Silver Zone line, if present).
Target: Next resistance level, Black Zone, or chart’s bullish label.

Extra Tip:
If the yellow label is found at/near a Silver Zone or Support Line, and trend is “Bullish,” the setup gets even stronger.
Avoid trading if overall indicator shows “Bearish.”

Green Label (Buy with Increasing Volume) – Logic, Reason & Trade Planning:

Logic & Visualization:

The green label is plotted below a candle (label.style_label_up, yloc.belowbar) and marks a strong buy signal.

Script conditions:

The candle must be a “yellow candle” (at the local lowest close, normal volume).

Volume is increasing for 2 consecutive candles (current volume > previous volume, previous volume > second previous).

When these conditions are met, a green label is plotted below the candle.

Reasoning:

This scenario signals that buyers are stepping in aggressively at a local price low—the end of a downtrend with strong, rising activity.

Increasing volume at a price low is a classic sign of accumulation, where institutions or large players may be buying.

How to Trade Using Green Label:

Entry: Consider buying at/just above the green-labeled candle’s close for a momentum-based reversal.

Stop-loss: Slightly below the candle’s low, or the Silver Zone/support line if present.

Target: Nearest resistance zone/Black Zone, indicator’s bullish label, or next swing high.

Extra Tip:
If the green label is near other supports (Silver Zone, Support Line), the setup is extra strong.
Use confirmation from Bullish labels or trend signals for best results.
Green label setups are suitable for quick, high momentum trades due to increasing volume

Blue Label (Sell Signal on Decreasing Volume) – Logic, Reason & Trade Planning:

Logic & Visualization:

The blue label is plotted above a candle (label.style_label_down, yloc.abovebar) as a potential sell signal.

Script conditions:

The candle is a “blue candle” (local highest close, but not also lowest, and volume is neither highest nor lowest).

Volume is decreasing over 2 consecutive candles (current volume < previous, previous < two ago).

When these match, a blue label appears above the candle.

Reasoning:

This typically signals buyer exhaustion at a local high: price has gone up, but volume is dropping, suggesting big players may not be buying any more at these levels.

The trend is losing strength, and a reversal or pullback is likely.

How to Trade Using Blue Label:

Entry: Look to sell at/just below the candle with the blue label.

Stop-loss: Just above the candle’s high (or above the Black Zone/resistance if present).

Target: Nearest support, Silver Zone, or a swing low.

Extra Tip:
Blue label signals are stronger if they appear near Black Zones or Resistance Lines, or when the general market label is "Bearish."
As with buy setups, always check for confirmation from trend or volume before trading aggressively.

Blue Label (Sell Signal on Decreasing Volume) – Logic, Reason & Trade Planning:

Logic & Visualization:

The blue label is plotted above a candle (label.style_label_down, yloc.abovebar) as a potential sell signal.

Script conditions:

The candle is a “blue candle” (local highest close, but not also lowest, and volume is neither highest nor lowest).

Volume is decreasing over 2 consecutive candles (current volume < previous, previous < two ago).

When these match, a blue label appears above the candle.

Reasoning:

This typically signals buyer exhaustion at a local high: price has gone up, but volume is dropping, suggesting big players may not be buying any more at these levels.

The trend is losing strength, and a reversal or pullback is likely.

How to Trade Using Blue Label:

Entry: Look to sell at/just below the candle with the blue label.

Stop-loss: Just above the candle’s high (or above the Black Zone/resistance if present).

Target: Nearest support, Silver Zone, or a swing low.

Extra Tip:

Blue label signals are stronger if they appear near Black Zones or Resistance Lines, or when the general market label is "Bearish."

As with buy setups, always check for confirmation from trend or volume before trading aggressively.

Here’s a summary of all key chart labels, zones, and trading logic of your Price Action script:
  1. Silver Zone: Powerful support zone. Created at lowest close + highest volume. Best for buy entries near its lines.
  2. Black Zone: Strong resistance zone. Created at highest close + lowest volume. Ideal for short trades near its levels.
  3. Support Line: Blue dashed line at historical demand; buyers defend here. Look for bullish setups when price approaches.
  4. Resistance Line: Purple/red dashed line at supply; sellers defend here. Great for bearish setups when price nears.
  5. Bullish/Bearish Labels: Summarize trend direction using price action + multiple indicator confirmations. Plan buys, holds on bullish; sells, shorts on bearish.
  6. Yellow Label: Buy signal on decreasing volume and local price low. Entry above candle, stop below, target next resistance.
  7. Green Label: Strong buy on increasing volume at a price low. Entry for momentum trade, stop below, target next zone.
  8. Blue Label: Sell signal on dropping volume and local price high. Entry below candle, stop above, target next support.


Best Practices:
  1. Always combine zone/label signals for higher probability trades.
  2. Use stop-loss near zones/lines for risk management.
  3. Prefer trading in the trend direction (bullish/bearish label agrees with your entry).


if Any Question, Suggestion Feel free to ask

Disclaimer:
All information provided by this indicator is for educational and analysis purposes only, and should not be considered financial advice.
Release Notes
Added Trendline For Better Trade Decision
Release Notes
Added Alert Condition

How to take advantage of Alert Condition
I'm explaining the terms of alerts because a trader understands the market and price movements, but is always confused about where to enter and where to exit. Therefore, you should understand the entire logic and not immediately enter upon receiving an alert.

Suppose you got a buy signal then the first thing you need to understand is what I have explained in below image.
snapshot
As you can see in the image, the trendline is moving upward, giving you a buy signal. However, if it's green, you should wait and enter at the right time. A green candlestick indicates high volume, and if it's bearish, it could signal a continuation of the trend. If it's yellow, you can easily enter when it breaks its high, unless a reversal signal appears. Since a yellow candlestick indicates a decrease in volume, you can enter a reversal trade from here.

The opposite is true when trading on the sell side.
Release Notes
Added Price Imbalance Label

Price imbalances indicate sudden buying/selling pressure in any market. You can consider this area a smart money zone, as it signals that something big is about to happen.

Since this indicator is entirely based on price action and volume analysis, it's important to understand how to improve your trading and how to trade with it. Let's illustrate this with pictures.

snapshot

Now see what happens if you also look at the imbalance here.

snapshot

When you entered at the base of the silver zone, your risk-reward ratio was 1:1, and when you entered at the imbalance retest, your risk-reward ratio was 1:4. So, you can use the imbalance in this way.

Important Guide
Always confirm IMB candle with a continuation candle.
Always use a longer timeframe, such as 15 minutes. Avoid 3 or 5 minutes.
snapshot
snapshot

I hope you understand IMB Trade concept, it is not possible to explain complete details here so I am trying to take out some time from my schedule and will provide you a YouTube video soon so that you can use this and my other indicators correctly and 100%.

Tell me your problem so that I can include it in the video and explain it to you in detail.
Release Notes
Analyze price action and volume profiles from larger timeframes directly on your charts.
snapshot
Instantly view higher timeframe candles (HTFs) such as 5-minute, 1-hour, or daily—with all their structure and volume details.
snapshot
Compare and visualize multiple HTF candles, including their opening, high, low, close, and volume, to identify important trends.
snapshot
snapshot
Automatically find the Point of Control (POC) for each HTF candle—this indicates the most traded price level and helps you identify powerful support/resistance areas.

This update is perfect for traders who want to combine price activity with volume profiles, focus on big moves, and get immediate actionable signals without changing charts or timeframes.
Release Notes
What if you initiate a trade and the market moves in a narrow range? If you're trading options, your premium will fall rapidly due to theta decay. And if you're trading stocks or futures, SL will be affected very quickly, so you could end up with a loss at the end of the day.

The ADX indicator is used to measure the strength of a market trend, rather than its direction. It shows the strength of the current trend, helping traders determine whether the market is trending or non-trending and whether to enter a trade. The ADX value ranges from 0 to 100, with higher values ​​indicating a stronger trend, and lower values ​​indicating a weaker trend or a sideways market.


Therefore, I always strive to ensure that my followers who use any of my indicators minimize losses and maximize profits. Therefore, I've included this indicator dashboard that will show which timeframes are trending the best in the market.

snapshot

How to Use It
1. First, look for the most suitable trend timeframe in the dashboard.
2. Now, go to Indicator Inputs and select that timeframe.
3. A candle from the selected timeframe will appear on your chart. You'll need to observe its price behavior to determine whether the trend is bullish or bearish.
4. Now, wait for the right signal and level on your current chart and place your trade.

Note: The dashboard updates automatically, so it will update as soon as the conditions are met. Don't rush. If the trend is in line with your current trade trend, continue trading. If it's the opposite, be prepared to book your profits at the right time.

I hope and believe this will take your trading skills to the next level.
Release Notes
Added - Atr %
Clean Code And Some Optimization For Faster Execute
Release Notes
add - liquidity Area
Release Notes
Friends, I always trade based on price action + volume analysis, but for those who can't do it in real time, I created this indicator. If you use it correctly, you can avoid and take advantage of the recent decline, because price and volume tell you in advance what the market will do next.

But its biggest problem is that most traders focus too much on price and ignore volume. Price can influence you, but volume cannot. Volume is extremely difficult to manipulate. With this in mind, I've based most of this indicator's strategies on volume to minimize losses. So, in this series, here's another volume + price action strategy.

Volume Divergence
  1. It only appears on charts where the three strongest filters are active simultaneously:
  2. Zone: The market's biggest support/resistance or swing high/low zone.
  3. Liquidity grab: The price in that zone has made a false move or hit a stop-loss—meaning smart money has taken liquidity.
  4. Previous swing + volume confirmation: A major change in market structure (new high/low) + current volume is higher/lower than the previous several bars and the average.

What to keep in mind?
  1. When a signal occurs, enter only on the confirmation candle,
  2. and it's important to consider the overall market structure, timeframe, and context.
  3. This signal is fully filtered—
  4. enter with patience and setup, not hastily.
  5. Be sure to manually backtest the volume confirmation logic
  6. and optimize it based on your instrument/timeframe.
  7. Fundamental news or unusual volatility may shorten/delay the signal trigger.
  8. This is a "confirmation" tool—
  9. use it as part of a strategy or system, not as a separate black box!
Release Notes
Add - New Volume Analysis Dashboard Inspired By - A Complete Guide To Volume Price Analysis By Anna Coulling Book (VPA - VPS)
Release Notes
remove - old ADX And ATR DasBoard
Add - New Price Trap Detection ( MTF)

Friends, we've used two dashboards here. bottom dashboard shows us real-time market conditions, and top-right dashboard shows us real-time traps. You'll find all other information with labels on chart.

So, all roadmaps I laid out when creating this indicator have been completed. If you want to trade based on volume, it has all the options for trading based on volume.

I have got many requests from my followers and friends that how we can do volume based trading with the help of this indicator so I am trying to make video for you so that you can use this indicator properly, you will get the video link soon.

This is our final update.

Thank you for your support, and I hope this indicator will improve your trading and help you become a successful trader.
Release Notes
Final Version - Clean And Bug Free Version
Remove some very less used feature and optimize Code For Fast Action
Release Notes
update And Optimize Setting For Crypto 1 Hour Time frame Based On 3 Month Backtest And 15 Days Forward Test Data.

Every detail of this indicator is designed to make trading both simpler and smarter—helping you avoid common pitfalls, learn real price action, stay in sync with the market’s true mood, and act with discipline for higher consistency and confidence.

Disclosure
This script is an educational visualization. It does not place trades and is not financial or investment advice.
Release Notes
add - Elliot wave
Release Notes
improve code and indication
Release Notes
Final Version

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.