当前位置:首页 > 公式 > 同花顺公式 >
同花顺冷暖KDJ指标公式
来源:互联网浏览次数: 整理:股票入门学习大学网

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;

D: EMA(0.667*REF(K,1)+0.333*K,2),colorgreen,LINETHICK1;

TT:=(2*CLOSE+OPEN+HIGH+LOW);

主导动能:TT/EMA(TT,4)-1,COLORSTICK;

FF:=主导动能;

STICKLINE(FF,0,FF,3.2,0),COLOR33CFDD;

STICKLINE(FF,0,FF,2.8,0),COLOR33DFDD;

STICKLINE(FF,0,FF,2,0),COLOR33EFDD;

STICKLINE(FF,0,FF,1,0),COLOR33FFDD;

STICKLINE(FF<0,0,FF,3.2,0),COLOR00CC00;

STICKLINE(FF<0,0,FF,2.8,0),COLOR00DD00;

STICKLINE(FF<0,0,FF,2,0),COLOR00EE00;

STICKLINE(FF<0,0,FF,1,0),COLOR00FF00;

STICKLINE(FF>REF(FF,1)AND FF<0,0,FF,3.2,0),COLORFF9900;

STICKLINE(FF>REF(FF,1)AND FF<0,0,FF,2.8,0),COLORFFAA00;

STICKLINE(FF>REF(FF,1)AND FF<0,0,FF,2,0),COLORFFBB00;

STICKLINE(FF>REF(FF,1)AND FF<0,0,FF,1,0),COLORFFCC00;

STICKLINE(FF>REF(FF,1)AND FF>0,0,FF,3.2,0),COLOR0000CC;

STICKLINE(FF>REF(FF,1)AND FF>0,0,FF,2.8,0),COLOR0000DD;

STICKLINE(FF>REF(FF,1)AND FF>0,0,FF,2,0),COLOR0000EE;

STICKLINE(FF>REF(FF,1)AND FF>0,0,FF,1,0),COLOR0000FF;

A:=EMA(C,14),colorwhite,LINETHICK1;

B:=(A-REF(A,1))/REF(A,1)*100,NODRAW;

支撑:IF(B>=0,REF(EMA(C,14),BARSLAST(CROSS(B,0))+1),DRAWNULL),colorred,LINETHICK2;

阻力:IF(B<0,REF(EMA(C,14),BARSLAST(CROSS(0,B))+1),DRAWNULL),colorgreen,LINETHICK2;

MA3:MA(C,2);

MA5:MA(C,5);

DRAWGBK(C<MA(C,9),STRIP(RGB(0,100,0),RGB(0,100,0),1));

DRAWGBK(C>MA(C,9)AND C/MA(C,9)<1.10,STRIP(RGB(100,0,0),RGB(100,0,0),1));

DRAWGBK(C/MA(C,9)>1.1,STRIP(RGB(120,0,120),RGB(120,0,120),1));

趋势线:MA(CLOSE,13),colorred,LINETHICK2;

涨:IF(短趋势线>REF(短趋势线,1),短趋势线,DRAWNULL),colorred,LINETHICK2;

平:=IF(短趋势线=REF(短趋势线,1),短趋势线,DRAWNULL),COLOR00FFFF,LINETHICK2;

跌:IF(短趋势线<REF(短趋势线,1),短趋势线,DRAWNULL),COLOR80FF00,LINETHICK2;

同花顺冷暖KDJ指标公式

股票公式结合软件的应用属于进阶阶段的股票学了,我们整理网上提出的同花顺冷暖KDJ指标公式的问题一些解决方案仅供辅助你学习同花顺公式参考,具体内容可能需要具体解决或者找网上其他高手帮忙,也感谢文字和图片来源于股旁网的一些资源分享,帮助新手快速学习提高炒股技能。

声明:同花顺冷暖KDJ指标公式的文字和图片来源于网络,版权归原作者所有,仅代表个人观点,于本站无关。

随便说说

评论精选

    还没有相关评论,快来抢沙发吧!