Trend scanner – within 30% of 3 year highs condition

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #216457 quote
    timmmmmbo
    Participant
    Junior

    Hi all I am wondering if you can please assist me, I am running the below scans – however I am wanting to ensure the results are within ‘30% of the 150 week highs’… I have mucked around and come up with the below scan including condition of:

    TIMEFRAME (WEEKLY)
    c9 = close/highest[150](high)>0.7 and close/highest[150](high)<1

    But it seems to be resulting a few stocks that are 40%+ from their 3 year highs…. can you anyone please offer advise? The main aim is trending stocks, within 30% of 3 year highs…

     

     

    The full scan I run is below: thanks in advance

    _________________________________________________________________

     

    //TIMMMMMBOS

    ma50=exponentialaverage[50]
    ma150=exponentialaverage[150]
    ma200=exponentialaverage[200]
    indicator3 = Average[40](Volume)

    c1 = Close > exponentialaverage[50]
    c2 = ma50>ma150
    c3 = ma150>ma200
    c4 = summation[20](ma200>ma200[1])=20
    c5 = Close/lowest[250](low)>1.3
    C6 = (close > 2)
    C7 = (close < 10)
    C8 = (indicator3 > 50000)

    TIMEFRAME (WEEKLY)
    c9 = close/highest[150](high)>0.7 and close/highest[150](high)<1

    TrendTemplate = c1 and c2 and c3 and c4 and c5 and c6 and c7 and c8 and c9

    screener[TrendTemplate]

    #216468 quote
    JS
    Participant
    Veteran

    Hi,

    The history of a screener is limited to 256 bars (Premium version 1024 bars)

    Exponential averages use more history than the specified time period, so a problem may arise here…

    In the premium version of PRT, the screener seems to work well…

    timmmmmbo thanked this post
    #216495 quote
    timmmmmbo
    Participant
    Junior
    Thanks for response, I thought by changing time frame to ‘weekly’ it would work as only 150 weeks? as I was aware around 250 was the maximum bars   ‘TIMEFRAME (WEEKLY) c9 = close/highest[150](high)>0.7 and close/highest[150](high)<1′
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Trend scanner – within 30% of 3 year highs condition


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
timmmmmbo @timmmmmbo Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by timmmmmbo
2 years, 9 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 06/19/2023
Status: Active
Attachments: No files
Logo Logo
Loading...