OPEN-SOURCE SCRIPT
Vol Profile TotoMazter

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
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
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.