通达信黄金十字擒涨停分时主图指标公式

2024-02-14 03:58发布

:=TIME2=100000;N:=BARSLAST(时间);CS1:CONST(IF(N,MAX(REF(HHV(H,0),N),DYNAINFO(4)),HHV(H,0))),DOTLINE,COLORGREEN;CS2:CONST(IF(N,MIN(REF(LLV(L,0),N),DYNAINFO(4)),LLV(L,0))),DOTLINE,COLORRED;CS3:(CS1+CS2)/2,DOTLINE,COLORYELLOW;:=AMOUNT//100,COLORYELLOW,LINETHICK1;DRAWNUMBER(CURRBARSCOUNT=2,CS1*1.005,VAR2STR(CS1,3)),COLORYELLOW;DRAWNUMBER(CURRBARSCOUNT=2,CS2*0.995,VAR2STR(CS2,3)),COLORYELLOW;DRAWTEXT(CS1/CS2<1.03 AND OSS(C,CS1),CS1*1.005,'')COLORRED;DRAWTEXT(CS1/CS2<1.03 AND CROSS(CS2,C),CS2*0.99
 解锁全文需 1  财富值,免费注册即送20财富值!