同花顺真MA副图指标
-
相关简介:同花顺真MA副图指标 源码 SHORT:=5; LONG:=34; M:=5; DIFF:EMA(C,SHORT)-EMA(C,LONG); DEA :EMA(DIFF,M),coloryellow; MACD: 2*(DIFF-DEA),ColorFF26FF; FILLRGN(DIFF,DEA,DIFFDEA,RGB(250,10,250),DIFFDEA,RGB(10,250,10)); STICKLINE(MACDREF(MACD,1)AND MACD0,0,MACD,8,0 ),COL
-
文章来源:股海网作者:股海网发布时间:2016-03-19浏览次数:
同花顺真MA副图指标
源码
SHORT:=5;
LONG:=34;
M:=5;
DIFF:EMA(C,SHORT)-EMA(C,LONG);
DEA :EMA(DIFF,M),coloryellow;
MACD: 2*(DIFF-DEA),ColorFF26FF;
FILLRGN(DIFF,DEA,DIFF>DEA,RGB(250,10,250),DIFF<DEA,RGB(10,250,10));
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,8,0 ),COLOR00AAFF,LAYER7;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,6.6,0 ),COLOR00BBFF,LAYER7;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,4.4,0 ),COLOR00CCFF,LAYER7;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,3.3,0 ),COLOR00DDFF,LAYER7;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,2.2,0 ),COLOR00EEFF,LAYER7;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1.1,0 ),COLOR00FFFF,LAYER7;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,8,0 ),COLOR0000AA,LAYER7;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,6.6 ,0 ),COLOR0011BB,LAYER7;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,4.4,0 ),COLOr0022CC,LAYER7;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,3.3 ,0 ),COLOR0033DD,LAYER7;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,2.2 ,0 ),COLOR0044EE,LAYER7;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,1.1 ,0 ),COLOR0055FF,LAYER7;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,8,0 ),COLORAA00BB,LAYER7;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,6.6 ,0 ),COLORBB11BB,LAYER7;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,4.4,0 ),COLORCC22BB,LAYER7;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,3.3,0 ),COLORDD33BB,LAYER7;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,2.2 ,0 ),COLOREE44BB,LAYER7;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1.1 ,0 ),COLORFF55BB,LAYER7;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,8,0 ),COLORFF7700,LAYER7;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,6.6 ,0 ),COLORFF8811,LAYER7;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,4.4,0 ),COLORFFAA22,LAYER7;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,3.3 ,0 ),COLORFFBB33,LAYER7;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,2.2 ,0 ),COLORFFDD44,LAYER7;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,1.1 ,0 ),COLORFFFF55,LAYER7;