源码
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) 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;
STICKLINE( 庄家生命,庄家生命 ,0,0.1 ,0 )COLORmagenta;
评论(0)