标题: 请高手把乾坤骑牛指标加入卖出信号,谢谢!! [打印本页] 作者: 滴滴点点 时间: 2016-3-12 16:16 标题: 请高手把乾坤骑牛指标加入卖出信号,谢谢!! 源码X:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
F:SMA(X,3,1);F2:REF(F,1);
W:SMA(F,3,1);
IF(CROSS(F,W) AND CROSS(W,REF(W,1)) AND O<MA(C,5) AND O<MA(C,18),20,0);作者: 新人报道 时间: 2016-3-12 16:16
X:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
F:=SMA(X,3,1);
W:=SMA(F,3,1);
买入: IF(CROSS(F,W) AND CROSS(W,REF(W,1)) AND O<MA(C,5) AND O<MA(C,18),20,0);
DRAWICON(CROSS(F,W) AND CROSS(W,REF(W,1)) AND O<MA(C,5) AND O<MA(C,18),21,24);
卖出: IF(CROSS(W,F) AND CROSS(REF(W,1),W) AND O>MA(C,5) AND O>MA(C,18),30,0);
DRAWICON(CROSS(W,F) AND CROSS(REF(W,1),W) AND O>MA(C,5) AND O>MA(C,18),31,27);