OPEN-SOURCE SCRIPT
3-Bar Cotangent-Inspired Liquidity Projection Model

3-Bar Cotangent-Inspired Liquidity Projection Model
This indicator is a hybrid market structure and forward projection system built on a 3-candle analytical framework combined with volatility, momentum, and liquidity anchoring.
It does not use predictive assumptions, but rather constructs probabilistic forward zones based on real market microstructure.
📊 Core Logic (3-Candle Structure)
The system is built on three consecutive candles:
Base Candle (t-2)
Defines the structural liquidity reference (high/low anchor zone)
Expansion Candle (t-1)
Measures directional pressure by comparing range expansion relative to the base candle
Confirmation Candle (t)
Evaluates whether price remains within the base liquidity zone or rejects it
⚙️ Calculations
The projection engine combines:
ATR-based volatility scaling
Volume-weighted momentum pressure
Distance from liquidity anchor (Order Block-like structure)
Cotangent-inspired angular velocity approximation:
cot(θ)=
tan(θ)
1
Pressure Ratio:
Pressure=
Base Range
Expansion Range
Forward projection zone:
Projection=Price±(ATR⋅f(Pressure,Momentum))
📈 Visualization
Green line = bullish forward guide path
Red line = bearish forward guide path
Blue cloud = projected price equilibrium zone
The cloud is drawn ahead of price action, representing a probabilistic future range rather than a fixed prediction.
Guide lines act as directional structure guides, while the cloud defines potential volatility expansion areas.
🧠 Market Interpretation
Price above cloud = bullish expansion regime
Price below cloud = bearish expansion regime
Inside cloud = equilibrium / compression zone
The slope of the projection is dynamically influenced by the 3-bar structure, meaning momentum shifts directly affect the angle of forward projection.
⚠️ Important Note
This is not a signal generator in isolation.
It is a structural projection framework designed to visualize liquidity expansion, compression, and directional probability zones.
🇹🇷 TÜRKÇE AÇIKLAMA
3-Mum Kotanjan Esinli Likidite Projeksiyon Modeli
Bu gösterge, 3 mumluk yapı üzerine kurulmuş, volatilite, momentum ve likidite referanslarını birleştiren hibrit bir piyasa projeksiyon sistemidir.
Tahmin yapmaz; bunun yerine piyasanın mikro yapısına göre ileriye dönük olasılık bölgeleri oluşturur.
📊 Temel Mantık (3 Mum Yapısı)
Sistem üç mum üzerinden çalışır:
Baz Mum (t-2)
Likidite referans alanını (tepe/dip bölgesi) belirler
Genişleme Mumu (t-1)
Baz mumuna göre fiyatın genişleme gücünü ölçer
Onay Mumu (t)
Fiyatın baz likidite bölgesinde kalıp kalmadığını analiz eder
⚙️ Hesaplamalar
Sistem şu bileşenleri kullanır:
ATR bazlı volatilite ölçekleme
Hacim + momentum gücü
Likidite (OB benzeri) mesafe etkisi
Kotanjan tabanlı eğim yaklaşımı:
cot(θ)=
tan(θ)
1
Basit güç oranı:
G
u
¨
c
\c
=
Baz Aralık
Geni
s
\c
leme Aralı
g
˘
ı
İleri projeksiyon:
Projeksiyon=Fiyat±(ATR⋅momentum fonksiyonu)
📈 Görselleştirme
Yeşil çizgi = yukarı yönlü proje yolu
Kırmızı çizgi = aşağı yönlü proje yolu
Mavi bulut = ileriye dönük fiyat olasılık bölgesi
Bulut, fiyatın gelecekte bulunabileceği olası denge alanını temsil eder.
🧠 Piyasa Yorumu
Fiyat bulut üstü = güçlü yükseliş rejimi
Fiyat bulut altı = güçlü düşüş rejimi
Bulut içi = sıkışma / denge bölgesi
Projeksiyon açısı 3 mum yapısına bağlı olarak değişir, yani momentum arttıkça ileri yön eğimi de artar.
⚠️ Önemli Not
Bu sistem tek başına al-sat sinyali değildir.
Likidite, momentum ve volatilite yapısını ileriye taşıyan görsel bir piyasa modelidir.
This indicator is a hybrid market structure and forward projection system built on a 3-candle analytical framework combined with volatility, momentum, and liquidity anchoring.
It does not use predictive assumptions, but rather constructs probabilistic forward zones based on real market microstructure.
📊 Core Logic (3-Candle Structure)
The system is built on three consecutive candles:
Base Candle (t-2)
Defines the structural liquidity reference (high/low anchor zone)
Expansion Candle (t-1)
Measures directional pressure by comparing range expansion relative to the base candle
Confirmation Candle (t)
Evaluates whether price remains within the base liquidity zone or rejects it
⚙️ Calculations
The projection engine combines:
ATR-based volatility scaling
Volume-weighted momentum pressure
Distance from liquidity anchor (Order Block-like structure)
Cotangent-inspired angular velocity approximation:
cot(θ)=
tan(θ)
1
Pressure Ratio:
Pressure=
Base Range
Expansion Range
Forward projection zone:
Projection=Price±(ATR⋅f(Pressure,Momentum))
📈 Visualization
Green line = bullish forward guide path
Red line = bearish forward guide path
Blue cloud = projected price equilibrium zone
The cloud is drawn ahead of price action, representing a probabilistic future range rather than a fixed prediction.
Guide lines act as directional structure guides, while the cloud defines potential volatility expansion areas.
🧠 Market Interpretation
Price above cloud = bullish expansion regime
Price below cloud = bearish expansion regime
Inside cloud = equilibrium / compression zone
The slope of the projection is dynamically influenced by the 3-bar structure, meaning momentum shifts directly affect the angle of forward projection.
⚠️ Important Note
This is not a signal generator in isolation.
It is a structural projection framework designed to visualize liquidity expansion, compression, and directional probability zones.
🇹🇷 TÜRKÇE AÇIKLAMA
3-Mum Kotanjan Esinli Likidite Projeksiyon Modeli
Bu gösterge, 3 mumluk yapı üzerine kurulmuş, volatilite, momentum ve likidite referanslarını birleştiren hibrit bir piyasa projeksiyon sistemidir.
Tahmin yapmaz; bunun yerine piyasanın mikro yapısına göre ileriye dönük olasılık bölgeleri oluşturur.
📊 Temel Mantık (3 Mum Yapısı)
Sistem üç mum üzerinden çalışır:
Baz Mum (t-2)
Likidite referans alanını (tepe/dip bölgesi) belirler
Genişleme Mumu (t-1)
Baz mumuna göre fiyatın genişleme gücünü ölçer
Onay Mumu (t)
Fiyatın baz likidite bölgesinde kalıp kalmadığını analiz eder
⚙️ Hesaplamalar
Sistem şu bileşenleri kullanır:
ATR bazlı volatilite ölçekleme
Hacim + momentum gücü
Likidite (OB benzeri) mesafe etkisi
Kotanjan tabanlı eğim yaklaşımı:
cot(θ)=
tan(θ)
1
Basit güç oranı:
G
u
¨
c
\c
=
Baz Aralık
Geni
s
\c
leme Aralı
g
˘
ı
İleri projeksiyon:
Projeksiyon=Fiyat±(ATR⋅momentum fonksiyonu)
📈 Görselleştirme
Yeşil çizgi = yukarı yönlü proje yolu
Kırmızı çizgi = aşağı yönlü proje yolu
Mavi bulut = ileriye dönük fiyat olasılık bölgesi
Bulut, fiyatın gelecekte bulunabileceği olası denge alanını temsil eder.
🧠 Piyasa Yorumu
Fiyat bulut üstü = güçlü yükseliş rejimi
Fiyat bulut altı = güçlü düşüş rejimi
Bulut içi = sıkışma / denge bölgesi
Projeksiyon açısı 3 mum yapısına bağlı olarak değişir, yani momentum arttıkça ileri yön eğimi de artar.
⚠️ Önemli Not
Bu sistem tek başına al-sat sinyali değildir.
Likidite, momentum ve volatilite yapısını ileriye taşıyan görsel bir piyasa modelidir.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.