M1:=5;M2:=29;
{红}
STICKLINE(C>O,C,O,3,0),COLOR000077;
STICKLINE(C>O,C,O,2,0),COLOR000099;
STICKLINE(C>O,C,O,1,0),COLOR0000BB;
STICKLINE(C>O,H,L,0,0),COLOR0000FF;
{绿}
STICKLINE(C<O,C,O,3,0),COLOR007700;
STICKLINE(C<O,C,O,2,0),COLOR009900;
STICKLINE(C<O,C,O,1,0),COLOR00BB00;
STICKLINE(C<O,H,L,0,0),COLOR00FF00;
EXP1:EXPMA(C,M1),COLORBLUE;
EXP2:EXPMA(C,M2),COLOR9900FF;
{ 爱约股_通达信股票指标公式}
势:IF(CROSS(EXP1,EXP2),EXP1,DRAWNULL),COLORBLUE,CROSSDOT,LINETHICK3;

 

通达信量势主图指标公式