資源描述:
《【股票指標(biāo)公式下載】-【通達(dá)信】指標(biāo)之王(趨勢、判斷)》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫。
1、【通達(dá)信】指標(biāo)之王(趨勢、判斷)-指標(biāo)公式源碼趨勢: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)-L
2、LV(CLOSE,9))*100;K:=SMA(RSV,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);轉(zhuǎn)點(diǎn):=1F(K>DANDCCl>0ANDDIFF>DEAANDMACD>0,1,0);STICKLINE(轉(zhuǎn)點(diǎn)二1,50,50,6,0
3、),COLORYELLOW;STICKLINE(轉(zhuǎn)點(diǎn)二0,50,50,6,0),COLORCYAN;頂部:90,COLORYELLOW,POINTDOT;底部:10,COLORYELLOW,POTNTDOT;判斷:SMA(趨勢,3,1),COLORFFOOFF,L1NETH1CK2;IF(趨勢〉判斷,判斷,DRAWNULL),COLORYELLOW,LINETHICK2;IF(趨勢〈判斷,判斷,DRAWNULL),COLORFFFOOO,LINETIIICK2;LC:=REF(CLOSE,1);RSI
4、:二SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;VARI:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;VAR2:=SMA(VAR1,9,1)+100;VAR3:=(CLOSE-LLV(LOW,9))/(IIIIV(HIGH,9)-LLV(LOW,9))*100;VAR4:=SMA(VAR3,3,1);VAR5:=SMA(VAR4,3,1)+100;VAR6:=VAR5-VAR2;趨
5、勢1:IF(VAR6>45,VAR6-45,0),COLORRED;VAR2Q:=REF(L0W,1);VAR3Q:=SMA(ABS(L0W-VAR2Q),3,D/SMA(MAX(L0W-VAR2Q,0),3,1)*100;VAR4Q:=EMA(IF(CL0SE*l.3,VAR3Q*10,VAR3Q/10),3);VAR5Q:=LLV(LOW,30);VAR6Q:=IIIIV(VAR4Q,30);VAR7Q:=IF(MA(CLOSE,58),1,0);VAR8Q:=EMA(TF(L0W<=VAR5Q,
6、(VAR4Q+VAR6Q*2)/2,0),3)/999*VAR7Q;D1:=(C+L+H)/3;D2:二EMA(DI,6);D3:=EMA(D2,5);BBUY:=CR0SS(D2,D3);風(fēng)險(xiǎn)區(qū):80,COLORYELLOW,POTNTDOT;安全區(qū):20,COLORYELLOW,POINTDOT;天線:100,COLORYELLOW,POINTDOT;強(qiáng)弱線:50,COLORGREEN,POINTDOT;VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(C
7、LOSE-REF(C,1)),6,1)*100;STICKLINE(REF(趨勢1,1)<趨勢1,STICKLINE(REF(趨勢1,1)<趨勢1,STICKLINE(REF(趨勢1,1)<趨勢1,STICKLINE(REF(趨勢1,1)<趨勢1,STICKLINE(REF(趨勢1,1)<趨勢1,1,1),1.5,0),COLOROOOOBB;STICKLINE(REF(趨勢1,1)<趨勢1,STICKLINE(REF(趨勢1,1)>趨勢1,STICKLINE(REF(趨勢1,1)>趨勢1,STICK
8、LINE(REF(趨勢1,1)>趨勢1,STICKLINE(REF(趨勢1,1)>趨勢1,STICKLINE(REF(趨勢1,1)>趨勢1,趨勢1,REF(趨勢1,1),5,0),C0L0R000033;趨勢1,REF(趨勢1,1),4,0),C0L0R000055;趨勢1,REF(趨勢1,1),3,0),C0L0R000077;趨勢1,REF(趨勢1,1),2,0),C0L0R000099;趨勢1,RRF(趨勢趨勢1,REF(趨勢1,1),1,0),C