股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 双底线KDJ线双重出击更准确!


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2023-10-17 20:03:29

rsv1:=100*(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27));
K1:=REF(MA(rsv1,3),1)+(rsv1-REF(MA(rsv1,3),1))/3;
d1:=REF(MA(K1,3),1)+(K1-REF(MA(K1,3),1))/3;
J1:=3*K1-2*D1;
AA1:=EMA(J1,5);
AA2:=REF(AA1,1);
J27:AA1,linethick2,PRECIS0;
RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K2:=REF(MA(rsv2,3),1)+(rsv2-REF(MA(rsv2,3),1))/3;
d2:=REF(MA(K2,3),1)+(K2-REF(MA(K2,3),1))/3;
J2:=3*K2-2*D2;
BB1:=EMA(J2,5);
BB2:=REF(BB1,1);
J9:BB1,linethick2,colorgreen;
DD:=AA1>AA2 AND BB1>BB2;
注意买入:DD AND NOT(REF(DD,1)) AND (AA1<50 OR BB1<50) ,LINETHICK0,PRECIS0,colorred;
DRAWICON(注意买入,-5,4),ALIGN0;
注意卖出:REF(DD,1)=1 AND NOT(DD),LINETHICK0,PRECIS0,colorgreen;
DRAWTEXT(注意卖出,105,'S'),ALIGN1,colorgreen;
var1:=j27>REF(j27,1);
var2:=j9>REF(j9,1);
xg:=var1>0 AND var2>0 AND (REF(var1,1)=0 OR REF(j9,1)=0) AND j9<35 AND j27<35;
底部共振:10*xg,linethick2,PRECIS0;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:SMA(RSV,3,1),COLORFFFFFF;
D:SMA(K,3,1),COLOR00FFFF;
J:3*K-2*D,COLORFF00FF;
买入: IF(CROSS(J,2),10,5),LINETHICK2,colorred;
J值100卖出:IF(CROSS(100,J),90,100);
S:=IF(CROSS(D,K),1,0);
回踩买进:IF(CROSS(K,D) AND REF(S,3)=1,20,10);





回复

举报

QQ|

GMT+8, 2024-11-16 14:07

快速回复 返回顶部 返回列表