Trend scanner – within 30% of 3 year highs condition

Forums ProRealTime English forum ProScreener support Trend scanner – within 30% of 3 year highs condition

Viewing 3 posts - 1 through 3 (of 3 total)
  • #216457

    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
    JS

    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…

    1 user thanked author for this post.
    #216495

    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)

Create your free account now and post your request to benefit from the help of the community
Register or Login