公式指标平台 股票指标公式源码分享 登录 注册
公式指标平台
未来函数检测
首 页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 操盘手公式 东财通公式 飞狐公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式指标平台 > 同花顺公式 > 正文 → 正文

同花顺KDJ三合一公式

发布时间:2015/11/17 6:19:04  浏览次数:

同花顺KDJ三合一公式

源码

RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;

RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;

J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3);

J1:=IF(CLOSE>QJ,VOL,0);

J2:=IF(CLOSE<QJ,VOL,0);

量能:IF(CAPITAL<1,MA(VOL,74),MA(SUM(J1-J2,22),3)),COLOR00DDDD,NODRAW;

趋势:IF(CAPITAL<1,EMA(量能,360),EMA(量能,21)),COLOR008800,NODRAW;

VAR3:=(量能-趋势);

VAR44:=SMA(RV,3,1);

VAR55:=SMA(VAR44,3,1);

STICKLINE(VAR3>0,20,10,5,1),COLOR0000FF;

STICKLINE(VAR3<0,100,90,10,1),COLOR00FF00;

DRAWICON(CROSS(VAR44,VAR55) AND VAR55<30,2,1);

DRAWICON(CROSS(VAR55,VAR44) AND VAR55>30,97,2);

DRAWBAND(VAR55,RGB(0,22,224),VAR44,RGB(255,50,50));

KK:EMA(SMA(RG,3,1),2),COLORFFFFFF;DD:SMA(KK,3,1),COLOR00FFFF;

DRAWTEXT(CROSS(VAR44,VAR55) AND CROSS(KK,DD),10,'共振'),COLOR00FFFF;

共振点:=(CROSS(VAR44,VAR55) AND CROSS(KK,DD));

STICKLINE(共振点>0,0,100,2,0),COLOR008888;

STICKLINE(共振点>0,0,100,1.5,0),COLOR00AAAA;

STICKLINE(共振点>0,0,100,0.8,0),COLOR00DDDD;

STICKLINE(共振点>0,0,100,0.3,0),COLOR00FFFF;

VAR1:=1;

VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);

低金叉进:20,COLORFF00FF,LINETHICK2;

高死叉出:90,colorblue,LINETHICK2;

VAR4:=LLV(LOW,5);

VAR5:=HHV(HIGH,4);

C1:=(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1),COLORFF00FF,LINETHICK2;

C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1),COLORFFFFFF,LINETHICK2;

条件:=CROSS(C1,C2) AND C1<40;

条件0:=CROSS(C2,C1) AND C1>90;

TJ1:=CROSS(C1,C2);

TJ2:=CROSS(C2,C1);

TJ3:=CROSS(C1,C2) AND REF(C1,1)<20;

TJ4:=CROSS(C2,C1) AND REF(C1,1)>80;

DRAWTEXT(FILTER((REF(条件,1) AND (REF(LOW,1)>LOW OR TJ2))

OR (REF(条件,2) AND (REF(LOW,2)>LLV(LOW,3) OR TJ2))

OR (REF(条件,3) AND (REF(LOW,3)>LLV(LOW,4) OR TJ2)),4),70,'止'),colorred;

{DRAWTEXT(FILTER((REF(条件,1) AND (REF(LOW,1)>LOW OR TJ2))

OR (REF(条件,2) AND (REF(LOW,2)>LLV(LOW,3) OR TJ2))

OR (REF(条件,3) AND (REF(LOW,3)>LLV(LOW,4) OR TJ2)),4),60,'跌'),colorred;}

DRAWTEXT(FILTER((REF(条件,1) AND (REF(LOW,1)>LOW OR TJ2)) OR

(REF(条件,2) AND (REF(LOW,2)>LLV(LOW,3) OR TJ2))

OR (REF(条件,3) AND (REF(LOW,3)>LLV(LOW,4) OR TJ2)),4),65,'买'),colorred;

DRAWTEXT(条件,20,'买'),colorred;

STICKLINE(条件,0,20,2,0),colorred;

DRAWTEXT(条件0,85,'卖'),colorblue;

DRAWTEXT(CROSS(C1,75),70,'险区'),colorgreen;

DRAWTEXT(TJ3,65,'安'),colorred;

DRAWTEXT(TJ3,60,'买'),colorred;

DRAWTEXT(TJ4,85,'逃顶'),colorblue;

STICKLINE(TJ4,100,80,2,0),colorgreen;

VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;

VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;

VAR400:=EMA(VAR300,5);

操盘:=3*VAR300-2*VAR400;

A1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;

STICKLINE(A1,30,0,4,0),COLOR770077;

STICKLINE(A1,30,0,3,0),COLOR990099;

STICKLINE(A1,30,0,2,0),COLORBB00BB;

STICKLINE(A1,30,0,1,0),COLORDD00DD;

STICKLINE(A1,30,0,0.3,0),COLORFF00FF;

DRAWTEXT(A1,36,'财神到'),colorred;

★遵守纪律★:100,colorred,NODRAW;

★交易之魂★:100,colorred,NODRAW;
 

同花顺KDJ三合一公式

 

资源下载链接   资源大小:7KB
精品资源推荐

手机移动版 - 关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - TOP
湘ICP备09016573号 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZB.COM ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识