Hello
I’m new to programming ProScreener, or anything for that matter.
I’d like to convert the following code (made for TeleChart) into ProScreener format but am hitting some barriers:
MAXH5 > MAXH20
AND MINL7.1 = MINL36
AND MINL3.1 < MINL36.1
AND L > MINL3.1 x 0.995
AND AVGV50 > 5000
This is how I converted it to ProScreener so far:
c1 = highest[5](high) > highest[20](high)
c2 = lowest[7.1](low) = lowest[36](low)
c3 = lowest[3.1](low) < lowest[36.1](low)
c4 = low > lowest[3.1](low) * 0.995
c5 = Volume[50] > 500000
I think my only problem is the “.1” parts of this setup which ProScreener doesn’t compute & which are meant to offset the count by one day (i.e. starting with yesterday’s candle). How do I get ProScreener to do this – i.e. in line 2 of the code above, get it to screen based on the lowest low of the last 7 days, starting with yesterday (instead of today)?
Thank-you in advance!