V1:=Ema(CLOSE,60)-EMA(CLOSE,300);
V2:=EMA(V1,300);
V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
V4:SMA(V3,2,1);
V5:SMA(V4,2,1);
V6:=CLOSE/REF(CLOSE,3)>=1.1;
V7:=BacKSET(V6,3);
买入:if((V7 AND CO
input:p(12,1,100),s(26,1,100),m(9,1,50),N(0,0,1);
周macd:="MacD.maCD#WEEK";
stICKLINE(周MACD>=0 AND DATATYPE=8,0,周MACD,11,0),Color000055;
STICKLINE(周MACD<0 AND DATATYPE=8,0,周MACD,11,0),Color515100;
DIFF
ma20:MA(C,20),colorwhite,linethick2;ma120:MA(C,120),colorffcccc,linethick2;ma250:MA(C,250),colorffcc66,linethick2;乖离线:=((C-REF(ma20,1))/20+ma20)*1.20;tt1:=crOSS(ma20,ma120) AND CROSS(ma20,ma250) AND
急速超跌:=(C-ma(C,34))/MA(C,34)*100<-14;{34日乖离率}
当日收阳:=(h-l)/l>0.07{当天振幅大于7%}
and (c-o)/o>0.07{当天的k线实体长度大于7%}
and C/ref(C,1)>1.05{当日涨幅超过5%};
CDSY:=急速超跌 and 当日收阳 ;{自编*****}
枯木逢春:stICKLINE(CDSY,0,99,8,1),Co