| Norm.Sash 26 posts
 msg #98456
 - Ignore Norm.Sash
 | 1/6/2011 1:58:11 AM 
 the following syntax works to draw a line at the closing price 20 days ago:
 
 and draw price line at close 20 days ago
 
 
 But if I change the syntax to use a variable instead of a hard coded number for the xx days ago it fails (looks like it draws a line at zero).
 
 set{ var, 20}
 and draw price line at close var days ago
 
 
 Any idea what is wrong with this syntax and how to accomplish drawing a closing price at a date which is variable in the past?
 
 
 | 
| Kevin_in_GA 4,599 posts
 msg #98482
 - Ignore Kevin_in_GA
 | 1/7/2011 2:24:16 PM 
 SF user-defined variables do not work in this way.  Sorry.  Good idea though.
 
 
 | 
| mahkoh 1,065 posts
 msg #98494
 - Ignore mahkoh
 | 1/7/2011 6:50:07 PM 
 Sorry I cannot help you but this post has finally got my pivot filter with lines on the chart working. Thanks a lot!
 
 
 
 
 
 
 
 
 
 |