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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[指标编写] 通达信逼空主升指标公式源码


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

VAR1:=DYNAINFO(4)=0;
VAR2:=REF(CLOSE,17)<REF(HHV(HIGH,250),18);
VAR3:=REF(CLOSE,18)<REF(HHV(HIGH,250),19);
VAR4:=REF(CLOSE,19)<REF(HHV(HIGH,250),20);
VAR5:=REF(CLOSE,20)<REF(HHV(HIGH,250),21);
VAR6:=CLOSE>=REF(HHV(HIGH,250),1);
VAR7:=VAR6 AND REF(CLOSE,1)<REF(HHV(HIGH,250),2);
VAR8:=VAR7 AND REF(CLOSE,2)<REF(HHV(HIGH,250),3);
VAR9:=VAR8 AND REF(CLOSE,3)<REF(HHV(HIGH,250),4);
VAR10:=VAR9 AND REF(CLOSE,4)<REF(HHV(HIGH,250),5);
VAR11:=VAR10 AND REF(CLOSE,5)<REF(HHV(HIGH,250),6);
VAR12:=VAR11 AND REF(CLOSE,6)<REF(HHV(HIGH,250),7);
VAR13:=VAR12 AND REF(CLOSE,7)<REF(HHV(HIGH,250),8);
VAR14:=VAR13 AND REF(CLOSE,8)<REF(HHV(HIGH,250),9);
VAR15:=VAR14 AND REF(CLOSE,9)<REF(HHV(HIGH,250),10);
VAR16:=VAR15 AND REF(CLOSE,10)<REF(HHV(HIGH,250),11);
VAR17:=VAR16 AND REF(CLOSE,12)<REF(HHV(HIGH,250),13);
VAR18:=VAR17 AND REF(CLOSE,13)<REF(HHV(HIGH,250),14);
VAR28:=VAR18 AND REF(CLOSE,14)<REF(HHV(HIGH,250),15);
VAR26:=VAR28 AND REF(CLOSE,16)<REF(HHV(HIGH,250),17);
主升浪:VAR26 AND VAR2 AND VAR3 AND VAR4 AND VAR5 AND NOT(VAR1),NODRAW;
DRAWTEXT(主升浪,0.95,' 主升'),COLORYELLOW;
STICKLINE(主升浪,0,1,2,0),COLORFFFF00;





回复

举报

QQ|

GMT+8, 2024-11-16 08:04

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