资源描述:
《【股票指标公式下载】-【通达信】买卖趋势(走强、中间金叉、趋势线、强弱线)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【通达信】买卖趋势(走强.中间金叉■趋势线.强弱线)•指标公式源码VAS1:=(C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100;牛:SMA(VAS1,7,1);VAS2:=SMA(牛,5,1);熊:TF(CR0SS(牛,VAS2)ANDCROSS(MA(C,5),MA(C,13)AND牛>50),VAS2*2,VAS2);DRAWBAND(牛,RGB(205,92,92),熊,RGB(2&134,238));N:二14;M:二6;TR:=EXPMEMA(MAX(MAX(HIGH-L
2、OW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);HD:二HIGH-REF(HIGH,1);LD:二REF(LOW,1)-LOW;DMP:=EXPMEMA(IF(HD>O&&HD>LD,HD,0),N);DMM:=EXPMEMA(IF(LD>O&&LD>HD,LD,0),N);PDI:DMP*100/TRCOLORWHTTE;MD1:二DMM*100/TRCOLORGREEN;ADX:二EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,
3、M);ADXR:=EXPMEMA(ADX,M);STICKLINE(ADX>二ADXR,ADX,ADXR,3,0),C0L0R800040;STICKLINE(ADXPDIANDADXADXR*O.97,ADX,ADXR,2,0)COLORRED;{一、PDI>MDI且趋势向上;二、ADX;ADXR在PDI及MDI中间金叉}走强:DRAWTEX
4、T(CROSS(ADX,ADXR)ANDPDI>MDIANDPDI>REF(PDI,1)ANDADX>REF(ADX,1)ANDBETWEEN(ADX,MDT,PDT)ANDADXR>REF(ADXR,1),ADXR*O.98,'走强'),COLORYELLOW;50,COLORMAGENTA;AV4:=((C-LLV(L,21))/(IIIIV(II,21)-LLV(L,21)))*100;趋势线:二(EMA(4*SMA(AV4,6,1)-3*SMA(SMA(AV4,6,1),5,1),3)),IJNETHT
5、CKl,COLORBLUE;VARI:二((C+2*L)/3-LLV(L,8))/(HHV(H,8)-LLV(L,8))*100;VAR2:=SMA(VAR1,2,1);走势线:SMA(VAR2,2,1)COLORYELLOW;强弱线:EMA(SMA(SMA((HHV((3*H+C)/4,3)-(2*C+3*L)/5)/(HHV((2*H+C)/3,3)-LLV(L,3))*100,3,1),3,1),3),COLORGREEN;DRAWTEXT(CROSS(强弱线,75)AND走势线>5,强弱线,'分上下')
6、,COLORWHITE;DRAWTEXT(CROSS(强弱线,85)AND走势线〈10,强弱线,'要涨'),COLORMAGENTA;DRAWTEXT(走势线〈11AND走势线〉REF(走势线,1),走势线,'盯'),COLORWHITE;DRAWTEXT(CROSS(9&趋势线),88,'逃命'),COLORGREEN;逃命:IF(CROSS(9&趋势线),80,90),COLORWIIITE;DRAWTEXT(CROSS(强弱线,85)AND走势线<10,10,'关注'),COLORRED;关注:TF(CR
7、OSS(强弱线,85),10,5),COLORRED;【通达信】买卖趋势(走强.中间金叉■趋势线.强弱线)-指标公式效果图.MfAGfGU.COM系统$)功能g)报价@)分析@)资讯d)港股期货实用查询工具①)帮助@)交易未登录上证指数(日线)-金端操盘VVMA5:2773.03持股线:287U61L1:2665.8126(文档来源:若水财经社区)