M:=5;N:=13;
上涨动力1:=SUM(ADVANCE-DECLINE,0);
短线趋势:MA(adl,M),COLORWHITE,LINETHICK2;
中线趋势:MA(ADL,N),COLORLIMAGENTA,LINETHICK2;
{ _通达信股票指标公式}
STICKLINE(短线趋势>中线趋势,短线趋势,中线趋势,1,0),COLORMAGENTA;
STICKLINE(短线趋势<中线趋势,短线趋势,中线趋势,1,0),COLORGREEN;
多空雷达:SUM(ADVANCE-DECLINE,0),COLORYELLOW,LINETHICK1;