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

            通達信簡單MACD指標公式

            基本概況:
            • 指標類別: 通達信指標
            • 授權(quán)方式: 免費版
            • 指標評級: ★★★★★
            • 指標語言: 簡體中文
            • 指標來源: 互聯(lián)網(wǎng)
            • 指標日期: 2017-08-22 00:00:00
            內(nèi)容介紹:
            通達信簡單MACD指標公式:
            DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
            DEA:EMA(DIF,9);
            MACD:(DIF-DEA)*2,COLORSTICK;
            B1:=MA(C,1);
            B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1);
            SMA2:=MA(B2,3);
            三槍買入:=IF(LLV(MA(B2,8),3)<B2,LLV(MA(B2,8),3),B2);
            {IF(B2>SMA2,B2,DRAWNULL),COLORRED,LINETHICK4;
            IF(B2<SMA2,B2,DRAWNULL),COLORGREEN,LINETHICK4;}
            三槍賣出:=HHV(MA(B2,1),13),COLORYELLOW;
            VAR1:=(2*CLOSE+HIGH+LOW)/4;
            VAR2:=MA(VAR1,7);
            VAR3:=VAR2-MA(VAR1,7/2)<0;
            VAR4:=VAR2-MA(VAR1,7/2)>0;
            VAR5:=BARSLAST(VAR3);
            VAR6:=0-BARSLAST(VAR4);
            VAR7:=IF(VAR3<=0,VAR5,VAR6);
            {STICKLINE(三槍賣出>B2 AND B2>SMA2,三槍賣出,B2,0,1),COLORLIBLUE;
            STICKLINE(三槍賣出>SMA2 AND B2<SMA2,三槍賣出,SMA2,0,1),COLORBLUE;}
            VAR11:=(CLOSE*2+HIGH+LOW)/4;
            VAR21:=EMA(VAR11,13)-EMA(VAR11,34);
            VAR31:=EMA(VAR21,5);
            {STICKLINE((C>=O),OPEN,LOW,0,0),COLOR0726CA;
            STICKLINE((C>=O),CLOSE,HIGH,0,0),COLOR0726CA;
            STICKLINE((C<O),CLOSE,LOW,0,0),COLORDE9100;
            STICKLINE((C<O),OPEN,HIGH,0,0),COLORDE9100;
            STICKLINE((C<O),CLOSE,OPEN,4,0),COLORFF5B00;
            STICKLINE((C<O),CLOSE,OPEN,3.4,0),COLORFF6C00;
            STICKLINE((C<O),CLOSE,OPEN,2.8,0),COLORFF7B00;
            STICKLINE((C<O),CLOSE,OPEN,2.2,0),COLORFF9C00;
            STICKLINE((C<O),CLOSE,OPEN,1.6,0),COLORFFBE00;
            STICKLINE((C<O),CLOSE,OPEN,1,0),COLORFFCC00;
            STICKLINE((C<O),CLOSE,OPEN,0.3,0),COLORFFFF00;
            STICKLINE((C>O),CLOSE,OPEN,4,0),COLOR070084;
            STICKLINE((C>O),CLOSE,OPEN,3.4,0),COLOR0000A3;
            STICKLINE((C>O),CLOSE,OPEN,2.8,0),COLOR0000B7;
            STICKLINE((C>O),CLOSE,OPEN,2.2,0),COLOR0000CD;
            STICKLINE((C>O),CLOSE,OPEN,1.6,0),COLOR0000E9;
            STICKLINE((C>O),CLOSE,OPEN,1,0),COLOR0754E9;
            STICKLINE((C>O),CLOSE,OPEN,0.5,0),COLOR076EF3;
            STICKLINE((C>O),CLOSE,OPEN,0.2,0),COLOR077BF3;}
            VAR2A:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));
            VAR3A:=((REF(VAR2A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
            VAR4A:=((REF(VAR3A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
            VAR5A:=((REF(VAR4A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
            VAR6A:=((REF(VAR5A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
            VAR7A:=((REF(VAR6A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
            VAR8A:=((REF(VAR7A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
            VAR9A:=((REF(VAR8A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
            VARAA:=((REF(VAR9A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
            VARBA:=((REF(VARAA,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
            VARCA:=((REF(VARBA,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
            VARDA:=((REF(VARCA,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
            VAREAA:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2)));
            VARFA:=((REF(VAREAA,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
            VAR10A:=((REF(VARFA,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
            VAR11A:=((REF(VAR10A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
            VAR12A:=((REF(VAR11A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
            VAR13A:=((REF(VAR12A,1) AND (CLOSE >= REF(CLOS
            相關(guān)閱讀信息
            關(guān)于我們 | 商務合作 | 聯(lián)系投稿 | 聯(lián)系刪稿 | 合作伙伴 | 法律聲明 | 網(wǎng)站地圖
            无码专区一va亚洲天堂,久久综合无码人妻,日本一本之道之视频在线不卡,97久久精品视频,久久人人妻人人做人人爱,人妻少妇久久精品无码视频,少妇无码av无码专区线yy,鲁丝片av无码中文字幕