Provide parameters to the Screener

Forums ProRealTime English forum ProScreener support Provide parameters to the Screener

Viewing 2 posts - 1 through 2 (of 2 total)
  • #229462

    <p style=”text-align: left;”>Hello everyone.
    I have two questions:</p>
    <p style=”text-align: left;”>1. Does the forum have a search option?</p>
    <p style=”text-align: left;”>2. Is there a way to provide parameters to the Screener?
    I run my own screeners with 4 basic parameters: minimum and maximum price, minimum volume and number of periods back for starting screener.
    I change these values frequently within the source.
    I tried through a simple indicator with desired values, but call to the indicator always fails.</p>
    <p style=”text-align: left;”>Source of Indicator:</p>
    //——————————————————————————
    // Name: MyBaseParams
    // This Indicator Provides to Screener 4 Parameters to Running
    // Days Before
    // d = 0,1..254
    // Minimum Price
    // n = 1..1,000 // default 5
    // Maximum Price
    // x = 1..500,000 // default 500, must be greater then from Minimum Price
    // Minimum Volume
    // v = 250,000 – 1,000,000 // default 500,000
    // Using: DB, MinPrc, MaxPrc, MinVol = Call “MyBaseParams”
    //——————————————————————————
    DEFPARAM CalculateOnLastBars = 1

    DaysBefore = d
    MinPrice = n
    MaxPrice = x
    MinVolume = v

    RETURN DaysBefore AS “DB”, MinPrice AS “MinPrc”, MaxPrice AS “MaxPrc”, MinVolume AS “MinVol”
    //——————————————————————————
    <p style=”text-align: left;”>Thanks in advance for the reply</p>

    #229484

    See the attached pic for two ways to search the forum:

    • hovering your avatar with your mouse will open a SEARCH box
    • on the main page you can find a SEARCH box at the center.

    SCREENERS do not accept input variables, unlike indicators.

     

    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login