A message to Nicholas here. I am new to ProRealCode and I apologise in advance if I am not submitting my enquiry correctly.
On 29/11/2019 you posted this in a reply to a query from Matt B who was looking for a screener to identify stocks hitting monthlyR3 and S3 pivot points:
Percent = 1.5 //percentage %
If Month<>Month[1] then
monthlyHigh = Highest[max(1,BarIndex – lastMonthBarIndex)](High)[1]
monthlyLow = Lowest[max(1,BarIndex – lastMonthBarIndex)](Low)[1]
lastMonthBarIndex = BarIndex
monthlyPivot = (monthlyHigh + monthlyLow + Close[1]) / 3
monthlyR1 = 2*monthlyPivot – monthlyLow
monthlyS1 = 2*monthlyPivot – monthlyHigh
//monthlyR2 = monthlyPivot + (monthlyHigh – monthlyLow)
//monthlyS2 = monthlyPivot – (monthlyHigh – monthlyLow)
monthlyR3 = monthlyR1 + (monthlyHigh – monthlyLow)
monthlyS3 = monthlyS1 – (monthlyHigh – monthlyLow)
Endif
data = min(abs(close–monthlyR3),abs(close–monthlys3))
c1 = (data/close*100)<=Percent/100
screener [c1](data/close*100)
I am looking for exactly the same thing and I was wondering if you had it in a file format to enable me to download it and then install it on my ProScreener attached to my IT Charts?
Please let me know if you can help.
Best wishes
Andy
TT03