24HLRThis indicator is 24 hours Linear regression line . with upper SD and lower SD (can be manipulated )
The idea is that the coin will bounce up or down around the LR line (red) when you go lower frame of 4h up to1 hour charts then you can see more easy the direction of the coin , its potential low or potential high , where the LR lead the way .
In this example we look on btc at 4hours chart and see that its in a cross road either to hell or to escape (if break the line going down upward)
and here in 1D graph
ลิเนีย รีเกรสชั่น
Chande Kroll R-Squared IndexChande Kroll R-Squared Index script.
This indicator was originally developed by Tushar S. Chande and Stanley Kroll (see their book `The New Technical Trader`, Chapter 2: `Linear Regression Analysis`).
linear MultiTFThis is linear MTF ..
just change the setting of the TF that youy want.. similar idea to heiken but i hope this one is not repainting:)
linearreg as heikenLinear regression as similar to heiken candles, arrow up (green) or down (red) show the trends
LinearSARThis is colur coding of linear model and Sar . it good for a template to make upon it better models
also it a great model for long or short on bitmex
so have fun
LR ChannelScript draws actual positions of linear regression channel boundaries and doesn't repaint.
Green lines color - for a positive slope of standard linear regression channel, red - for a negative slope.
Linear Regression Channel - RKSell when turns red.
Buy when turns green.
Don't be greedy, keep booking profit.
Gray means don't trade.
Regression Line (OLS) w/Residual Bands - Beasley SavagePlots linear regression "line of best fit" for a given source and length. Also plots the standard deviation of residuals as upper and lower bands. For some reason it's not plotting the lines exactly where the values are, so I wouldn't recommend using it as a purely visual indicator, but it could be used in strategies. A quick implementation of a strategy buying when the close crossed over the lower band and selling when close crossed under the upper band resulted in ~60-70% trade accuracy, not taking into account commission/slippage.
If anyone knows how to fix the lines not plotting accurately please let me know :)
Regression OscillatorRegression Oscillator indicator script.
This indicator was originally developed by Richard Goedde (Stocks & Commodities V.15:3, Timing A Stock Using The Regression Oscillator).
Auto-FilterA least squares filter using the Auto line as source, practical for noise removal without higher phase shift.
Its possible to create another parameter for the auto-line length, just add a parameter Period or whatever you want.
r = round(close/round)*round
dev = stdev(close,Period)
Hope you enjoy :)
Periodic ChannelThis indicator try to create a channel by summing a re-scaled and readapted sinusoidal wave form to the price mean.
The length parameter control the speed of the sinusoidal wave form, this parameter is not converted to a sine wave period for allowing a better estimation, higher length's work better but feel free to try shorter periods.
The invert parameter invert the sinusoidal wave.
Each bands represent possible return points, the higher the band the higher the probability.
Inverted sin wave exemple
The performance of the indicator is subjective to the main estimation (blue line), select the parameter that best fit the blue line to the price.
Best ragards
Woodies CCI with ChopZone and Sidewinder indicatorExcelente indicador a mi parecer, bastante complejo pero muy bien acoplado; dejo aquí las fuentes para aprender a utilizarlo:
www.x-trader.net
www.x-trader.net www.x-trader.net www.x-trader.net
Fractal Breakout V2Version 2 of my fractal pattern aid ( Version 1 ).
I added a bouncing line between the high and low trend lines, connecting consecutive extreme points. I also chased down a pesky bug in the slope calculation...and for now I have disabled the ability to change resolution basis for extreme detection (e.g. 30m on a 1hr chart).
For fun, I added some shading to make it more apparent at a glance what is happening, but if you find it gimmicky, there's an option to turn that off.
I am inexperienced with pattern recognition, so please send feedback if you have any ideas that would make this more useful.
Thanks!
Lemrin
Fractal BreakoutFirst of all, huge credit to synapticEx , whose brilliant use of the security function inspired me to figure out a way to get quasi-shape boundaries automatically drawn on a chart.
This study draws upper and lower trend lines, based on configurable fractal*** reversal detection, calculates slope from the last two upper or lower reversal points, and then extends a dotted line along the same slope...until the next upper (or lower) reversal occurs. If the high (or low) breaks this extension, the dotted line becomes solid to aid visibility. Reversal detection is configurable to use any number of ticks, but probably four to eight will work best.
I made the inclusion of volume in the reversal logic optional (off by default) and left the existing SMA input found in synapticEx's code intact, albeit with a lower default. With the addition of trend lines, I found volume hindered identification of reversals, although I could try various other filters than the SMA included originally.
I have also left intact the very nice ability to change the period and use the requested period identify reversals, courtesy of synapticEx.
This could be used in a strategy, as the values plotted are actual values that are available to include in logic and do not include knowledge of the future. However , information is not available until the floor of half the number of ticks used in reversal detection (I then offset by that number to line things up visually). Having never heard of it until now, I just Googled the Bill Williams Alligator strategy, which looks interesting, so maybe I could see how this could be ported to that.
***As I typed this, I remembered that while making reversal detection configurable, I changed the detection logic simply to look for highest (or lowest) of the desired length of ticks. I don't know whether this is not strictly fractal anymore, but if desired, with a little work, I could make it require consecutive, consistent changes before and after each reversal again.
Here are a few screenshots from hourly ticks, using the "current" (hourly) period, with and without volume, and playing with the number of points used to identify reversals.
Not using volume
Using volume
Forecast OscillatorForecast Oscillator indicator script. This indicator was originally developed by Tushar Chande.
3 Linear Regression CurveFast 3LRC - 15/30/60 standard settings - 15/30 give a lot of noise, but give you a some time to prepare for the 60 to flip
Regression Line Formula
A regression line is simply a single line that best fits the data.
In the pinescript you can plot a linear regression line using the linreg function.
Here i share the entire calculation of the linear regression line, you are free to take the code and modify the functions in the script for creating your own kind of filter.
Hope you enjoy :)
Linear Regression TrendChannel Lines based on linear regression combined with fractal divergence indicator bands.
Taylor
Candele Reg linThis are candels using 20 period Linear regression of close ,open, mim, max. Lime color if close > open and close > of last previus close. Red if close<open and close< of the previus close. Blue candles if none of the condition are meet. Pay attention at the reletion between body and shadow
Stefan Krecher: Jeddingen Divergence v2This is an update to my script:
Stefan-Krecher-Jeddingen-Divergence/
The behaviour is exactly the same, I just added the option to create alerts based on this indicator
ORDINARY LEAST SQUARES Slope by @XeL_ArjonaORDINARY LEAST SQUARES Slope by @XeL_Arjona
Ver. 1 by Ricardo M Arjona @XeL_Arjona
DISCLAIMER:
The Following indicator/code IS NOT intended to be a formal investment advice or recommendation by the author, nor should be construed as such. Users will be fully responsible by their use regarding their own trading vehicles/assets.
The embedded code and ideas within this work are FREELY AND PUBLICLY available on the Web for NON LUCRATIVE ACTIVITIES and must remain as is.
WHAT'S THIS?
This is a REAL mathematically approach of an ORDINARY LEAST SQUARES LINE FITTING SLOPE as TradingView currently don't have a native one embedded, neither as a pine function. Other "Sope" indicators from this linear regression model I found on public library are currently based on "momentum" rather tan slope.
Any modifications or additions are quite welcome!
Cheers!
@XeL_Arjona