stickline(var1a<=0,Var1a,100,8,0),colorfffcc0;
stickline(var1a,var1a,0,8,0),colorgreen;
B1:= SMA(Var1a,7,1),;
Var2a:=SMA(B1,5,1);
E1:= IF(CROSS(B1,Var2a) AND cross(ma(c,5),ma(c,13) and b1>50) ,Var2a*2,Var2a),;
VAR4a:= EMA(CLOSE,8);
VAR5a:= EMA(CLOSE,20);
草原黑马买入:if(CROSS(MA(CLOSE,1),MA(CLOSE,38)) and b1-e1>2 and var4a>var5a ,60,0),linethick2,color00ff00;
drawtext(草原黑马买入,50,'草原黑马'),colorred;
============================
{紧追感情}
Var1d:=(CLOSE-LLV(CLOSE,21))/LLV(CLOSE,21)*1000;
Var2d:=(CLOSE+OPEN)/2;
Var3d:=(HIGH+LOW)/2;
Var4d:=IF(CLOSE>REF(CLOSE,1),MAX(Var2d,Var3d),MIN(Var2d,Var3d));
Var5d:=SUM(Var4d*VOL,21)/SUM(VOL,21);
Var6d:=VOL/CAPITAL*100;
VarAd:=(CLOSE-Var5d)/Var5d*100<-16 AND CLOSE/HHV(CLOSE,50)<=0.8 AND CLOSE/LLV(CLOSE,5)<1.2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>-11 AND Var6d<=10 AND COUNT(Var1d>500,60)<1 AND FINANCE(7)<=80000;
紧追感情:if(VarAd AND COUNT(VarAd,5)>=1,20,0),stick,linethick3,colorf00ff0;
drawtext(紧追感情,25,'▲'),colorf00ff0;
drawtext(紧追感情,15,'紧追感情'),color000999;