I've been using the colored linear regression indicator in NT 6.5 and base a great deal of my trading on it. Lin_Reg_Color_Paint is the name. The first version repainted so someone revised it to not repaint. Then I started using it in NT7 and it repaints multiple times sometimes. Even at slightly different angles so there are times that you actually can see three colors at one point. I love this indicator and if anyone is familiar with it and knows if there is a version out there for NT7 - OR - if they know how to alter it to work a bit better in NT7, please let me know. I've attached the original version. Thanks!
Since this thread is referencing the Linear Regression I thought it would be the most appropriate place to post this.
Attached is the code I copied and pasted from other sources. My intention is to create arrows with alerts when the linear regression line changes color (not when price closes above/below the LR line). I believe I've accomplished that because I am not getting any error messages, but the problem is....it is plotting an arrow on every candle.
I would also like to be able to select "true/false" for audible alerts but do not know how to include that in the code.
Can someone please help me with the alerts and the code so that I do not get multiple arrows? (You can probably tell I am no programmer and this is my first attempt with Ninja script.)
The following 2 users say Thank You to brevco for this post: