New 20 day high scan with minimum wait of 10 days

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #185070 quote
    AlfyAlfy
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    There you go (not tested):

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

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

     

    Best regards

    #185176 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    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.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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 robertogozzirobertogozzi
4 years, 8 months ago.

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