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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信股道財金副图指标


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

以下是通达信股道財金副图指标

通达信股道財金副图指标

源码

VAR1:=1;
VAR2:=(2*CLOSE+HIGH+LOW)/4;
天: 80, POINTDOT;
人: 20;
VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
散: EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3*VAR1;
庄: EMA(0.667*REF(散,1)+0.333*散,2)*VAR3*VAR1;
VAR6:=(HHV(HIGH,4)-VAR2)/(HHV(HIGH,4)-LLV(LOW,4))*100-72;
VAR7:=(VAR2-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
影: SMA(VAR6,4,1)*VAR1;
VAR8:=SMA(VAR7,2,1);
山: SMA(VAR8,2,1)*VAR1;
中: 12;
DRAWICON(CROSS(散,庄) AND 散<50 AND 29<散,20,7),COLORRED;
DRAWICON(CROSS(庄,散) AND 散>40 AND 71>散,50,8),COLORGREEN;
DRAWTEXT(CROSS(散,庄) AND 散<30,0,'L'),COLOR3399CC;
DRAWTEXT(CROSS(庄,散) AND 散>70,75,'H'),COLORFFFF33;
DRAWICON(CROSS(散,庄) AND 散<30,20,1);
DRAWICON(CROSS(庄,散) AND 散>70,80,2);
VAR9:=CLOSE-REF(CLOSE,5);
VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5)*100;
VARB:=EMA(EMA(VAR9,10),10)/EMA(EMA(ABS(VAR9),10),10)*100;
VARC:=EMA(EMA(VAR9,20),20)/EMA(EMA(ABS(VAR9),20),20)*100;
卖出: IF(VARA>0 AND CROSS(VARC,VARA),-40,0);
DRAWTEXT(卖出,-30,'中线逃吧!'),COLOR0033FF;
DRAWICON(卖出<0,-25,1);





回复

举报

QQ|

GMT+8, 2024-11-18 14:29

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