Screener to find ranging and volatile stocks

Forums ProRealTime English forum ProScreener support Screener to find ranging and volatile stocks

Viewing 4 posts - 1 through 4 (of 4 total)
  • #72400

    I’m attempting to write a screener that finds stocks which are moving within a price range and is fairly volatile. Here’s an example of what I’m looking for: https://www.tradingview.com/x/dknyWipv/

    I know of multiple indicators that measure the volatility. I guess the trick will be to somehow find an indicator/code something that identifies the ranging/trendless behaviour. Does anyone have any ideas as how to approach this?

    #72411

    Try to count how many times moving average cross over occurred and compare their prices with the median of the last highest high and lowest low, within a percentage margin. Rough idea from your picture, need to be coded and tested!

    #72465

    I will give that a shot and see how it works out. 🙂

    Before your answer I was working on a screener that tried to measure how far away the 100 EMA and the 200 EMA was from each other on average. The idea was that if the distance was less than 2.5% for maybe 70 bars, that could have been one critiera.

    To my suprise, this screener returned a lot of stocks where the amount of bars that exactly fit the criteria was 56. So I think there’s some kind of bug in my screener code here?

    See attached picture.

    #72486

    Because 200 + 56 = 256 which is the limitation of data available in ProScreener.

Viewing 4 posts - 1 through 4 (of 4 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login