screener for first 15mins of market open?

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

    Hi there , Im trying to create a screener for stocks that trade more than 25% of their 14day ATR in the first 15 mins of market open. Any ideas on this ?

    I’ve added envelope to my ATR to show the 25% value but it seems like a long-winded way to use in screening.

    Any input greatly appreciated.

    S.

    #254979 quote
    robertogozzi
    Moderator
    Master

    As you can see in the attached pic, APPLE is trading at 271.09, while its ATR(14) is 0.169864.

    What do you mean by “stocks that trade more than 25% of their 14day ATR“?  I don’t think you mean “more than 0.169864 * 0.25“, as it would ALWAYS be true! Can you better explain that wording?

    Iván González thanked this post
    x.jpg x.jpg
    #255188 quote
    dudewheresmycar
    Participant
    New

    Thanks Roberto, I’ll try to clarify.

    Im looking for instruments that made a big move at the beginning of their trading day – 25% of their 14-DAY ATR. (In the above example the ATR is on a 1-minute time frame).

    Once we have that figure, we see (in this case) if Apple moved more than that, in the first 15 minutes of the market open (one 15min candle).

    This screener requires using 2 different timeframes – daily (for the 14day ATR figure) and 15 minute (for the market open).

    That’s the basic idea (I hope it makes more sense).

    The next step would be to look for a reversal signal(engulfing pattern or hammer ) on a 5 min time frame (restricted to 90 mins from open) and only if its outside that 15min price range. (just to confuse you a bit more).

    Does that make sense?

    #255194 quote
    JS
    Participant
    Senior

    Screener explanation:

    TimeFrame(Daily)
    ATR14D=AverageTrueRange[14](Close)
    
    TimeFrame(15 minutes)
    If IntraDayBarIndex=0 then
    Move=abs(Close-Open)
    EndIf
    
    c1=Move/ATR14D>0.25
    
    TimeFrame(5 minutes)
    PrevBodyHigh=max(Open[1],Close[1])
    PrevBodyLow=min(Open[1],Close[1])
    
    CurrBodyHigh=max(Open,Close)
    CurrBodyLow=min(Open,Close)
    
    If IntraDayBarIndex>3 and IntraDayBarIndex<18 then
    BullEngulf=(Close>Open) AND (Close[1]<Open[1]) AND (CurrBodyHigh>=PrevBodyHigh) AND (CurrBodyLow<=PrevBodyLow)
    BearEngulf=(Close<Open) AND (Close[1]>Open[1]) AND (CurrBodyHigh>=PrevBodyHigh) AND (CurrBodyLow<=PrevBodyLow)
    EndIf
    
    Screener[c1 and (BullEngulf or BearEngulf)]
    

    On the 1-day timeframe, the Average True Range over the last 14 days is calculated using ATR14D = AverageTrueRange[14](Close).

    On the 15-minute timeframe, the opening candle is identified using IntraDayBarIndex = 0.

    The absolute price move of this first candle is then calculated as Move = abs(Close - Open).

    Next, it is checked whether this move exceeds 25% of the 14-day ATR, expressed by the condition C1 = Move / ATR14D > 0.25.

    On the 5-minute timeframe, the candle body of both the previous and the current bar is determined by calculating PrevBodyHigh = max(Open[1], Close[1]) and PrevBodyLow = min(Open[1], Close[1]) for the previous bar, and CurrBodyHigh = max(Open, Close) and CurrBodyLow = min(Open, Close) for the current bar.

    The time window in which the engulfing pattern must occur is then defined as between 15 and 90 minutes after the market open, which is enforced by the condition If IntraDayBarIndex > 3 AND IntraDayBarIndex < 18 Then.

    Within this time window, a bullish engulfing pattern is defined as (Close > Open) AND (Close[1] < Open[1]) AND (CurrBodyHigh >= PrevBodyHigh) AND (CurrBodyLow <= PrevBodyLow), while a bearish engulfing pattern is defined as (Close < Open) AND (Close[1] > Open[1]) AND (CurrBodyHigh >= PrevBodyHigh) AND (CurrBodyLow <= PrevBodyLow).

    The screener ultimately scans for the combination of the initial Move and the occurrence of an engulfing pattern.

    dudewheresmycar and Iván González thanked this post
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

screener for first 15mins of market open?


ProScreener: Market Scanners & Detection

New Reply
Author
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by JS
1 month, 2 weeks ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 01/03/2026
Status: Active
Attachments: 1 files
Logo Logo
Loading...