通达信辨趋势操盘指标主图源码

VAR5:EMA(C,5);
 VAR10:EMA(C,10);
 DRAWBAND(VAR5,RGB(247,0,0),VAR10,RGB(8,247,0));
趋势线:EMA(C,55),COLORFA05FF,LINETHICK2;
 AA:=IF(趋势线>=REF(趋势线,1),趋势线,DRAWNULL);
 IF(趋势线<REF (趋势线,1), 趋势线,DRAWNULL);
 DRAWICON(CROSS(VAR5,VAR10) ,L-0.2,1);
 DRAWICON(CROSS(VAR10,VAR5) ,L+0.8,2);
 DRAWICON(趋势线>=REF( 趋势线,1),趋势线,13);
 DRAWICON(趋势线<REF( 趋势线,1),趋势线,14);