OPEN-SOURCE SCRIPT
Güncellendi Trend Signal Grid

Trend Signal Grid
Based on Trend Direction & Force Index - TDFI [wm] by Causecelebre, the TDFI Grid is a multi-timeframe momentum indicator that builds on the original TDFI concept. It calculates TDFI across three user-selectable timeframes using three different lookback periods, creating a 3×3 consensus grid (9 readings total).
Each cell is classified as bullish, bearish, or neutral based on configurable upper and lower thresholds. When a majority of the 9 readings align in the same direction (default 65%), the indicator triggers a directional signal — either GRID UP or GRID DOWN. Alerts fire automatically on new signals so you never miss a shift.
How it works
The indicator uses a smoothed EMA-based momentum calculation, normalises the output against its recent highest absolute value, and then maps it across your chosen timeframes and lookback lengths. The results are displayed in a clean on-chart table showing the state of each timeframe/lookback combination at a glance.
Settings:
Timeframe 1, 2, 3 — Choose any three timeframes (defaults to 1m, 5m, 15m).
LB1, LB2, LB3 — Lookback periods for each TDFI calculation.
UP / DOWN thresholds — Controls how far the TDFI must move before a cell registers as bullish or bearish.
Majority — The percentage of the 9 cells that must agree to trigger a signal.
Table position — Place the grid anywhere on your chart.
Best used for
Trading setups where you need to confirm momentum alignment across multiple timeframes before entering or scaling a position. Works well on forex and metals.
Based on Trend Direction & Force Index - TDFI [wm] by Causecelebre, the TDFI Grid is a multi-timeframe momentum indicator that builds on the original TDFI concept. It calculates TDFI across three user-selectable timeframes using three different lookback periods, creating a 3×3 consensus grid (9 readings total).
Each cell is classified as bullish, bearish, or neutral based on configurable upper and lower thresholds. When a majority of the 9 readings align in the same direction (default 65%), the indicator triggers a directional signal — either GRID UP or GRID DOWN. Alerts fire automatically on new signals so you never miss a shift.
How it works
The indicator uses a smoothed EMA-based momentum calculation, normalises the output against its recent highest absolute value, and then maps it across your chosen timeframes and lookback lengths. The results are displayed in a clean on-chart table showing the state of each timeframe/lookback combination at a glance.
Settings:
Timeframe 1, 2, 3 — Choose any three timeframes (defaults to 1m, 5m, 15m).
LB1, LB2, LB3 — Lookback periods for each TDFI calculation.
UP / DOWN thresholds — Controls how far the TDFI must move before a cell registers as bullish or bearish.
Majority — The percentage of the 9 cells that must agree to trigger a signal.
Table position — Place the grid anywhere on your chart.
Best used for
Trading setups where you need to confirm momentum alignment across multiple timeframes before entering or scaling a position. Works well on forex and metals.
Sürüm Notları
Trend Signal GridBased on Trend Direction & Force Index - TDFI [wm] by Causecelebre, the TDFI Grid is a multi-timeframe momentum indicator that builds on the original TDFI concept. It calculates TDFI across three user-selectable timeframes using three different lookback periods, creating a 3×3 consensus grid (9 readings total).
Each cell is classified as bullish, bearish, or neutral based on configurable upper and lower thresholds. When a majority of the 9 readings align in the same direction (default 65%), the indicator triggers a directional signal — either GRID UP or GRID DOWN.
Alerts fire automatically on new signals so you never miss a shift.
How it works:
The indicator uses a smoothed EMA-based momentum calculation, normalises the output against its recent highest absolute value, and then maps it across your chosen timeframes and lookback lengths.
The results are displayed in a clean on-chart table showing the state of each timeframe/lookback combination at a glance.
Settings:
Timeframe 1, 2, 3 — Choose any three timeframes (defaults to 1m, 5m, 15m). LB1, LB2, LB3 — Lookback periods for each TDFI calculation. UP / DOWN thresholds — Controls how far the TDFI must move before a cell registers as bullish or bearish.
Majority — The percentage of the 9 cells that must agree to trigger a signal.
Table position — Place the grid anywhere on your chart.
Best used for:
Grid trading setups where you need to confirm momentum alignment across multiple timeframes before entering or scaling a position. Works well on forex and metals.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.