资源描述:
《【股票指标公式下载】-【通达信】顶底趋势(顶部、底部、判断、趋势、主力进场).docx》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【通达信】顶底趋势(顶部.底部.判断.趋势.主力进场)•指标公式源码趋势:SMA(((CLOSE-LLV(LOW,28))/(IIIIV(HIGH,28)-LLV(LOW,28))*100),3,1),COLORGREEN;STTCKLTNE(趋势>50,趋势,50,4,0),C0L0R32329B;STICKLINE(50>趋势,趋势,50,4,0),C0L0R326400;IF(趋势>50,趋势,DRAWNULL),COLORRED;RSV:=(CLOSE-LLV(CLOSE,9))/(IIIIV(CLOSE,9)-LLV(CLOSE,9))*100;K:=SMA(RS
2、V,3,1);D:二SMA(K,3,1);TYP:=(H1GH+L0W+CL0SE)/3;CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);DEA:=EMA(DIFF,6);MACD:二2*(DIFF-DEA);转点:=1F(K>DANDCCl>0ANDDIFF>DEAANDMACD>0,1,0);STICKLINE(转点二1,50,50,6,0),COLORYELLOW;STICKLINE(转点二0,50,50,6,0),COLORCYAN;顶部:90,COLORYE
3、LLOW;底部:10,COLORCYAN;判断:SMA(趋势,3,1),COLORFFOOFF,L1NETH1CK2;IF(趋势〉判断,判断,DRAWNULL),COLORYELLOW,LINETHICK2;IF(趋势〈判断,判断,DRAWNULL),COLORFFFOOO,LINETIIICK2;DRAWICON(CROSS势,判断),判断,1);DRAWTCON(CROSS(趋势,顶部),顶部,2);LC:=REF(CLOSE,1);RSI:二SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;VAR1:=(IIIIV
4、(HIGH,9)-CLOSE)/(IIIIV(HIGH,9)-LLV(LOW,9))*100-70;VAR2:=SMA(VAR1,9,1)+100;VAR3:二(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR4:=SMA(VAR3,3,1);VAR5:二SMA(VAR4,3,1)+100;VAR6:=VAR5-VAR2;s*s^.MFAQGCnos蠶1-IF(VAR6〉45yVAR6—4P0).COLORA6B8C1-VAK2QiKEF(L0w二)-VAR3QisMA(ABS(LOW—VAR2Q)・3・1)、SMA(MA
5、X(LOW—VAR2POTHl)*osVAR4QiEMA(IF(CL0SEi・3》VAR3QipVASQ'IOL3)-VAR5QiLLV(Lows30)-VAR6QiHHV(VAIMP30)-VAR7QiIF(MA(CL0SE,58)910)-VA忍Q-"EMA(if(low〈hvar5p(VAIMQ+VAR6Q*2)0)・3)、999兴VAR7Q-VR2iREF(L0wy1)-VR3-USMA(abs(L0W—VR2L3》1)、SMA(MAX(LOW—VRNOL3》1)沃loo-VR4-UEMA(IF(CLOSE*•3-VR3*PVR3、一0)-3)-VK5-ULLV(L
6、ow》30)-VR6iHHV(VRP30)-VR7LIF(MA(CLOSE》58)710)-V忍-hema(if(low〈hvrh(VR4+VR6沃2)OL3)、61眾VR7-VR9iTF(VR8〉10p10PVR8)-卄出S^-ST1CKL1NH(VK9〉—15OO」VK9》3OL》COLO臣FOOFF-鬣-IF(VR9〈REF(VE1)"VR9・0)・COLORGREEMNODRAW-STICKLINE(VR9〈REF(VR*1LPVR*3」O)OOLORGREE严®歸卑辿FSTICKLINE(REF(、、KDJ・J、「l)〈0AND、、KDJ・J、、〉p6P25"N0
7、)》COLORYELLOW-VARK1-"CLOSE—LLV(Low》27))_(HHV(HIGH》27)—LLV(Low」27))*100」VARK2iREVERSE(VARKl)-VARK3isMA(VARK=3」1)-篠曰匚8SS002—ST)-STICKLINE(僕目僕目2PHOLC0L0RFF5500-STICKLINE(篠同篠同3P3"0)》C0L0RFF8800-STICKLINE(s.s.3PN0LCOLORFFAAOO-STICKLINE(fi.s.3P1-OLCOLORFFCCOO-Dli(c+