请教:通畅移动平均线 (SMMA)的算法?
-----------------------------------------
M120=MA(C,120);
XG:CROSS(M120*1.01,L);
---------------------------
EM120=EMA(C,120);
EXG:CROSS(EM120*1.01,L);
--------------------------
SM120=EMA(C,120,1);
SXG:CROSS(SM120*1.01,L);
注:这个的参数你自己定
------------------------
SUMN1= SUM(CLOSE, 120);
SMMAN1 = SUMN1/120;
IF BARPOS=1 THEN
SMMAX=SMMAN1;
ELSE
SMMAX=(SUMN1-SMMAN1+CLOSE)/120;
SMXG:CROSS(SMMAX*1.01,L);
学习