rsv:=(close-llv(low,n))/(hhv(high,n)-llv(low,n))*100;k:sma(rsv,m1,1);d:sma(k,m2,1);a:=cross(k,d);ats:=barslast(a);ac2:=if(a,l,0);ad2:=if(a,d,0);ats2:=if(a,ref(ats,1)+1,ats);ac1:=ref(l,ats2);ad1:=ref(d,ats2);di:=ac2<ac1 and ad2>ad1 and ad2;b:=cross(d,k);ts:=barslast(b);c2:=if(b,h,0)... 20210311
ma20:=ma(c,20);ma60:=ma(c,60);a1:=between(c,ma20,ma60);b20:cross(c,ma20) and a1=0;//上穿20均线, 且不在20与60均之间s20:-(cross(ma20,c) and a1)=0;//下穿20均线, 且不在20与60均之间b60:cross(c,ma20) and a1=0;//上穿60均线, 且不在20与60均...
xg1:=ref(v=hhv(v,4),1)and v(v,1)/2 and sma(max(close-ref(close,1),0),6,1)/sma(abs(close-ref(close,1)),6,1)*100>70;xg2:=ref(v=hhv(v,4),1)and v(v,1)/2 and sma(max(close-ref(close,1),0),6,1)/sma(abs(c...
第一个指标的下鄂与指标的内容有关,不敢乱猜================================={ao,ac方向}var1:=(h+l)/2;ao:sma(var1,5,1)-sma(var1,34,1);ac:sma((ao-sma(ao,5,1)),5,1);y:=(ao+ac)/2;drawtext(**lastbar and ao>ref(ao,1) and ac>...