Royal?
2024-11-15 23:37:48
最佳回答
{已通过测试。这个指标有2个买点,我一并做出。你根据需要选取}lb:=vol/ref(ma(vol,5),1);m1:=4;m2:=6;m3:=9;m4:=13;m5:=18;m6:=24;ma5:=ma(c,60);pb1:=(expma(close,m1)+ma(close,m1*2)+ma(close,m1*4))/3;pb2:=(expma(close,m2)+ma(close,m2*2)+ma(close,m2*4))/3;pb3:=(expma(close,m3)+ma(close,m3*2)+ma(close,m3*4))/3;pb4:=(expma(close,m4)+ma(close,m4*2)+ma(close,m4*4))/3;pb5:=(expma(close,m5)+ma(close,m5*2)+ma(close,m5*4))/3;pb6:=(expma(close,m6)+ma(close,m6*2)+ma(close,m6*4))/3;aaa:=min(min(min(min(min(pb1,pb2),pb3),pb4),pb5),pb6);bbb:=max(max(max(max(max(pb1,pb2),pb3),pb4),pb5),pb6);xg:=(o<aaa or ref(o<aaa,1)) and c>bbb;ss:xg and lb>2.2 and c>ma5*1.02 and c<ma5*1.15and (close-ref(close,1))/ref(close,1)>3/100 and c>o*1.02;--------------------------------------------------------------m11:=5;m22:=10;m33:=20;m44:=60;p:=vol;lb:=vol/ref(ma(vol,5),1);ljc:=ma(p,m11)>ma(p,m44)*0.9;m1:=4;m2:=6;m3:=9;m4:=13;m5:=18;m6:=24;ma5:=ma(c,60);pb1:=(expma(close,m1)+ma(close,m1*2)+ma(close,m1*4))/3;pb2:=(expma(close,m2)+ma(close,m2*2)+ma(close,m2*4))/3;pb3:=(expma(close,m3)+ma(close,m3*2)+ma(close,m3*4))/3;pb4:=(expma(close,m4)+ma(close,m4*2)+ma(close,m4*4))/3;pb5:=(expma(close,m5)+ma(close,m5*2)+ma(close,m5*4))/3;pb6:=(expma(close,m6)+ma(close,m6*2)+ma(close,m6*4))/3;aaa:=min(min(min(min(min(pb1,pb2),pb3),pb4),pb5),pb6);bbb:=max(max(max(max(max(pb1,pb2),pb3),pb4),pb5),pb6);xg:=(o<aaa or ref(o<aaa,1)) and c>bbb;p6:=abs(pb1-pb2)+abs(pb1-pb3)+abs(pb1-pb4)+abs(pb1-pb5)+abs(pb1-pb6)+abs(pb2-pb3)+abs(pb2-pb4)+abs(pb2-pb5)+abs(pb2-pb6)+abs(pb3-pb4)+abs(pb3-pb5)+abs(pb3-pb6)+abs(pb4-pb5)+abs(pb4-pb6)+abs(pb5-pb6);lxzh:=p6/c<20/100;jl:=c>ma5 and ljc and (lb>2.2 or ref(lb>2.2,1))and (xg or ref(xg,1)) and c>ma5*1.02 and c<ma5*1.15 and c>o*1.02and (lxzh or ref(lxzh,1))and (close-ref(close,1))/ref(close,1)>3/100,colorred;pd:jl or ref(jl,1); 20210311