资源描述:
《【股票指标公式下载】-【通达信】阶段底部(趋势线、逃顶线、阶段底部警戒)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
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(HD>LD)),HD,0),10);DMM:=SUM(IF((
2、(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(LOW,10)));NEWV0L:=(RSI5-WR10);阶段底部:=(AV+NEWVOL);STTCKLTNE((阶段底部<0),0
3、,-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:=LLV(LOW,9);HIGHV:二HHV(HIGH,9);RSV:=EMA((CLOSE-LOWV)/(H1GHV-L0WV)*100,3);K:EMA(RSV,3);D:MA(K,3);STICKLI
4、NE(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),12,DCOLORRED;DRAWICON(CROSS(D,K),88,2)COLORGREEN;阶段底部警戒:阶段底部<0,LINETHICKO,COLORYELLOW;阶段底部出击:CROSS(阶段底部,0),LINETHICKO,COLORRED;K2:=EMA(C,5)
5、,COLORFFFFOO;K3:二EMA(C,10),COLORFFFFOO;K5:=EMA(C,30),COLORFFFFOO;KK5:二EMA(1NDEXC,30),COLORFFFFOO;K6:二2*(K2-K5);K7:二2*(K2-K3);K8:二2*(K7+K6),COLORRED;STICKLINE(CROSS(K8,0),0,10.10,8,0),COLORRED;K1:=IF(K8>REF(K8,5)ANDK3[REF(K8,7)ANDK3]6、;K31:=IF(K8>REF(K8,9)ANDK3[REF(K&11)ANDK3][REF(K8,1),5,0,8,0),COLORYELLOW;VAR1:二(EMA(CLOSE,12)-EMA(CLOSE,26))*100+50;VAR2:=EMA(VAR1,9);VAR3:二(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))]
7、*100-10;VAR4:=(CLOSE-LLV(LOW,21))/(IIIIV(HIGH,21)-LLV(LOW,21))*100;VAR5:=SMA(VAR4,13,8);光阴:CETIJNG(SMA(VAR5,13,8));VAR6:=SMA(VAR3,21,8);各自睡觉(竖):IF(L0NGCR0SS(VAR2,VARl*0.95,7)ANDVARl>60,100,60),COLOROOFFOO,STICK,LINETIIICK2;6