n:=3;ma1:=ma(c,5);ma2:=ma(c,10);ma3:=ma(c,20);ma4:=ma(c,30);ma5:=ma(c,60);hh:=max(ma1,max(ma2,max(ma3,max(ma4,ma5))));ll:=min(ma1,min(ma2,min(ma3,min(ma4,ma5))));粘连度:=(hh-ll)/ll*100;xg:粘连度 and cross(c,hh);(第一个公式。粘连度暂设为5,可自己修改。五线都能向上信号很少,没必要... 20210311
ma5:=ma(c,5);ma10:=ma(c,10);ma20:=ma(c,20);x:=max(ma5,max(ma10,ma20));zrxg:=ma5>ma10 and ma10>ma20 and cross(c>x,0.5) and ma5>ref(ma5,1)and ma10>ref(ma10,1)and ma20>ref(ma20,1);drawi...