DIFF :=(EMA(CLOSE,8) - EMA(CLOSE,21));
DEA := EMA(DIFF,5);F1:=ZIG(3,16);PARTLINE(DEA,DEA>REF(DEA,1) AND F1> REF(F1,1),RGB(255,127,0),DEA<REF(DEA,1) AND F1> REF(F1,1),RGB(0,100,255),DEA=REF(DEA,1) AND F1> REF(F1,1) ,RGB(0,255,50),F1< REF(F1,1),RGB(0,0,0)),Linethick4;VERTLINE(F1<REF(F1,1),2),coloraa8800;MACD :=2*(DIFF-DEA);中:0,colorwhite;gj:=MAX(C,O);STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,8,0),color0000FF;STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,3,0),colorFF8800;STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,5,0),color0099FF;STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2,0),colorFF8800;L4:=LLV(gj,4);//{www.gUPaNg.com 股旁网_同花顺股票指标公式}gt:=DEA>REF(DEA,1) AND REF(DEA,1)<REF(DEA,2);A1:=BARSLAST(REF(gt,1));底背离:=REF(L4,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND gt;DRAWLINE(A1=0,DEA,底背离,REF(DEA,A1),0),color00FFFF,LINETHICK2;DRAWLINE(底背离,DEA,底背离,REF(DEA,A1),0),color00FFFF,LINETHICK2;DRAWTEXT(底背离,REF(DEA,A1)*1.18,' 底背离'),COLOR00FFFF;H4:=HHV(gj,4);gt2:=dea<REF(DEA,1) AND REF(DEA,1)>REF(DEA,2);A2:=BARSLAST(REF(gt2,1));顶背离:= REF(H4,A2+1)<H4 AND DIFF<REF(DIFF,A2+1) AND gt2;DRAWLINE(A2=0 ,DEA,顶背离,REF(DEA,A2),0),colorgray,LINETHICK2;DRAWLINE(顶背离,DEA,顶背离,REF(DEA,A2),0),colorgray,LINETHICK2;DRAWTEXT(顶背离,REF(DEA,A2)*1.18,'顶背离'),colorAAAAAA;DRAWICON(CROSS(DIFF,DEA) AND F1> REF(F1,1),DEA,'buy');DRAWICON(CROSS(DEA,DIFF),DEA,'sell');e:=VOL;DRAWICON(e<LLV(REF(e,1),138),DEA*0.9,'●');股票公式结合软件的应用属于进阶阶段的股票学了,我们整理网上提出的同花顺顶级MACD指标公式的问题一些解决方案仅供辅助你学习同花顺公式参考,具体内容可能需要具体解决或者找网上其他高手帮忙,也感谢文字和图片来源于股旁网的一些资源分享,帮助新手快速学习提高炒股技能。
声明:同花顺顶级MACD指标公式的文字和图片来源于网络,版权归原作者所有,仅代表个人观点,于本站无关。
随便说说