《通达信MACD趋势看盘指标公式.docx》由会员分享,可在线阅读,更多相关《通达信MACD趋势看盘指标公式.docx(4页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、通达信MACD趋势看盘指标公式_正点财经STICKLINE(MACD=0,MACD,0,0,0),COLOR000FFF;STICKLINE(MACD0,MACD,0,0,0),COLORFF00FF;STICKLINE(MACDREF(MACD,1)ANDMACD0,0,MACD,0,0),COLORGREEN;STICKLINE(MACD=REF(MACD,1)ANDMACD0,0,MACD,0,0),COLORFFCC66;趋势:IF(DIFDEA,DEA,DEA),COLORWHITE;建仓:IF(DIF0,DIF,0),COLOR0099FF;加仓:IF(DIF0,0,DIF),CO
2、LORRED;清仓:IF(DIFDEA,DIF,DEA),COLORGREEN;STICKLINE(DIFDEA,0.025,-0.025,10,1),COLORYELLOW;STICKLINE(DIFDEA,0.025,-0.025,10,1),COLORBLUE;A1:=BARSLAST(REF(CROSS(DIF,DEA),1);B1:=REF(C,A1+1)CANDREF(DIF,A1+1)DIFANDCROSS(DIF,DEA);A2:=BARSLAST(REF(CROSS(KDJ.K(9,3,3),KDJ.D(9,3,3),1);B2:=REF(C,A2+1)CANDREF(KDJ
3、.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.RSI2(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,DIF),1);D1:=REF(C,C1+1)CANDREF(DIF,C1+1)D
4、IFANDCROSS(DEA,DIF);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),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.RS
5、I2(6,12,24),RSI.RSI1(6,12,24);MACD底背:IF(B10,-0.1,0),COLORRED,POINTDOT;KDJ底背:IF(B20,-0.1,0),COLORFF00FF,POINTDOT;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.15,-0.05,2,0),COLORFF00FF;STICKLINE(B30,-0.2,-0.1,2,0),COLORYELLOW;STICKLINE(D10,0.1,0,2,0),COLOR00FF00;STICKLINE(D20,0.15,0.05,2,0),COLORFFCC66;STICKLINE(D30,0.2,0.1,2,0),COLORWHITE;通达信MACD趋势看盘指标公式实例图解:通达信MACD趋势看盘指标公式
限制150内