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 อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน