OPEN-SOURCE SCRIPT
KOTANJAN MATRIX

🇬🇧 English
KOTANJAN MATRIX is a market structure visualization framework designed to interpret price action through a 3-candle micro-structure model combined with volume and volatility dynamics.
Instead of displaying traditional signals, the script converts market behavior into a structured “energy grid” representation.
Core Methodology:
The system evaluates market movement using:
3-candle directional flow (micro trend detection)
Volume expansion (participation strength)
Price compression (energy accumulation phases)
Volatility-based normalization
These components are aggregated into a scoring mechanism that maps market conditions into a Tetris-style structural grid.
Visualization Logic:
Expanding conditions increase structural height (trend strength)
Compression phases reduce energy representation (accumulation zones)
Directional bias defines color state transitions
Market regimes are visually separated as structure rather than signals
Risk & Trend Layer:
The framework includes:
ATR-based V-Stop for dynamic risk reference
ATR volatility cloud to visualize market expansion/contraction
State-based trend tracking to avoid repetitive signal noise
Intended Use:
This tool is designed for:
Market structure analysis
Trend phase identification
Volatility interpretation
Visual decision support rather than automated trading signals
It does not repaint and does not generate repeated signals within the same market state.
🇹🇷 Türkçe Açıklama
KOTANJAN MATRIX, fiyat hareketini klasik indikatör sinyalleri yerine 3 mumluk mikro yapı modeli ile analiz eden bir piyasa yapı görselleştirme sistemidir.
Sistem, piyasayı “sinyal üretici” olarak değil, enerji tabanlı bir yapı (grid) olarak yorumlar.
Temel Mantık:
Model şu bileşenleri kullanır:
3 mumluk yönsel akış (mikro trend tespiti)
Hacim genişlemesi (piyasa katılım gücü)
Fiyat sıkışması (enerji birikim alanları)
Volatilite normalize edilmiş yapı
Bu veriler birleşerek piyasayı Tetris benzeri bir yapı içinde görselleştirir.
Görselleştirme Mantığı:
Güçlü trendler yapıyı yükseltir
Sıkışma dönemleri enerji düşüşü olarak görünür
Yön değişimleri renk geçişleriyle temsil edilir
Piyasa, sinyal yerine “yapı rejimleri” olarak okunur
Risk ve Trend Katmanı:
ATR bazlı V-Stop dinamik risk seviyesi sunar
ATR bulutu volatilite genişleme/daralma alanlarını gösterir
Tekrarlayan sinyalleri engelleyen state-based yapı kullanır
Kullanım Amacı:
Piyasa yapısını analiz etmek
Trend fazlarını okumak
Volatilite davranışını anlamak
Otomatik işlemden ziyade karar destek sistemi olarak kullanmak
Sistem repaint yapmaz ve aynı piyasa durumunda tekrar sinyal üretmez.
KOTANJAN MATRIX is a market structure visualization framework designed to interpret price action through a 3-candle micro-structure model combined with volume and volatility dynamics.
Instead of displaying traditional signals, the script converts market behavior into a structured “energy grid” representation.
Core Methodology:
The system evaluates market movement using:
3-candle directional flow (micro trend detection)
Volume expansion (participation strength)
Price compression (energy accumulation phases)
Volatility-based normalization
These components are aggregated into a scoring mechanism that maps market conditions into a Tetris-style structural grid.
Visualization Logic:
Expanding conditions increase structural height (trend strength)
Compression phases reduce energy representation (accumulation zones)
Directional bias defines color state transitions
Market regimes are visually separated as structure rather than signals
Risk & Trend Layer:
The framework includes:
ATR-based V-Stop for dynamic risk reference
ATR volatility cloud to visualize market expansion/contraction
State-based trend tracking to avoid repetitive signal noise
Intended Use:
This tool is designed for:
Market structure analysis
Trend phase identification
Volatility interpretation
Visual decision support rather than automated trading signals
It does not repaint and does not generate repeated signals within the same market state.
🇹🇷 Türkçe Açıklama
KOTANJAN MATRIX, fiyat hareketini klasik indikatör sinyalleri yerine 3 mumluk mikro yapı modeli ile analiz eden bir piyasa yapı görselleştirme sistemidir.
Sistem, piyasayı “sinyal üretici” olarak değil, enerji tabanlı bir yapı (grid) olarak yorumlar.
Temel Mantık:
Model şu bileşenleri kullanır:
3 mumluk yönsel akış (mikro trend tespiti)
Hacim genişlemesi (piyasa katılım gücü)
Fiyat sıkışması (enerji birikim alanları)
Volatilite normalize edilmiş yapı
Bu veriler birleşerek piyasayı Tetris benzeri bir yapı içinde görselleştirir.
Görselleştirme Mantığı:
Güçlü trendler yapıyı yükseltir
Sıkışma dönemleri enerji düşüşü olarak görünür
Yön değişimleri renk geçişleriyle temsil edilir
Piyasa, sinyal yerine “yapı rejimleri” olarak okunur
Risk ve Trend Katmanı:
ATR bazlı V-Stop dinamik risk seviyesi sunar
ATR bulutu volatilite genişleme/daralma alanlarını gösterir
Tekrarlayan sinyalleri engelleyen state-based yapı kullanır
Kullanım Amacı:
Piyasa yapısını analiz etmek
Trend fazlarını okumak
Volatilite davranışını anlamak
Otomatik işlemden ziyade karar destek sistemi olarak kullanmak
Sistem repaint yapmaz ve aynı piyasa durumunda tekrar sinyal üretmez.
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.