操盘线:wma(c,10),colorff00ff;
压力线:hhv(h,25),color0000ff;
支撑线:llv(L,10),color00ffff;
ma5:ma(c,5 );
K:=SLOPE(c ,7);
DRAWTEXT(CROSS(k,-0.01),l*0.99,''),colorffff00;
买:CROSS(k,-0.01) ,colorffff00;A0:=LLV(SUM( EMA((C+L)/2,2),5)/10.158,10);
A1:=SUM(EMA((C+L)/2,2),5)/10.158-0.002;
DRAWTEXT(CROSS(A1,A0) ,l-0.08,''),COLOR00FF00;
买1:CROSS(A1,A0),COLOR00FF00;
x:=4*SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1),3.2,1);
DRAWTEXT(CROSS(x,8),l-0.10,'买入'),COLORccffee;
买入:CROSS(x,8),COLORccffee;
SW:= DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
绝买 : CROSS(C,SW),color0000ff;
DRAWTEXT(CROSS(C,SW),l-0.15,'绝买'),color0000ff;
A:=LWINNERB(15,c);
WR:=ABS(100-100*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5)));
WR1:=SMA(SMA((HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1),3,1);
卖:CROSS(95,WR) AND WR1<11.5 AND A>0.85 OR CROSS(0.95,A) AND WR1<11.5 ,color00ff00;
DRAWTEXT(CROSS(95,WR) AND WR1<11.5 AND A>0.85 ,h+0.05,'卖'),color00ff00;
DRAWTEXT(CROSS(0.95,A) AND WR1<11.5 ,h+0.25,'卖'),colorffff00;