OPEN-SOURCE SCRIPT
ENIGMA TGIF

ENIGMA · TGIF is a compact higher-timeframe Friday profile designed to visualize the weekly TGIF retracement model without adding more horizontal clutter to the chart.
Instead of projecting another set of levels across price action, the indicator compresses the developing weekly structure into a dedicated right-side HTF rail. This keeps the main chart clean while preserving the information needed to quickly understand Friday's position inside the weekly dealing range.
The model tracks the weekly range from Sunday 18:00 New York time and determines whether the developing Weekly High or Weekly Low was established during Friday.
When Friday owns the Weekly High, the indicator monitors the 20–30% retracement area from the Weekly High.
When Friday owns the Weekly Low, it monitors the mirrored 70–80% area of the weekly range.
Core features
Weekly dealing range anchored to Sunday 18:00 New York
Friday profile based on an invariant M1 data stream
Friday Weekly High → 20–30% TGIF model
Friday Weekly Low → 70–80% TGIF model
Weekly O/H/L/C represented as a compact HTF candle
Optional Weekly EQ reference
TGIF model displayed as a small attached bracket instead of chart-wide levels
OPEN and DELIVERED model states
Automatic Friday snapshot retention
Optional Micro → E-mini reference mapping:
MNQ → NQ
MES → ES
MYM → YM
M2K → RTY
Dedicated Data Window values and alert conditions
Designed for M1–H1 execution charts
No arrays or historical object archive
Uses lookahead_off
Design philosophy
ENIGMA · TGIF is intentionally minimal.
The indicator does not attempt to become another full dealing-range overlay. The main chart should remain reserved for price action, liquidity, sessions and execution structure.
TGIF therefore lives outside the primary LEVELS rail as a small monochrome weekly instrument:
Black / white candle → weekly context
Attached bracket → active TGIF range
TGIF badge → currently relevant Friday model
Delivered models automatically fade into secondary context.
The result is a compact HTF reference that can remain visible throughout the trading session without competing with the underlying chart.
Important
TGIF is a contextual framework, not an entry signal by itself. It is intended to be combined with the trader's own directional bias, liquidity framework, displacement, market structure and execution model.
Instead of projecting another set of levels across price action, the indicator compresses the developing weekly structure into a dedicated right-side HTF rail. This keeps the main chart clean while preserving the information needed to quickly understand Friday's position inside the weekly dealing range.
The model tracks the weekly range from Sunday 18:00 New York time and determines whether the developing Weekly High or Weekly Low was established during Friday.
When Friday owns the Weekly High, the indicator monitors the 20–30% retracement area from the Weekly High.
When Friday owns the Weekly Low, it monitors the mirrored 70–80% area of the weekly range.
Core features
Weekly dealing range anchored to Sunday 18:00 New York
Friday profile based on an invariant M1 data stream
Friday Weekly High → 20–30% TGIF model
Friday Weekly Low → 70–80% TGIF model
Weekly O/H/L/C represented as a compact HTF candle
Optional Weekly EQ reference
TGIF model displayed as a small attached bracket instead of chart-wide levels
OPEN and DELIVERED model states
Automatic Friday snapshot retention
Optional Micro → E-mini reference mapping:
MNQ → NQ
MES → ES
MYM → YM
M2K → RTY
Dedicated Data Window values and alert conditions
Designed for M1–H1 execution charts
No arrays or historical object archive
Uses lookahead_off
Design philosophy
ENIGMA · TGIF is intentionally minimal.
The indicator does not attempt to become another full dealing-range overlay. The main chart should remain reserved for price action, liquidity, sessions and execution structure.
TGIF therefore lives outside the primary LEVELS rail as a small monochrome weekly instrument:
Black / white candle → weekly context
Attached bracket → active TGIF range
TGIF badge → currently relevant Friday model
Delivered models automatically fade into secondary context.
The result is a compact HTF reference that can remain visible throughout the trading session without competing with the underlying chart.
Important
TGIF is a contextual framework, not an entry signal by itself. It is intended to be combined with the trader's own directional bias, liquidity framework, displacement, market structure and execution model.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。