通达信昨日高低主图指标公式

通达信临界突破主图指标公式

通达信昨日高低主图指标公式:

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;

DRAWTEXT(ISLASTBAR,昨低+0.003,' 昨低'),COLORGREEN;

DRAWTEXT(ISLASTBAR,昨均,' 昨均'),COLORYELLOW;

通达信新快速短线指标公式