《股票-同花顺史上最牛MACD金叉底背离指标公式.docx》由会员分享,可在线阅读,更多相关《股票-同花顺史上最牛MACD金叉底背离指标公式.docx(5页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、同花顺史上最牛MACD金叉底背离指标公式对称:0-(2*(DIFF-DEA),STICK,ColorFF6060,LINETHICK1;D1:EMA(C,16)-EMA(C,6),Color26FF26;E2:EMA(D1,5),ColorFF1EFF;STICKLINE(MACD=0,MACD,0,4,1),COLORF00FF0;STICKLINE(MACD0,MACD,0,4,1),colorwhite;STICKLINE(MACDREF(MACD,1)ANDMACD0,0,MACD,10,0),Color00C4C4;STICKLINE(MACDREF(MACD,1)ANDMACD0,
2、0,MACD,6.3,0),Color00EAEA;STICKLINE(MACDREF(MACD,1)ANDMACD0,0,MACD,2.2,0),Color0BFFFF;STICKLINE(MACDREF(MACD,1)ANDMACD0,0,MACD,1.65,0),Color46FFFF;STICKLINE(MACD=REF(MACD,1)ANDMACD0,0,MACD,8,0),Color0000BB;STICKLINE(MACD=REF(MACD,1)ANDMACD0,0,MACD,6.3,0),Color0000F0;STICKLINE(MACD=REF(MACD,1)ANDMACD
3、0,0,MACD,2.2,0),Color1111FF;STICKLINE(MACD=REF(MACD,1)ANDMACD0,0,MACD,1.65,0),Color3535FF;STICKLINE(MACDREF(MACD,1)ANDMACD0,0,MACD,10,0),Color9B009B;STICKLINE(MACDREF(MACD,1)ANDMACD0,0,MACD,6.3,0),ColorCA00CA;STICKLINE(MACDREF(MACD,1)ANDMACD0,0,MACD,2.2,0),ColorF000F0;STICKLINE(MACDREF(MACD,1)ANDMAC
4、D0,0,MACD,1.65,0),ColorFF28FF;STICKLINE(MACD=REF(MACD,1)ANDMACD0,0,MACD,8,0),Color00AA00;STICKLINE(MACD=REF(MACD,1)ANDMACD0,0,MACD,6.3,0),Color00CE00;STICKLINE(MACD=REF(MACD,1)ANDMACD0,0,MACD,2.2,0),Color00F700;STICKLINE(MACD=REF(MACD,1)ANDMACD0,0,MACD,1.65,0),Color2DFF2D;低位金叉:=CROSS(DIFF,DEA)ANDDIF
5、F-0.1;STICKLINE(低位金叉,0,-0.18,10,0),ColorE8E8E8;STICKLINE(低位金叉,0,-0.18,4,0),ColorF2F2F2;STICKLINE(低位金叉,0,-0.18,2,0),ColorFFFFFF;DRAWTEXT(低位金叉,-0.2,金叉),ColorFFFFFF;JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA=0);二次金叉:=CROSS(DIFF,DEA)ANDDEA0ANDCOUNT(JCCOUNT=2,21)=1;STICKLINE(二次金叉,0,-0.18,10,0),Color0042
6、CC;STICKLINE(二次金叉,0,-0.18,8,0),Color004FF2;STICKLINE(二次金叉,0,-0.18,8,0),Color3375FF;DRAWTEXT(二次金叉,-0.2,金叉二),Color3375FF;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1);底背离:=REF(CLOSE,A1+1)CLOSEANDDIFFREF(DIFF,A1+1)ANDCROSS(DIFF,DEA);STICKLINE(底背离,0,0.13,10,0),ColorCECE00;STICKLINE(底背离,0,0.13,4,0),ColorFFFF00;STI
7、CKLINE(底背离,0,0.13,2,0),ColorFFFF44;DRAWLINE(A1=0,DEA,底背离,DEA,0),ColorFFFFFF,linethick1;DRAWTEXT(底背离,0.3,底背离),ColorFFFF26;A2:=BARSLAST(REF(CROSS(DEA,DIFF),1);顶背离:=REF(CLOSE,A2+1)CLOSEANDREF(DIFF,A2+1)DIFFANDCROSS(DEA,DIFF);DRAWLINE(A2=0,DEA,顶背离,DEA,0),colorgreen,linethick1;同花顺史上最牛MACD金叉底背离指标公式实例图解:同花顺史上最牛MACD金叉底背离指标公式