飞狐决战MACD指标公式
2020/7/19 19:16:02
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;
投股票 网 ww w.tou18.cn
股市公式下载推荐