Automatic drawing Standard Deviation Channel

v10.3
Automatic drawing Standard Deviation Channel

This indicator plots automatically a linear regression channel with 1 and 2 standard deviation lines of the last X periods.

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. Choliver • 02/22/2019 #

    Bonjour et merci pour cet indicateur.
    Toutefois, il me semble qu’il est unidirectionnel.
    Par exemple ce matin 8 mars, sur un graphe CFD Dax en 5 min (10 unités), il devrait avoir changé d’orientation en passant d’une orientation haussière à une orientation baissière.
    Il est finalement resté en orientation haussière toute la matinée.
    Nicolas, pouvez vous me confirmer qu’il y a effectivement un souci please ?
    Merci

    • Louis Winthorp III • 02/22/2019 #

      Hi Choliver, you are right, there is a problem with the drawing instruction when the slope is = 0 THEN
      y1 = LinRegres – ((LinRegPeriod-1)*LinRegresSlope)
      ELSE
      y1 = LinRegres – ((LinRegPeriod-1)*LinRegresSlope)
      ENDIF

      with :
      y1 = LinRegres – ((LinRegPeriod-1)*LinRegresSlope)

      I’ll ask Nicolas to update the code.

    • Nicolas • 02/22/2019 #

      File and code are updated.

  2. Zasinas2000 • 355 days ago #

    Hi allo

    I am not sure I am doing it correctly, but this adds to proreal as an indicator. How to ad it as a study, so it would draw lines on the chart?

  3. Trimicha • 124 days ago #

    Hi,

    when I copy the code, i get an error message that
    LinRegPeriod is not defined.
    Does anyone know how to solve that?

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Fabian Hi IV Mcm, have you drawn the rectangles (Dinamic, Range) by yourself in the chart or are...
IV Mcm Myself to illustrate ;)
fucode I need to calculate this in excel. Is it posible ? how ?
Nicolas Ask on an Excel website?!
JJMR HOLA NICOLAS, TENGO LA ULTIMA VERSION ACTUALIZADA DEL INDICADOR TTM SQUEEZE PRO EN LA VERSIO...
Vonasi There are actually two ways to calculate standard deviations and I seem to have used the ver...
Vonasi There are actually two ways to calculate standard deviations and I seem to have used the ver...
segie Can something similar be done with Supertrends?
Vonasi Not sure I fully understand what you are asking for. Are you asking for MTF Supertrend level...
Kris75 very interesting; thanks !
Nicolas How to import file page: in the help section of the website explains howto
kenssa import through the indicator page/window in the Proreal time
chicoteca Buenas, no consigo que se me muestre en el chart de DAX. ¿Cómo procedo? Gracias.-
Ciurno981 il suffit de changer le nombre de contrats à acheter
Ciurno981 Does anyone have the data at 200,000 units, why would I like to see over 5 years?
Ludwig Bonjour Merci pour le code, je souhaite intégrer un break even et mette en place un réinves...
Byggtrader Hi Nicolas! How do I get the indicator in the price chart? It only stays under i new chart.
Nicolas Just add it on the price chart by using the wrench on the left upper side of the chart (pric...
HeikinAshi https://www.prorealcode.com/topic/ssl-channel/
jobswaps oyes aste uno de soportes y recistencias
jobswaps eso lo necesitamos
SB-FO Nicolas, can you share with me how PRT calculates LinearRegression ? Is it (3 * WeightedAve...
Nicolas The above code is the way it is calculated in PRT. However the exact indicator can be found ...
SB-FO Thanks Nicolas.
Nicolas Sorry I do not provide assistance for Tradestation code.
surfeur Bonjour, Je suis pas expert en PRT donc si qq'un peut m'expliquer un peu le code ? Par...
Nicolas src c'est bien le customclose en effet. ATR, si aucune série de données n'est spécifié, il u...
kj1988 Thank you for this nice indicator. I find it useful and a better replacement for the RSI
ALE Happy to know
carlvan That's a great indicator and I especially the use of colors, more or less pronounced to indi...
Vonasi
3 years ago
Balmora74 Thanks for this code. i will try to adapt it in the EUR/USD Pac Man Strategy who is based on...
Vonasi I still have two versions of the PacMan strategy on forward test although there have been va...
Balmora74 I use your version on a real account and the strategy is profitable and i did not have any p...
Gianluca Hello, is it possible to use this channel in a strategy? i tried to apply in a code but the ...
Nicolas Because this is indeed nothing more of what you describe. A mean with +/- standard deviation...
ozet std and ste returns 0 on a call... how can i calculate it in a call? okay i got it "ste[loo...
sir_i Bonjour à tous, Je suis nouveau sur le forum et sur la plateforme, pourriez-vous me dire com...
Nicolas Il faut simplement l'appliquer sur le prix.
sir_i Merci pour la réponse, je ne suis pas familier avec l'application de cette procédure simple,...

Top