tv1:=ref(v,2)<ma(v,5);tv2:=cross(c,ma(c,5)) and v>=ma(v,5);tv3:=ma(c,5)<ref(ma(c,5),1) and ma(c,10)<ref(ma(c,10),1);xg:tv1 and tv2 and tv3;仅供参考,希望能够帮助您,顺祝马年投资顺利!
ma5:=ma(close,5);ma10:=ma(close,10);ma20:=ma(close,20);lb:=v/fromopen/(sum(ref(v,1),5)/1200);dt:=barslastcount(ma5>ref(ma5,1) and ma10>ref(ma10,1) and ma20>ref(ma20,1));xg:lb>2 and dt>0...
1、 你所指的是否是均线贯穿k线?2、 还有一种可能性就是,直接跳空,k线站上均线上方;3、 你给的条件,考虑不是很完整,有很多问题你忽略了;根据你所说的,公式如下:ma5:=ma(c ,5);ma13:=ma(c,13);condtion_1:=ma5>=ref(ma5,1) and ma13>=ref(ma13,1);condtion_2:=l<=ma5 and l<=...