{昨日高低主图}
SST1:=DATE REF(DATE,1);
SST2:=BARSLAST(SST1)+1;
SST3:=REF(IF(SST2=1,1,SST2),SST2);
SST4:=CONST(REF(HHV(H,SST3),SST2));
SST5:=CONST(REF(LLV(L,SST3),SST2));
SST6:=MA(AMO,SST3)/MA(VOL,SST3)/100;
SST7:=REF(MA((H+O+L+C)/4,SST3),SST2);
SST8:=IF(CAPITAL 0,REF(SST6,SST2),SST7);
昨高:IF(CURRBARSCOUNT =CONST(SST3+SST2),SST4,DRAWNULL),COLOR0000FF;
昨低:IF(CURRBARSCOUNT =CONST(SST3+SST2),SST5,DRAWNULL),COLOR37FF37;
昨均:IF(CURRBARSCOUNT =CONST(SST3+SST2),CONST(SST8),DRAWNULL),COLOR37FFFF;
DRAWTEXT(ISLASTBAR,昨高-0.001,' 昨高'),COLORRED;{www.9m8.cn 九毛八公式指标网}
DRAWTEXT(ISLASTBAR,昨低+0.003,' 昨低'),COLORGREEN;
DRAWTEXT(ISLASTBAR,昨均,' 昨均'),COLORYELLOW;