OPEN-SOURCE SCRIPT
POC-Change Regime VBP

// POC-Change Regime VBP — 取扱説明 / User Guide
// JP: 概要)POC(Point of Control)をレジーム単位で追跡し、価格帯別出来高(VBP/VPVR)を可視化します。
// EN: Overview) Tracks regime-based POC and visualizes Volume by Price (VBP/VPVR).
// JP: 出来高はボディ/髭領域に重み付け配分。髭はオプションで常に50:50の中立配分。
// EN: Volume is distributed to body/wick areas with weights. Wick can be split 50:50 (direction-neutral).
// JP: ラベル:上段=WAP比較(UPμ ≷ DNμ; 許容誤差はティック指定)、下段=UP:DN 正規化(合計100)。
// EN: Label: 1st line = WAP comparison (UPμ ≷ DNμ; tolerance in ticks), 2nd line = normalized UP:DN (sum=100).
// JP: POCは各価格帯の(Up+Dn)合計が最大の帯。UP:DN比は向きの内訳であり価格位置と独立なので、POC上下と矛盾し得ます。
// EN: POC is the price bin with max (Up+Dn). UP:DN ratio is direction mix only; may disagree with POC direction.
// JP: 主なパラメータ)calcBins=計算精度、drawBins=描画粗さ、minConfirmBars=POC変移の確定遅延、
// minShareDraw=小帯の間引き、labelYOffsetTicks=ラベルの被り回避(上に持ち上げ)。
// EN: Key params) calcBins=calc resolution, drawBins=draw coarseness, minConfirmBars=POC change confirmation,
// minShareDraw=drop tiny bins, labelYOffsetTicks=lift labels above boxes to avoid overlap.
// JP: 注意)syminfo.mintickは現在の最小ティック。可変ティック制市場では過去刻みを厳密再現しません。
// EN: Note) syminfo.mintick is current minimum tick; variable-tick markets won’t be reproduced historically.
// JP: ヒント)calcBins↑で精度↑/負荷↑。minConfirmBars↑でダマシ抑制/反応遅延。splitWicksEqually=trueで方向バイアスを抑制。
// EN: Tips) Higher calcBins = higher accuracy & load. Higher minConfirmBars = less noise & slower response.
// splitWicksEqually=true reduces directional bias from wicks.
// JP: 概要)POC(Point of Control)をレジーム単位で追跡し、価格帯別出来高(VBP/VPVR)を可視化します。
// EN: Overview) Tracks regime-based POC and visualizes Volume by Price (VBP/VPVR).
// JP: 出来高はボディ/髭領域に重み付け配分。髭はオプションで常に50:50の中立配分。
// EN: Volume is distributed to body/wick areas with weights. Wick can be split 50:50 (direction-neutral).
// JP: ラベル:上段=WAP比較(UPμ ≷ DNμ; 許容誤差はティック指定)、下段=UP:DN 正規化(合計100)。
// EN: Label: 1st line = WAP comparison (UPμ ≷ DNμ; tolerance in ticks), 2nd line = normalized UP:DN (sum=100).
// JP: POCは各価格帯の(Up+Dn)合計が最大の帯。UP:DN比は向きの内訳であり価格位置と独立なので、POC上下と矛盾し得ます。
// EN: POC is the price bin with max (Up+Dn). UP:DN ratio is direction mix only; may disagree with POC direction.
// JP: 主なパラメータ)calcBins=計算精度、drawBins=描画粗さ、minConfirmBars=POC変移の確定遅延、
// minShareDraw=小帯の間引き、labelYOffsetTicks=ラベルの被り回避(上に持ち上げ)。
// EN: Key params) calcBins=calc resolution, drawBins=draw coarseness, minConfirmBars=POC change confirmation,
// minShareDraw=drop tiny bins, labelYOffsetTicks=lift labels above boxes to avoid overlap.
// JP: 注意)syminfo.mintickは現在の最小ティック。可変ティック制市場では過去刻みを厳密再現しません。
// EN: Note) syminfo.mintick is current minimum tick; variable-tick markets won’t be reproduced historically.
// JP: ヒント)calcBins↑で精度↑/負荷↑。minConfirmBars↑でダマシ抑制/反応遅延。splitWicksEqually=trueで方向バイアスを抑制。
// EN: Tips) Higher calcBins = higher accuracy & load. Higher minConfirmBars = less noise & slower response.
// splitWicksEqually=true reduces directional bias from wicks.
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.