swetswet

Time_Exchanges [SwetSwet]

The time exchange. The operating time of the exchanges.

Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?
study(title="Time_Exchanges [SwetSwet]", shorttitle="TimeE_SS")
tt=hour 
xx1 = input(7, "Russia begin")
yy1 = input(21, "Russia close")
dd1=30
tmf= iff((tt>=xx1 and tt<yy1),dd1,0)
plot(tmf, color=aqua, style=area, linewidth=2)
// russia2 7-16
xx6 = input(7, "RussiaFORTS begin")
yy6 = input(16, "RussiaFORTS close")
dd6=20
tmf6= iff((tt>=xx6 and tt<yy6),dd6,0)
plot(tmf6, color=blue, style=area, linewidth=1)

// london
xx2 = input(8, "London begin")
yy2 = input(16.5, "London close")
dd2=45
tmf2= iff((tt>=xx2 and tt<yy2),dd2,0)
plot(tmf2, color=green, style=histogram, linewidth=1 )
// China
xx3 = input(3, "China begin")
yy3 = input(9, "China close")
dd3=40
tmf3= iff((tt>=xx3 and tt<yy3),dd3,0)
plot(tmf3, color=red, style=area, linewidth=2)
// Japan
xx4 = input(0, "Japan begin")
yy4 = input(7, "Japan close")
dd4=10
tmf4= iff((tt>=xx4 and tt<yy4),dd4,0)
plot(tmf4, color=black, style=histogram, linewidth=1)
// USA
xx5 = input(14.5, "USA begin")
yy5 = input(21, "USA close")
dd5=50
tmf5= iff((tt>=xx5 and tt<yy5),dd5,0)
plot(tmf5, color=gray, style=line, linewidth=2)