Inside day screener

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #157911 quote
    PeterClothier
    Participant
    New

    Hi,

    I would like to set up and inside day (yesterdays bar) for screening for stocks within say, 15% of their 26 week highs. (adjustable to inside week also)

    Using the search function, I couldn’t find something like it.

    A few years agoO did  some simple screener programming on PRT, but I don’t know how to approach this.

    Has anyone seen something like this or could help?

    Thanks

    Kind regards

     

    Peter

    #157913 quote
    robertogozzi
    Moderator
    Master

    There you go:

    Timeframe(Weekly)
    HIw = highest[26](high)
    H15 = HIw * 0.85        //within 15% of 26-week high
    Timeframe(Daily)
    Cond = close >= H15
    SCREENER[Cond](H15 AS "High")
    #157933 quote
    PeterClothier
    Participant
    New

    Thank you.

    Is that the weekly version?

    If so, how can it be adjusted to the daily and vice versa?

    Thanks again

    #157936 quote
    robertogozzi
    Moderator
    Master

    Yes, to make it work on daily data, simply replace Weekly with Daily at line 1.

    PeterClothier thanked this post
    #158231 quote
    PeterClothier
    Participant
    New

    Thank you

     

    Looking at what it shows up, it does not look like “inside days”  or “inside weeks” on all of the the results.

    Inside day = current period H <than prior period H and current period low>prior period low

    Rg: on a daily time frame $ISRG on 14th Jan was an inside day

     

    $GOOG was on 13th Jan, but wasn’t on the 14th or 15th Jan (and it shows up in the screen)

    #158232 quote
    robertogozzi
    Moderator
    Master

    You are right, I forgot to add the Inside Bar on the Daily TF:

    Timeframe(Weekly)
    HIw = highest[26](high)
    H15 = HIw * 0.85        //within 15% of 26-week high
    Timeframe(Daily)
    InsideBar = (high[1] < high[2]) AND (low[1] > low[2]) //yesterday was an Inside Bar
    Cond = (close >= H15) AND InsideBar
    SCREENER[Cond](H15 AS "High")
    PeterClothier thanked this post
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Inside day screener


ProScreener: Market Scanners & Detection

New Reply
Author
Summary

This topic contains 5 replies,
has 2 voices, and was last updated by robertogozzi
5 years, 1 month ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 01/15/2021
Status: Active
Attachments: No files
Logo Logo
Loading...