Hey Guys!
I got the idea of trying to program an indicator based on the Standard Error Channel or Raff Channel.
The idea is to let the indicator first find a swing high placing the first Channel point there and then letting the channel progress with every new made low. Once the bars start doing higher lows the second point (and lowest) of the Error/Raff Channel will stick there.
My problem is i dont know how to program a line based on linear regression which i can then add to the deviation.
Any ideas?
Thanks!
/Viktor