BB Breakout + 70% retracement + slope

Forums ProRealTime English forum ProScreener support BB Breakout + 70% retracement + slope

Viewing 9 posts - 1 through 9 (of 9 total)
  • #77221

    Hi,

    I would like to screen for the following stocks:

    • BB breakout (on 100 days lookback with a SD of 3)
    • > 1 mio avg volume
    • price > 5
    • > simple MA 200
    • >= 70% retracement since 52 weeks low

    I think I have the right code for it but the various parts don’t seem to work together well. Here they are:

     

    It seems the program only screens for whatever comes last.

    Any ideas how to integrate the two parts? I’d be so thankful.

     

    Also, I’d like to rank all the screen returns according to either a simple momentum measure, a volatility adjusted linear regression or some kind of slope  in order to concentrate on stocks with a fairly steady rise.

    Anyone out there to help? It would be highly appreciated.

     

     

     

    #77223

    Welcome to the forums. I see that this is your first topic. Please try to stick to the rules as explained here:

    https://www.prorealcode.com/topic/automatic-trading-support-posting-rules/

    Please use the ‘Insert PRT Code’ button when posting code in your future posts to make it more readable, I have tidied up your post for you. 🙂

    #77279

    oh, I am sorry. And thanks for pointing it out to me

    #77681

    Your compiled screener should look like this:

    There are not much results, so I recommend to scan large stocks lists.

    #77733

    Thanks so much, Nicolas, that looks fabulous, I’ll give it a try right away. There shouldn’t be many results, that’s what I consider the beauty of it. Not much noise, hopefully…

    #77735

    How do you consider entering a position on this kind of setup detection?

    #78032

    I use two ways to enter:

    a) market entry next day with a 3-ATR-stop or a stop below the VAL (Value Area Low that is necessarily created by the breakout on the volume profile);

    trade management: exit when

    • performance since 52 week low falls below 100%
    • no new high for 65 days
    • position size falls below 3% (in general: 10 open positions, each with initially 10%, no rebalancing)
    • reduce positions to 5% when index (usually S&P 500) < MA200

    b) wait til the consolidation has formed around the breakout-candle and enter on next new high (only if the next new high happens within 20 days of initial breakout); stop below breakout (advantage of this method: less stop-outs; disadvantage: some instruments never form the consdolidation)

    exit: like above

    c) it’s possible to trade this system without intitial stops in the market, just follow the exit-rules under a). But I don’t feel comfortable with that.

    very important: no new trades are taken when index is < MA200

    This is setup is totally counter-intuitive, I know, it takes Darvas’ rule “Buy expensive, sell even more expensive” to an extreme. I call it “Neo-Radge”, because the 100,3-Bollinger Band-Breakout comes from Nick Radge, the 100%-performance-rule though is from Darvas though. It works very well with minimum screen time.

    What I still need is a ranking mechanism: If a position is closed and I open a new one, I need a quick way to decide which of the signals to take, even if there are only so few of them. My idea is to use the smoothness of the ascent, meaning: if two stocks have risen by the same amount I’d pick the one with the less volatile rise. But I am not sure how to go about it, yet.

    Do you have any suggestions?

     

     

     

    #78352

    Sorry no because it is not possible to compare dynamically a stock with another one. You need to know its name because string variable is not part of the programming language.

    Thank you for all the explanation, I’m sure it will surely help many people around. I think it would be a good idea to add the screener with your explanation as a library post, what do you think?

    #79196

    too bad, the comparison is not possible. but anyhow: thanks so much for your help, I will post it to the library.

    1 user thanked author for this post.
Viewing 9 posts - 1 through 9 (of 9 total)

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