• Chart
  • Markets
  • News
  • Screeners
  • Community
  • More
Get started
Scripts

linreg

Trading Ideas 10 Educational Ideas 3
Scripts 16

Indicators, Strategies and Libraries

All Types
All Types
Indicators
Strategies
Libraries
Open Sources Only
Top authors: linreg
DevLucem
DevLucem Premium
Last visit
Follow Following Unfollow
xel_arjona
xel_arjona Premium
Last visit
Follow Following Unfollow
LuxAlgo
LuxAlgo Premium
Follow Following Unfollow
Noldo
Noldo
Follow Following Unfollow
dgtrd
dgtrd Wizard
Follow Following Unfollow
Trendlines with Breaks [LUX]
BTCUSD: Trendlines with Breaks [LUX]
LuxAlgo LuxAlgo Premium

To complete our previous work on breakouts with pivot point-based levels, we introduce an indicator returning pivot point based trendlines with highlighted breakouts. Users can control the steepness of the trendlines as well as their slope calculation method. The indicator also includes integrated alerts for trendlines breakouts. Settings Length: Pivot...

3980
38
Raff Regression Channel by DGT
EURUSD: Raff Regression Channel by DGT
dgtrd dgtrd Wizard

Rᴀꜰꜰ Rᴇɢʀᴇꜱꜱɪᴏɴ Cʜᴀɴɴᴇʟ (RRC) This study aims to automate Raff Regression Channel drawing either based on ZigZag Indicator or optionally User Preference The Raff Regression Channel , developed by Gilbert Raff, is based on a linear regression, which is the least-squares line-of-best-fit for a price series, with evenly spaced trend lines above and below . The...

1958
45
Squeeze Momentum Indicator [LazyBear] vX by DGT
EOSUSDT: Squeeze Momentum Indicator [LazyBear] vX by DGT
dgtrd dgtrd Wizard

Modified version of Squeeze Momentum Indicator visualizing on Price Chart author: LazyBear, modified by KıvançÖZBİLGİÇ

1617
21
Linear Regression ++
NZDUSD: Linear Regression ++
DevLucem DevLucem Premium

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

4609
66
Linear Regression Fan [LUX]
BTCUSD: Linear Regression Fan [LUX]
LuxAlgo LuxAlgo Premium

This indicator displays a fan using a linear regression fit to the price as a base. All lines are equidistant and are drawn from the first point of the linear regression to the most recent point of the linear regression plus the root-mean-square deviation (RMSD) multiplied by a certain factor. Settings Length: Lookback period for the linear regression. ...

775
5
Lnear Regression ++
NZDUSD: Lnear Regression ++
DevLucem DevLucem Premium

Here is another amazing script for you guys Target Audience ++ Programmers ++ Linear Regression Enthusiasts Please Use this Indicator If you understand the risk posed by linear regression; ill explain some below Features ++ Raw Formulae for the linear regression --I understand that tradingview explanation on how the linreg function works is not clear to...

1240
26
Linear SSL Short
ETHUSDT: Linear SSL Short
TradingAmmo TradingAmmo Premium

This script consist of two parts: linear SSL and DEMA. The difference between original SSL and current is that it calculated by linear regression. The logic is simple: when SSL "crossunder" and DEMA is above the price - we get short signal. When price became above DEMA and SSL "crossover" - close short.

202
0
Linear trend
ETHUSDT: Linear trend
TradingAmmo TradingAmmo Premium

Simple way how to use Linear Regression for trading. What we use: • Linear Regression • EMA 200 as a trend filter Logic: Firstly we make two different linear regression movings as oscillator. For this we need to subtract slow moving from fast moving, so we get the single moving around zero. This is the green/red line which appears on the chart. The trade open...

62
0
Natural Market Slope [CC]
AAPL: Natural Market Slope [CC]
cheatcountry cheatcountry Premium

