dear seniors, I'm a newbie for Amibroker and TA. I want to scan the stocks on the basis of relative performance. But have no idea about how to write an AFL for that. Please throw some light on it. Thanks in advance.