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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信包赚均线-指标公式(源码 有图 通达信版)


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

VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A1:(EMA(VAR1,14)+EMA(VAR1,14)+EMA(VAR1,14)+EMA(VAR1,14))/4,COLORFF8000;
IF(A1>=REF(A1,1),A1,DRAWNULL),COLORRED,LINETHICK1;
IF(A1<REF(A1,1),A1,DRAWNULL),COLORFA6400,LINETHICK1;
A2: EMA(A1,3);
IF(A2>=REF(A2,1),A2,DRAWNULL),COLOR4614FF,LINETHICK1;
IF(A2<REF(A2,1),A2,DRAWNULL),COLORFA6400,LINETHICK1;
A3: EMA(A2,4);
IF(A3>=REF(A3,1),A3,DRAWNULL),COLOR285AFF,LINETHICK1;
IF(A3<REF(A3,1),A3,DRAWNULL),COLORFA6400,LINETHICK1;
MA1:EMA(CLOSE,4),COLORC0C0C0,LINETHICK1;
IF(MA1>=REF(MA1,1),MA1,DRAWNULL),COLORRED,LINETHICK1;
IF(MA1<REF(MA1,1),MA1,DRAWNULL),COLOR14D214,LINETHICK1;
MA2:EMA(CLOSE,5),COLORC0C0C0;
IF(MA2>=REF(MA2,1),MA2,DRAWNULL),COLORRED,LINETHICK1;
IF(MA2<REF(MA2,1),MA2,DRAWNULL),COLOR14D214,LINETHICK1;
MA3:EMA(CLOSE,6),COLORC0C0C0;
IF(MA3>=REF(MA3,1),MA3,DRAWNULL),COLORRED,LINETHICK1;
IF(MA3<REF(MA3,1),MA3,DRAWNULL),COLOR14D214,LINETHICK1;
A55:EMA(A1,18);
IF(A55>=REF(A55,1),A55,DRAWNULL),COLORRED,LINETHICK1;
IF(A55<REF(A55,1),A55,DRAWNULL),COLOR14D214,LINETHICK1;
A56:EMA(A55,3);
IF(A56>=REF(A56,1),A56,DRAWNULL),COLORRED,LINETHICK1;
IF(A56<REF(A56,1),A56,DRAWNULL),COLOR14D214,LINETHICK1;
A57:EMA(A55,5);
IF(A57>=REF(A57,1),A57,DRAWNULL),COLORRED,LINETHICK1;
IF(A57<REF(A57,1),A57,DRAWNULL),COLOR14D214,LINETHICK1



182842595crwhsocxerrrx.png


回复

举报

QQ|

GMT+8, 2024-11-18 02:58

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