Non horizontal S/R lines recognition algo

Discussion in 'Technical Analysis' started by cordura21, Apr 30, 2009.

  1. Hello. I want to develop an algo in excel that will identify support/resistenace lines that are not horizontal. For horizontal s/r detection I simply use the frequency() function to check for price zones that repeat themselves.

    In the case of non horizontal levels, I know that what's constant is not the levels, but the rates of change, and I don't know how to do it. I thought about testing many rates of change and then see what fits in each one, but then you have to guess not only rates but also "starting points" since you could catch data that corresponds to a rate depending on what level you used to start guessing.

    I'm sure this is pretty simple. Any help appreciated.

    Cheers, Andrés
  2. bump