短线中线长线:=C-REF(C,1);
趋势指标公式:100*EMA(EMA(短线中线长线,12),12)/EMA(EMA(ABS(短线中线长线),12),12),COLORWHITE;
eeesss:MA(趋势指标公式,6),COLORYELLOW;
fdsdds1:=趋势指标公式-eeesss,COLORBLACK;
fdsdds2:fdsdds1,COLORRED;{通达信公式-通达信指标www.gs6699.com}
STICKLINE( UPNDAY(fdsdds1,1)AND UPNDAY(趋势指标公式,1),fdsdds1 ,0,2.9,0)COLORRED;
STICKLINE( UPNDAY(fdsdds1,1)AND UPNDAY(趋势指标公式,1),fdsdds1 ,0,2,0)COLORLIRED;
STICKLINE( UPNDAY(fdsdds1,1)AND UPNDAY(趋势指标公式,1),fdsdds1,0,0.5,0)COLORWHITE;
STICKLINE( UPNDAY(fdsdds1,1)AND DOWNNDAY(趋势指标公式,1),fdsdds1 ,0,2.9,0),COLORGRAY;
STICKLINE( UPNDAY(fdsdds1,1)AND DOWNNDAY(趋势指标公式,1),fdsdds1,0,1,0),COLORLIGRAY;
STICKLINE( UPNDAY(fdsdds1,1)AND DOWNNDAY(趋势指标公式,1),fdsdds1 ,0,0.5,0)COLORWHITE;
STICKLINE( DOWNNDAY(fdsdds1,1),fdsdds1 ,0,2.9,0),COLORGRAY;
STICKLINE( DOWNNDAY(fdsdds1,1),fdsdds1,0,1,0),COLORLIGRAY;
STICKLINE( DOWNNDAY(fdsdds1,1),fdsdds1 ,0,0.5,0)COLORWHITE;
DRAWICON(UPNDAY(fdsdds1,1)AND UPNDAY(趋势指标公式,1),eeesss,1);
DRAWICON(CROSS(eeesss,趋势指标公式),eeesss,2);