Linear Regression Formula
Scraped Calculation With Alerts
Here is the Script For traders Who love rich features
++ -> 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 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" ✔️✔️
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.
->>> https://tradingview.to/anywhere 😍😍🥰
1. Click Add to Favorites
2. Go to your chart, Click add Indicators > Favorites > Click on Linear Regression ++
3. Click Add Alert, Select the condition As Linear Regression ++, then choose Buy Or Sell,
4. Click Create Alert
line 46: The variable 'dp' is declared in local scope, which may not be executed at every update. So, obtaining its historical values may lead to unexpected results.
line 48: The variable 'dm' is declared in local scope, which may not be executed at every update. So, obtaining its historical values may lead to unexpected results.
Anyone know how to fix those?