Forums › ProRealTime English forum › ProBuilder support › Monthly High Low Close Indicator › Reply To: Monthly High Low Close Indicator
06/13/2017 at 11:09 AM
#38207
Sorry, wrong code, this one should work better:
1 2 3 4 5 6 7 8 9 10 11 12 |
trimH=max(trimH,high) trimL=min(trimL,low) If openMonth<>openMonth[1] then if openmonth=4 or openmonth=7 or openmonth=10 or openmonth=1 then trimestrialH=trimH trimestrialL=trimL trimL=close*100 trimH=0 endif Endif return trimestrialH,trimestrialL |