Phase before consolidation

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #205092 quote
    marco7630
    Participant
    New

    Hello,

    Can somebody help me creating a code for the following

    I would like to see the stocks that meet all the following requirements:
    • Current price is above the 20,50 and 200 day SMA
    • The average daily volume in the last week is above 500k
    • The current price of the stock is above 10 usd
    • In the past 1-3 months there needs to have been a price move from 30-100% within a 2 week timeframe maximal

    Thanks

    gr Marco

    #205119 quote
    robertogozzi
    Moderator
    Master

    There you go:

    Timeframe(Weekly)
    PerCent  = (close - close[10]) * 100 / close[10]                    //10 days = 2 weeks
    c0            = summation[13]((Percent >= 30) AND (PerCent <= 100)) //13 weeks = 3 months
    //
    Timeframe(Daily)
    Sma20   = average[20,0](close)
    Sma50   = average[50,0](close)
    Sma200 = average[200,0](close)
    c1           = close > Sma20
    c2           = close > Sma50
    c3           = close > Sma200
    c4           = average[5,0](volume) > 500000
    c5           = close > 100
    Timeframe(default)
    SCREENER[c0 AND c1 AND c2 AND c3 AND c4 AND c5](PerCent AS "%")
    ZeroCafeine thanked this post
    #205257 quote
    ZeroCafeine
    Participant
    Senior

    hello @robertogozzi
    C5 I think is Close > 10 not 100,

    and I understand the “PerCent” it’s just a variable but I don’t understand the C0, what can be the result of C0, it’s a Boolen ?

    Best Reguards

    #205258 quote
    robertogozzi
    Moderator
    Master

    Yes, it’s 10. I used 100 just to filter the output.

    C0 is the number of times the % was in the 50-100 range in a week in the last 13 weeks, you need it to be greater than 0.

    ZeroCafeine thanked this post
    #205265 quote
    ZeroCafeine
    Participant
    Senior

    tks for your answers, so the AND in the condition C0 it’s like a + (AND = +)

    #205271 quote
    marco7630
    Participant
    New

    Thanks for all your efforts guys:-)

    #207654 quote
    marco7630
    Participant
    New

    Hi Guys,

    I would like to have an extra requirement in the above code. It is point 5 in the following requirements:

    I would like to see the stocks that meet all the following requirements:

      Current price is above the 20,50 and 200 day SMA
      The average daily volume in the last week is above 500k
      The current price of the stock is above 10 usd
      In the past 1-3 months there needs to have been a price move from 30-100% within a 2 week timeframe maximal
      The current price of the stock needs to be below the highest price in point 4 (but not lower then 10% of that max price)
    #207725 quote
    robertogozzi
    Moderator
    Master

    There you go:

    Timeframe(Weekly)
    PerCent    = (close - close[10]) * 100 / close[10]               //10 days = 2 weeks
    c0         = summation[13]((Percent >= 30) AND (PerCent <= 100)) //13 weeks = 3 months
    HHprice    = highest[13](close)
    TenPerCent = HHprice * 0.90
    //
    Timeframe(Daily)
    Sma20  = average[20,0](close)
    Sma50  = average[50,0](close)
    Sma200 = average[200,0](close)
    c1     = close > Sma20
    c2     = close > Sma50
    c3     = close > Sma200
    c4     = average[5,0](volume) > 500000
    c5     = close > 10
    c6     = (close < HHprice) AND (close >= TenPerCent)
    Timeframe(default)
    SCREENER[c0 AND c1 AND c2 AND c3 AND c4 AND c5 AND c6](PerCent AS "%")
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.

Phase before consolidation


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
marco7630 @marco7630 Participant
Summary

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

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 11/30/2022
Status: Active
Attachments: No files
Logo Logo
Loading...