《股票-通达信MACD绝世买卖指标公式.docx》由会员分享,可在线阅读,更多相关《股票-通达信MACD绝世买卖指标公式.docx(3页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、通达信MACD绝世买卖指标公式_正点财经MACD:(DIF-DEA)*2,COLORSTICK;红柱持股:IF(MACDREF(MACD,1),MACD,DRAWNULL),STICK,COLORRED,LINETHICK1;绿柱持币:IF(MACDREF(MACD,1),MACD,DRAWNULL),STICK,COLORLIBLUE,LINETHICK2;低位金叉:IF(CROSS(DIF,DEA)ANDDIF-0.1,0.3,0),COLORYELLOW,POINTDOT;STICKLINE(低位金叉,0,10,8,1),COLORYELLOW;DRAWICON(低位金叉,0.3,1);
2、JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA=0);二次金叉:IF(CROSS(DIF,DEA)ANDDEA0ANDCOUNT(JCCOUNT=2,21)=1,0.2,0),COLORFF00FF,POINTDOT;STICKLINE(二次金叉,25,15,8,1),COLORFF00FF;A1:=BARSLAST(REF(CROSS(DIF,DEA),1);底背离:IF(REF(CLOSE,A1+1)CLOSEANDDIFREF(DIF,A1+1)ANDCROSS(DIF,DEA),0.1,0),COLORRED,POINTDOT;STICKLINE(
3、底背离,40,30,8,1),COLORRED;DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED;A2:=BARSLAST(REF(CROSS(DEA,DIF),1);顶背离:REF(CLOSE,A2+1)CLOSEANDREF(DIF,A2+1)DIFANDCROSS(DEA,DIF),COLORGREEN;DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN;A3:=CROSS(DIF,DEA)ANDDEA零下二次金叉:IF(FILTER(COUNT(A3,21)=2,10),0.05,0),COLORWHITE,POINTDOT;STICKLINE(零下二次金叉,45,55,8,1),COLORWHITE;金叉:DRAWICON(CROSS(DIF,DEA),DIF,1);死叉:DRAWICON(CROSS(DEA,DIF),DIF,2);通达信MACD绝世买卖指标公式实例图解:通达信MACD绝世买卖指标公式