升降公式
2015-10-7 14:42:06点击:
M1:=17;
EXP1:=EMA(CLOSE,M1);
升331:=REF(C,3)>REF(O,3) AND REF(C,2)<REF(O,2) AND REF(C,1)>REF(O,1) AND C>O AND C>REF(H,2);
升332:=REF(C,3)>REF(O,3) AND REF(C,2)>REF(O,2) AND REF(C,1)<REF(O,1) AND C>O AND C>REF(H,1);
降331:=REF(C,3)<REF(O,3) AND REF(C,2)<REF(O,2) AND REF(C,1)<REF(O,1) AND C>O AND C>REF(L,2);
STICKLINE((升331>0 OR 升332>0) AND EVERY(EXP1>REF(EXP1,1),10),0,10,2,0)COLORRED;
STICKLINE(降331>0 AND EVERY(EXP1<REF(EXP1,1),7),0,10,2,0)COLORGREEN;
EXP1:=EMA(CLOSE,M1);
升331:=REF(C,3)>REF(O,3) AND REF(C,2)<REF(O,2) AND REF(C,1)>REF(O,1) AND C>O AND C>REF(H,2);
升332:=REF(C,3)>REF(O,3) AND REF(C,2)>REF(O,2) AND REF(C,1)<REF(O,1) AND C>O AND C>REF(H,1);
降331:=REF(C,3)<REF(O,3) AND REF(C,2)<REF(O,2) AND REF(C,1)<REF(O,1) AND C>O AND C>REF(L,2);
STICKLINE((升331>0 OR 升332>0) AND EVERY(EXP1>REF(EXP1,1),10),0,10,2,0)COLORRED;
STICKLINE(降331>0 AND EVERY(EXP1<REF(EXP1,1),7),0,10,2,0)COLORGREEN;
- 上一篇:MACD底背离(主图幅图选股贴图通达信源码) 2015/10/7
- 下一篇:通达信-底部吸筹建仓指标 2015/10/7