Exp Regression Slope Annualized with R-squared TRADINGVIEW

Forums ProRealTime English forum ProBuilder support Exp Regression Slope Annualized with R-squared TRADINGVIEW

Viewing 15 posts - 1 through 15 (of 21 total)
  • #165457

    Hi

    I was wondering if it was possible to convert such indicator for PRT: this is a useful tool to build a portfolio by ranking stocks by strength based on Andreas Clenow’s book “Stocks on the Move” .

     

    Here’s the strategy:

    1. Determine the 90 day annualized exponential regression slope for each stock
    2. Determine the 90 day R-squared value for each of the stock
    3. Multiply #1 * #2 and then sort from highest to lowest —> screener PRT
    4. Buy the top stocks based on the formula ((AccountValue * 0.001)/ATR(20))

    Thanks.

     

    #165459

    Vinks_o_7 – Please use the ‘Insert PRT Code’ button even when inserting non PRT code as it differentiates it from the other text and makes your post far more readable. Your post has been edited.

    #165563

    sorry Vonasi, thank you.

    #165600

    Please post a picture of the indicator.

    #165660

    Hi Nicolas,

    Here’s a picture and a direct link to the page

    The idea is to use it as a screener to make a stock selection.

    Thanks again.

    #165704

    I can help you well, but help me in return by posting the picture yourself in this topic please. I have a lot of things to answer again this morning. Thank you.

    #165767

    Hi Nicolas

    Thanks for your feedback.

    I did it two times but for whatever reason, the pic did not show up.
    I uploaded a screen capture (PNG file, 75ko)…same problem.

    If you click the link, you can see the picture/detail: https://fr.tradingview.com/script/QWHjwm4B-Exponential-Regression-Slope-Annualized-with-R-squared-Histogram/

    #166578

    too bad that nobody’s interested in this winning strategy…

    #177735

    Hello Nicholas

    It would be really really nice if you could implement this screener. Actually you don’t need the indicator itself in the chart, but as a criterion to screen a list with it.

    The annualized exponential regression multiplied by the R² value is then simply the sorting criterion, similar to how you can sort lists by RSL. However, if the stock price intersects the 100 day average, the indicator gets the value 0 and you get out of a stock.

    Advantage of the method of Clenow is that one finds little volatile values, which run like clockwork upward.

    Many thanks in advance.

    Greetings Ronny

    Translated with http://www.DeepL.com/Translator (free version)

     

    #177736

    picture

    #177742

    Hi,

    Here is the code for the screener (might be incorrect so please check). Note that only the 50 first results are returned in the screener. It makes it difficult to verify that the stocks you own are still in the 20% of the stock universe. There are workarounds though (such as creating multiple screeners with a condition on the momentum value).

    Cheers

    Jerome

     

     

    1 user thanked author for this post.
    #177759

    Thanks a lot. 🙂

    #177764

    Would it still be possible to sort the results in descending order by the value ExpRegression*R2? (I think this should be the variable “val”)
    The largest value above

     

    #177766

    Sorry now i see val = Momentum

    but I actually forgot one point.
    Can you still exclude stocks that have made a gap of more than 15% in the last few days?

    Thank you very much for your work

    #177767

    As you can see from line 7, VAL is the sorting criterion in use.
    As to descending order, you can choose the preferred order clicking the title of the column in ProScreener.

Viewing 15 posts - 1 through 15 (of 21 total)

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