文华财经均线变色和K线变色主图指标,这款指标看着非常简单,均线多空变色,红涨绿跌。K线变色也是波段涨跌,红K上涨,绿K下跌,白色K是震荡阶段。均线上下做趋势单,根据K线变色多短线波段行情。VIP用户下载,无未来函数,源码可供自行调整!
文华重要k线变色指标公式部分源码:
DRAWCOLORKLINE(MA60<C&&C>=O,COLORRED,1);
DRAWCOLORKLINE(MA60<C&&C<O,COLORRED,0);
DIFF :=EMA(CLOSE,12) – EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD:=2*(DIFF-DEA),COLORSTICK;
DRAWCOLORKLINE(MACD>0,COLORRED,1);
DRAWCOLORKLINE(MACD>0&&C>MA60&&ISDOWN,COLORRED,0);
DRAWCOLORKLINE(MACD>0&&C<MA60,COLORWHITE,1);
DRAWCOLORKLINE(MACD>0&&C<MA60&&ISWN,COLORWHITE,0);
DRAWCOKLINE(MACD&&C>MA60,COLORWHITE,1);
DRAWCOLORKLINE(MACD<0&&C>MA60&&ISDOWN,COLORWHITE,0);
指标效果图: