Breakout after long consolidation screener – coding help

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #162087 quote
    Adriano250
    Participant
    New

    Hi guys

    I would like some help to screen stocks that have been under a period of 20weeks or more consolidation, and are now breaking out of that 20week price high, on 2 times or more the average vol.

    To narrow it down, the 20EMA should be above the 50EMA which should be above the 200EMA.

     

    I would like to pickup stocks like the attached.

    Thank you so much.

    2021-02-20_20-58-31.png 2021-02-20_20-58-31.png
    #162091 quote
    robertogozzi
    Moderator
    Master

    There you go:

    Ema20  = Average[20,1](close)
    Ema50  = Average[50,1](close)
    Ema200 = Average[200,1](close)
    Vol50  = Average[50,0](Volume) * 2
    c1     = Ema20 > Ema50
    c2     = Ema50 > Ema200
    c3     = Volume >= Vol50
    Cond   = c1 AND c2 AND c3
    SCREENER[Cond](Volume AS "Volume")
    Adriano250 thanked this post
    #162104 quote
    Adriano250
    Participant
    New

    Ah looks too easy. Can we add a price condition, that it should be highest for the past 20 weeks ?

    Thank you.

    #162106 quote
    Vonasi
    Moderator
    Master
    Ema20  = Average[20,1](close)
    Ema50  = Average[50,1](close)
    Ema200 = Average[200,1](close)
    Vol50  = Average[50,0](Volume) * 2
    c1     = Ema20 > Ema50
    c2     = Ema50 > Ema200
    c3     = Volume >= Vol50
    c4     = close >= highest[19](high[1])
    Cond   = c1 AND c2 AND c3 AND c4
    SCREENER[Cond](Volume AS "Volume")
    Adriano250 thanked this post
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Breakout after long consolidation screener – coding help


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
Adriano250 @adriano250 Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by Vonasi
5 years ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 02/20/2021
Status: Active
Attachments: 1 files
Logo Logo
Loading...