N:=10;
X_1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
X_2:=SMA(X_1,3,1);
X_3:=SMA(X_2,3,1);
动力线:3*X_2-2*X_3;
20,COLORGREEN;
50,COLORYELLOW;
80,COLORRED;
STICKLINE(CROSS(动力线,50) AND CLOSE>MA(CLOSE,N) AND CLOSE>MA(CLOSE,250),50,70,3,0),COLORYELLOW;
STICKLINE(动力线>80,80,动力线,3,0),COLORRED;