ct:=currenttime;
hr:=intpart(ct/10000);
mi:=intpart((ct-hr*10000)/100);
se:=ct-hr*10000-mi*100;
th:=hr+mi/60+se/3600;
td:=th-9.5;
opentime:=if(td<0 or td>5.5,0,if (td<2,td,if(td<3.5,2,td-1.5)));
var2:=if(opentime>0,v/opentime*4,0);
stickline(islastbar and opentime>0,0,var2,7,1),colorwhite;
实量:VOL,VOLSTICK;
预量:if(islastbar,var2,0),linethick0,colorwhite;
|