OPEN-SOURCE SCRIPT
Cập nhật Timeframe Clock

TITLE
Timeframe Clock
SHORT DESCRIPTION
A multi-timeframe countdown
clock that shows the time
remaining on up to 15
timeframes simultaneously.
FULL DESCRIPTION
━━━━━━━━━━━━━━━━━━━━━━━━
The Timeframe Clock displays
a real-time countdown timer
for multiple timeframes in
a single table. See exactly
how much time remains before
each candle closes across
all your key timeframes at
once — without switching
charts.
FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━
• Up to 15 customizable
timeframe slots
• Countdown timer per slot
• Open and Close price
per timeframe
• Direction indicator per
timeframe
• Percent time remaining
• Hot Warm Cool color system
— red under 20 percent
— gold 20 to 50 percent
— green over 50 percent
• Sync flash — last 60
seconds turns aqua
• Fully customizable colors
• Compact Normal Full modes
• Works on all instruments
including futures crypto
forex and stocks
• Optimized for free and
pro plan users
HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━━━
Add the indicator to your
chart. Each slot shows a
countdown to the next candle
close on that timeframe.
When multiple slots turn
red or flash aqua at the
same time it indicates a
multi-timeframe sync point
where several candles are
closing simultaneously.
For best results apply
to a 1 minute or 5 minute
chart so all slot timeframes
display correctly.
Customize each slot with
your preferred timeframe
colors and display options
in the settings panel.
NOTE
━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is for
informational and timing
purposes only. It does not
generate buy or sell signals.
Always conduct your own
analysis before making any
trading decisions. Past
performance is not indicative
of future results.
Timeframe Clock
SHORT DESCRIPTION
A multi-timeframe countdown
clock that shows the time
remaining on up to 15
timeframes simultaneously.
FULL DESCRIPTION
━━━━━━━━━━━━━━━━━━━━━━━━
The Timeframe Clock displays
a real-time countdown timer
for multiple timeframes in
a single table. See exactly
how much time remains before
each candle closes across
all your key timeframes at
once — without switching
charts.
FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━
• Up to 15 customizable
timeframe slots
• Countdown timer per slot
• Open and Close price
per timeframe
• Direction indicator per
timeframe
• Percent time remaining
• Hot Warm Cool color system
— red under 20 percent
— gold 20 to 50 percent
— green over 50 percent
• Sync flash — last 60
seconds turns aqua
• Fully customizable colors
• Compact Normal Full modes
• Works on all instruments
including futures crypto
forex and stocks
• Optimized for free and
pro plan users
HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━━━
Add the indicator to your
chart. Each slot shows a
countdown to the next candle
close on that timeframe.
When multiple slots turn
red or flash aqua at the
same time it indicates a
multi-timeframe sync point
where several candles are
closing simultaneously.
For best results apply
to a 1 minute or 5 minute
chart so all slot timeframes
display correctly.
Customize each slot with
your preferred timeframe
colors and display options
in the settings panel.
NOTE
━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is for
informational and timing
purposes only. It does not
generate buy or sell signals.
Always conduct your own
analysis before making any
trading decisions. Past
performance is not indicative
of future results.
Phát hành các Ghi chú
( the last script I made the higher timeframes wouldn't match with tradingviews, this script has fixed that. you can add any timeframe and the candle & time will be accurate in the box.Timeframe Clock Pro (TFC)
See 12 timeframes at once — without ever switching your chart.
Every row is one timeframe. Read across a row to understand that timeframe.
Read down a column to see whether the timeframes agree.
|Column |What it means |
|------------|-------------------------------------------------------|
|**TF** |Which timeframe this row is watching |
|**C-2** |The candle before last, drawn as a mini candlestick |
|**C-1** |The last closed candle |
|**LIVE** |The candle forming right now |
|**OPEN** |Where the live candle opened |
|**CLOSE** |Where it is trading now |
|**VOL** |Volume traded in the live candle so far |
|**PREV V** |Last candle’s volume, and how today compares (+/- %) |
|**PROGRESS**|How far this candle is from closing. 100% = just closed|
|**SHAPE** |The candlestick pattern name |
|**SIGNAL** |BUY, SELL, or HOLD |
The candlesticks
Candles are drawn with text characters: # is the body, | is the wick.
Green means the candle closed up, red means it closed down.
They are small on purpose. They are there so you can see the shape — a long
wick, a tiny body, one candle swallowing another — not to replace your chart.
How to set it up
1. Add the indicator to any chart.
2. Slot 1 follows your chart’s timeframe automatically — leave its TF box
blank and it always matches whatever you are looking at.
3. Slots 2 through 12 each have their own On switch and their own timeframe
box. Type anything: 1, 5, 15, 60, 240, D, W.
4. Turn off the slots you do not need. Fewer rows, cleaner table.
Making it fit your screen
Everything in the Style group:
• Vert / Horz — move the table to any of nine positions
• Font — tiny, small, normal, large
• Cell Width / Height — 0 means auto; raise them to spread the table out
• Border Width — 0 removes the grid lines entirely
• Separate colour pickers for header, background, text, up, down, neutral,
and border
A few honest notes
• The progress bar reads the real close time of each candle, so it is accurate
per timeframe, including on daily and weekly rows.
The signal column is a momentum read, not a trading recommendation. Use it
as one input among many, and always manage your own risk.
• Higher-timeframe rows update when that timeframe’s data updates, which on a
low-resolution chart can lag by a bar.
This tool displays information. It does not give financial advice. Trading
carries risk, and you are responsible for your own decisions.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.