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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[同花顺] 同花顺钱龙凤凰线和谐版副图指标 源码


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-29 11:56:48
同花顺钱龙凤凰线和谐版副图指标 源码介绍

同花顺钱龙凤凰线和谐版副图指标 源码

1,用法参见QL凤凰线,
2,经和谐,确认该指标无未来函数,可放心使用,
3,本和谐不会对原指标上传者带来负面影响,因为股民见了BS点就怕有未来函数,特此解释。


N:=1;
xopen:=(REF(O,N)+REF(C,N))/2;
xclose:=CLOSE;
xhigh:=MAX(HIGH,xopen);
xlow:=MIN(LOW,xopen);
volality:=MA(xhigh-xlow,8);
凰线:MA(xclose,5)+volality/2;
凤线:MA(xclose,5)-volality/2;
bu:=CROSS(xclose,凰线);
sel:=CROSS(凤线,xclose);
var1:=BARSLAST(bu);
var2:=BARSLAST(sel);
DRAWICON(REF(var1,1)>var2 AND var1=0,凤线*0.99,1),align1,valign0;
DRAWICON(REF(var2,1)>var1 AND var2=0,凰线*1.01,2),align1,valign2;
STICKLINE(xclose>xopen AND var1<var2,xclose,xopen ,8,0 ),colorred;
STICKLINE(xclose>xopen AND var1<var2,xhigh,xclose ,0.5,0 ),colorred;
STICKLINE(xclose>xopen AND var1<var2,xopen,xlow ,0.5,0 ),colorred;
STICKLINE(xclose<=xopen AND var1<var2,xclose,xopen ,8,0 ),coloryellow;
STICKLINE(xclose<=xopen AND var1<var2,xhigh,xopen ,0.5,0 ),coloryellow;
STICKLINE(xclose<=xopen AND var1<var2,xclose,xlow ,0.5,0 ),coloryellow;
STICKLINE(xclose<=xopen AND var1>var2,xclose ,xopen ,8,0 ),colorgreen;
STICKLINE(xclose<=xopen AND var1>var2,xopen ,xhigh ,0.5,0 ),colorgreen;
STICKLINE(xclose<=xopen AND var1>var2,xclose,xlow ,0.5,0 ),colorgreen;
STICKLINE(xclose>xopen AND var1>var2,xclose ,xopen ,8,0 ),colorblue;
STICKLINE(xclose>xopen AND var1>var2,xclose,xhigh ,0.5,0 ),colorblue;
STICKLINE(xclose>xopen AND var1>var2,xopen,xlow ,0.5,0 ),colorblue;






gd47990

回复

举报

QQ|

GMT+8, 2024-11-18 23:37

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