DX:=(C+H+L+O)/4;:(MA(DX,1)+MA(DX,3)+MA(DX,5))/3,COLORFFFFFF;:=C-REF(C,1);ZLGJ:=100*EMA(EMA(MTM,6),6)/EMA(EMA(A(MTM),6),6);FB:=MA(DX,17)+ABS(MA(DX,17)-REF(MA(DX,17),1));FS:=MA(DX,17)+MA(DX,17)-REF(MA(DX,17),1);搏杀线:IF(MA(DX,17)
FS,搏杀线,DRAWNULL),COLOR00FF00;DRAWBAND(FS,FB>FS,FB,RGB(0,250,0));UPPER:= 搏杀线 + 2*STD(CLOSE,20);买1:=IF(LLV(ZLGJ,2)=LLV(ZLGJ,7) AND COUNT(ZLGJ<0 OSS(ZLGJ,MA(ZLGJ,2)),1,0);卖1:=IF(HHV(ZLGJ,2)>50,2) AND CROSS(MA(ZLGJ,2),ZLGJ),1,0);STICKLINE(FILTER(买1=1,5),C,O,1,0),COLORFF00FF;