m5:=ma(c,5);m10:=ma(c,10);m20:=ma(c,20);m60:=ma(c,60);yc5:=ppart(5)*100;yc100:=ppart(100)*100;c85:=cost(85);c15:=cost(15);b1:=c85-c15;b2:=(c85+c15)/2;b3:=b1/b2*100<15 and yc5>90 and yc100<15;...
给你写个大智慧的指标公式: diff:=ema(close,12)-ema(close,26);选出:diff>0 and diff>ref(diff,1)and ref(diff,1)(diff,2);ps:此指标可作为上涨行情结束前的预警,不可用作买入. 通达信的如下: dif:=ema(close,12)-ema(close,26);选出:dif>0 and dif>...
mid:ma(close,n);upper:mid+p*std(close,n);lower:mid-p*std(close,n);m5:ma(c,5);m10:ma(c,10),coloryellow;if(m5,m5>=ref(m5,1),rgb(255,0,255),m5(m5,1),rgb(255,255,0)),linethick1;stickline(o<=mid and ...
这个公式在通达信中本身就是红色上箭头和绿色下箭头,你把drawicon(filter(j<=ref(j,1) and j>100,8), j*1.1,2);drawicon(cross(j,0) ,1,1);这两句的最后数字2分别改成4,1改3试试(两行的最后数字)。不行的话依次改(2--6,1--5,再2-8,1-7。。。。。直至满意)