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

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

    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 avatar
Related users ' posts
Lydia1948 Hi I really like this indicator - is it easy to change the colour of the blue dots to say g...
Nicolas Lines 23 and 24 are the Red and Blue value between 0 to 255, you can change the color of the...
finplus bonjour, il y a un problème à la fin du code avec elsif (close 0 then ... ne manque t il pas...
kj1988 Hello Nicolas, thank you for this useful indicator. Could you tell me how I can remove the...
Nicolas remove lines 101 to 103
diegofe_2000 cordial saludo NICOLAS , gracias por excelente indicador. ¿ es posible obtenerlo en MT4 ? ...
Nicolas Lo siento, pero no estoy trabajando para ayudar a la gente aquí de forma gratuita para promo...
diegofe_2000 Nicolas , gracias por tu atención. La pregunta era por curiosidad (yo no trabajo ni manejo ...
CavalierDeCesDames Bonjour Nicolas, Thanks for your use full job. I tried this indicator on a shorter timefram...
Nicolas You are welcome. I'm glad you like it.
Bolbo It does not appear over the price indicator on V11. Thanks in advance.
albertocampagna Sei grande Nicolas :-)
SAcht Dear Nicolas, Great work, thank you very much!I would love to use the indicator in ProScree...
SAcht btw: The above-posted ProScreener is supposed to show stocks for which the center line has i...
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...
Nicolas You can try this code for buy and hold curve line: capital = 10000 mylot = 2 i1 = capi...
soukenson Bonjour Nicolas, Je ne comprends pas où ajouter le code que tu as a donné dans le code initi...
Nicolas Tu veux parler du code pour comparer avec le "buy and hold" ? Si oui, tu as tout ce qu'il fa...
Nicolas
8 years ago
dave
8 years ago
Wolf Just for information: This calculate code is interesting, but it is not a Triangular Moving...
Dron Hola Lobo, soy nuevo en programación, pero me interesa ese indicador, en tu mensaje estas ha...
supertiti // TMA CENTER Channel by Dave modifié // parameters // HalfLength = 50 // AtrLength = 10...
211 Really nice indicator Nicolas! Well done!
supertiti Bonjour Nicolas comme j'avais l'impression qu'il en manque un bout j'ai fais ça : Peux...
Nicolas Merci supertiti ! C'est juste, encore un ptit bug quelquepart ! :|

Top