OPEN-SOURCE SCRIPT
BK AK-HA Window

🖥️ BK AK–HA PnF Window 🖥️
🙏 All glory to G-d
Respect to AK — discipline, patience, clean execution.
HA Window is a compact “analysis panel” that lives on your chart.
It lets you toggle between two different ways of reading structure:
Heikin Ashi Window (normalized, consistent OB/OS framework)
Point & Figure Window (clean X/O structure with targets + pattern logic)
This is not financial advice and it’s not a promise of results. It’s a visual decision tool designed to help you track trend, structure, and reaction quality with fewer distractions.
1) Quick Start (60 seconds)
Content → Heikin Ashi if you want trend + turning-point context inside a fixed OB/OS framework.
Content → Point & Figure if you want clean structure (X/O columns), break/rotate behavior, and objective counting tools.
Keep Lock to Last Bar = ON and adjust:
Width (candles)
Height (ATR multiple or % range)
Future Offset to park the panel neatly to the right.
2) Mode A — Heikin Ashi Window (Normalized Oscillator Candles)
This mode takes Heikin Ashi OHLC and maps it into a stable window range with:
0 / Overbought / Oversold levels
Optional zone fills for quick “where are we?” context
HA candle rendering with spacing options (1-bar or centered 2-bar mode)
Built-in confirmations (optional)
EMA overlay on the HA close (bias + pullback structure)
Pivot highs/lows (structure markers)
Buy/Sell markers (HA color flip events)
Divergence detection (RSI or MFI) with swing filters (so it doesn’t spam)
Volume spike highlighting (Volume ROC) to flag “activity candles”
Session shading (Asia / London / RTH) for time-context
Pattern recognition (optional)
The window can tag common HA behaviors like:
Flat tops/bottoms (level sensitivity)
Acceleration vs deceleration
Compression/inside bars
Absorption / exhaustion signatures
These are presented as context labels, not “guaranteed signals.”
3) Mode B — Point & Figure Window (X/O Structure Map)
PnF is about structure without time noise. This mode builds X/O columns and renders them inside a clean grid.
Auto box sizing (important)
Instead of forcing one ATR length, the script can evaluate several ATR candidates and select the one that best matches price behavior over the chosen lookback. That means:
less arbitrary box size guessing
more consistent columns across symbols/timeframes
What’s included (optional)
PnF reversal detection (X→O / O→X) + alert conditions
Pattern recognition (double/triple breaks, ascending/descending triples, catapults)
Gann/PnF counting tools
Horizontal count (congestion width → projected objectives)
Vertical count (column height → objective projection)
45° trend lines (classic PnF rails)
Congestion zone box (where acceptance is forming)
Price level labels (turns the panel into a quick S/R ladder)
Volume weighting (opacity or glyph size)
Column “box count” + time-in-column
quick read on thrust vs rotation/absorption behavior
MTF + LTF direction badges
alignment = higher confidence context
disagreement = “slow down and verify”
4) How to Use It (simple workflow)
Step 1 — Bias:
HA mode: EMA + candle color + zone location
PnF mode: column direction + HTF badge
Step 2 — Location:
HA mode: OB/OS + pivots
PnF mode: congestion zones + price level ladder
Step 3 — Confirmation:
HA flip + divergence/pattern context
PnF reversal/pattern + timeframe alignment
Step 4 — Management:
Use structure (pivots / PnF rails / count objectives) to manage expectations
Don’t treat the panel as a “prediction machine” — treat it as a clarity tool
5) Settings Suggestions
For fast intraday:
Smaller window width, keep PnF rows capped for readability, let auto-box sizing do the work.
For higher timeframe:
Increase correlation lookback + window width
Use MTF badge to stay aligned with the bigger structure
🖥️ BK AK–HA Window 🖥️
🙏 All glory to G-d
Respect to AK — discipline, patience, clean execution.
HA Window is a compact “analysis panel” that lives on your chart.
It lets you toggle between two different ways of reading structure:
Heikin Ashi Window (normalized, consistent OB/OS framework)
Point & Figure Window (clean X/O structure with targets + pattern logic)
This is not financial advice and it’s not a promise of results. It’s a visual decision tool designed to help you track trend, structure, and reaction quality with fewer distractions.
1) Quick Start (60 seconds)
Content → Heikin Ashi if you want trend + turning-point context inside a fixed OB/OS framework.
Content → Point & Figure if you want clean structure (X/O columns), break/rotate behavior, and objective counting tools.
Keep Lock to Last Bar = ON and adjust:
Width (candles)
Height (ATR multiple or % range)
Future Offset to park the panel neatly to the right.
2) Mode A — Heikin Ashi Window (Normalized Oscillator Candles)
This mode takes Heikin Ashi OHLC and maps it into a stable window range with:
0 / Overbought / Oversold levels
Optional zone fills for quick “where are we?” context
HA candle rendering with spacing options (1-bar or centered 2-bar mode)
Built-in confirmations (optional)
EMA overlay on the HA close (bias + pullback structure)
Pivot highs/lows (structure markers)
Buy/Sell markers (HA color flip events)
Divergence detection (RSI or MFI) with swing filters (so it doesn’t spam)
Volume spike highlighting (Volume ROC) to flag “activity candles”
Session shading (Asia / London / RTH) for time-context
Pattern recognition (optional)
The window can tag common HA behaviors like:
Flat tops/bottoms (level sensitivity)
Acceleration vs deceleration
Compression/inside bars
Absorption / exhaustion signatures
These are presented as context labels, not “guaranteed signals.”
3) Mode B — Point & Figure Window (X/O Structure Map)
PnF is about structure without time noise. This mode builds X/O columns and renders them inside a clean grid.
Auto box sizing (important)
Instead of forcing one ATR length, the script can evaluate several ATR candidates and select the one that best matches price behavior over the chosen lookback. That means:
less arbitrary box size guessing
more consistent columns across symbols/timeframes
What’s included (optional)
PnF reversal detection (X→O / O→X) + alert conditions
Pattern recognition (double/triple breaks, ascending/descending triples, catapults)
Gann/PnF counting tools
Horizontal count (congestion width → projected objectives)
Vertical count (column height → objective projection)
45° trend lines (classic PnF rails)
Congestion zone box (where acceptance is forming)
Price level labels (turns the panel into a quick S/R ladder)
Volume weighting (opacity or glyph size)
Column “box count” + time-in-column
quick read on thrust vs rotation/absorption behavior
MTF + LTF direction badges
alignment = higher confidence context
disagreement = “slow down and verify”
4) How to Use It (simple workflow)
Step 1 — Bias:
HA mode: EMA + candle color + zone location
PnF mode: column direction + HTF badge
Step 2 — Location:
HA mode: OB/OS + pivots
PnF mode: congestion zones + price level ladder
Step 3 — Confirmation:
HA flip + divergence/pattern context
PnF reversal/pattern + timeframe alignment
Step 4 — Management:
Use structure (pivots / PnF rails / count objectives) to manage expectations
Don’t treat the panel as a “prediction machine” — treat it as a clarity tool
5) Settings Suggestions
For fast intraday:
Smaller window width, keep PnF rows capped for readability, let auto-box sizing do the work.
For higher timeframe:
Increase correlation lookback + window width
Use MTF badge to stay aligned with the bigger structure
🖥️ BK AK–HA Window 🖥️
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。