Hi Everyone!
How do I get ProScreener to return a numerical value for specific criteria?
For example, let’s say I wanted to create an indicator called Candle Movement and it’s code is:
One = Low > High[1]
Nine = High < Low[1]
When I run the screener, how do I get ProScreener to display a column titled “Candle Movement”; and how do I get that column to display a numerical “1” when the criteria for “one” is met or a “9” when “nine” is met?
Thank you for your help!
JSParticipant
Veteran
Hi,
Try this one…
One=Low>High[1]
Nine=High<Low[1]
If One then
Number=1
ElsIf Nine then
Number=9
EndIf
Screener[One or Nine](Number as "Candle Movement")
Thank you so much! That’s just the help I needed!