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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信量子非线指标副图


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

以下是通达信量子非线指标副图

H1:=REF(HIGH,1);
H2:=REF(HIGH,2);
H3:=REF(HIGH,3);
H4:=REF(HIGH,4);
H5:=REF(HIGH,5);
H6:=REF(HIGH,6);
H7:=REF(HIGH,7);
H8:=REF(HIGH,8);
H9:=REF(HIGH,9);
H10:=REF(HIGH,10);
H11:=REF(HIGH,11);
H12:=REF(HIGH,12);
H13:=REF(HIGH,13);
H14:=REF(HIGH,14);
L1:=REF(LOW,1);
L2:=REF(LOW,2);
L3:=REF(LOW,3);
L4:=REF(LOW,4);
L5:=REF(LOW,5);
L6:=REF(LOW,6);
L7:=REF(LOW,7);
L8:=REF(LOW,8);
D1:=HIGH>H1 AND LOW>=L1 AND CLOSE>REF(CLOSE,1);
D11:=HIGH>H1 AND LOW>=L1 AND CLOSE<=REF(CLOSE,1);
D2:=LOW<L1 AND HIGH<H1;
D3:=HIGH>H1 AND LOW<L1 AND CLOSE>REF(CLOSE,1);
D31:=HIGH>H1 AND LOW<L1 AND CLOSE<=REF(CLOSE,1);
D4:=HIGH<=H1 AND LOW>=L1;
FR1:SUM(IF(D1,HIGH,IF(D11,LOW,IF(D2,-HIGH,IF(D3,HIGH,IF(D31,-HIGH,IF(D4,0,0)))))),0)/1000+CLOSE,LINETHICK1;
UF1:=FR1<REF(FR1,1) AND REF(FR1,1)>=REF(FR1,2);
UF2:=FR1=REF(FR1,1) AND REF(FR1,1)>REF(FR1,2) AND REF(FR1,2)<REF(FR1,3);
UFF:=UF1 OR UF2;
ZQ:=BARSLAST(UFF)+1;
DF:=FR1>REF(FR1,1) AND REF(FR1,1)<=REF(FR1,2);
ZQ1:=BARSLAST(DF)+1;
STICKLINE(UF1,REF(FR1,1),REF(FR1,1),25,1);
STICKLINE(DF,REF(FR1,1),REF(FR1,1),25,1),COLORRED;
DRAWICON(CROSS(FR1-0.001,REF(FR1,ZQ)) AND FR1>REF(FR1,ZQ1),FR1,7);




回复

举报

QQ|

GMT+8, 2024-11-18 00:22

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