mv5:=ma(amount,5);mv10:=ma(amount,10);mv20:=ma(amount,20);mv30:=ma(amount,30);tj1:=mv5>mv10 and mv10>mv20 and mv20>mv30;tj2:=mv5>ref(mv5,1) and mv10>ref(mv10,1) and mv20>ref(mv20,1) ...
a1:=ma(c,5);a2:=ma(c,10);a3:=ma(c,20);a4:=ma(c,30);t1:=cross(a1,a2);t2:=cross(a3,a4);xg:t1 and t2;参考资料:http://tieba.baidu.com/f?kw=%b9%c9%c6%b1%b9%ab%ca%bd%d7%a8%bc%d2