涨停 := REF(C,1)*1.1,NODRAW,COLORRED;

跌停 := REF(C,1)*0.9,NODRAW,COLORGREEN;

DRAWTEXT_FIX(1,0.073,0,0,HYBLOCK),COLORRED;

CJL := IF(DYNAINFO(10)>99999999, STRCAT(CON2STR(DYNAINFO(10)/100000000,2),'亿'), STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));

DRAWTEXT_FIX(1,0.55,0.25,0,CJL),COLOR0099FF;

金牛 := (XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORYELLOW;

金钻趋势 := XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2;

金牛2 := EMA(金钻趋势,25),LINETHICK2;

DRAWBAND(金钻趋势,RGB(55,0,0),金牛2,RGB(0,91,0));

STICKLINE(金钻趋势>LOW AND 金钻趋势<HIGH AND TIME<=0935, 金钻趋势, MIN(MIN(OPEN,CLOSE), 金钻趋势), 2, 0), COLORYELLOW;

STICKLINE(金钻趋势>MIN(C,O) AND 金钻趋势<MAX(C,O) AND TIME<=0935, 金钻趋势, MIN(OPEN,CLOSE), 2, 0), COLORYELLOW;

STICKLINE(金钻趋势>HIGH AND TIME<=0935, OPEN, CLOSE, 2, 0), COLORYELLOW;

STICKLINE(金钻趋势>HIGH AND TIME<=0935, HIGH, LOW, 0, 0), COLORYELLOW;

VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);

回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));

XG:=金钻趋势>HIGH AND 回调买 AND L<=金钻趋势;

DRAWTEXT(XG AND TIME>1400,L,'▲'),COLORYELLOW;

{STICKLINE(XG AND TIME>1400 AND TIME <1500,L,L*2,2,0),COLOR0099FF,LINETHICK9;};