《股票-通达信庄家控盘MACDDMI结合操盘指标公式.docx》由会员分享,可在线阅读,更多相关《股票-通达信庄家控盘MACDDMI结合操盘指标公式.docx(5页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、通达信庄家控盘MACDDMI结合操盘指标公式_正点财经VAR2:=100*WINNER(CLOSE*0.95);控盘:=(VAR1-REF(VAR1,1)/REF(VAR1,1)*1000;DIF:=EMA(CLOSE,12)-EMA(CLOSE,26),NODRAW,COLORWHITE;DEA:=EMA(DIF,9);MACD:(DIF-DEA)*2,NODRAW;TRR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1),ABS(REF(CLOSE,1)-LOW),14);HD:=HIGH-REF(HIGH,1);LD:=REF(LOW,1)-
2、LOW;DMP:=EXPMEMA(IF(HD0HDLD,HD,0),14);DMM:=EXPMEMA(IF(LD0LDHD,LD,0),14);PDI:=DMP*100/TRR;MDI:=DMM*100/TRR;DM:PDI-MDI,COLORWHITE,NODRAW;ADX:EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6),COLORFF00FF,NODRAW;ADXR:EXPMEMA(ADX,6),COLORGREEN,NODRAW;加速:IF(DM0ANDADXRREF(ADXR,1)ANDADXR20,控盘*1.1,DRAWNULL),CIRCLEDOT,CO
3、LORRED持股;盘升:IF(DM0ANDADXRREF(ADXR,1)ANDADXR20,控盘*1.2,DRAWNULL),CIRCLEDOT,COLORYELLOW;空头:IF(控盘0ANDDM0,控盘*1.2,DRAWNULL),CROSSDOT,COLORGREEN;多头:IF(DM0ANDADXRREF(ADXR,1),控盘*1.2,DRAWNULL),CROSSDOT,COLORRED;DRAWTEXT(CROSS(ADXR,ADX)ANDADXR60AND控盘0AND控盘REF(控盘,1),控盘*1.3,改),COLORGREEN;DRAWICON(CROSS(MDI,PDI)A
4、ND控盘0,控盘*1.3,2);DRAWTEXT(CROSS(ADXR,ADX)ANDADXR=20ANDADXR60AND控盘0AND控盘REF(控盘,1),控盘*1.3,变),COLORYELLOW;DRAWTEXT(CROSS(ADXR,ADX)ANDADXR20ANDDM0,控盘*1.3,变化),COLORWHITE;STICKLINE(控盘0AND控盘REF(控盘,1),控盘,0,1.6,0),COLORWHITE;无庄:IF(控盘0,控盘,0),COLORWHITE,NODRAW;STICKLINE(控盘0AND控盘REF(控盘,1),控盘,0,1.6,0),COLORFFCC66
5、;STICKLINE(控盘REF(控盘,1)AND控盘0,控盘,0,1.6,0),COLORRED;有庄:IF(控盘REF(控盘,1)AND控盘0,控盘,0),COLORRED,NODRAW;STICKLINE(VAR250ANDCOST(85)CLOSEAND控盘0,控盘,0,1.6,0),COLORFF00FF;高度:IF(VAR250ANDCOST(85)CLOSEAND控盘0,控盘,0),COLORFF00FF,NODRAW;STICKLINE(控盘REF(控盘,1)AND控盘0,控盘,0,1.6,0),COLOR00FF00;出货:IF(控盘REF(控盘,1)AND控盘0,控盘,0)
6、,COLOR00FF00,NODRAW;DRAWTEXT(CROSS(DIF,DEA)ANDDIF0,控盘*1.1,B),COLORRED;DRAWTEXT(CROSS(DEA,DIF)ANDDIF0,控盘*1.1,S),COLORGREEN;DRAWTEXT(CROSS(DIF,DEA)ANDDIF0,控盘*1.1,B),COLORRED;DRAWTEXT(CROSS(DEA,DIF)ANDDIF0,控盘*1.1,S),COLORGREEN;STICKLINE(ADXRREF(ADXR,1),控盘*0.382,0,1,0),COLORYELLOW;STICKLINE(ADXRREF(ADXR,1),控盘*0.382,0,1,0),COLORBLUE;启动1:=(CROSS(控盘,0)ANDDM0ANDMACD0)OR(CROSS(DM,0)AND控盘0ANDMACD0)OR(CROSS(MACD,0)ANDDM0AND控盘启动:IF(启动1,5,0),LINETHICK1,COLORYELLOW;通达信庄家控盘MACDDMI结合操盘指标公式实例图解:通达信庄家控盘MACDDMI结合操盘指标公式