《通达信自用MACD布林通道指标公式.docx》由会员分享,可在线阅读,更多相关《通达信自用MACD布林通道指标公式.docx(4页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、通达信自用MACD布林通道指标公式_正点财经STICKLINE(MACD=0,MACD,0,0,0),COLORF00FF0;STICKLINE(MACD0,MACD,0,1,0),COLORF00FF0;STICKLINE(MACDREF(MACD,1)ANDMACD0,0,MACD,0,0),COLORFFFF00;STICKLINE(MACD=REF(MACD,1)ANDMACD0,0,MACD,1,0),COLORFFFF00;IF(A0,A,0),COLORRED,LINETHICK1;IF(A0,0,A),COLORRED,LINETHICK1;IF(AB,A,B),COLOR00
2、FF00,LINETHICK1;IF(AB,B,B),COLORWHITE,LINETHICK1;机会来临:REF(IF(MA(C,5)-C)/C0.04AND(MA(C,10)-MA(C,5)/MA(C,5)0.04,0.5,0),1),COLORGREEN;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;E:=CROSS(83,RSI);STICKLINE(E,E,0.5,1,0),COLOR00FFFF;DRAWTEXT(E,0.85,逃顶),COLORGREEN;低位金叉:CROSS(A
3、,B)ANDA-0.1,COLORRED;STICKLINE(低位金叉,0,0.5,2,0),COLORRED;JCCOUNT:=COUNT(CROSS(A,B),BARSLAST(B=0);二次金叉:CROSS(A,B)ANDB0ANDCOUNT(JCCOUNT=2,21)=1,COLORYELLOW;STICKLINE(二次金叉,0,0.2,2,0),COLORYELLOW;DRAWICON(二次金叉,B*0.9,25);DRAWICON(LLV(MACD,4)0ANDMACDREF(MACD,1)ANDREF(MACD,1)REF(MACD,2)ANDREF(MACD,2)REF(MACD,3),MACD,2);DRAWICON(HHV(MACD,4)0ANDMACDREF(MACD,1)ANDREF(MACD,1)REF(MACD,2)ANDREF(MACD,2)REF(MACD,3),MACD,1);BOLL:MA(MACD,N);UPPER:BOLL+2*STD(MACD,N),COLORYELLOW,LINETHICK2;LOWER:BOLL-2*STD(MACD,N),COLORYELLOW,LINETHICK2;通达信自用MACD布林通道指标公式实例图解:通达信自用MACD布林通道指标公式