OPEN-SOURCE SCRIPT
AetherEdge - Hypercube Heatmap (Horizon Field)

🖊️ Overview
AE-HYPE2 is a heatmap engine that embeds multiple market features into a latent energy and projects it across the chart as horizontal energy bands by price level. It dynamically weights feature importance with attention and modulates band brightness with a Bayesian-style uncertainty. Brighter bands mark price levels where energy concentrates, intuitively conveying where market force accumulates. It expresses the CoinGlass-style horizontal-band aesthetic through a unique "market energy" lens rather than liquidations.
🔶 Key Features
Price-level energy field: projects multi-feature latent energy into horizontal bands by price
Latent embedding: five features (momentum, volatility, volume, trend, RSI) compressed into latent energy
Dynamic attention: softmax real-time weighting of each feature's importance
Uncertainty estimation: a Bayesian-style estimate from feature dispersion, darkening uncertain bands
Smooth gradient field via vertical smoothing
Viridis palette (purple→teal→green→yellow) reproducing the CoinGlass aesthetic
Hotspot glow and an integrated HUD showing total energy, uncertainty, and the focused feature
🧠 Technical Architecture
Within Pine — which has no autodiff, external libraries, or animation — this reproduces the mathematical core of deep embedding and attention in static form. A softmax over five standardized features yields attention weights, and their weighted sum is the latent energy. Uncertainty is a Bayesian-style estimate from the standard deviation among features. In rendering, for each past bar, the latent energy (attenuated by uncertainty) is accumulated into the price row that bar's price occupied, so levels where energy concentrates emerge as bright horizontal bands. Vertical smoothing diffuses energy into neighboring bands for a smooth gradient field. Color is the Viridis spectrum, with brightness encoding energy magnitude.
⚙️ Recommended Settings & Tuning Guide
Tuned with crypto in mind. Price Resolution 48 and Lookback Width ~250 are a starting point. Attention Temperature sets the embedding's character — below 1 focuses sharply on the strongest feature, above 1 blends multiple. Vertical Range adjusts field height, Color Intensity overall opacity. Enabling Apply Uncertainty Softening darkens uncertain price levels so confident bands stand out. Raising Price Resolution makes finer bands but watch the drawing-object limit (up to ~120).
💡 How to Use in Practice
Bright bands are price levels where market energy concentrates, marking levels that historically drew large interest (volume, momentum, volatility). These tend to act as support/resistance, and moments where price approaches them are worth attention. Dark, blurred-looking bands indicate high uncertainty and lower confidence. The HUD's focused feature reveals what currently drives the market. Used together with AE-LIQ (the liquidation heatmap), you can find levels where liquidation bands and energy bands coincide — doubly significant levels.
⚠️ Important Notes
This tool is inspired by deep learning and attention, not a true backprop-trained neural network. External libraries like NeuraLib, and animation/particle/blur effects, are impossible in Pine and are not included. Energy bands are a visualization of market state, not predictions. The heatmap rebuilds only on the last bar and does not repaint confirmed history. Pushing Price Resolution too high may hit the drawing-object limit and break the display.
🚨 Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute financial or investment advice. No output guarantees future prices, and past performance does not indicate future results. All trading decisions are made at your own risk.
AE-HYPE2 is a heatmap engine that embeds multiple market features into a latent energy and projects it across the chart as horizontal energy bands by price level. It dynamically weights feature importance with attention and modulates band brightness with a Bayesian-style uncertainty. Brighter bands mark price levels where energy concentrates, intuitively conveying where market force accumulates. It expresses the CoinGlass-style horizontal-band aesthetic through a unique "market energy" lens rather than liquidations.
🔶 Key Features
Price-level energy field: projects multi-feature latent energy into horizontal bands by price
Latent embedding: five features (momentum, volatility, volume, trend, RSI) compressed into latent energy
Dynamic attention: softmax real-time weighting of each feature's importance
Uncertainty estimation: a Bayesian-style estimate from feature dispersion, darkening uncertain bands
Smooth gradient field via vertical smoothing
Viridis palette (purple→teal→green→yellow) reproducing the CoinGlass aesthetic
Hotspot glow and an integrated HUD showing total energy, uncertainty, and the focused feature
🧠 Technical Architecture
Within Pine — which has no autodiff, external libraries, or animation — this reproduces the mathematical core of deep embedding and attention in static form. A softmax over five standardized features yields attention weights, and their weighted sum is the latent energy. Uncertainty is a Bayesian-style estimate from the standard deviation among features. In rendering, for each past bar, the latent energy (attenuated by uncertainty) is accumulated into the price row that bar's price occupied, so levels where energy concentrates emerge as bright horizontal bands. Vertical smoothing diffuses energy into neighboring bands for a smooth gradient field. Color is the Viridis spectrum, with brightness encoding energy magnitude.
⚙️ Recommended Settings & Tuning Guide
Tuned with crypto in mind. Price Resolution 48 and Lookback Width ~250 are a starting point. Attention Temperature sets the embedding's character — below 1 focuses sharply on the strongest feature, above 1 blends multiple. Vertical Range adjusts field height, Color Intensity overall opacity. Enabling Apply Uncertainty Softening darkens uncertain price levels so confident bands stand out. Raising Price Resolution makes finer bands but watch the drawing-object limit (up to ~120).
💡 How to Use in Practice
Bright bands are price levels where market energy concentrates, marking levels that historically drew large interest (volume, momentum, volatility). These tend to act as support/resistance, and moments where price approaches them are worth attention. Dark, blurred-looking bands indicate high uncertainty and lower confidence. The HUD's focused feature reveals what currently drives the market. Used together with AE-LIQ (the liquidation heatmap), you can find levels where liquidation bands and energy bands coincide — doubly significant levels.
⚠️ Important Notes
This tool is inspired by deep learning and attention, not a true backprop-trained neural network. External libraries like NeuraLib, and animation/particle/blur effects, are impossible in Pine and are not included. Energy bands are a visualization of market state, not predictions. The heatmap rebuilds only on the last bar and does not repaint confirmed history. Pushing Price Resolution too high may hit the drawing-object limit and break the display.
🚨 Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute financial or investment advice. No output guarantees future prices, and past performance does not indicate future results. All trading decisions are made at your own risk.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。