支撑线:EMA((O+C)/2,20),DOTLINE,COLORCYAN;
妖股起爆:MA(CLOSE,25)+MA(CLOSE,25)*20/100*0.35,COLORRED,LINETHICK2;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;
压力线:(MA(MA(H,25),25)-MA(MA(L,25),25))*1+MA(MA(H,25),25),DOTLINE,COLORYELLOW;
趋势:=MA(MA(L,25),25)-(MA(MA(H,25),25)-MA(MA(L,25),25))*1,LINETHICK2,COLORRED;
STICKLINE(趋势>LOW AND 趋势<HIGH,趋势,MIN(MIN(OPEN,CLOSE),趋势),2,0),COLORGREEN;
STICKLINE(趋势>MIN(C,O) AND 趋势<MAX(C,O),趋势,MIN(OPEN,CLOSE),2,0),COLORGREEN;
STICKLINE(趋势>HIGH,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(趋势>HIGH,HIGH,LOW,0,0),COLORGREEN;
VAR23:=100*MA(MA((C-REF(C,1)),6),6)/MA(MA(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<=趋势;
STICKLINE(XG,C,O,3,0),COLORLIMAGENTA;
DRAWICON(XG,L,28);
DRAWTEXT(XG,LOW,'发现庄家'),COLORYELLOW;