P1:=5;P2:=30;
A1:=MA(CLOSE,P1);
A2:=REF(A1,1);
J1:(A1-A2)/A2*100;
MJ1:ma(J1,3);
A3:=MA(CLOSE,P2);
A4:=REF(A3,1);
J2:(A3-A4)/A4*100;
MJ2:=MA(J2,10);
A5:=ma(c,10);
A6:=ref(A5,1);
J3:=(A5-A6)/A6*100;
Mj3:=ma(j3,5);
{向上拐点:if(count(cross(j1,0),3)>=1 and mj1>mj3 and mj3>ref(mj3,1) and J3>=0 and J1>ref(j1,1),5,0) ,colorred,linethick2;
向下拐点:if(cross(0,j1)>=1 and mJ30 AND J2
【股票投资】【大智慧】均线速度指标公式
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。