201911228313730181.png
LLO:=LLV(LOW,9);
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);
DRAWTEXT(买,L1-10,'买入!'),COLORRED;
卖:=CROSS(L3,L1);
DRAWTEXT(卖,L2+8,'卖出!'),COLORYELLOW;
|