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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信紫线金袋指标公式源码


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

N:=10;
N1:=6;
VAR11:100-(100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N))),COLORFF00FF;
VAR12:100-(100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1))),COLOR545454;
20,COLOR0000FF,DOTLINE,LINETHICK1;
90,COLOR008000,DOTLINE,LINETHICK1;
100,COLORGRAY,DOTLINE,LINETHICK1;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.99,0.75,1,'支撑');
0,COLOR408080,POINTDOT,LINETHICK1;
ABC1:=crOSS(VAR11,90);
ABC2:=REF(CROSS(VAR12,90),1);
ABC3:=REF(CROSS(VAR11,90),1);
ABC4:=CROSS(VAR12,89);
AA:=C>MA(C,60);
VAR1:=IF(CROSS(VAR11,90) AND CROSS(VAR12,90),1,0) OR IF((ABC1 AND ABC2),1,0) OR IF((ABC3 AND ABC4),1,0);
二线合:=(VAR11+VAR12)/2,COLORRED,LINETHICK3;
中持线:MA(二线合,10),COLORRED,LINETHICK3;
IF(中持线< REF(中持线,1),中持线,DRAWNULL),LINETHICK3,COLORGREEN;
DRAWICON(CROSS(VAR11,90) AND CROSS(VAR12,90) AND AA,92,5);
DRAWICON(ABC1 AND ABC2 AND AA,92,5);
DRAWICON(ABC3 AND ABC4 AND AA,92,5);





回复

举报

QQ|

GMT+8, 2024-11-24 04:19

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