DevLucem

Linear Regression ++

Due to public demand

Linear Regression Formula
Scraped Calculation With Alerts

Here is the Linear Regression Script For traders Who love rich features

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


Usage
++ Use this for BreakOuts and Reversals
++ This Script is not to be used Independently


Risks
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.


Requests
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! ❤❤❤
Notas de Lançamento: update to line thickness
Notas de Lançamento: New Features Addition

++ 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" ✔️✔️
Open-source script

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.

Quer usar esse script no gráfico?
Automate TradingView Alerts ->
->>> https://tradingview.to/anywhere 😍😍🥰

Comentários

Hey LucemANB,

Unfortunately I still do not know how to set the alerts. Is there an example.

I cannot find BUY and SELL in the alert settings.

Thanks in advance
+16 Resposta
DenoTrade DenoTrade
@LucemAnb found it, sorry. It was the wrong Script...
Resposta
DevLucem DenoTrade
@DenoTrade, Easy,

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
+1 Resposta
Hi,

It's working well for 5 minutes on GBP/USD. Do you have any recommendation for combining this with another for Forex? Also in your opinion what time period is best suitable for this to work even better? Thanks.
+4 Resposta
DevLucem curry_leaves_UK
@curry_leaves_UK, Works well on all timeframes, Its robust for any type of trading that you are doing, For awesome Backups, use multiple configurations confirmation.
Resposta
papa_PUTS DevLucem
@LucemAnb, pure sorcery.
Resposta
martinweb DevLucem
@LucemAnb, very interesting script man! Could you may explain what the good thing is about linear regression and how to combine it properly to be safe? Do you usually set it to a timeframe one level or two higher as the current timeframe? thanks for any help ;)
+1 Resposta
DevLucem martinweb
@martinweb, The most reversals will happen on the edge of linear regression channel, So its upto you to decide which Is more likely than not when spotted by the Lin Reg
+2 Resposta
line 44: The variable 'b' is declared in local scope, which may not be executed at every update. So, obtaining its historical values may lead to unexpected results.
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?
+1 Resposta
Início Rastreador de Fundamentos Rastreador Forex Rastreador de Criptomoedas Calendário Econômico Como Funciona Recursos gráficos Preços Indique um Amigo Regras da Casa Central de Ajuda Soluções para Sites & Corretoras Widgets Soluções em Gráficos Biblioteca de Gráficos Lightweight Blog & Notícias Twitter
Perfil Configurações de perfil Conta e Cobrança Amigos indicados Moedas Meus Tíquetes de Suporte Central de Ajuda Mensagens Privadas Conversa Deslogar