当前位置:首页 > 免费资源 > 正文

「翔博精选指标」多空MACD(通达信公式 副图 源码 测试图)

2022-04-04原创 编 辑:翔博软件

DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
MACD:=(DIF-DEA)*2,COLORSTICK;
STICKLINE((DIF-DEA)*2<0,(DIF-DEA)*2,0,3.5,0),LINETHICK3,COLOR339933;
STICKLINE((DIF-DEA)*2<0,(DIF-DEA)*2,0,2,0),LINETHICK3,COLOR33AA33;
STICKLINE((DIF-DEA)*2<0,(DIF-DEA)*2,0,1,0),LINETHICK3,COLOR33DD33;
STICKLINE((DIF-DEA)*2<0,(DIF-DEA)*2,0,0.5,0),LINETHICK3,COLOR33FF33;
STICKLINE((DIF-DEA)*2>0,0,(DIF-DEA)*2,3.5,0),COLOR000088;
STICKLINE((DIF-DEA)*2>0,0,(DIF-DEA)*2,2,0),COLOR0000AA;
STICKLINE((DIF-DEA)*2>0,0,(DIF-DEA)*2,1,0),COLOR0000DD;
STICKLINE((DIF-DEA)*2>0,0,(DIF-DEA)*2,0.5,0),COLOR0000FF;
STICKLINE((DIF-DEA)*2=0,(DIF-DEA)*2,0,1.5,0),COLOR880088;
STICKLINE((DIF-DEA)*2=0,(DIF-DEA)*2,0,2,0),COLORAA00AA;
STICKLINE((DIF-DEA)*2=0,(DIF-DEA)*2,0,1,0),COLORDD00DD;
STICKLINE((DIF-DEA)*2=0,(DIF-DEA)*2,0,0.5,0),COLORFF00FF;
STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,3.5,0),COLOR0044AA;
STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,3.4,0),COLOR0055AA;
STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,3.2,0),COLOR0066BB;
STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,3.0,0),COLOR0077BB;
STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,2.7,0),COLOR0088CC;
STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,2.4,0),COLOR0099CC;
STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,2.1,0),COLOR00AADD;
STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,1.8,0),COLOR00BBDD;
STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,1.4,0),COLOR00CCEE;
STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,1.0,0),COLOR00DDEE;
STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,0.6,0),COLOR00EEEE;
STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,0.2,0),COLOR00F0F3;
STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,0,0.05,0),COLOR00F6F3;
STICKLINE(MACD<0 AND MACD
STICKLINE(MACDREF(MACD,1),MACD,0,3,0),COLORFFFFFF;
STICKLINE(MACDREF(MACD,1),MACD,0,3,0 ),COLORFFAA00;
STICKLINE(MACDREF(MACD,1),MACD,0,3.3 ,0 ),COLORFFBB11;
STICKLINE(MACDREF(MACD,1),MACD,0,2.2,0 ),COLORFFCC22;
STICKLINE(MACDREF(MACD,1),MACD,0,1.65 ,0 ),COLORFFDD33;
STICKLINE(MACDREF(MACD,1),MACD,0,1.1 ,0 ),COLORFFEE44;
STICKLINE(MACDREF(MACD,1),MACD,0,0.55 ,0 ),COLORFFFF55;
STICKLINE(MACD<0 AND MACD<=REF(MACD,1),MACD,0,0,0 ),COLOR00E600;
STICKLINE(MACD<0 AND MACD<=REF(MACD,1),MACD,0,3.5,0 ),COLOR007700;
STICKLINE(MACD<0 AND MACD<=REF(MACD,1),MACD,0,2.7,0 ),COLOR008E00;
STICKLINE(MACD<0 AND MACD<=REF(MACD,1),MACD,0,2.1,0 ),COLOR009900;
STICKLINE(MACD<0 AND MACD<=REF(MACD,1),MACD,0,1.5,0 ),COLOR00B500;
STICKLINE(MACD<0 AND MACD<=REF(MACD,1),MACD,0,0.9,0 ),COLOR00D500;
STICKLINE(MACD<0 AND MACD<=REF(MACD,1),MACD,0,0.3,0 ),COLOR00E600;

STICKLINE(MACD<0 AND MACD<=REF(MACD,1),MACD,0,0,1 ),COLOR00E600;


大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标