m5:ma(close,5);m10:ma(close,10);m20:ma(close,20);m30:ma(close,30);m60:ma(close,60);drawicon(m5(c,m5)and cross(c,m10),l,1);drawicon(m5(m5,c)and cross(m10,c),h,2);drawicon(m5>m20 and m10>m20 and m...
t1:=ref(c,2)/ref(c,3)>1.03;t2:=ref(o,1)>ref(o,2) and ref(c,1)<=ref(c,2);t3:=o>ref(o,2) and o<ref(o,1) and c<ref(c,1);xg:t1 and t2 and t3; 已测试,公式已做好,如果达到你的要求请及时采纳。