mahkoh 1,065 posts msg #124390 - Ignore mahkoh | 
7/16/2015 7:38:36 AM
  symlist(spy)
 set{x, date(yearend,close 200 day high)}
 add column x
 
 this will give you (in most cases) last year's high
 from there you should be able to figure out the other inputs you need and calculate your pivot points
 
 Below is a monthly pivotpoint filter that may help in case you get stuck. 
 
 set{mh,date(monthend,high 21 day high)}
 set{ml,date(monthend,low 21 day low)}
 set{cl,date(monthend,close)}
 
 
 set{mp1,cl + mh}
 set{mp,mp1 + ml}
 set{mpp,mp/3}
 
 set{mr1x,mpp*2}
 set{mr1,mr1x - ml}
 set{ms1,mr1x - mh}
 
 set{mrange,mh - ml}
 set{mr2,mpp + mrange}
 set{ms2,mpp - mrange}
 
 set{m2r,mrange*2}
 set{mr3,mpp + m2r}
 set{ms3,mpp - m2r}
 
 draw price line at mr2
 draw price line at ms1
 draw price line at ms2
 draw price line at mr1 
 
  |