通达信:【蜘蛛网】副图指标,可与主图叠加
VAR1:=(EMA(C,5)-EMA(C,26))*100;
IF(VAR1>=0,VAR1*0.8,0),COLOREEEEFF;
IF(VAR1>=0,VAR1*0.7,0),COLORDDDDFF;
IF(VAR1>=0,VAR1*0.6,0),COLORCCCCFF;
IF(VAR1>=0,VAR1*0.5,0),COLORBBBBFF;
IF(VAR1>=0,VAR1*0.4,0),COLORAAAAFF;
IF(VAR1>=0,VAR1*0.3,0),COLOR9999FF;
IF(VAR1>=0,VAR1*0.2,0),COLOR8888FF;
IF(VAR1>=0,VAR1*0.1,0),COLOR7777FF;
IF(VAR1<0,VAR1*0.8,0),COLORFFB0B0;
IF(VAR1<0,VAR1*0.7,0),COLORFF9D9D;
IF(VAR1<0,VAR1*0.6,0),COLORFF8E8E;
IF(VAR1<0,VAR1*0.5,0),COLORFF7D7D;
IF(VAR1<0,VAR1*0.4,0),COLORFF6A6A;
IF(VAR1<0,VAR1*0.3,0),COLORFF4D4D;
IF(VAR1<0,VAR1*0.2,0),COLORFF2D2D;
IF(VAR1<0,VAR1*0.1,0),COLORFF0000;
VAR11:=(EMA(C,5)-EMA(C,26))*100;
IF(VAR11>=0,VAR11*0.8,0),COLOREEEEFF;
IF(VAR11>=0,VAR11*0.7,0),COLORDDDDFF;
IF(VAR11>=0,VAR11*0.6,0),COLORCCCCFF;
IF(VAR11>=0,VAR1*0.5,0),COLORBBBBFF;
IF(VAR11>=0,VAR11*0.4,0),COLORAAAAFF;
IF(VAR11>=0,VAR11*0.3,0),COLOR9999FF;
IF(VAR11>=0,VAR11*0.2,0),COLOR8888FF;
IF(VAR11>=0,VAR11*0.1,0),COLOR7777FF;
IF(VAR11<0,VAR11*0.8,0),COLORFFB0B0;
IF(VAR11<0,VAR11*0.7,0),COLORFF9D9D;
IF(VAR11<0,VAR11*0.6,0),COLORFF8E8E;
IF(VAR11<0,VAR11*0.5,0),COLORFF7D7D;
IF(VAR11<0,VAR11*0.4,0),COLORFF6A6A;
IF(VAR11<0,VAR11*0.3,0),COLORFF4D4D;
IF(VAR11<0,VAR11*0.2,0),COLORFF2D2D;
IF(VAR11<0,VAR11*0.1,0),COLORFF0000;
0,COLORFFA2AF;