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天向上来表达。
var1:=ema(ema(close,9),9);控盘:=(var1-ref(var1,1))/ref(var1,1)*1000;a10:=cross(控盘,0);无庄控盘:=if(控盘<0,控盘,0);开始控盘:=if(a10,5,0);有庄控盘:=if(控盘>ref(控盘,1) and 控盘>0,控盘,0);var2:=100*winner(close*0.95);高度控盘...
神仙大趋势h1:=ema(close,6),colorwhite; h2:=ema(神仙大趋势h1,18),colorgreen; h3:=ema(close,108),coloryellow;cross(神仙大趋势h1,max(h2,h3)) or (神仙大趋势h1>max(h2,h3) and ref(c,1)<ref(c,2) and c>ref(max(c,o),1));
ma1:=ma(close,5);ma2:=ma(close,10);ma3:=ma(close,20);ma4:=ma(close,60);xg:count(cross(ma1,ma2),3)=1 and count(cross(ma1,ma3),3)=1 and count(cross(ma1,ma4),3)=1;