源码
Va1:=1;
Va2:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100*Va1;
空:=sMA(Va2,3,1)*Va1,colorblue ,;
Va3:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100*Va1;
短:= sma(sMA(Va3,2,1)+3*Va1,2,1) , ;
WINNER(ma(CLOSE,5))*100,COLORSTICK;
庄家:=WINNER(ma(CLOSE,5))*100,;
Var1:=(HHV(HIGH,9)-LLV(LOW,9));
Var2:=(HHV(HIGH,9)-CLOSE);
Var3:=(CLOSE-LLV(LOW,9));
Var4:=Var2/Var1*100-70 ;
Var5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
Var6:=(2*C+H+L)/4;
Var7:=SMA((Var3/Var1*100),3,1);
Var8:=LLV(LOW,26);
Var9:=SMA(Var7,3,1)-SMA(Var4,9,1);
Var10:= IF(Var9>100,Var9-100,0);
VarA:=HHV(HIGH,34);
B:=EMA((Var6-Var8)/(VarA-Var8)*100,16),COLORCYAN;
浮:=EMA(B,4),colorgreen,linethick2;
d:=LLVBARS(ma(c,5),30);
压力线:if(35+ema(浮,80)<100,35+ema(浮,80),100),colorred,CIRCLEDOT linethick1;
庄家生命:WINNER(ma(CLOSE,5))*100,colorcc33cc;
短线: sma(sMA(Va3,2,1)+3*Va1,2,1) , coloryellow;
浮筹:EMA(B,4),colorgreen,linethick2;
空方: sMA(Va2,3,1)*Va1,COLOR99FF00;
STICKLINE(庄家生命<1.5 and cross(c,ma(c,5)) and d<3 and (c-ma(c,30))/c<=-20/100,庄家生命+10,庄家生命,6,1),,colorred;
STICKLINE(cross(短线,浮筹) and 浮筹<=45 and (c-ma(c,30))/c<=-13/100,浮筹+10,庄家生命,6,1),colorred;
STICKLINE(短线>浮筹 ,110,120,6,0.8),COLORRED;
STICKLINE(短线<浮筹 ,110,120,6,0.8),COLORgreen;
STICKLINE(短线>浮筹 ,-20,-10,6,0.8),COLOR00ffff;
STICKLINE(短线<浮筹 ,-10,-20,6,0.8),COLORff99ff;
STICKLINE(cross(短线,浮筹) and 浮筹<=40 and (c-ma(c,30))/c<=-13/100 ,-10,-20,6,0.8),COLORRED;
DRAWTEXT(cross(浮筹,空方) and 浮筹<50,浮筹,’还有一波’);
DRAWTEXT(cross(浮筹,短线) and 浮筹>40,短线,’反弹结束’);
评论(0)