OPEN-SOURCE SCRIPT
FTFC Simple

FTFC Signal — Full Timeframe Continuity (60m · D · W · M)
Indicator twin of the backtested "FTFC Full Timeframe Continuity" strategy. Same engine — same presets, debounce, loss cooldown, ETF-shorts rule — but built as an indicator: no TradingView order arrows, alerts fire, and it exposes sortable Screener columns.
How it scores
Compares price to the open of four timeframes — 60-minute, Daily, Weekly, Monthly. Each aligned timeframe = +1 (close above open) or −1 (below). Sum = a continuity score from −4 (all four bearish) to +4 (all four bullish). Full continuity = all timeframes pointing the same way.
Signal engine (bar-close, identical to strategy)
- Long when score ≥ entry threshold, price-strength and open-spread filters pass
- Short when score ≤ threshold (optional Monthly-red gate)
- Debounce — score must hold N bars before a signal fires (kills chop)
- Loss cooldown — blocks re-entry N bars after a losing exit
- Simulated position state drives entry/exit/reverse; no repaint
Presets
- Auto — maps thresholds, debounce, cooldown from your chart timeframe
- Long-bias (best 1h)
- Majority stop-and-reverse (best 2022+)
- Long-only wide-hold (max profit factor / single stocks / ≥ 4h)
- Custom — every threshold exposed
On the chart
- Price-pane trade marks — teal ▲ long, coral ▼ short, red ▼ exit; brighter = more timeframes aligned at entry
- Optional FTFC status panel — per-timeframe direction, % from each open, live score meter, position P/L, active filters
- Optional tradable-tickers table — edge-screened names with strategy-minus-buy&hold margins
Indicator twin of the backtested "FTFC Full Timeframe Continuity" strategy. Same engine — same presets, debounce, loss cooldown, ETF-shorts rule — but built as an indicator: no TradingView order arrows, alerts fire, and it exposes sortable Screener columns.
How it scores
Compares price to the open of four timeframes — 60-minute, Daily, Weekly, Monthly. Each aligned timeframe = +1 (close above open) or −1 (below). Sum = a continuity score from −4 (all four bearish) to +4 (all four bullish). Full continuity = all timeframes pointing the same way.
Signal engine (bar-close, identical to strategy)
- Long when score ≥ entry threshold, price-strength and open-spread filters pass
- Short when score ≤ threshold (optional Monthly-red gate)
- Debounce — score must hold N bars before a signal fires (kills chop)
- Loss cooldown — blocks re-entry N bars after a losing exit
- Simulated position state drives entry/exit/reverse; no repaint
Presets
- Auto — maps thresholds, debounce, cooldown from your chart timeframe
- Long-bias (best 1h)
- Majority stop-and-reverse (best 2022+)
- Long-only wide-hold (max profit factor / single stocks / ≥ 4h)
- Custom — every threshold exposed
On the chart
- Price-pane trade marks — teal ▲ long, coral ▼ short, red ▼ exit; brighter = more timeframes aligned at entry
- Optional FTFC status panel — per-timeframe direction, % from each open, live score meter, position P/L, active filters
- Optional tradable-tickers table — edge-screened names with strategy-minus-buy&hold margins
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.