Hi, would be grateful with assistance on how to add a prorealtime proscreener to list indices (or other selected instruments) where the low of todays bar is > x points below the most recent high. If a timeframe for the most recent high is required use 90 days, but this can be adjustable please. Thank you, Bruce
JSParticipant
Senior
Hi @bruces
I’m not sure what you mean, do you want to screen if the most recent “high” minus “today Low” is bigger than xPoints: High – Dlow > xPoints
In this case, I don’t understand what you mean by a 90-day time frame.
Or do you want to screen over the last 90 days when the most recent “High” minus “DLow(i) > xPoints: High – Dlow(i) > xPoints
In this case, the screener displays the number of days when this has taken place.
Hi and thank you for responding. Identify instruments where the previous major swing high (Gann) minus todays low is greater than or equal to x points. Displaying the number of days would also be useful. I hope that makes sense. Thank you, Bruce
JSParticipant
Senior
Hi
@bruces
Hereby the screener…
xDaysBack = 10
xPoints = 100
For i = 1 to xDaysBack
C1 = (DHigh(i) > DHigh(i-1) and DLow(i) > DLow(i-1)) and DHigh(i) - DLow(0) > xPoints
Break
Next
Screener[C1](C1 as "HighGann-DLow ")