Standard Error Composite Bands

Standard Error Composite Bands

STANDARD ERROR COMPOSITE BANDS
Transcript Code by @XeL_arjona
Ver. 1.00.a

Original implementation idea of bands by: Traders issue: Stocks & Commodities V. 14:9 (375-379):
Standard Error Bands by Jon Andersen


Introduction and Implementation:

STANDARD ERROR BANDS are quite different than Bollinger’s.  First, they are bands constructed around a linear regression curve.  Second, the bands are based on standard errors with a factor multiplier above and below this regression line.  The error bands measure the STANDARD ERROR OF THE ESTIMATE around the linear regression line. Therefore, as a price series follows the course of the regression line the bands will narrow, showing little error in the estimate. As the market gets noisy and random, the error will be greater resulting in wider bands.

An Additional “alpha-beta (y-y’) algorithm” of Standard Error is implemented as additional -Resistance/Support- on bands. The algorithm was originally made for TradingView’s pine version by user @glaz.

Links for further reference:
Standard Error Bands by Jon Andersen Implementation
What is a STANDARD ERROR ? (Wikipedia)
Resumed explanation of what is an STANDARD ERROR OF THE ESTIMATE.


The CODE:

P = 21,      SDEG = 1,      MF=2

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

  1. Nicolas • 03/23/2016 #

    Very nice and qualitative contribution to the Library, well done xel! I’m looking forward for any other post by you.

  2. xel • 03/23/2016 #

    Thanks a lot Nicolas!
    This is a very helpful indicator to catch “Fastest Moves” if you use it alongside with Bollinger’s for the same RollingBack window period.
    Can’t attach images, but you can as an example of what Im saying, apply both Bollinger alongside with StandardErrorBands to any mayor US Index weekly with a 52 looking back period to see what I mean!   😉

  3. Saud • 03/23/2016 #

    Thanks for this one, I was hoping PRT would add this.

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar
Related users ' posts
Bard Hi @Ale, I was wondering if you knew why, when I went to put the Kase Peak Oscillator into i...
ALE Hello Bard, because they are two different indicators
Bard Right, thanks Ale, I have taken your code and made a coloured Peak Osc (thanks again) but ...
Nicolas Thanks again for all your valuable posts... and well formatted code! :)
Abdelkrim Maksour hi sir is this indicator for mt4 and how i can get one .
ckat55 Thank you Nicolas, is there any way that an alert can be set for when the dot appears?
Nicolas yes, change the last line with: RETURN wrb,qh and set an alarm with the alert tool for ea...
ckat55 Thank you Nicolas, I will try it.
mmoren44 no esta el color azul (Fade //Blue), No aparece en las barras el color azul.
larouedegann changer fade coloured (0,0,255)
Nicolas Apply it on the price chart. The indicator plot just one single line. There are two in the...
jamesoc Hi Nicolas, do you happen to know if there is an indicator that can be applied to charts, to...
gustavobp Buenos dias Nicolas, al agregar tu indicador no me reconoce la variable Price ni en la linea...
Nicolas Thanks a lot for this new valuable addition to our library. I changed line 76 with "barindex...
Horance Thanks. I've noticed this leftover after submission, but it was too late for editing. BTW, I...
Etienne Thanks Horance for porting this code to PRT. I would like to bring some speedup to your cod...
Nicolas
7 years ago
Maxime Baudin Interesting, Thank you! :)
franck-david Bonjour Nicolas , actuellement je me forme grace a vos videos tres tres bien expliques mer...
Nicolas Merci. ça n'est pas le lieu pour poser ce genre de question :) Merci d'utiliser le forum Pro...
Horance This is a good question. John Ehlers explains it in Rocket Science for Traders. You have to ...
cbeukes Much appreciated, I will give that a try. Also, is there any criteria that one could use to ...
avatar
Anonymous Thanks for the code! I'm trying to understand how it works, and have a few questions... line...
Bhanu Pratap Dear Sir, Can I get MQL4 File for this indicator and last man standing . pls looking forward...
ISTJ_T Hi Nicolas Thanks a lot for the indicator. Trading off the TradingView and have issues wit...
Nicolas Just use ProRealTime and its powerful screener for stocks.
Nicolas S11 variable is not a loop but a ratio calculation. In real time the codes is processed on e...
Stephan_V Nicolas, This regression delivers damn good results, especially for trends ! I'm wonde...
Nicolas Least square method is used here in order to get the perfect y = ax2 + bx + c
Bebbo Grazie del prezioso contributo Nicolas, scusa la mia inesperienza, sono alle prime armi e s...
Nicolas To avoid recalculation, you should use the one from this post.
Bebbo Ok Grazie Nicolas.
GertLjung Ok, thanks
marinober Gentile Nicolas, l'indicatore mi da errore : ciclo infinito o con troppe iterazioni, modific...
Nicolas Se la stai usando in un piccolo lasso di tempo, assicurati di avere unità sufficienti visual...

Top