New 20 day high scan with minimum wait of 10 days

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #185070 quote
    Alfy
    Participant
    Average

    Good morning guys, i wonder if anyone can help me. I would like to screen for stocks making a new 20 day high which haven’t made a new 20 day high in the last 10 trading days. Can anyone help?

    #185074 quote
    robertogozzi
    Moderator
    Master

    There you go (not tested):

    Cond1 = (close > highest[20](high[1]))
    Cond2 = (summation[10](Cond1[1]) = 0)
    SCREENER[Cond1 AND Cond2]
    #185095 quote
    Alfy
    Participant
    Average

    Hi Roberto, thanks very much for your help. Unfortunately that code doesnt work properly.

     

    Best regards

    #185176 quote
    robertogozzi
    Moderator
    Master

    It works ike charm on my charts.

    What TF are using, on which assets/indices?

    x-3.jpg x-3.jpg
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

New 20 day high scan with minimum wait of 10 days


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
Alfy @alfy Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by robertogozzi
4 years, 2 months ago.

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