OPEN-SOURCE SCRIPT
업데이트됨 Chaikin Oscillator Z-Score With Divergences [MAXmks]

Hello Traders,
This is my take on the Chaikin Oscillator — statistically normalized into a Z-Score with built-in divergence detection.
The problem with raw Chaikin
The standard ChO is unbounded and extremely sensitive to volume spikes. A single anomalous bar can flatten the entire oscillator, making it hard to compare signals across time or between instruments.
The fix
Z-Score normalization with asinh (inverse hyperbolic sine) transformation. While standard Z-Scores assume a normal distribution, market data often features "fat tails" (extreme outliers). This transformation compresses those spikes effectively, ensuring the indicator remains responsive without getting stuck during high-volatility events. The result: a more comparable scale across instruments.
What's inside:
Note: This is a volume-based indicator. No volume = no signal. If you see "No Volume Data" in the dashboard, switch to a data source that provides volume.
Works on any timeframe. Feedback welcome.
For analysis purposes, not financial advice.
This is my take on the Chaikin Oscillator — statistically normalized into a Z-Score with built-in divergence detection.
The problem with raw Chaikin
The standard ChO is unbounded and extremely sensitive to volume spikes. A single anomalous bar can flatten the entire oscillator, making it hard to compare signals across time or between instruments.
The fix
Z-Score normalization with asinh (inverse hyperbolic sine) transformation. While standard Z-Scores assume a normal distribution, market data often features "fat tails" (extreme outliers). This transformation compresses those spikes effectively, ensuring the indicator remains responsive without getting stuck during high-volatility events. The result: a more comparable scale across instruments.
What's inside:
[—] Adaptive normalization + EMA-based variance for smooth Z calculation
[—] Regular and hidden divergence detection with segment validation (fewer false signals)
[—] Gradient coloring that intensifies toward extremes
[—] Dashboard with current Z value
[—] Pre-built alerts for OB/OS entries/exits and all divergence types
Note: This is a volume-based indicator. No volume = no signal. If you see "No Volume Data" in the dashboard, switch to a data source that provides volume.
Works on any timeframe. Feedback welcome.
For analysis purposes, not financial advice.
릴리즈 노트
1. Fixed long-history “empty/short” plotting on some symbols/timeframes by preventing early na cascade in the smoothing/normalization chain (EMA inputs are now safely stabilized).2. Warmup logic aligned to the actual required history: the indicator starts producing values after the longest active lookback (max of the smoothing and Z-score lengths), instead of staying silent longer than needed.
3. Added a dashboard warning when the chart has insufficient bars for a reliable output (“Need X+ bars”), so you immediately see why values may be missing.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.