Indicator · Pine Script v6 · On the chart

TTFMCopilot - Fractal Model Pro Recreation

by dbruce1990

This overlay indicator recreates a fractal model on the price chart.

View on GitHub

GitHub stars12on the repository
Pine versionv6current
Lines of code1,148
Settings40inputs
LicenceNone stated
Last update1 year ago5 Sep 2025

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

TTFMCopilot - Fractal Model Pro Recreation labels optional C2, C3, and C4 setups, shows a selectable number of prior setups, and draws higher-timeframe candles with size, color, offset, and open-line controls. A fractal pairing sets the higher- and lower-timeframe relationship, while a bias choice and up to three time windows can filter what appears. The published notes describe swing points, fair value gaps, and change-in-state-of-delivery detection, and state that higher-timeframe integration is still incomplete. It has no trade entries or exits.

Details

Published by

dbruce1990 on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

SMC / ICT / price action, Sessions & time

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Show?booltrueshowWarnings
Alerts?boolfalseenableAlerts
Historyint1historyDepth
FractalstringAutomaticfractalTimeframe
C2booltrueenableC2
C3booltrueenableC3
C4booltrueenableC4
BiasstringNeutralbiasDirection
Apply belowboolfalseenableTimeFilter
Time Filter Periodstring1 hourtimeFilterPeriod
Filter 1boolfalseenableFilter1
Start Time 1string02:00filter1Start
Show all 40 settings
SettingTypeDefaultVariable
End Time 1string05:00filter1End
Filter 2booltrueenableFilter2
Start Time 2string08:00filter2Start
End Time 2string11:00filter2End
Filter 3boolfalseenableFilter3
Start Time 3string13:30filter3Start
End Time 3string16:15filter3End
SizestringSmallhtfCandleSize
Hide?boolfalsehideHTFCandles
Offsetint0htfCandleOffset
Body Bullcolorcolor.new(color.green, 20)htfBodyColorBull
Body Bearcolorcolor.new(color.red, 20)htfBodyColorBear
Bordercolorcolor.grayhtfBorderColor
Wickcolorcolor.grayhtfWickColor
HTF OpenbooltrueshowHTFOpen
HTF Open StylestringSolidhtfOpenStyle
HTF Open Widthint1htfOpenWidth
O/C TimebooltrueshowOCTime
O/C Time StylestringSolidocTimeStyle
O/C Time Widthint1ocTimeWidth
L/H LinesboolfalseshowLHLines
L/H Line StylestringDottedlhLineStyle
L/H Line Widthint1lhLineWidth
Show TTFM Labels?booltrueshowTTFMLabels
Label SizestringSmallttfmLabelSize
Candle 1 SweepbooltrueshowCandle1Sweep
Sweep StylestringSolidcandle1SweepStyle
Sweep Widthint1candle1SweepWidth
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

Golden Bullet Strategy

by TradersPost
218 stars

The Golden Bullet Strategy is an overlay signal indicator based on Smart Money Concepts and time-based liquidity models. It identifies liquidity sweeps of a designated reference session range during a specified hunt window. It then confirms Market Structure Sh

Indicator v6 SMC / ICT / price actionSessions & time
Updated 3 months ago · None stated GitHub repository of Golden Bullet Strategy
56 stars

This indicator draws ICT killzone boxes on the price chart for Asia, London, New York AM, New York lunch, and New York PM sessions. Each session can be toggled, renamed, and recolored, with optional labels and adjustable box transparency. A session drawing lim

Indicator v5 SMC / ICT / price actionSessions & time
Updated 2 months ago · None stated GitHub repository of ICT Killzones & Pivots [TFO]

This indicator detects and draws the first Fair Value Gap (FVG) that forms in each hourly session based on a selected lower timeframe, with specialized handling for Regular Trading Hours (RTH) confluence windows. It draws FVG range boxes, midpoint lines, hourl

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints

This indicator combines six trading tools into a single chart overlay to optimize indicator limits. It calculates Bollinger Bands, projects weekend price boundaries, plots market structure elements like order blocks, breaker blocks, and MSB lines, marks New Yo

Indicator v6 Support & resistanceSMC / ICT / price action Repaints
19 stars

This indicator highlights Inner Circle Trader (ICT) killzones and key session pivot points directly on the price chart. It projects shaded boxes for specific trading sessions, including Asia, London, NY AM, NY Lunch, and NY PM, to help traders identify high-li

Indicator v5 SMC / ICT / price actionSessions & time
Updated 3 years ago · MIT GitHub repository of ICT Killzones & Pivots

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers