x1:=finance(7)<=300000000 and dyna**(7)>5;x2:=macd.macd>ref(macd.macd,1) and macd.dif<macd.dea ;x1 and count(x2,3)=3 and macd.dif>=0;快要金叉是个模糊的概念,公式无法准确表达出来,所以只能用白线连续3天向上来表达。 20210311
ma2:=ema(c,2);ma5:=ema(c,5);ma13:=ema(c,13);ma34:=ema(c,34);ma55:=ema(c,55);ycx:=ma5>=ref(ma5,1);h1:=max(max(ma5,ma13),ma34);l1:=min(min(ma5,ma13),ma34);金蜘蛛:h1<c and o<l1 and ycx and ma2>r...
上1:=hhv(max(c,o),3);上2:=llv(max(c,o),3);下1:=hhv(min(c,o),3);下2:=llv(min(c,o),3);上:=(上1-上2)/上2*100<0.48;下:=(下1-下2)/下2*100<0.48;二影线:=(h-o)/(o-c)*100<30 and c<o;zrxg:ref(c>o,2) and c>o ...
a1:=hhv(c,1800)>llv(c,1800)*1.6 and llv(c,1800)*2<hhv(c,1800) and count(c/ref(c,1)>0.098,100)>=1 and barscount(close)>600 ;a2:= (c-ma(c,200))/ma(c,200)<0.2 { 相对于200天线正乖离小于20%...
上影:=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)>上影*...