联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

Q Q:396950280

网址:www.yzhibiao.com

搜索 Search
你的位置:首页 > 公式动态 > 飞狐公式

飞狐决战MACD指标公式

2014-11-19 14:11:05点击:
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;