開啟波浪通達(dá)信主圖公式
2019-05-17 13:55 綜投網(wǎng)
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MA1:=MA(CLOSE,8);
MA2:=MA(CLOSE,21);
多:=EMA(C,3),COLORYELLOW;
空:=EMA(C,5),COLOR00FF00;
W1:=C=HHV(C,5);
W2:=BARSLAST(W1);
W3:=IF(W2 > 0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
趨勢:LLV(MA(H,13),1),COLORRED,LINETHICK1;
中軌:HHV(MA(H,13),13),COLORYELLOW,LINETHICK1;
開啟波浪:=W4 AND COUNT(W4,5)=1 AND 中軌=趨勢;
多頭:STICKLINE(DIFF > DEA,CLOSE,OPEN,2.5,0),COLOR0000FF;
STICKLINE(DIFF > DEA,HIGH,LOW,0,0),COLOR0000FF;
空頭:STICKLINE(DIFF <=DEA,CLOSE,OPEN,2.5,0),COLORGREEN;
STICKLINE(DIFF <=DEA,HIGH,LOW,0,0),COLORGREEN;
均衡:EMA(空,5),COLORWHITE;
DRAWICON(開啟波浪,均衡*0.99,25),COLOR00FF00;