Deviation-Scaled Moving Average – DSMA

Deviation-Scaled Moving Average – DSMA

Here is the new DSMA moving average made my John Ehlers and featured in the July 2018 issue of TASC magazine.

The DSMA is an adaptive moving average that features rapid adaptation to volatility in price movement.
It accomplishes this adaptation by modifying the alpha term of an EMA byt he amplitude of an oscillator scaled in standard deviations from the mean. The DSMA’s responsiveness can be changed by using different values for the input parameter period.

John Ehlers

 

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. juanj • 06/15/2018 #

    @Nicolas, what would be the code if I want to use this as a Band calculated using true exponential deviation bands;

    https://www.prorealcode.com/prorealtime-indicators/exponential-volatility-bands/

    I have tried combining them already but my math skills fail me

    • Nicolas • 06/15/2018 #

      You only have to replace the “EWMA” calculation from this indicator with the DSMA variable made in this one. Please let me know if you have still trouble making this.

    • juanj • 06/15/2018 #

      That was actually the first thing I tried, but the result didn’t look right to me. So I started experimenting with replacing some variables of the EWMA (i.e. Dev, alpha) band with those of the DSMA (i.e. RMA, alpha1). Produces interesting results but unsure of their correctness.

  2. JohnScher • 06/15/2018 #

    Hello, Nicolas.

    Nice work from you! Thank you very much. Really!

    Is there a strategy that can be derived from this? e.g. buying at crosses over selling at crosses under the yellow line? Are there any results for such a strategy – possibly in combination with other strategies?
    cause
    I think it’s just another average more on the tableau. What can he do more than other averages? Has Ehlers tested that? Are there any results? Published?

    I’m sorry, the criticism, sometimes I’m just tired of “always the same thing”.

    Friendly greetings

  3. juanj • 06/15/2018 #

    @JohnScher, with regards to your question of can a strategy be derived from this, that is an open-ended question.
    Obviously, a strategy can be derived from this as with anything else?!

    And with regards to is this just another MA, yes it is. And just like any other MA it has it’s place among all the others SMA, EMA, Wilders, DEMA, ZEMA, etc.
    Perhaps you can read the article in TASC, where the merits of the indicator is explained?

    I personally use and experiment with all different kinds of indicators and methods to create strategies.

    I love concepts such as ‘zero lag’ indicators or exponentially calculated Bollinger Bands or in this case std deviation calculated MA’s!

    I am actually planning to use this to create deviation scaled exponentially calculated bollinger band.

  4. Domenec • 06/15/2018 #

    No esta mal yo utilizo la ema 8 y la wilder8 y la banda que generan con muy buenos resultados sin embargo le he visto algun detalle interesante a esta nueva media me la estudiare con cariño y ya comentare los resultados

  5. Appsoluxions • 06/15/2018 #

    Hi Nicolas, do you have the MT4 version of the indicator? I am not sure if these kind of questions are welcome, if not appologies in advance. Thank you.

    • Nicolas • 06/15/2018 #

      Hi, don’t have one sorry. But you can still ask for private coding through our programming services: https://www.prorealcode.com/trading-programming-services/

  6. Appsoluxions • 06/15/2018 #

    Cool. Thanks for the response.

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
P. Marlowe Muy bueno. ¿Podría hacerse para señalar extremos por el lado bajista? Lo mismo a la inversa....
Miro Esta es una versión del indicador, para ambos extremos. //-------------------------------...
P. Marlowe Muchas gracias ¡¡
jordan //---settings MAmode=0 Period=150 NumberOfMA=100 //---end of settings MA2=undefined ...
jordan dites moi si cela correspond à ce que vous cherchez
kats bonjour merci de ta reponse mais non ca fonctionne pas sympa quand même d'avoir essayé cdlt
Stenozar Ciao mi restituisce errore line 1; forse è perchè utilizzo la versione 11 ? in questo caso d...
Stenozar Ciao IVAN , mi da errore per la riga 49 "print tema low"; puoi suggerirmi la modifica da met...
Iván Avete provato a scaricare il file .itf?
Iván
8 months ago
Iván Si lo descargas e importas en tu PRT verás que se han creado las variables para luego config...
WhyAskOZ Hi, Ivan As always you are doing great coding. The code works on my PRT, however the issu...
Iván You can delete in the last line (return) the configuration for color. Delete coloured(xx,xx,...
Iván
10 months ago
cjr30 Simplemente modifica las lineas 19 y 21 por las siguientes: drawtext("▲",barindex,low-0.1*a...
groelandes Gracias!!
WhyAskOZ i copied the code into strategy and it gives error on line 21 and 23. it says " Line 1: ...
jacquesgermain Bonjour non pas de soucis car src=customclose donc dans le menu configuration/propriété me...
geroniman Merci Jacques , indic tres utile. J'ai un indic à programmer avec du price action. es tu dis...
jacquesgermain ok pour regarder ...
Nicolas
2 years ago
FXtonio Bonjour Nicolas, merci pour cette merveille, je l'utilise en compl2ment du "magical buy sell...
xpe74 Bonjour Nicolas, quelle est la valeur de MA que l'on doit prendre en compte pour intégration...
Nicolas Il faut faire un CALL de l'indicateur et y placé en paramètre les valeurs des périodes souha...
supertiti Bel outil si on ne se tape pas sur les doigts avec ! Comment ajoute-on une image avec le co...
magnus59 Hi Nicolas, thaks for your great work here, I need a scanner for the swedish OMX when ma...
Nicolas Yes, sure please open a new topic in the ProScreener forum section, thank you.
paullyons Hello! Thanks for post your indicators. I'd like you to let me know how to draw lines for ...
Rafa Hi Nicolas! I can´t install this indicator. it installs in a separate window not as an av...
Nicolas Add it on the price, see how: https://www.prorealcode.com/blog/video-tutorials/how-to-add-an...
Frankyslo1 No consigo instalarlo en el precio en PRL-version 10
Madrosat how do you use carnazzi filter in a strategy : smoothing , stop ,tendance
Bruno Carnazzi I have completely revised the mathematical foundations of this tool and offer you the finali...
Bruno Carnazzi Il me semble que la fonction "floor" n'est disponible qu'avec PRT11, à vérifier
DELBERT Bonjour , merci pour votre réponse , je m'excuse je suis avec PRT v10.3 donc c'est indicateu...
Nicolas c'est juste, c'est une instruction très récente.
ChemaGeek Bonjour Nicolas, j'ai récemment découvert cet indicateur (Regularized Momentum 2017) et je l...
YvesRobert Bonjour, nouveau sur PRT (qq jours), j'essaie un peu de voir quel type d'indicateur me convi...
RubberToe Is there something we are missing here, I just get the same curved line as well...
Khaled @Nicolas, Hi Nicolas, I've downloaded the itf and it doesn't display as an Oscillator, it"s ...
sal157011 I think the problem here is that you must feed the trigonometric functions cos and sin with ...
Roland57800 Bonjour Noobywan, si je comprends bien l'utilisation de ce code que je trouve particulièr...
Noobywan Bonjour, quand la question a été posée dans le forum à celui qui avait fait la requête en am...
Fabian This Code draws only a retangle if the condition has been confirmed and NOT before (in that ...

Top