Linear Regression Formula
Scraped Calculation With Alerts
Here is the Linear Regression Script For traders Who love rich features
++ Multi time frame -> Source Regression from a different Chart
++ Customized Colors -> This includes the pine lines
++ Smoothing -> Allow Filtered Regression; Note: Using 1 Defaults to the original line. The default is 1
++ Alerts On Channel/Range Crossing
++ Use this for BreakOuts and Reversals
++ This Script is not to be used Independently
Please note, this script is the likes of Bollinger bands and poses a risk of falling in a trend range.
Signals may Keep running on the same direction while the market is reversing.
If you have any feature requests, comment below or dm me. I will answer when i can.
Feel free to utilize this on your chart and share your ideas
For developers who want to use this on their chart, Please use this script
The original formula for calculation is posted there
❤❤❤ I hope you love this. From my heart! ❤❤❤
++ Display Old Signals ✔️✔️
-- Select All Option In the "Display Signals"
++ Bar Replay For All Users ✔️✔️
-- 1. Draw a vertical line where you want to replay
-- 2. Go to Indicator Styles and enable Bar Index
-- 3. Hover On your vertical line and check the value of the Bar Index On Indicator Data
-- 4. Open Indicator Inputs And Set this number In the "End At Bar Index"
-- 5. Go Back To Settings And Disable Bar Index For Normal Chart Zoom
Thanks For the Love, Always Open to More Suggestions
++ Yes This Indicator Can Be Used On Any TimeFrame and Any Pair/Symbol ✔️✔️
++ There is 'NO REPAINT' recorded, Ignore the tradingview warning unless your Resolution Option is not set to "Same As Symbol" ✔️✔️
- Added end time confirmation instead of bar index. ✔
- Fix issue mentioned by Jeno ✔
- Customizable Center Line ✔
Automate TradingView Alerts
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.