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.

Higher highs followed by a price dip


Further to a question I asked previously.

Is there an existing built in advanced scan that monitors stocks that have steadily risen over a 126 trading day period (higher highs and higher lows) and, this is the new part of the same question, are presently experiencing a dip or higher low in their stock price?

Any assistance is appreciated!

Happy New Year,
John Train

The answer to the previous question by Mark D. is below:

[ema(200, close) > 126 days ago ema(200, close)]
and [min(200, PPO Hist(10,200,0)) > 10]

You get more hits if you set PPO Hist to less than 10, fewer above 10. Below 10 there is also more volatility, because the 10 ema gets closer to the 200.

You can use other short emas instead of 10 (20, 30, 50, maybe) to see how the results differ.

Note the zero line (on the PPO indicator on the chart) represents the 10 ema equal to 200 ema. You can see this if you add the two emas to your chart style. When the Hist bar is above 0, the 10 is above the 200 and vice versa. Make sure you use emas and not smas.

126 days is 6 trading months assuming an average 21 trading days per month.


  • Built-in (pre-defined) scans are here:

    You can see the results by clicking on the hyperlinked number to the left of the scan name.

    At the upper right corner of the results page, there is a link "Click here to edit this scan". Save it to a scan of your own name and edit for your needs.

    I don't see any that directly address your requirements. So, it seems you will have to come up with something based on what you have. You could try setting back the PPO test above by some number of days - maybe twenty (so, 20 days ago ema(200, close) > 186 days ago... etc. and 20 days ago min(PPO Hist etc.) - and then check for PPO Hist < 0 currently. That would indicate the 10 ema (or whatever you are using) has dropped below the 200 ema, which would not happen without a significant decline. Or, you could test for falling PPO Hist values above zero. You would have to determine what those values should be by looking at some charts that fit you criteria.
Sign In or Register to comment.