swetswet

Time_Exchanges [SwetSwet]

The exchanges in different countries of the world

Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?
study(title="Time_Exchanges [SwetSwet]", shorttitle="TimeE_SS")
tt1=hour 
mm=minute
mmxx=60
myy=mm / mmxx
tt=tt1+myy
muu= mm / 4
//plot (muu, color = orange, style=area, linewidth=3)
tim=time
xx1 = input(7, "Russia begin")
yy1 = input(20.8, "Russia close")
dd1=40
tmf= iff((tt>=xx1 and tt<yy1),dd1,0)
plot(tmf, color=aqua, style=area, linewidth=2, title="Rus_AC")
// russia2 7-16
xx6 = input(7, "RussiaFORTS begin")
yy6 = input(15.75, "RussiaFORTS close")
dd6=33
tmf6= iff((tt>=xx6 and tt<yy6),dd6,0)
plot(tmf6, color=blue, style=area, linewidth=1, title="RUS_FORTS")

// london
xx2 = input(9, "UK_Germ_Franc begin")
yy2 = input(17.50, "UK_Germ_Franc close")

//minxx == mm / 60
// wr== tt+minut
dd2=24
tmf2= iff((tt>=xx2 and tt<yy2),dd2,0)
plot(tmf2, color=lime, style=area, linewidth=1 , title="UK_Germ_Franc")
// China
xx3 = input(3, "China begin")
yy3 = input(9, "China close")
dd3=17
tmf3= iff((tt>=xx3 and tt<yy3),dd3,0)
plot(tmf3, color=yellow, style=area, linewidth=2, title="China")
// 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=red, style=area, linewidth=1, title="Japan")
// USA
xx5 = input(15.5, "USA begin")
yy5 = input(22, "USA close")
dd5=50
tmf5= iff((tt>=xx5 and tt<yy5),dd5,0)
plot(tmf5, color=gray, style=line, linewidth=2, title="USA")