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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 冲破云霄(源码、主图、贴图)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-21 17:19:52
冲破云霄(源码、主图、贴图)介绍

冲破云霄(源码、主图、贴图)

XOPEN:=(REF(Open,1)+REF(Close,1))/2;
XCLOSE:=(HIGH+LOW+CLOSE+OPEN)/4;
XHIGH:=MAX(XOPEN,XCLOSE,high);
XLOW:=MIN(XOPEN,XCLOSE,low);

STICKLINE(Xclose>Xopen,Xclose ,Xopen ,8 ,1 ),colorred;
STICKLINE(Xclose<=Xopen,Xclose ,Xopen ,8 ,0 ),colorffff66;
STICKLINE(Xclose>Xopen,Xhigh ,Xclose ,0.5 ,0 ),colorred;
STICKLINE(Xclose>Xopen,Xopen ,Xlow ,0.5 ,0 ),colorred;
STICKLINE(Xclose<=Xopen,Xopen ,Xhigh ,0.5 ,0 ),colorffff66;
STICKLINE(Xclose<=Xopen,Xclose ,Xlow ,0.5 ,0 ),colorffff66;

蜡烛图

XOPEN:=(REF(Open,1)+REF(Close,1))/2;
XCLOSE:=(HIGH+LOW+CLOSE+OPEN)/4;
XHIGH:=MAX(XOPEN,XCLOSE,high);
XLOW:=MIN(XOPEN,XCLOSE,low);

STICKLINE(Xclose>Xopen,Xclose ,Xopen ,8 ,1 ),colorred;
STICKLINE(Xclose<=Xopen,Xclose ,Xopen ,8 ,0 ),colorffff66;
STICKLINE(Xclose>Xopen,Xhigh ,Xclose ,0.5 ,0 ),colorred;
STICKLINE(Xclose>Xopen,Xopen ,Xlow ,0.5 ,0 ),colorred;
STICKLINE(Xclose<=Xopen,Xopen ,Xhigh ,0.5 ,0 ),colorffff66;
STICKLINE(Xclose<=Xopen,Xclose ,Xlow ,0.5 ,0 ),colorffff66;
 


 




 



gd15050

回复

举报

QQ|

GMT+8, 2024-11-16 11:13

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