资源描述:
《【股票指标公式】-【通达信】阶段底部出击(阶段底部、趋势线、探底)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
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);D
2、MM:=SUM(IF(((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+NEW
3、VOL);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:=LLV(LOW,9);HIGHV:二HHV(HIGH,9);RSV:=EMA((CLOSE-LOWV)/(H1GHV-L0WV)
4、*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;中轴线:30,COLORRED;抄底线:10,COLORGREEN;DRAWTCON(CROSS(K,D),12,DCOLORRED;DRAWICON(CROSS(D,K),88,2)COLORGREEN;阶段底部警戒:阶段底部<0,LINETHICKO,COLORYELLOW;阶段
5、底部出击:CROSS(阶段底部,0),LINETHICKO,COLORRED;K2:=EMA(C,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)ANDK36、COLORYELLOW;K21:二IF(K8>REF(K8,7)ANDK3[REF(K8,9)ANDK3][REF(K&11)ANDK3][REF(K8,1),5,0,8,0),COLORYELLOW;VI:二EMA(CLOSE,5)-EMA(CLOSE,340);V2:=E]
7、MA(V1,144);V3:(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,COLORGREEN;卖出:-l*IF((CR0SS(98・5,V3)ANDV1>V2)ANDCOUNT(V3>97,3)二2,20,0)+90,C0L0RFF9900;每周10%买入:TF(CR0SS(V3,5)ANDVKV2,20,0)+10,COLORGREEN;DRAWTEXT(CROSS(V3,5)ANDV18、/(SMA(ABS(CLOSE-LC)