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
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.