Condition for screener to filter through stocks with less than n periods of trad

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #87978 quote
    JayyunitJayyunit
    Participant
    New

    Hi guys,

    How do I make a condition so that the screener filters through new stocks eg. stocks with less than 200 periods of trading.

    Thanks in advance,

    Jay

    #91363 quote
    NicolasNicolas
    Keymaster
    Legend

    You can add a simple condition that test how many bars are present in history available (should be less than 200 on a daily timeframe):

    test = barindex<200
    
    screener[test]
Viewing 2 posts - 1 through 2 (of 2 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

Condition for screener to filter through stocks with less than n periods of trad


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
Jayyunit @jayyunit Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by NicolasNicolas
7 years, 7 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 01/04/2019
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...