0, POINTDOT;
40, POINTDOT;
60, POINTDOT;
100, POINTDOT;
Var1:="BIAS.BIAS2"(10,15,30,0);
Var2:=IF(CLOSE-SMA(CLOSE,N,1)<0,CAPITAL/VOL,0);
玄黄剑:=IF(Var2>N1,Var2,0);
玄黄顶: ma((100-ABS(Var1)),5);
A: WINNER(CLOSE)*100;
玄黄底:ma( (ABS((COST(50)-CLOSE)/CLOSE*100)),5);
MA(VOL,5)/MA(VOL,60);
BIAS:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
f:=ma(s,121);
RSV:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
K:=SMA(RSV,15,1);
D:=SMA(K,15,1);
J:=3*K-2*D;
MID := MA(CLOSE,26);
UPPER:= MID + 2*STD(CLOSE,26);
LOWER:= MID - 2*STD(CLOSE,26);
s1:IF((j<11 and BIAS>-11 and cross( s,f) and (s-f)>0.010),2,0),stick,linethick2;
s2:IF((j>86 and cross(f, s)and (f-s)>0.010),1,0),stick,linethick2;
DRAWTEXT(s2=1,50,'逃'), colorgreen;
DRAWTEXT(s1=2,50,'赌 '), colorred;