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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[飞狐] 飞狐130MACD指标公式


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

Var1:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;
Var2:=EMA(Var1,9);
Var3:=2*(Var1-Var2);
FILLRGN(Var1>=0,0,Var1*0.8),COLOREEEEFF;
FILLRGN(Var1>=0,0,Var1*0.7),COLORDDddfF;
FILLRGN(Var1>=0,0,Var1*0.6),COLORCCCCFF;
FILLRGN(Var1>=0,0,Var1*0.5),COLORBBBBFF;
FILLRGN(Var1>=0,0,Var1*0.4),COLORAAAAFF;
FILLRGN(Var1>=0,0,Var1*0.3),COLOR9999FF;
FILLRGN(Var1>=0,0,Var1*0.2),COLOR8888FF;
FILLRGN(Var1>=0,0,Var1*0.1),COLOR7777FF;
FILLRGN(Var1<0,0,Var1*0.8),COLORFFB0B0;
FILLRGN(Var1<0,0,Var1*0.7),COLORFF9D9D;
FILLRGN(Var1<0,0,Var1*0.6),COLORFF8E8E;
FILLRGN(Var1<0,0,Var1*0.5),COLORFF7D7D;
FILLRGN(Var1<0,0,Var1*0.4),COLORFF6A6A;
FILLRGN(Var1<0,0,Var1*0.3),COLORFF4D4D;
FILLRGN(Var1<0,0,Var1*0.2),COLORFF2D2D;
FILLRGN(Var1<0,0,Var1*0.1),COLORFF0000;
FILLRGN(Var2>=0,0,Var2*0.8),COLORD3FF60;
FILLRGN(Var2>=0,0,Var2*0.7),COLORC2FF24;
FILLRGN(Var2>=0,0,Var2*0.6),COLORBAFF02;
FILLRGN(Var2>=0,0,Var2*0.5),COLORAFF200;
FILLRGN(Var2>=0,0,Var2*0.4),COLORA4E100;
FILLRGN(Var2>=0,0,Var2*0.3),COLOR96CE00;
FILLRGN(Var2>=0,0,Var2*0.2),COLOR89BD00;
FILLRGN(Var2>=0,0,Var2*0.1),COLOR78A600;
FILLRGN(Var2<0,0,Var2*0.8),COLOR1EBE01;
FILLRGN(Var2<0,0,Var2*0.7),COLOR20CD01;
FILLRGN(Var2<0,0,Var2*0.6),COLOR22DC01;
FILLRGN(Var2<0,0,Var2*0.5),COLOR25f101;
FILLRGN(Var2<0,0,Var2*0.4),COLOR34FE10;
FILLRGN(Var2<0,0,Var2*0.3),COLOR49FE29;
FILLRGN(Var2<0,0,Var2*0.2),COLOR6BFE52;
FILLRGN(Var2<0,0,Var2*0.1),COLOR82FE6B;





回复

举报

QQ|

GMT+8, 2024-11-17 01:36

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