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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 中线主力多空主图之选股指标公式


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

VAR80:=MA(CLOSE,5);
VAR20:=MA(CLOSE,10);
VAR94:=MA(CLOSE,20);
VAR75:=MA(CLOSE,30);
VAR51:=MA(CLOSE,60);
VAR58:=MA(CLOSE,120);
VAR70:=(HIGH+LOW)/2;
VAR19:=MAX(MAX(HIGH-LOW,Abs(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
VAR61:=VAR70+MA(VAR19,10)*2.5;
VAR39:=VAR70-MA(VAR19,10)*2.5;
VAR86:=(CLOSE+LLV(CLOSE,5));
VAR90:=(HIGH+LLV(HIGH,5));
VAR85:=(LOW+LLV(LOW,5));
VAR82:=REF(VAR61,BARSLAST(VAR61<=REF(VAR61,1)));
VAR98:=LLV(VAR61,15);
VAR700:=IF(VAR98!=REF(VAR98,1) AND VAR82< REF(VAR82,1),VAR82,IF(VAR82=VAR98,VAR82,VAR98));
VAR701:=BARSLAST(crOSS(0.5,VAR61=VAR700))+1;
VAR702:=CROSS(COUNT(CROSS(CLOSE,VAR700) OR CROSS(CLOSE,REF(VAR700,2)) AND VAR61>VAR700,VAR701),0.5);
VAR703:=BARSLAST(VAR702);
VAR704:=BARSLAST(CROSS(HHV(VAR39,VAR703+1),CLOSE));
XG:CROSS(VAR704,VAR703);





回复

举报

GMT+8, 2025-1-19 20:38

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