资源描述:
《【股票指标公式】-【通达信】底部出击(阶段底部、趋势线)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、[通达信]底部出击(阶段底部.趋势线)■指标公式源码LC:=REF(CLOSE,1);RSI5:=((SMA(MAX((CLOSE-LC),0),5,1)/SMA(ABS((CLOSE-LC)),5,1))*100);TR1:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,1)))),ABS((LOW-REF(CLOSE,1)))),10);HD:=(HIGH-REF(HIGH,1));LD:=(REF(LOW,1)-LOW);DMP:=SUM(IF(((HD>0)AND(H
2、D>LD)),HD,0),10);DMM:=SUM(TF(((LD>0)AND(LD>HD)),LD,0),10);PD1:=((DMP*100)/TRI);MDI:=((DMM*100)/TRI);ADX:=MA(((ABS((MDI-PDI))/(MDI+PDI))*100),5);AV:=(RSI5+ADX);DXR:二(((ADX+REF(ADX,5))/2)+RST5);0,COLORFFOOFF;WR10:=((100*(HHV(HIGH,10)-CLOSE))/(HHV(HIGH,10)-LLV(LO
3、W,10)));NEWV0L:=(RSI5-WR10);阶段底部:=(AV+NEWVOL);STTCKLTNE((阶段底部<0),0,-10,0.8,1),IJNETHTCK6,COLORYELLOW;趋势线:=LLV(阶段底部,1),COLORWHITE,L1NETH1CK0;STICKLINE(CROSS(阶段底部,0),0,-10,0.8,1),LINETHICK6,COLORRED;STICKLINE((趋势线>230),100,90,0.3,1),LINETIIICK6,COLORGREEN;LOWV:=
4、LLV(LOW,9);HIGHV:二HHV(HIGH,9);RSV:=EMA((CLOSE-LOWV)/(H1GHV-L0WV)*100,3);K:EMA(RSV,3);D:MA(K,3);STICKLINE(K>D,K,D,2.5,0),COLORRED,LINETHICK2;STTCKLTNE(D>K,K,D,2.5,0),COLORGREEN,IJNETHTCK2;逃顶线:90,COLORGREEN;中轴线:50,COLORRED;抄底线:10,COLORGREEN;DRAWTCON(CROSS(K,D),1
5、2,DCOLORRED;DRAWICON(CROSS(D,K),88,2)COLORGREEN;警戒:阶段底部<0,LINETHICKO,COLORYELLOW;出击:CROSS(阶段底部,O),LINETHICKO,COLORRED;【通达信】底部出击(阶段底部.趋势线)■指标公式效果图断疆众和(日线)MA5:22.40MA10:22.46MA20:22.40MA60:24.78宙部出击:0.00K54.487.87逃顶线抄底线JO.CICI警戒QUO出*:0.00IIIII.MfAGfGU.COM(文档来源:若
6、水财经社区)