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.


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?

New! PRC is also now 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.

Register or


avatar avatar avatar avatar avatar avatar
Related users ' posts
Vonasi Thanks for the compliments Maxime Baudin.
JJ Tec Muy interesante ¡¡¡... gracias X el aporte.
HStrader Thank you for your nice indicator
michaelben Bonjour Nicolas . Je cherche une strategie pour faire du trading automatisé. J'ai essaye ave...
Abz hello , Thanks for this indicatior , what timeframe do you use it on ?
camporan You can use it 5M onwards, but the longer timeframe the more accurate it is. My preferred ar...
manchokcity can we have it in mql4 platform? or how or which platform do we use it?
3 weeks ago
Matriciel Bonjour Nicolas, Merci pour cet indicateur. Il semble fonctionner à l'envers suivant si ...
Nicolas Oui c'est déjà le cas dans la version originale. Il faut pour cela changer la ligne 28 en su...
riz001 thnk u
cavineet Hi Nicolas, I have been using pr real time extensively but just end of the day. I would app...
Nicolas Please ask questions on forums. Not the place here and not related to that post:)
Teddy Coronak Bonjour Nicolas , je voulais simplement te dire merci pour cet indicateur. Très simple et...
€Ȝ Hi Nicolas, Excellent piece of code. I used your concept in one of my own indicators too wh...
Nicolas Thanks a lot for the tip.
ggolfet I tried to use it (with prorealtime version 11 - end of day version). I receive an error mes...
Nicolas Try to reduce the displayed units of the chart. MaxScale should always be superior to Start...
ggolfet Thanks Nicolas, I imported the itf file and solved the problem.
swapping Excellent Nicolas ;)
Violet Hi Nicolas, There seems to be a small error in the code, which causes the channel not to...
Nicolas Hmm, I don't think so, otherwise the channel will have a moving start and not anchored anymo...
Bard Hi Nicolas, thanks a lot for coding this interesting looking indicator. I read: https://...
Bard I've also just noticed that changing the "Bands Deviation" setting from 1.25 to eg 3 doesn't...
vandenacker THANKS A A LOT FOR SHARING. I like your trade. I try to remproduce your board but i dont arr...
umebon Tnx for sharing!! Can someone help me how i can call for the mydayhigh and mydaylow for to u...
LucioleLucide Clean view, thanks for sharing
2 months ago
atlante sigue sin funcionar puedes corregir el codigo gracias es que no se ve nada se queda en negro...
Thomas Como? no intiendo. Can you write in english . It works! Download the itf file.
Thomas New Version comin soon...
swapping Hello Thomas, good modification that improves the initial program ;)
Thomas Thanks swapping. That´s Teamwork ;-)
Marie-Eve Vergoz lorsque je copie les codes, le système me signale des erreurs à la ligne 12 et suivantes
Marie-Eve Vergoz sorry - tout est ok -
2 months ago
Marcot18 Alex ti sei superato
AlexF Esagerato!
2 months ago