Adding a filter to a code

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #241456 quote
    segie
    Participant
    Senior

    Hi,

    Please help me add a shares filter to the code below e.g if I wish to only view shares between $1 and $20

    Regards,

    Segie

    #241461 quote
    JC_Bywan
    Moderator
    Master

    Hi,

    You can add the following line to define your filter with a condition:

    condition= close>=1 and close<=20

     

    and modify your screener line to take the condition into account with:

    SCREENER[condition](speed AS "Speed")
    Iván González and segie thanked this post
    #241472 quote
    segie
    Participant
    Senior

    Thanks. Works well

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

Adding a filter to a code


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
segie @segie Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by segie
1 year, 2 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 12/16/2024
Status: Active
Attachments: No files
Logo Logo
Loading...