Forums › ProRealTime English forum › ProBuilder support › Monthly High Low Close Indicator › Reply To: Monthly High Low Close Indicator
01/19/2018 at 8:10 PM
#59918
I can not do anything with OpenMonth, I fixed the screener to return information with “Month” instead, but the values of the quarters may not be the right ones, to be checked:
1234567891011121314151617181920212223242526272829303132333435363738 // previous quartly high/lowtrimH = max(trimH,high)trimL = min(trimL,low)if month <> month[1] thenMhi=trimHMlo=trimLif month = 4 or month = 7 or month = 10 or month = 1 thenQhi = trimHQlo = trimLtrimL = close*100trimH = 0endifendifif close > Qhi thenq = 20endifif close < Qlo thenq = 10endifif close < Qhi and close > Qlo thenq = 0endif//m=0if close > Mhi thenm = 2endifif close < Mlo thenm = 1endifif close < Mhi and close > Mlo thenm = 0endift = q + mSCREENER (t as “Q M”)
Hello Nicolas,
I really thank you for the help you provide to all of us.
When you correct that screener, you wrote :
Mhi = trimH
Mlo = trimL
I understand that means that the value returned for monthly will be the trimestrial one.
Is that right ?
Thanks