咨詢內(nèi)容:
老師,我想在CCi指標(biāo)和macd指標(biāo)上自動(dòng)提醒背離怎么設(shè)置?
老師,我想在CCi和macd 指標(biāo)上設(shè)置背離提醒,請(qǐng)問(wèn)怎么設(shè)置?

<!--
咨詢內(nèi)容: 附件 :
-->
?
?來(lái)源:程序化99網(wǎng)( www.kzuj.com.cn )
博易技術(shù)人員:
TYP := (HIGH + LOW + CLOSE)/3;
A:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DRAWTEXT(A<REF(A,1) AND C>REF(C,1),A,'CCI頂背離');
DRAWTEXT(A>REF(A,1) AND C<REF(C,1),A,'CCI底背離');
DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA?:EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK;
DRAWTEXT(MACD<REF(MACD,1)ANDC>REF(C,1),DIFF,'MACD頂背離'),COLORRED;
DRAWTEXT(MACD>REF(MACD,1)ANDC<REF(C,1),DIFF,'MACD底背離'),COLORGREEN;
來(lái)源 程序化久久網(wǎng)