a1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
a2:=SMA(a1,3,1);
a3:=SMA(a2,3,1);
a4:=3*a2-2*a3;
短线:EMA(a4,5) ,colorred ,linethick2;
a5:= (HHV(HIGH,35)-CLOSE)/(HHV(HIGH,35)-LLV(LOW,35))*100;
空方:MA((EMA(a5,2)),2) ,colorgreen ,linethick1;
浮筹:MA(a4,30) ,coloryellow ,POINTDOT;
//{ _同花顺股票指标公式}
庄家生命:MA(WINNER(CLOSE)*100,6),colormagenta,linethick1;
BY1:=MA(庄家生命,12);
BY2:=crOSS(庄家生命,BY1) AND CROSS(短线,浮筹) OR CROSS(REF(短线,1),REF(浮筹,1));
压力线:EMA(a4,120),colorcyan;
DRAWTEXT((CROSS(浮筹,空方) AND 浮筹<50) ,浮筹+10 ,'还有一波行情' ),colorwhite;