drawtext(high>ref(high,1) and high>ref(high,2) and h>refx(&high,1) ,h*1.01,'▲'),colorred;drawtext(l<ref(l,1) and l<ref(l,2) and l<refx(&low,1) ,l,'▼'),color00ff00;cc:c,colorblack,linethick1;--------------------------------------第一个,加了一天线,否则右键打不开,没办法.====================================================drawicon(high>ref(high,1) and high>ref(high,2) and h>refx(&high,1) ,h,'22'),colorooffff;drawicon(l<ref(l,1) and l<ref(l,2) and l<refx(&low,1) ,l,'23'),colorooff00;-----------------------------------第二个:22,23要在公式编辑---标志设置里设置一下. 20210311
diff:=ema(close,12)-ema(close,27);dea:=ema(diff,9);低位金叉:=cross(diff,dea) and diff<-0.1;低位金叉:=if(低位金叉,30,0);jccount:=count(cross(diff,dea),barslast(dea>=0));二次金叉:=cross(diff,dea) and dea<0 and...
y1:=ma(c,n)>ma(c,n1);y2:=ma(c,n1)>ma(c,n2);y3:=ref(c,1)(c,2);y4:=ref(c,2)(c,3);y5:=cross(c,(ref(h,1)+ref(l,1))/2);预选:y1 and y2 and y3 and y4 and y5;没测试,试试吧。成交量漏写了~ s3:=ref(v,1)(v,2);s4:=ref(v,2)...