上 := (SMA(HIGH, 21, 2) * 1.05);

下轨道 := (SMA(LOW, 21, 2) * 0.969);

开盘跌破下轨 := OPEN < 下轨道;

STICKLINE(开盘跌破下轨 AND TIME <= 0935, OPEN, CLOSE*9,1000, 0), COLORGREEN;

竞价金额:DYNAINFO(15)/10000,NODRAW;

竞价量:DYNAINFO(15)/DYNAINFO(4)/100,NODRAW;

TT3:=CONST(BARSLAST(竞价量));

{STICKLINE(PERIOD=5 AND CURRBARSCOUNT=TT3+1,竞价量,竞价量,20,0),COLORMAGENTA;}

PP:=CONST(BARSLAST(竞价量));

{STICKLINE(CURRBARSCOUNT=PP+1,O,竞价量,2.5,0),COLORMAGENTA;}

OO:=DYNAINFO(15)/DYNAINFO(4)/100;

ZA:=OO/REF(V,1)*100;

AA:=STRCAT(STRCAT(' ',CON2STR(ZA,0)),'');

DRAWTEXT_FIX(ISLASTBAR, 0.6, 0.5, 3, AA), COLORRED;