OPEN-SOURCE SCRIPT
EST Time Table

//version=6
indicator("EST Time Table", overlay = true)
// ─── Table Settings ─────────────────────────────────────────────
var table timeTable = table.new(
position.top_right,
1, 12,
border_width = 1
)
// ─── Header ────────────────────────────────────────────────────
if barstate.isfirst
table.cell(timeTable, 0, 0, "Time (EST)",
bgcolor = color.black,
text_color = color.white,
text_size = size.normal)
// ─── Time Rows ─────────────────────────────────────────────────
times = array.from(
"2:00 AM",
"6:00 AM",
"8:00 AM",
"8:30 AM",
"9:00 AM",
"9:30 AM",
"10:00 AM",
"11:00 AM",
"14:00 PM",
"19:00 PM",
"21:00 PM"
)
// ─── Fill Table ────────────────────────────────────────────────
for i = 0 to array.size(times) - 1
bg = i % 2 == 0 ? color.rgb(220, 220, 220) : color.white
table.cell(
timeTable,
0,
i + 1,
array.get(times, i),
bgcolor = bg,
text_color = color.black,
text_size = size.normal
)
indicator("EST Time Table", overlay = true)
// ─── Table Settings ─────────────────────────────────────────────
var table timeTable = table.new(
position.top_right,
1, 12,
border_width = 1
)
// ─── Header ────────────────────────────────────────────────────
if barstate.isfirst
table.cell(timeTable, 0, 0, "Time (EST)",
bgcolor = color.black,
text_color = color.white,
text_size = size.normal)
// ─── Time Rows ─────────────────────────────────────────────────
times = array.from(
"2:00 AM",
"6:00 AM",
"8:00 AM",
"8:30 AM",
"9:00 AM",
"9:30 AM",
"10:00 AM",
"11:00 AM",
"14:00 PM",
"19:00 PM",
"21:00 PM"
)
// ─── Fill Table ────────────────────────────────────────────────
for i = 0 to array.size(times) - 1
bg = i % 2 == 0 ? color.rgb(220, 220, 220) : color.white
table.cell(
timeTable,
0,
i + 1,
array.get(times, i),
bgcolor = bg,
text_color = color.black,
text_size = size.normal
)
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。