Screener for stock trading flags

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #147670 quote
    nealhart
    Participant
    Junior

    Hi, I am trying to find a good formula for flag consolidation setups? (primarily buying stocks on daily timeframe)

    For examples – please see attached.

    Main filters would be…

    1> a recent volume spike ( within 10 days)

    2> gap up or sharp climb in price movement +3 daily candles (flagpole)

    3> a sideways volume consolidation of at least 3 days ( flag)

    Thanks very much

    Neal

    FLAG-SCREENER-EXAMPLE-2.jpg FLAG-SCREENER-EXAMPLE-2.jpg FLAG-SCREENER-EXAMPLE-3.jpg FLAG-SCREENER-EXAMPLE-3.jpg FLAG-SCREENER-EXAMPLE.jpg FLAG-SCREENER-EXAMPLE.jpg
    #147749 quote
    Nicolas
    Keymaster
    Master

    Here is how I coded it and should be more or less in accordance in what you need.

    1. there was a breakout of volume over its 20 periods average
    2. the squared percentage of the price close minus the 7 periods average made a breakout over its 200 periods average + 80% of its standard deviation
    3. the SMA 7 is over the SMA 200 and price is over the SMA 200
    4. the current candle high is below the highest high of the last 3 periods
    c1 = summation[10](volume crosses over average[20](volume))>0
    a = summation[3](close-average[7]/average[7])
    diff = square(a-a[1])
    avg = average[200](diff)+std[200](diff)*.8
    c2 = summation[10](diff crosses over avg)>0
    c3 = average[7]>average[200] and close>average[200]
    c4 = high<highest[3](high)
    
    c = c1 and c2 and c3 and c4
    
    screener[c]
    flag-stock-screener.png flag-stock-screener.png
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Screener for stock trading flags


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
nealhart @nealhart Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Nicolas
5 years, 5 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 10/18/2020
Status: Active
Attachments: 4 files
Logo Logo
Loading...