博易技術人員:
NS:=IF(TIME>=180000,1,REF(NS,1));指標你重新復制一下,前面我都調整成過了。
D:=IF((TIME>=180000 AND REF(TIME,1)<180000) OR (NS=0 AND DATE<>REF(DATE,1)),V,REF(D,1)+V);
E:=IF((TIME>=180000 AND REF(TIME,1)<180000) OR (NS=0 AND DATE<>REF(DATE,1)),(O+H+L+C)/4*V,REF(E,1)+(O+H+L+C)/4*V);
均:E/D,LINETHICK0,PRECIS0;
PARTLINE((TIME>=180000 AND REF(TIME,1)<180000) OR (NS=0 AND DATE<>REF(DATE,1)),均),COLOR00AC00,LINETHICK3;
TT:均+C*N/100,COLOR009D00;
PP:均-C*N/100,COLOR00AC00;
DRAWNUMBER(ISLASTBAR,TT,TT,2),COLOR00FFFF,ALIGN0;
DRAWNUMBER(ISLASTBAR,PP,PP,2),COLOR0065CA,ALIGN0;
DRAWNUMBER(ISLASTBAR,均,均,2),COLOR00FFFF,ALIGN0;
開:REF(O,BARSLAST((TIME>=180000 AND REF(TIME,1)<180000) OR (NS=0 AND DATE<>REF(DATE,1)) AND MINUTE=N1)),COLORFF00FF,LINETHICK3;
TT1:開+開*N2/100,COLORFF00FF;
PP1:開-開*N2/100,COLORFF00FF