N:=9; M:=3; P:=3;
趋势传奇向上:=(MA(C,3)-LLV(LOW,5*N))/(HHV(HIGH,5*N)-LLV(LOW,5*N))*100;
选股公式:SMA(趋势传奇向上,2*M,1);
vdssd1:SMA(选股公式,2*P,1),COLORGREEN;
vdssd2:3*选股公式-2*vdssd1,COLORYELLOW;
STICKLINE(CROSS(vdssd2,vdssd1),0,20,1,0),COLORRED;
STICKLINE(CROSS(vdssd1,vdssd2),80,100,1,0),COLORRED;