HVG:=HHV(HIGH,9);
RSR:=EMA((CLOSE-LLO)/(HVG-LLO)*100,3);
L1:=EMA(RSR,3),COLORRED;
L2:=EMA(L1,2),COLORWHITE;
L3:=MA(L2,3),COLORLIGREEN;
L4:=EMA(L3,2),COLORBLUE;
买:=CROSS(L1,L4) AND C/REF(C,1)>=1.035 AND REF(C>O AND C>REF(C,1),1);
STICKLINE(买, 0,10, 0,0),COLORYELLOW;
STICKLINE(买, 0,1, 5,0),COLORYELLOW;
STICKLINE(买, 1,2, 4,1),COLORYELLOW;
STICKLINE(买, 2,3, 3,0),COLORMAGENTA;
STICKLINE(买, 3,4, 2,1),COLORYELLOW;
DRAWICON(买,10,18);
DRAWTEXT(买,5,' 小洋人'),COLORYELLOW;