VAR4:=(LOW+HIGH+CLOSE)/3;
操作5: MA(VAR4,5),colorwhite;
拉升13: HHV(操作5,13),coloryellow ;
短线21:HHV(操作5,21),colorred,LINETHICK1;
中线60:HHV(操作5,60),colorgreen;
中长线120:HHV(操作5,120),colorliblue;
长线250:HHV(操作5,250),colorblue;
MA20:=MA(H,20),colorred,LINETHICK1;
STICKLINE(C>长线250,MA20,MA20,8,0),colorred,LINETHICK5;
C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(涨停,OPEN,CLOSE,8,0),colormagenta;
STICKLINE(涨停,L,H,1,0),colormagenta;
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,8,0),colorgreen;
STICKLINE(跌停,L,H,1,0),colorgreen;
|