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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信一招制敌指标公式源码


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

VAR1:=(HIGH-MAX(CLOSE,OPEN))/(MIN(CLOSE,OPEN)-LOW)>=3;
VAR2:=HIGH/LOW>=1.03;
VAR3:=MAX(CLOSE,OPEN)/MIN(CLOSE,OPEN)<=1.03;
VAR4:=VAR1 AND VAR2 AND VAR3;
VAR5:=OPEN<REF(HIGH,1);
VAR6:=MAX(CLOSE,OPEN)/MIN(CLOSE,OPEN)>=1.03;
VAR7:=(CLOSE-REF(CLOSE,1))/REF(HIGH-MAX(CLOSE,OPEN),1)>=0.7;
VAR8:=VAR5 AND VAR6 AND VAR7;
VAR9:=VAR8 AND REF(VAR4,1);
STICKLINE(VAR9,0,1,0.3,0),COLOR000099;
STICKLINE(VAR9,0,1,0.2,0),COLOR0000CC;
STICKLINE(VAR9,0,1,0.1,0),COLOR0000FF;
STICKLINE(VAR9,0,1,0,0),COLORCC66FF;
DRAWTEXT(VAR9,0.8,'一'),COLORYELLOW;
DRAWTEXT(VAR9,0.6,'招'),COLORYELLOW;
DRAWTEXT(VAR9,0.4,'制'),COLORYELLOW;
DRAWTEXT(VAR9,0.2,'敌'),COLORYELLOW;





回复

举报

QQ|

GMT+8, 2024-11-16 23:45

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