OPEN-SOURCE SCRIPT

Vol Profile TotoMazter

295
This indicator displays a Volume Profile anchored to the right side of the chart, decomposing volume into bullish (blue) and bearish (green) components at each price level.

HOW IT WORKS

For each of the last N candles (configurable from 1 to 50), the total volume is split into bullish and bearish fractions using a body/range proportional model:
- Bullish weight = 0.5 + (body/range) x 0.5 for bullish candles
- Bearish weight = 0.5 + (body/range) x 0.5 for bearish candles
- A doji (body = 0) gets 50/50 split. A marubozu gets 100/0.

ILU AMP

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.