<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>