N:=120;
XA_1:=100;
XA_2:=2;
MA10:MA(CLOSE,10);
MA21:MA(CLOSE,21);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
XA_3:=BARSLAST(CROSS(BACKSET(ISLASTBAR,LLVBARS(LOW,XA_1)+1),0.5));
前期低点:IF(XA_3 =0,REF(LOW,XA_3),DRAWNULL),COLORGREEN,LINETHICK2;
STICKLINE(CROSS(BACKSET(ISLASTBAR,LLVBARS(LOW,XA_1)+1),0.5),CLOSE,OPEN,2,0),COLORYELLOW;
XA_4:=REFV(LOW,XA_3);{九毛八公式指标网www.9m8.cn}
XA_5:=ABS(LOW/XA_4-1)*100 XA_2;
DRAWICON(XA_5,LOW,23);