ma(c,5)>=ref(ma(c,5),1) and ref(ma(c,5),1)>=ref(ma(c,5),2) and ref(ma(c,5),1)>=ref(ma(c,5),3);这是5日均线连续三天向上的公式,不过其实没什么用 用眼睛看就好了 ”多头排列、空头排列“和”金叉、死叉“和“均线跟价格的大小关系”才是重要的 呵呵 加油吧 均线系统是技术分...
diff:=ema(close,12)-ema(close,26);dea:=ema(diff,9);macd:=2*(diff-dea);sx:=barslast(cross(dea,diff))+1;jx:=barslast(cross(diff,dea))+1;t1:=if(jx=1 and diff>ref(diff,ref(jx,1)+1),1,0);t2:=if(jx=1 and...