jc-Inside_BarCopyright by jack calo -- v1.0 -- 03/04/2015 -- Paint the bar yellow when it's an inside day. When the full range of a candle is equal or within the full range of the previous bar. Credit to Rob Smith and his In The Black Strategy.
在脚本中搜索"bar"
Over ATR Bar highlightScript highlights bars over ATR (20), i use this to look for mazabuzo candles.
FVE Volatility color-coded Volume bar The FVE is a pure volume indicator. Unlike most of the other indicators
(except OBV), price change doesn?t come into the equation for the FVE
(price is not multiplied by volume), but is only used to determine whether
money is flowing in or out of the stock. This is contrary to the current trend
in the design of modern money flow indicators. The author decided against a
price-volume indicator for the following reasons:
- A pure volume indicator has more power to contradict.
- The number of buyers or sellers (which is assessed by volume) will be the same,
regardless of the price fluctuation.
- Price-volume indicators tend to spike excessively at breakouts or breakdowns.
This study is an addition to FVE indicator. Indicator plots different-coloured volume
bars depending on volatility.
Custom Indicator Clearly Shows If Bulls or Bears are in Control!The Two Versions of this Indicator I learned from Two Famous and Highly Successful Traders. This Indicator shows With No Lag Clear Up and Down Trends in Market by Documenting Clearly If Bulls or Bears are in Control. The Version In SubChart 1 Shows Consecutive Closes if the Current Close is Greater than of Less than the Midpoint of the Previous Bar (Why Midpoint Explained in Detail in 1st Post). The Version in SubChart 2 Shows Consecutive Closes that are Greater than or Less Than the Previous Close (Will Discuss Specific Uses in 1st Post). Works on Stocks, Forex, Futures, on All Timeframes.
VWAP filtered MACD Bars with positive MACD histogram value and closing above VWAP are colored, long positions should be taken in areas made of those bars.
Similarly, bars with negative MACD histogram value and closing below VWAP are also colored, short positions should be taken there.
This indicator by default should be a part of your trend following trading system.
In the setting you can change colors
Above grow: positive and rising MACD histogram value
Above fall: positive and falling MACD histogram value
Below fall: negative and falling MACD histogram value
Below grow: negative and rising MACD histogram value
bar color changeThis Pine v5 code allows you to distinguish between candles on the chart. The body/wick/frame of the "live" candle that hasn't yet closed is colored white. When a live candle is present, the body of the immediately preceding candle is colored green with offset = -1. All other candles remain gray (#2e2e2e). plotcandle fixes the wick/frame so that the live and previous candles are selected when following the trend. If there are other conflicting scripts, the most recently added one quickly takes precedence.
Bar RangeI use this to complement the daily ATR bars. It is interesting to see how much the stock has actually moved vs the ATR movement.
MACD Aspray Hybrid Bars (teal/red) = raw momentum (Aspray Histogram).
Teal line = smooth curve of the histogram (Aspray Line).
Orange line = 9-EMA of that line (new signal).
Zero line for reference.
Bar numberAdds a number above the last 50 candles. Candle 1 is always the most recent.
Can be useful when teaching people onlinet. Now they can just ask « what’s candle number 20 » instead of « what’s with that narrow range candle next to the big one to the left… no not that one, the other one »
Bars pattern MLThis script implements a K-Nearest Neighbors (KNN)-based machine learning model to predict future price movements in financial markets. It analyzes past price action using Euclidean distance and selects the most similar historical patterns to estimate future price changes. Unlike traditional KNN implementations, this approach optimizes distance calculations by maintaining a dynamically updated list of the closest neighbors, ensuring efficient selection without the need for sorting. The model generates a forecasted price trajectory based on incremental predictions, which are visualized on the chart using polylines for better interpretability.
Volume HighlightBar colouring: this indicator is simple but effective, it repaints higher than normal candles a certain colour (by default gold/yellow) it helps to know what are valuable areas to trade around for longs and shorts.
Changing the volume multiplier manually helps you to screen volume relevant to the timeframe you are trading on.
For example, some charts 1min the best filter/setting would be 12-35 multiplier where others like btc 1-4 hourly, the filter/setting might be 8-12.
The key is having only the highest/most relevant 3-4 volume candles showing as they often represent supports and resistances.
Pivot Points And Breakout Price Action With LuckyNickVaBar Color Candle Aligned with pivot points swing high and swing lows For Those Who Are Familiar with Trading The Breakouts Of Highs & Lows Of Structure. Pivots are said to be key areas in the market where price shows heavy reaction to where reversals make occur. At these points there are swing Highs & swing lows that traders may be able to find opportunity in the market. This Script is a combination of pivot points and Barcolor signals for the breakout.
Koalafied Volume Extension Bar colours based on extensions from volume Z-Score. Large volume candles can often signal exhaustion or show market strength in reversals or breakouts. Candles not supported by rising volume are coloured black while those that are retain their colouring.
Bars CharacteristicsThis code is for defining or explaining market conditions via micro trend and the characterized bars.
lines 5,6: show the conditions for a normal trend, means market can go in the direction that it has in the past.
lines 11,12: show the conditions for kind of the trend having cumulative energy itself, mean market can go in the same direction.
lines 18,19: show the conditions for kind of the trend having overbought/sold concept, means it's better exit from the market or to look for the other clues.
lines 24,25: show some kind of noise not a stable trend, it's better not to enter the market.
WhenWasThePriceAction
Bars of largest range (volatility)
* see moments of strongest price action immediately
* colored & upDown by candle color
* amplifier: you see only the bull runs, and subsequent dumps
Very nice on the 5 years scale of BITSTAMP:BTCUSD - nothing comparable to 2013 has happened yet.
Internals:
squared_range = pow(high-low, 2)
That is essentially it already. The rest are details:
* gauge with (in case of Bitcoin exponentially rising) price
* show in red for negative candles
* take even higher polynomial (than 2) to show only the very largest values
* allow some user input (but there is not much more that can be chosen here.)
Sorry for such a simple formula - but sometimes the easiest things are powerful.
Please give feedback. www.tradingview.com and/or in the cryptocurrency chat. Thanks.
Bars Since the last RSI ExtremeThis is something Jamie Saettele pointed out. Gold has been in 'neutral' RSI territory for its longest stretch in four years. It's coiling up for its next major move.
Volume Pressure and PercentVPP Volume Pressure and Percentage Indicator with a Volume Trendline that indicates which side is driving the flow.
Features:
1. Buy/Sell Pressure Bars (Core Volume Split)
The indicator separates each candle’s volume into buy volume (green) above the zero line and sell volume (red) below it. This gives you a real-time visualization of which side is more aggressive within the current bar. Instead of waiting for prices to move or candles to close, you can instantly see whether buyers or sellers are stepping in.
2. Dynamic Total Volume (Invisible Histogram + Status Line Color)
The total volume of each bar is tracked behind the scenes and displayed in the pinned status line using a dynamic color—green when buyers dominate, red when sellers dominate. The histogram for total volume is invisible to keep the chart clean, but the total volume figure stays visible and changes color based on who is in control. This gives you instant confirmation of whether institutional-sized volume supports the direction shown by the buy/sell pressure, which is especially valuable when evaluating the risk or conviction behind a potential entry.
3. Percentage Mode (% of Bar Volume)
When toggled on, the indicator converts each bar into percent buy vs percent sell, normalizing all flow to a 0–100% scale. This mode is incredibly useful when comparing pressure across different times of day, gaps, or varying volume conditions—such as early morning spikes versus lunchtime chop. By removing absolute volume from the equation, you gain a clean look at the actual imbalance between buyers and sellers.
4. 70% Pressure Band (Imbalance Threshold Zone)
In percentage mode, the indicator displays a subtle 70% band (a light gray zone) above and below the zero line, showing where buy or sell pressure reaches extreme dominance (≥70%). When a bar’s buy or sell percentage enters this zone, it highlights moments of exhaustion, acceleration, or potential reversal. The band acts like a real-time overbought/oversold gauge specifically for volume imbalance, not price.
5. Trend Line (Net Pressure Trend / Reversal Detector)
The trend line smooths out the net volume pressure (buy volume minus sell volume or its percentage equivalent) and shows the overall direction of order flow. When the line slopes upward, buyers are gaining control; when it slopes downward, sellers are taking over. This trend line acts as a real-time momentum indicator based directly on flow rather than price. Because it reacts quickly to intrabar shifts in buy/sell pressure, it often turns before price does—giving you a measurable timing edge.
6. Auto-Selecting Trend Source (Volume Net, Percent Net, or CVD)
The indicator lets you choose how the trend line is calculated: Volume Net (buy minus sell volume), Percent Net (normalized imbalance), or CVD (Cumulative Volume Delta) for long-term flow bias. The default “Auto” mode automatically switches between Volume Net and Percent Net depending on which view you’re using. This flexibility allows the trend line to remain meaningful whether you’re analyzing raw volume or normalized percentage data.
7. Pinned (Status Line) Totals in K/M/B Format
Regardless of whether you’re in volume or percentage mode, the indicator always displays Total Volume, Buy Volume, and Sell Volume in the status line using abbreviated K, M, B formatting. These values update in real time and are color-coded: green for bullish dominance, red for bearish. This gives you a concise snapshot of order flow strength on every bar.
---------------------
How To Use:
Support Level Zones
• Watch for Buy bars increasing + Trend line flipping up right at or slightly below support.
• This often signals absorption — market makers filling large buy orders before reversal.
• Confirmation: Price reclaims VWAP ... enter calls / longs.
Resistance Level Zones
• Watch for Sell bars increasing + Trend line flattening/turning down near resistance.
• This signals distribution or stop runs.
• Confirmation: Price rejects VWAP ... enter puts / shorts.
Breakout Traps
• Sometimes you’ll see price break a level, but the flow doesn’t confirm (buy volume doesn’t expand).
• That’s a false breakout — fade it with options opposite the move.
Cumulative Delta Difference HistogramINTRODUCTION:
This "Cumulative Delta Difference Histogram" is a volume-based indicator that calculates the difference (delta) between aggressive buying volume and selling volume for each candle and then builds a cumulative momentum histogram with the following behavior:
Momentum Tracking: The indicator accumulates the delta values when the delta is positive and increasing, producing green bars whose height visually represents growing buying pressure momentum.
Negative Momentum Detection: When the delta becomes negative or starts to decline, the histogram bars turn red and the accumulation decreases, effectively showing increasing selling pressure momentum.
Directional Reset: On each change from positive to negative delta momentum or vice versa, the accumulator resets to zero, providing a clear and sharp visualization of shifts without persistence from previous trends.
Zero Reference Line: A horizontal zero line serves as a visual baseline to distinguish positive from negative momentum easily.
HOW TO USE:
To trade effectively using the "Cumulative Delta Difference Histogram," you compare the price action chart with the indicator to confirm momentum and detect potential reversals or continuations. Here's how to do it in practice:
Confirming Trends:
When the price is rising, look for the histogram bars to be green and increasing, indicating strong and growing buying pressure supporting the uptrend. If price rises but the histogram shows diminishing green bars or shifts to red, it could signal weakening momentum and a potential reversal.
Identifying Divergences:
Compare price highs/lows with histogram peaks. If price makes a new high but the histogram fails to make a corresponding new high (bearish divergence), it warns of a possible trend reversal. Conversely, if price makes a new low but histogram shows higher lows (bullish divergence), it signals potential bullish reversal.
Volume Confirmation:
The histogram reflects real-time volume aggression behind price moves. Confirmation of price breakouts or breakdowns by corresponding strong histogram colors and bar height increases adds reliability to signals.
By aligning price patterns and levels with the cumulative delta histogram's signals, traders gain a deeper understanding of market strength and better timing for trades.
This combined approach improves the accuracy of entries and exits beyond relying on price alone, especially in markets sensitive to order flow and volume dynamics.
Use this indicator with a default volume or with my other indicator "Agression Histogram" for a better reading.






















