Var3:=Var1-2*STD(CLOSE,26);
Var4:=CLOSE>OPEN;
Var5:=(HIGH-CLOSE)/OPEN;
Var6:=(CLOSE-OPEN)/OPEN;
Var7:=Var4 AND Var5/Var6<0.5;
Var8:=CROSS(CLOSE,Var3) AND LLV(Var3,3)=LLV(Var3,90) AND Var7;
底部反转:if(Var8 AND REF(BARSLAST(Var8),1)>10,70,0),linethick3,colorf0f000;
drawtext(底部反转,60,'底部反转'),,color1373c0;
drawtext(底部反转,75,'★'),colorred;
============================
{中短底都有}
{p1(1,100,15) p2(1,100,33) p3(10,250,29) p4(10,100,28)}
aa:=(hhv(high,29)/ref(close,1))>(1+28/100);
bb:=dma(amount/vol/100,vol/capital);
cc:=bb-bb*15/100;
中短底都有:if(LOW<cc and VOL/MA(VOL,5)>1
AND CLOSE/OPEN>=(1+33/10/100 ) AND vol>ma(vol,5)* 15/10 AND aa,40,0),stick ,linethick4,colorred;
drawtext(中短底都有,30,'中短底都有'),color00ff00;
drawicon(中短底都有,45,1);
============================
{剑客四,雪飞指标选股}
BIAS1 := (CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2 := HHV((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100,200);
m1:= bias1=bias2 ;
m2:= v>ma(v,5) ;
m3:= ref(bias1,1)<ref(bias2,1) ;
m4:=m1 and m2 and m3;
指标选股XF:if(m4,1,0),color0097de;
drawtext(指标选股XF,85,'★'),color0097de;