I am using this code to highlight which symbols I want on a watch list. I set the constrain value to "1' on scanner "pre-scanning" for symbols of interest. Is it possible to code this with direct input to a data field; where I could simpy type a value of 0 or 1 in a column without having to change the input value of the study for each symbol (see attached)?
Code: Select all
Inputs:
Watchlist(0);
If WatchList = 1 then
BEGIN
Plot1("1");
SetPlotBGColor( 1, blue);
SetPlotColor(1, white);
END
else
If WatchList = 0 then
BEGIN
Plot1("0");
SetPlotBGColor( 1, red) ;
SetPlotColor(1, white);
END
Thanks for your assistance.
Bruno