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

            同花順KDJ趨勢指標(biāo)公式

            基本概況:
            • 指標(biāo)類別: 同花順指標(biāo)
            • 授權(quán)方式: 免費版
            • 指標(biāo)評級: ★★★★★
            • 指標(biāo)語言: 簡體中文
            • 指標(biāo)來源: 互聯(lián)網(wǎng)
            • 指標(biāo)日期: 2017-07-14 00:00:00
            內(nèi)容介紹:
            同花順KDJ趨勢指標(biāo)公式:N:=9;
            M1:=3;
            M2:=3;
            RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
            K:SMA(RSV,M1,1);
            D:SMA(K,M2,1);
            J:3*K-2*D;
            DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
            DEA:=EMA(DIFF,9);
            A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
            B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)
            A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));
            B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));
            A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));
            B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
            DRAWICON(B1>0,L-0.20,5);
            DRAWTEXT(B1,L-0.30,'MACD底背'),colorwhite;
            DRAWICON(B2>0,L-0.20,4);
            DRAWTEXT(B2,L-0.30,'KDJ底背'),COLORFF00FF;
            DRAWICON(B3>0,L-0.20,3);
            DRAWTEXT(B3,L-0.30,'RSI底背'),coloryellow;
            DRAWICON(CROSS(DIFF,DEA) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),L-0.20,6);
            DRAWTEXT(CROSS(DIFF,DEA) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),L-0.30,'金叉共振'),COLOR0099FF;
            A1:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,3)+EMA((OPEN+HIGH+LOW+CLOSE)/4,6)+EMA((OPEN+HIGH+LOW+CLOSE)/4,9))/3;
            A2:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,5)+EMA((OPEN+HIGH+LOW+CLOSE)/4,10)+EMA((OPEN+HIGH+LOW+CLOSE)/4,20))/3;
            A3:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,7)+EMA((OPEN+HIGH+LOW+CLOSE)/4,14)+EMA((OPEN+HIGH+LOW+CLOSE)/4,28))/3;
            A4:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,9)+EMA((OPEN+HIGH+LOW+CLOSE)/4,18)+EMA((OPEN+HIGH+LOW+CLOSE)/4,36))/3;
            A5:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,11)+EMA((OPEN+HIGH+LOW+CLOSE)/4,22)+EMA((OPEN+HIGH+LOW+CLOSE)/4,44))/3;
            A6:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,13)+EMA((OPEN+HIGH+LOW+CLOSE)/4,26)+EMA((OPEN+HIGH+LOW+CLOSE)/4,52))/3;
            A7:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,21)+EMA((OPEN+HIGH+LOW+CLOSE)/4,34)+EMA((OPEN+HIGH+LOW+CLOSE)/4,68))/3;
            VAR1:=FORCAST(A1,6);
            VAR2:=FORCAST(A2,6);
            VAR3:=FORCAST(A3,6);
            VAR4:=FORCAST(A4,6);
            VAR5:=FORCAST(A5,6);
            VAR6:=FORCAST(A6,6);
            VAR7:=FORCAST(A7,6);
            IF(VAR1>REF(VAR1,1),VAR1,DRAWNULL),POINTDOT,COLORFF00FF;
            IF(VAR1
            IF(VAR2>REF(VAR2,1),VAR2,DRAWNULL),POINTDOT,COLORFF00FF;
            IF(VAR2
            IF(VAR3>REF(VAR3,1),VAR3,DRAWNULL),POINTDOT,COLORFF00FF;
            IF(VAR3
            IF(VAR4>REF(VAR4,1),VAR4,DRAWNULL),POINTDOT,COLORFF00FF;
            IF(VAR4
            IF(VAR5>REF(VAR5,1),VAR5,DRAWNULL),POINTDOT,COLORFF00FF;
            IF(VAR5
            IF(VAR6>REF(VAR6,1),VAR6,DRAWNULL),POINTDOT,COLORFF00FF;
            IF(VAR6
            IF(VAR7>REF(VAR7,1),VAR7,DRAWNULL),LINETHICK2,COLORFF00FF;
            IF(VAR
            相關(guān)閱讀信息
            无码专区一va亚洲天堂,久久综合无码人妻,日本一本之道之视频在线不卡,97久久精品视频,久久人人妻人人做人人爱,人妻少妇久久精品无码视频,少妇无码av无码专区线yy,鲁丝片av无码中文字幕