The Natural Market Slope was created by Jim Sloman and this is one of his many Ocean Indicators which I'm publishing thanks to receiving source materials from @altcoinz and @tmac87. I did completely rewrite the formula for this indicator but I commented out the original calculation so you can compare or just for study purposes. I like this version better because...

134
3
[STRATEGY] Follow the Janet Yellen
NAS100: [STRATEGY] Follow the Janet Yellen
LastBattle LastBattle Pro+

In the era of central bank's helicopter money, the market will always be skyrocketing up and up given enough time. What's the strategy to profit from indices? Only short the market when its in a state of euphoria /irrational exuberance bubble, or sell when it is confirmed (20% drawdown). Otherwise, you really have no reason not to long at every chance. ...

275
2
Minkowski Distance Period Linear Regression Bands
EURUSD: Minkowski Distance Period Linear Regression Bands
Noldo Noldo

Hello, this script was created by using Linear Regression Bands Function with variable Function Minkowski Distance Adaptive Period. Function Linear Regression Bands : Minkowski Distance Function Original Script by RicardoSantos : Functions saved from overloads . And suitable for mutable variable periods. Regards.

100
5
Fractal Regression Channel V0.1
BTCUSD: Fractal Regression Channel V0.1
auroagwei auroagwei Pro

Port of @RicardoSantos' Fractal Regression Channel V0 from pinescript 2 to pinescript 3. // Source: // Original Author: @RicardoSantos

89
0
Function for Least Squares Moving Average
XAUUSD: Function for Least Squares Moving Average
chrysopoetics chrysopoetics

Thank you to alexgrover for putting me wide to this, after putting up with long conversations and stupid questions. Follow him and behold: www.tradingview.com What is this? This is simply the function for a Least Squares Moving Average. You can render this on the chart by using the linreg() function in Pine. Personally I like to use the slope of the LSMA to...

100
1
Trigonometric Oscillator
EURUSD: Trigonometric Oscillator
alexgrover alexgrover Wizard

Its a pretty old script and i have absolutely no idea how i did it, the code kinda look like the phase wrapping/unwrapping formula. This indicator is an oscillator, sometimes its reactivity is impressive so i think its a good idea to post it, feel free to experiment with it.

128
3
Function : Linear Regression Bands
ETHUSD: Function : Linear Regression Bands
Noldo Noldo

Used with Pearson Correlation. It can be used to make sense of the trends. Very successful results can be obtained with a MACD style indicator and volume indicator that gives Buy and Sell orders.Open for adaptive and mutable variable periods of moving averages. Best regards!

101
0
BB Forecast Prototype
BTCUSD: BB Forecast Prototype
auroagwei auroagwei Pro

Experiment to try apply @atrader2's MA Forecast () to bollinger bands - didn't exactly work out how I expected it to, especially with the Upper/Lower forecast projections.

54
0

Products
  • Chart
  • Pine Script
  • Stock Screener
  • Forex Screener
  • Crypto Screener
  • Stock Heatmap
  • Crypto Heatmap
  • Economic Calendar
  • Earnings Calendar
  • Sparks
  • Snaps
  • Breaking news
  • TradingView Desktop
Company
  • About
  • Features
  • Pricing
  • Wall of Love
  • Blog
  • Careers
  • Security vulnerability
  • Status page
  • Terms of use
  • Disclaimer
  • Privacy policy
  • Cookies policy
Community
  • Refer a friend
  • Ideas
  • Scripts
  • Streams
  • House rules
  • Moderators
  • Pine Wizards
  • Chat
For business
  • Widgets
  • Advertising
  • Website & broker solutions
  • Charting solutions
  • Lightweight Charting Library
  • Brokerage integration
  • Partner program
  • Content streams & RSS
Download on the App Store Download on the App Store Get it on Google Play Get it on Google Play
Download Desktop app Download Desktop app
Select market data provided by ICE Data Services © 2022 TradingView