m1:=ma(c,13);
m2:=ma(c,34);
m3:=ma(c,55);
T1:=m1>ref(m1,1) or m1=ref(m1,1);
T2:=m2>ref(m2,1) or m2=ref(m2,1);
T3:=m3>ref(m3,1) or m3=ref(m3,1);
T4:=cross(h,m2) and cross(h,m3);
XG:t1 and t2 and t3 and t4;
因为楼主没有说明均线13,34,55之间的关系,是否多头,所以没有进行描述。如有必要,请追问补充说明。
希望能帮到你!
ma(c,13)>=ref(ma(c,13),1) and ma(c,34)>=ref(ma(c,34),1) and ma(c,55)>=ref(ma(c,55),1)
and cross(c,max(ma(c,34),ma(c,55))) and l