Hi again.

Subject: Back testing and the elimination of future data reference.
  
I squeezed every neuron I have (LOL) for a solution to using the linear 
regression angle in back testing. I have the idea but not the know of which 
functions to use.
So what I'm thinking is can a condition be used as the starting point for a 
look back at the past data to calculate the slope/angle in Joe's formula? 
Such as:
Cross(macd, signal) or any condition really, is cue for the Linear Regression 
Slope Angle formula to look back over the last (user defined) days from the 
initial condition.

Condition 1) Cross(macd(), signal()) = Yes

Using Condition 1) as the datum point on the X axis, the LinRegSlope Angle 
formula looks back at the previous data and calculates the slope angle over (n) 
days.

Condition 2) LinRegSlope angle is > 0.20 = Yes

Fairly straight forward in English hey. Could be a fruitful experiment. :)

Reply via email to