XG: MA((-100)*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40))+100,40)<20 AND CLOSE>MA(CLOSE,20) AND OPEN;
STICKLINE(XG=1,1,0,4,0),COLORRED;
XG: MA((-100)*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40))+100,40)<20 AND CLOSE>MA(CLOSE,20) AND OPEN;
STICKLINE(XG=1,1,0,4,0),COLORRED;