設正點財經為首頁     加入收藏
            首 頁 財經新聞 主力數據 財經視頻 研究報告 證券軟件 指標公式 股市學院 龍虎榜
            軟件搜索: 熱詞:大智慧 通達信 飛狐軟件 分析家 指南針 同花順 華爾街大師 券商行情
            字母檢索:
            你的位置: > 正點財經 > 證券軟件 > 指標公式 > 正文

            通達信改良決策曲線指標公式

            基本概況:
            • 指標類別: 通達信指標
            • 授權方式: 免費版
            • 指標評級: ★★★★★
            • 指標語言: 簡體中文
            • 指標來源: 互聯網
            • 指標日期: 2017-07-27 00:00:00
            內容介紹:
            通達信改良決策曲線指標公式:
            MA1:=MA(CLOSE,5);
            MA2:=MA(CLOSE,10);
            P01:=IF(MA1>MA2,1,IF(MA2>MA1,-1,0));
            MA3:=MA(CLOSE,3);
            MA4:=MA(CLOSE,5);
            P02:=IF(MA3>MA4,1,IF(MA4>MA3,-1,0));
            MA5:=MA(CLOSE,12);
            MA6:=MA(CLOSE,50);
            P03:=IF(MA5>MA6,1,IF(MA6>MA5,-1,0));
            {KDJ}
            RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
            K:=EMA(RSV,3);
            D:=EMA(K,3);
            P04:=IF(K>D,1,IF(D>K,-1,0));
            {MACD}
            DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
            DEA:=EMA(DIF,9);
            MACD:=(DIF-DEA)*2;
            P05:=IF(DIF>DEA,1,IF(DEA>DIF,-1,0));
            {TRIX}
            TR2:=EMA(EMA(EMA(CLOSE,12),12),12);
            TRIX:=(TR-REF(TR,1))/REF(TR,1)*100;
            MATRIX:=MA(TRIX,9) ;
            P06:=IF(TRIX>MATRIX,1,IF(MATRIX>TRIX,-1,0));
            {DMI}
            TR1:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),7);
            HD :=HIGH-REF(HIGH,1);
            LD :=REF(LOW,1)-LOW;
            DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),7);
            DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),7);
            PDI:= DMP*100/TR;
            MDI:= DMM*100/TR;
            ADX:= EMA(ABS(MDI-PDI)/(MDI+PDI)*100,7);
            ADXR:=EMA(ADX,7);
            P07:=IF(PDI>MDI AND ADX>PDI AND ADX>50,3,
            IF(PDI<MDI AND ADX>MDI AND ADX>50,-3,0));{9}
            {RSI}
            LC:=REF(CLOSE,1);
            RSI1:=EMA(MAX(CLOSE-LC,0),5)/EMA(ABS(CLOSE-LC),5)*100;{10}
            P08:=IF(RSI1>80,1,IF(RSI1<20,-1,0));{10}
            {CCI}
            TYP:=(HIGH+LOW+CLOSE)/3;
            CCI:=(TYP-MA(TYP,8))/(0.015*AVEDEV(TYP,8));
            P09:=IF(CCI>180,2,IF(CCI<-180,-2,0));{12}
            {W%R}
            WR1:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
            P10:= IF(WR1>80,1,IF(WR1<20,-1,0));{13}
            {OSC}
            OSC:=100*(CLOSE-MA(CLOSE,20));
            P11:=IF(OSC>0,1,IF(OSC<0,-1,0));{14}
            {MTM}
            MOM:=CLOSE-REF(CLOSE,7);
            P12:=IF(MOM>0,1,IF(MOM<0,-1,0));{15}
            {DPO}
            DPO:=CLOSE-REF(MA(CLOSE,11),11/2+1);
            P13:=IF(DPO>0,1,IF(DPO<0,-1,0));{16}
            {布林線}
            MB:=MA(CLOSE,12);
            R:=(CLOSE-MB)*(CLOSE-MB);
            X1:=MA(R,12);
            X2:=SQRT(X1);
            D1:=1;
            UPPER:=MB+(D1*X2);
            LOWER:=MB-(D1*X2);
            P14:=IF(CLOSE>UPPER,2,IF(CLOSE<LOWER,-2,0));{18}
            {BRAR}
            BR:=SUM(MAX(0,HIGH-REF(CLOSE,1)),14)/SUM(MAX(0,REF(CLOSE,1)-LOW),14)*100;
            AR:=SUM(HIGH-OPEN,14)/SUM(OPEN-LOW,14)*100;
            P15:=IF(BR>350 OR AR>180,3,IF(BR<45 OR AR<45,-3,0));{21}
            {VR}
            TH:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),14);
            TL:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),14);
            TQ:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),14);
            VR:=0100*(TH*2+TQ)/(TL*2+TQ);
            P16:=IF(VR>350,3,IF(VR<45,-3,0));{24}
            {WVAD}
            WVAD:=SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,6)/10000;
            P17:=IF(WVAD>0,1,IF(WVAD<0,-1,0));{25}
            {EMV}
            VOLUME:=MA(VOL,4)/VOL;
            MID:=100*(HIGH+LOW-REF(HIGH+LOW,1))/(HIGH+LOW);
            EMV:=MA(MID*VOLUME*(HIGH-LOW)/MA(HIGH-LOW,4),4);
            P18:=IF(EMV>0,1,IF(EMV<0,-1,0));{26}
            {OBV}
            VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
            OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
            MAOBV:=EMA(OBV,24);
            P19:=IF(OBV>MAOBV,1,IF(OBV<MAOBV,-1,0));{27}
            {PVI}
            PVI:= PVI,COLORWHITE;
            MPVI:=EM
            相關閱讀信息
            關于我們 | 商務合作 | 聯系投稿 | 聯系刪稿 | 合作伙伴 | 法律聲明 | 網站地圖
            无码专区一va亚洲天堂,久久综合无码人妻,日本一本之道之视频在线不卡,97久久精品视频,久久人人妻人人做人人爱,人妻少妇久久精品无码视频,少妇无码av无码专区线yy,鲁丝片av无码中文字幕