短线:MA(C,5),COLORGREEN,LINETHICK3;
趋势:EMA((WMA(CLOSE,3)+WMA(CLOSE,6)+WMA(CLOSE,12)+WMA(CLOSE,24))/4,13),COLOR00FF00;
{ 爱约股_通达信股票指标公式}
IF(短线>REF(短线,1),短线,DRAWNULL),COLORRED{MAGENTA},LINETHICK3;
IF(趋势>REF(趋势,1),趋势,DRAWNULL),COLORRED,LINETHICK1;
{STICKLINE(短线,趋势,(短线>REF(短线,1))-1,1,0);};
DRAWICON(CROSS(短线,趋势),L*0.99,5);
{涨停标注}
STICKLINE(C/REF(C,1)>1.095 AND C=H,C,O,2,0),COLORYELLOW;
STICKLINE(C/REF(C,1)<0.093 AND C=L,C,O,2,0),COLORGREEN;