大阳烛:=close/open>1.08 and high/low<close/open+0.018;diff:=ema(close,8)-ema(close,13); dea:=ema(diff,5);a1:=diff>dea;macd金叉:=if(a1,1,0);rsv1:=(close-llv(low,8))/(hhv(high,8)-llv(low,8))*100;k:=...
第一个: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) ...
1的公式是:count(close>ref(close,1),10)>7;2的公式是:high>max(o,c)*1.03 and low<min(open,close)*1.02 and close/ref(close,1)>1.06;hhv(high,3)=hhv(high,120);意思是3日内(只要在最近3天内的都可以)的最高价是120日的最高价;三天内=三天...