nn:1 n:3
AA3:=ZIG(4,nn)>REF(ZIG(4,nn),1)AND REF(ZIG(4,nn),1)<REF(ZIG(4,nn),2);
低1:ref(L,barslast(AA3)),pointdot,colorff66ff,linethick2;
AA4:=ZIG(4,nn)<REF(ZIG(4,nn),1)AND REF(ZIG(4,nn),1)>REF(ZIG(4,nn),2);
高1:ref(h,barslast(AA4)),pointdot,colorgreen,linethick2;
AA1:=ZIG(3,n)>REF(ZIG(3,n),1)AND REF(ZIG(3,n),1)<REF(ZIG(3,n),2);
低:ref(L,barslast(AA1)),COLOR800080,linethick1;
AA2:=ZIG(3,n)<REF(ZIG(3,n),1)AND REF(ZIG(3,n),1)>REF(ZIG(3,n),2);
高:ref(h,barslast(AA2)),color006600,linethick1;
出现AA1的信号做多,跌破AA1信号的最低点止损,到达高1止赢。仓位50%
出现AA2的信号开空,冲破AA2信号的最高点止损,到达低1止赢。仓位50%
请前辈们帮忙,期待中。
帮忙 顶一下 哈