Regression & Statistical BANDS

Regression & Statistical BANDS

REGRESION & STATISTICAL BANDS
Ver. 1.00.a by @Xel_Arjona


Intro:
This is an approach to get in one single indicator one of the best of both mathematical worlds:

From within the STATISTICAL side, everybody well konwn the wide use of the STANDARD DEVIATION with a Multiplier Factor from within a Rolling Back MEDIAN (Simple Moving Average) best known as the famous and widly used “Bollinger Band“.

From within the REGRESSION ANALYSIS side, the relevant importance of the STANDARD ERROR (of the estimate) with a Multiplier Factor from within an Ordinary Least Squares Curve generated from the last rolling back sample of the series.  For this purpose, a well documented indicator alone was already posted.

Both indicators are in sync from a unique Rolling Back Period window.   From this perspective, the Regression Analysis tend to “catch” faster moves and volatility while the Statistical band is perfect for mid to long term move confirmation.

The Code:
P = 21,      MF = 2

Cheers.

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Nicolas Use the wrench of the price chart! Upper left of the window
Dymjohn The wrench shows options for the components of the indicator not how to show in the main cha...
Nicolas http://www.prorealcode.com/topic/overlapping-indicators/  
Nicolas Well done supertiti, nicely coded and very accurate.
Dimi.A Beautiful.
Nicolas Thank you for contribution. Please consider that advertising is tolerate as long as you cont...
triss1965@gmail.com  Hi, I cant make it work. And if you doing so much money. Why do you have to sell it? It don...
T-rader Eva... He dosen´t sell anything. He is just a nice guy that want to share on of his strategy...
Pelle Nævestad Thanks Nicolas, this is a keeper!
Chicane23 Hi, when uploaded the WAE isnt showing histogram; only line. Is there a way to modify?
Nicolas Change the way the lines are displayed in the indicator settings window : histogram, lines, ...
DerPat Like your zero lag indicators.
xel @DerPat - I don't see any question regarding the indicator.  Anyway, I think I give enough l...
diegofe_2000 Xel, tu eres el creador de este indicador? Bueno te  cuento que es muy bueno para hacer est...
xel Buen día @diegofe_2000 -  Claro, mandalo y por aquí lo probamos en otros instrumentos y si g...
verdi55 At least there should be some moving average that has also reverted into the opposite direct...
verdi55 In addition to the moving average, wait until at least one bar is completely back inside the...
rama This works excellent on range bound I tried , give 90% win rates on dax , 3 min chart. can s...
mamio Very nice indicator. Why doesn't it refresh as time passes?
Nicolas It should refresh on each bar.
mamio On my PC it doesn't refresh. I am using intraday tick bars (not minutes). Unfortunately I do...
Nicolas I would not recommend using this version of the linear regression channel, but this one inst...
Aragorna Hello, Is it possible to updated the indicator to the more updated versione of ProrealTime? ...
Nicolas Use that code instead: https://www.prorealcode.com/prorealtime-indicators/standard-deviation...
totof for those who are interested, I made this small modification of the code for the eWMA which ...
totof //parameters : period = 20 lookback = 1 IF BarIndex < period THEN eVWMA = Close EL...
Pi Hello Totof, I was looking for the code for the 'eVWMA = elastic Volume Weighted Moving Aver...
Nicolas
9 years ago
Acceleration Bands
Acceleration Bands
0
Indicators
cepamoi Unfortunately, this still does not work: ONCE haOpen = medianprice haOpen = ((Open[1]+High...
Nicolas Force calculation to wait 1 bar of history already loaded: ONCE haOpen = medianprice if b...
cepamoi Now it works. Thanks a lot Nicolas! Here is the full code: // variables : // period ...
Nicolas
9 years ago
petmut Hello all, When I import the code here above "multiple ATR bands" and apply it on the PRT ...
Nicolas That should need some custom coding, if you want to make it done, please open a new topic in...
Patopercho Hello, thanks for the indicator, i would like to change the color, is it possible, thanks
Vicari0us Really liking this indicator. Thanks
SB-FO Moving your last response to this post. Thanks for conforming the code below. How does PRT/...
Nicolas It is obtained by substracting the x days before Close from today’s Close. X is the paramete...

Top