这是我常用和抄底公式,如果达到你的要求请给予为“满意回答”。d:=(ma(close,80)-ma(close,10))/3; 抄底:if(d>0.05 and vol/240>ma(vol,5)/240 and close>ref(close,1) and close<ma(close,14),1,0); 20210311
var17:=zig(3,72)>ref(zig(3,72),1) and ref(zig(3,72),1)<=ref(zig(3,72),2) and ref(zig(3,72),2)<=ref(zig(3,72),3);var18:=zig(3,72)<ref(zig(3,72),1) and ref(zig(3,72),1)>=ref(zig(3,72),2) ...
diff:=ema(dclose,12)-ema(dclose,26);dea:=ema(diff,9),colorffff00;macd:=(diff-dea)*2;a1:=barslast(ref(cross(diff,dea),1));a2:=barslast(ref(cross(dea,diff),1));底背离:ref(close,a1+1)>close and diff>r...
{线上阴线买}工作线:=ema(close,50); 工作线2:=ema(close,17);t1:=cross(c,工作线2) and c/ref(c,1)>1.03;t2:=barslast(ref(t1,1));t3:=(l>ref(t2,l));t4:=(c-工作线2)/工作线2*100>0;t5:=(c-工作线2)/工作线2<0.005;回踩:(t2<5 a...
var1:=ema(close,3);var2:=ema(close,21);var3:=barslast(cross(var2,var1))>15;var4:=vol>ma(vol,5)*2 and vol<ma(vol,5)*5; 黑马:cross(var1,var2) and var4 and var3;这公式无未来函数
在通达信公式管理器中新建一个选股公式,将下面的代码复制粘贴进去,取一个名字保存即可使用了。var2:=trou**ars(3,15,1)<10;var4:=if(var2=1,50,0);底部:=if(var4=50,10,0);xg:if(底部=10 and ref(底部,1)=10 and ref(底部,2)=0,50,0);
a:=if(c<ref(o,1) and c<o,1,0);p1:=a;b:=if(c<ref(o,2) and c<o,1,0);p2:=b;stickline(p1=0 and ref(p1,1)=1 and p2=0 and ref(p2,1)=1,open,close,3,0),colormagenta;