T:=5;
M:=5;
N:=10;
P:=15;
prcha = (CLOSE-MA(CLOSE,T))/MA(CLOSE,T);
vora = vol/MA(VOL,T);
mom = prcha*vora*100;
动量快: MA(mom,M),colorred;
动量中: MA(mom,N),coloryellow;
动量慢: MA(mom,P),colorcyan;
T:=5;
M:=5;
N:=10;
P:=15;
prcha = (CLOSE-MA(CLOSE,T))/MA(CLOSE,T);
vora = vol/MA(VOL,T);
mom = prcha*vora*100;
动量快: MA(mom,M),colorred;
动量中: MA(mom,N),coloryellow;
动量慢: MA(mom,P),colorcyan;