New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.

Ranking stocks by Percentage above a moving average

How do I rank a group of stocks/ETF's by the percentage above a moving average?

Best Answer

Answers

  • The rank by statement is intended rank results by simple indicator values or ticker properties. It does not accept arithmetic operations like addition, subtraction, division or multiplications, even though the scan engine usually does not flag them as an error.

    That said, you might be able to make an indicator do what you want. See @lmkwin 's answer to

    http://scan.stockcharts.com/discussion/comment/4028#Comment_4028

    You might be able to use

    rank by PPO(1,200,1)

    I haven't tried this, so test it out.
  • Thanks to both responders.
Sign In or Register to comment.