{包含当天模式下:}t:=c>o;{当天第一天阳}t1:=ref(c,1)<ref(o,1);{倒数第一天阴}t2:=ref(c,2)>ref(o,2);{倒数第二天阳}t3:=ref(c,3)>ref(o,3);{倒数第三天阳}t4:=ref(c,4)<ref(o,4);{倒数第四天阴}t5:=ref(c,5)>ref(o,5);{倒数第五天阳}选股:t and t1 and t2 and t3 and t4 and t5;----------------------------------------------------------{不包含当天模式下:}t1:=ref(c,1)>ref(o,1);{倒数第一天阳}t2:=ref(c,2)<ref(o,2);{倒数第二天阴}t3:=ref(c,3)>ref(o,3);{倒数第三天阳}t4:=ref(c,4)>ref(o,4);{倒数第四天阳}t5:=ref(c,5)<ref(o,5);{倒数第五天阴}t6:=ref(c,6)>ref(o,6);{倒数第六天阳}选股:t1 and t2 and t3 and t4 and t5 and t6;----------------------------------------------------------omg,指标的编写真的很简单的,没有看起来那么麻烦,我建议楼主学习一下,很容易学,真的 20210311
h1:=max(max(max(max(max(ma(c,5),ma(c,10)),ma(c,20)),ma(c,30)),ma(c,60)),ma(c,120));l1:=min(min(min(min(min(ma(c,5),ma(c,10)),ma(c,20)),ma(c,30)),ma(c,60)),ma(c,120));穿六线:l<l1 and h>h1;
t1:=(c-o)/o>=0 and(c-o)/o<0.002 and v>ref(v,1);t2:=(o-c)/c>=0 and(o-c)/c<0.002 and v>ref(v,1);t3:=(ref(c,1)-ref(o,1))/ref(o,1)>=0 and(ref(c,1)-ref(o,1))/ref(o,1)(v,...