五天涨幅:=(c/ref(c,5)-1)*100;十天涨幅:=(c/ref(c,10)-1)*100;五天势能:=if(五天涨幅/5>0,五天涨幅/5,0);十天势能:=if(十天涨幅/10>0,十天涨幅/10,0);五天强势:=五天势能>2.5;十天强势:=十天势能>1.5;ref(五天势能,1)=0 and 五天势能>0 and ref(十天势能,1)=0 and 十天势能>0; 20210311
qw1:=(high+low+close*2)/4;qw3:=ema(qw1,10);qw4:=std(qw1,10);qw5:=(qw1-qw3)*100/qw4;qw6:=ema(qw5,5);涨:=ema(qw6,10)+100/2-5;跌:=ema(涨,4); xg:(cross(涨,跌) and 涨<-7) or (cross(涨,跌) and 涨<-60);
ma05:=ma(c,5);ma30:=ma(c,30);五日乖离率:=(c-ma05)/ma05*100;三拾日乖离率:=(c-ma30)/ma30*100;mr:=count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and ma05>ref(ma05,1) and (c/ref(c,1)-1)*100>5...
var1:=if(year>=2993 and month>=1,0,1);var2:=ref(low,1)*var1;var3:=sma(abs(low-var2),3,1)/sma(max(low-var2,0),3,1)*100*var1;var4:=ema(if(close*1.3,var3*10,var3/10),3)*var1;var5:=llv(low,30)*var1;...