本指标通过量能分析,寻找趋势。
P_per:=(C/(SUM(C,5)/5)-1)*100;
V_per:=(V/(SUM(V,5)/5)-1)*100;
M_per:=V_per-P_per;
RMA:SUM(M_per,10)/10;
XSV:(RMA*10-REF(M_per,10)+REF(M_per,10-1))/10;
STICKLINE(XSV 0,XSV,0,0),colorred;
STICKLINE(XSV 0,0,XSV,0),colorgreen;
DRAWTEXT(CROSS(XSV,0),XSV,'始');
DRAWTEXT(CROSS(0,XSV),XSV,'终');