Kevin_in_GA 4,599 posts msg #138338 - Ignore Kevin_in_GA | 
9/24/2017 1:19:34 PM
  Again, you need to read the manual and learn the correct syntax.
 
 period (monthly, close > close 1 month ago, 36)
 
 should be
 
 hadalert--(period(monthly, close) > ref(period(monthly, close),-1),36)
 
 just remove the hashmarks since without them it triggers some sort of HTML code here on the forums.
 
  | 
15minoffame 131 posts msg #138349 - Ignore 15minoffame | 
9/24/2017 10:05:49 PM
  Thanks Kevin! I've gone through the manual, but to me anyway, it's a lot more difficult than SF. They give examples, but for very generics. Your formula gave a ranking of 1-3 but I'm still trying to figure out how to add a column showing up months over the past 3 years. I'll keep working on it.
 
  |