//庄家生命
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;
庄家生命:MA(WINNER(CLOSE)*100,6),colorFF00FF;
短线:EMA(A4,5),LINETHICK2,colorFFFF;
A5:=(HHV(HIGH,35)-CLOSE)/(HHV(HIGH,35)-LLV(LOW,35))*100;
空方:MA(EMA(A5,2),2),LINETHICK2,colorFF0000;
浮筹:MA(A4,30),POINTDOT,colorFF00;
BY1:=MA(庄家生命,12);
BY2:=CROSS(庄家生命,BY1) AND CROSS(短线,浮筹) OR CROSS(REF(短线,1),REF(浮筹,1));
压力线:EMA(A4,120);
STICKLINE(浮筹,浮筹+1,浮筹-1,5,0),colorFF00;
STICKLINE(短线>浮筹,110,115,7,1),colorFF00FF;
STICKLINE(短线<浮筹,-10,-15,7,1),colorFFFF;
STICKLINE(短线>浮筹,-10,-15,7,1),colorFFFF00;
STICKLINE(短线<浮筹,110,115,7,1),colorFF00;
STICKLINE(CROSS(短线,浮筹) AND 浮筹<50,-10,-15,7,0),colorFF;
STICKLINE(CROSS(短线,浮筹) AND 浮筹<40 AND 压力线<80,浮筹+10,浮筹-10,4,0),colorFF;
DRAWTEXT(CROSS(浮筹,短线) AND 浮筹>50,浮筹+10,'反弹结束'),colorFF00;
DRAWTEXT(CROSS(浮筹,空方) AND 浮筹<50,浮筹+10,'还有一波'),colorFF0000;
STICKLINE(CROSS(庄家生命,BY1) AND 压力线<80 AND (CROSS(短线,浮筹) OR CROSS(REF(短线,1),REF(浮筹,1))),30,0,7,1),colorFF;
STICKLINE(庄家生命,庄家生命,0,0.1,0),colorFF00FF;
|