《股票-通达信超前MACD底背离指标公式.docx》由会员分享,可在线阅读,更多相关《股票-通达信超前MACD底背离指标公式.docx(4页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、通达信超前MACD底背离指标公式_正点财经A1:=BARSLAST(REF(CROSS(DIFF,DEA),1);B1:=REF(C,A1+1)CANDREF(DIFF,A1+1)DIFFANDCROSS(DIFF,DEA);A2:=BARSLAST(REF(CROSS(KDJ.K(9,3,3),KDJ.D(9,3,3),1);B2:=REF(C,A2+1)CANDREF(KDJ.K(9,3,3),A2+1)KDJ.K(9,3,3)ANDCROSS(KDJ.K(9,3,3),KDJ.D(9,3,3);A3:=BARSLAST(REF(CROSS(RSI.RSI1(6,12,24),RSI.RS
2、I2(6,12,24),1);B3:=REF(C,A3+1)CANDREF(RSI.RSI1(6,12,24),A3+1)RSI.RSI1(6,12,24)ANDCROSS(RSI.RSI1(6,12,24),RSI.RSI2(6,12,24);C1:=BARSLAST(REF(CROSS(DEA,DIFF),1);D1:=REF(C,C1+1)CANDREF(DIFF,C1+1)DIFFANDCROSS(DEA,DIFF);C2:=BARSLAST(REF(CROSS(KDJ.D(9,3,3),KDJ.K(9,3,3),1);D2:=REF(C,C2+1)CANDREF(KDJ.K(9,3,
3、3),C2+1)KDJ.K(9,3,3)ANDCROSS(KDJ.D(9,3,3),KDJ.K(9,3,3);C3:=BARSLAST(REF(CROSS(RSI.RSI2(6,12,24),RSI.RSI1(6,12,24),1);D3:=REF(C,C3+1)CANDREF(RSI.RSI1(6,12,24),C3+1)RSI.RSI1(6,12,24)ANDCROSS(RSI.RSI2(6,12,24),RSI.RSI1(6,12,24);MACD底背:IF(B10,-0.1,0),COLORRED,POINTDOT;KDJ底背:IF(B20,-0.1,0),COLORFF00FF,PO
4、INTDOT;RSI底背:IF(B30,-0.1,0),COLORYELLOW,POINTDOT;MACD顶背:IF(D10,0.1,0),COLOR00FF00,POINTDOT;KDJ顶背:IF(D20,0.1,0),COLORFFCC66,POINTDOT;RSI顶背:IF(D30,0.1,0),COLORWHITE,POINTDOT;STICKLINE(B10,-0.1,0,2,0),COLORRED;STICKLINE(B20,-0.1,0,2,0),COLORFF00FF;STICKLINE(B30,-0.1,0,2,0),COLORYELLOW;STICKLINE(D10,0.1
5、,0,2,0),COLOR00FF00;STICKLINE(D20,0.1,0,2,0),COLORFFCC66;STICKLINE(D30,0.1,0,2,0),COLORWHITE;STICKLINE(MACDREF(MACD,1)ANDMACD0,0,MACD,0,0),COLORRED;STICKLINE(MACD=REF(MACD,1)ANDMACD0,0,MACD,0,0),COLORYELLOW;STICKLINE(MACDREF(MACD,1)ANDMACD0,0,MACD,0,0),COLORCYAN;STICKLINE(MACD=REF(MACD,1)ANDMACD0,0,MACD,0,0),COLORMAGENTA;STICKLINE(C0,0,0,50,1),COLORBLUE;DIFF,COLORGREEN;DEA,COLORYELLOW;强:IF(DIFFMA(DIFF,2),DIFF,DRAWNULL),COLORRED;弱:IF(DEAMA(DEA,2),DEA,DRAWNULL),COLORMAGENTA;通达信超前MACD底背离指标公式实例图解:通达信超前MACD底背离指标公式