rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;xg:ref(every(c<ma(c,21),21) ,1) and ex**t(cross(d,j),21)=1 and c>ma(c,21);
第一个:f:=100*(c-ref(c,1))/ref(c,1); 今小昨:=if(c<ref(o,1) and f<0,1,0); s1:=今小昨; 今小前:=if(c<ref(o,2) and f<0,1,0); s2:=今小前; a3:=s1=0 and ref(s1,1)=1 and s2=0 and ref(s2,1)=1 and cross(zig(3,10) ...
大阴线的定义是低于开盘价多少?定义为n,自行修改参数。多长时间修复?定义为m,自行修改参数。t1:=o/ref(close,1)>=1.06;t2:=close/o<=1-n/100;t3:=barslast(t1 and t2);t4:=close>ref(o,t3);xg:t3<=m and t4;
上影:=if(close>open,high-close,high-open);下影:=if(close>open,open-low,close-low);长上影:=abs(close-open)*1.7<上影 and abs(close-open)>下影*2;长下影:=abs(close-open)*1.7<下影 and abs(close-open)>上影*...
dif:=ema(close,short) ema(close,long);dea:=ema(dif,mid);macd:=2*(dif-dea);condtion_a:=c=llv(c,30);condtion_b1:=macd=min(macd,0);condtion_b2:=not(macd=llv(macd,30));condtion_b:=condtion_b1 and condtion...