a2:=SMA(a1,3,1);
a3:=SMA(a2,3,1);
a4:=3*a2-2*a3;
短线:EMA(a4,5) ,coloryellow ,linethick2;
a5:= (HHV(HIGH,35)-CLOSE)/(HHV(HIGH,35)-LLV(LOW,35))*100;
空方:MA((EMA(a5,2)),2) ,colorblue ,linethick2;
浮筹:MA(a4,30) ,colorgreen ,POINTDOT;
庄家生命:MA(WINNER(CLOSE)*100,6),colormagenta;
BY1:=MA(庄家生命,12);
BY2:=crOSS(庄家生命,BY1) AND CROSS(短线,浮筹) OR CROSS(REF(短线,1),REF(浮筹,1));
压力线:EMA(a4,120);
STICKLINE( 浮筹,浮筹+1 ,浮筹-1,5 ,0 ),colorgreen;
STICKLINE( 短线>浮筹,110 ,115,7 ,1 ),colormagenta;
STICKLINE( 短线<浮筹,-10 ,-15,7 ,1 ),coloryellow;
STICKLINE( 短线>浮筹,-10 ,-15,7 ,1 ),colorcyan;
STICKLINE( 短线<浮筹,110 ,115,7 ,1 ),colorgreen;
STICKLINE( (CROSS(短线,浮筹) AND 浮筹<50 ) ,-10 ,-15,7 ,0 ),colorred;
STICKLINE( (CROSS(短线,浮筹) AND 浮筹<40 AND 压力线<80 ) ,浮筹+10 ,浮筹-10,4 ,0 ),COLOR0000ff;
DRAWTEXT((CROSS(浮筹,短线) AND 浮筹>50) ,浮筹+10 ,'反弹结束' ),colorgreen;
DRAWTEXT((CROSS(浮筹,空方) AND 浮筹<50) ,浮筹+10 ,'还有一波' ),colorblue;
STICKLINE((CROSS(庄家生命,BY1) AND 压力线<80 AND (CROSS(短线,浮筹) OR CROSS(REF(短线,1),REF(浮筹,1)))),30 ,0,7 ,1 ),colorred;