How to do Regression Channel in code ?
Author: JohnTong
Creation Date: 1/26/2018 6:04 AM
profile picture

JohnTong

#1
I like the regression channel tool on chart, how to do that in code ?
profile picture

Eugene

#2
Try searching the forum in the first place. Lots of hits come up for "regression". If you don't find some examples (which do exist in the Wiki) let us know.
profile picture

grtrader

#3
I also have been trying to do this. There are no examples in Wiki to duplicate the manual regression channel tool in code from two bars in a program. Also, there does not seem to be a way to specify the top, middle, or lower lines to be useful for alerts or trading. Is there a way to do this?
profile picture

Eugene

#4