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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信风云际会主图指标公式源码


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

X_1:=(CLOSE*2+HIGH+LOW)/4;
X_2:=MA(3*X_1-2*SMA(X_1,2,1),12);
反转:SAR(125,1,7),COLORGREEN;
STICKLINE(CLOSE<反转,反转,X_2,1,0),COLORGRAY;
STICKLINE(CLOSE>反转,反转,X_2,0,0),COLORYELLOW;
STICKLINE(CLOSE>反转,反转,X_2,0.2,0),COLOR008888;
STICKLINE(CLOSE>反转,反转,X_2,0.4,1),COLOR00BFBF;
STICKLINE(CLOSE>反转,反转,X_2,0.6,0),COLOR00DBDB;
STICKLINE(CLOSE>反转,反转,X_2,1,0),COLOR00F0F0;
X_3:=HHV(HIGH,6);
X_4:=HHV(HIGH,9);
X_5:=HHV(HIGH,17);
X_6:=HHV(HIGH,34);
X_7:=HHV(HIGH,68);
X_8:=HHV(HIGH,125);
X_9:=HHV(HIGH,250);
X_10:=LLV(LOW,6);
X_11:=LLV(LOW,9);
X_12:=LLV(LOW,17);
X_13:=LLV(LOW,34);
X_14:=LLV(LOW,68);
X_15:=LLV(LOW,125);
X_16:=LLV(LOW,250);
DRAWBAND(X_3,RGB(80,0,80),X_4,RGB(88,8,240));
DRAWBAND(X_4,RGB(80,30,80),X_5,RGB(88,38,240));
DRAWBAND(X_5,RGB(80,60,80),X_6,RGB(88,68,240));
DRAWBAND(X_6,RGB(80,90,80),X_7,RGB(88,98,240));
DRAWBAND(X_7,RGB(80,120,80),X_8,RGB(88,128,240));
DRAWBAND(X_8,RGB(80,150,80),X_9,RGB(88,158,240));
DRAWBAND(X_15,RGB(188,38,45),X_16,RGB(188,38,45));
DRAWBAND(X_14,RGB(150,10,20),X_15,RGB(150,10,20));
DRAWBAND(X_13,RGB(100,5,15),X_14,RGB(100,5,15));
DRAWBAND(X_12,RGB(188,58,65),X_13,RGB(188,58,65));
DRAWBAND(X_11,RGB(188,48,55),X_12,RGB(188,48,55));
DRAWBAND(X_10,RGB(200,15,100),X_11,RGB(200,15,100));





回复

举报

QQ|

GMT+8, 2024-11-15 15:03

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