input:n(26,1,100),n1(4,1,100),n2(2,1,100);
Var1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,50))*100;
a: SMA(Var1,7,1),linethick2;
Var2:=SMA(a,5,1);
b: IF(crOSS(a,Var2) AND cross(ma(c,n1),ma(c,n2) and a>50) ,Var2*2,Var2),coloryellow;
VAR4:= EMA(CLOSE,10);
VAR5:= EMA(CLOSE,20);
草原黑马:if(CROSS(MA(CLOSE,1),MA(CLOSE,n)) and a-b>5 and var4>var5 ,Var2*2,var2),colorred;
//持币:(CROSS(MA(CLOSE,0),MA(CLOSE,n)) and a-b>2 and var4>var5 ),COLORGREEN;
持币:(a<b)*20,colorgreen;
持股: (a>b)*20,COLORRED;
//DRAWTEXT(CROSS(20,持股),low,' 持股 '),COLORYELLOW;
STICKLINE(a>Var2,a,b,30,60),colorred;
STICKLINE(a<Var2,a,Var2,30,60),colorgreen ;