通达信主力做多副图指标

2016-02-14 17:23:00来源:本站整理浏览:227

通达信主力做多副图指标

源码

MTM:=C-REF(C,1);

主力做多:100*EMA(EMA(MTM,12),12)/EMA(EMA(ABS(MTM),12),12),COLORWHITE;
多空趋势线:MA(主力做多,6),COLORYELLOW;
能量:=主力做多-多空趋势线,COLORBLACK;
持仓:能量,COLORRED;

STICKLINE( UPNDAY(能量,1)AND UPNDAY(主力做多,1),能量 ,0,2.9,0)COLORRED;
STICKLINE( UPNDAY(能量,1)AND UPNDAY(主力做多,1),能量 ,0,2,0)COLORLIRED;
STICKLINE( UPNDAY(能量,1)AND UPNDAY(主力做多,1),能量,0,0.5,0)COLORWHITE;

STICKLINE( UPNDAY(能量,1)AND  DOWNNDAY(主力做多,1),能量 ,0,2.9,0),COLORGRAY;
STICKLINE( UPNDAY(能量,1)AND  DOWNNDAY(主力做多,1),能量,0,1,0),COLORLIGRAY;
STICKLINE( UPNDAY(能量,1)AND  DOWNNDAY(主力做多,1),能量 ,0,0.5,0)COLORWHITE;

STICKLINE( DOWNNDAY(能量,1),能量 ,0,2.9,0),COLORGRAY;
STICKLINE( DOWNNDAY(能量,1),能量,0,1,0),COLORLIGRAY;
STICKLINE( DOWNNDAY(能量,1),能量 ,0,0.5,0)COLORWHITE;

{DRAWICON(CROSS(主力做多,多空趋势线),多空趋势线,1);
DRAWICON(CROSS(多空趋势线,主力做多),多空趋势线,2);
}
DRAWICON(UPNDAY(能量,1)AND UPNDAY(主力做多,1) AND UPNDAY(多空趋势线,1),多空趋势线,1);
DRAWICON(CROSS(多空趋势线,主力做多),多空趋势线,2);

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式