macer 22 posts msg #55280 - Ignore macer | 
9/27/2007 8:15:12 AM
  Can anyone provide code that defines the latest swing lows of and indicator eg OBV, and the number of days from these swing lows to the present. 
 
 I want to use the values obtained to find the slope between the swing lows. Then, based on a continuation of this slope find out if the current value of the indicator is below this extrapolated line.
 
 The only thing I can think of is 2 day slope of 2 day low = 0 to define the swing lows but can not work this up into working code,
 
 Suggestions?
 
 
 macer
 
 
  |