Elastic Weighted Moving Average Hi/Lo Bands

Elastic Weighted Moving Average Hi/Lo Bands

The eWMA is a moving average that use Volume to calculate its period. This moving average is a statistical measure of the Volume other time, which display nicely the price direction. Originally developped by Christian P. Fries, I added here a “kind of” band for buy/sell triggers or trend filtering purpose.

The band is made of the highest high or the lowest low of the eWMA. Trend direction change when the eWMA piercing its own value, back to N previous period.

This indicator needs instruments with Volume for calculation.

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. totof • 04/05/2016 #

    Hi Nicolas,
    above all, I wanted to thank you for your site which brings me a lot as new on prorealtime.
    I use the indicator in French “moyenne mobile à période pondérée par le volume” which is by default with a number of period of 15 for the moving average and which works whatever the time unit of the candles and also whatever the amount of intraday data. The problem is that this indicator does not work with proorder.
    So I found the one that you created. it works but not necessarily in all configurations: when I choose the UT in M30 and for 1000 units for example. Could you explain to me why I have this problem, please?

  2. totof • 04/05/2016 #

    I do my tests on the DAX however. What I can’t understand is why the PRT indicator works without problem whatever the TU and the units. The worst part is that I do not see what other formula they could have used other than the one you use in your code … It does not matter, I will limit my UT and the units so that your coding works . Thanks anyway Nicolas

  3. totof • 04/05/2016 #

    for those who are interested, I made this small modification of the code for the eWMA which allows me to no longer have any problem whatever the number of period

  4. totof • 04/05/2016 #

    //parameters :
    period = 20
    lookback = 1

    IF BarIndex < period THEN
    eVWMA = Close
    ELSE
    if Volume=0 then
    VolumeTempo = 0.001
    else
    volumetempo = Volume
    endif
    N = Summation[period](volumetempo)
    eVWMA = ((N – volumetempo)*eVWMA + volumetempo*Close)/N
    //MM20=WeightedAverage[period](close)
    ENDIF

    hh = highest[period](evWMA)
    ll = lowest[period](evWMA)

    if evWMA>hh[lookback] then
    trend = ll
    elsif evWMA<ll[lookback] then
    trend = hh
    endif

    //RETURN trend as “support resistance zone”, evWMA as “elastic weigthed moving average”,MM20 as “MM20”
    RETURN trend as “support resistance zone”, evWMA as “elastic weigthed moving average”

avatar
Register or

Likes

avatar avatar avatar avatar
Related users ' posts
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.
Nicolas Rien, il faut l'appliquer sur la charte. Soit le mettre sur le graphique du prix, à l'aide d...
signorini Merci pour votre réponse. Je l'applique sur la charte, j'utilise la petite clé pour effacer ...
signorini Je vous remercie, Nicolas. C'est fixé. Très bon week-end.
Abz  hi , you need to add the indicator from the "price" menu in chart
Francesco Thank you Abz!
phanz Hi Nicolas, this is an interesting strategy. For long position, I assume entry when prices ...
Wing Yes, investigate as much as you want. For more insight, you can view the linet1, linet2 etc....
CKW Hi Wing, Thanks for your sharing. I am still trying to breakdown & understand your code...
Wing Hello CKW. No, the parameter, 7 in this case, is used when calling the RSI indicator to ide...
Pere
7 years ago
Nicolas Use the wrench of the price chart! Upper left of the window
Dymjohn The wrench shows options for the components of the indicator not how to show in the main cha...
Nicolas http://www.prorealcode.com/topic/overlapping-indicators/  
xel @DerPat - I don't see any question regarding the indicator.  Anyway, I think I give enough l...
diegofe_2000 Xel, tu eres el creador de este indicador? Bueno te  cuento que es muy bueno para hacer est...
xel Buen día @diegofe_2000 -  Claro, mandalo y por aquí lo probamos en otros instrumentos y si g...
Nicolas
8 years ago
Acceleration Bands
Acceleration Bands
0
Indicators
Nicolas
9 years ago
petmut Hello all, When I import the code here above "multiple ATR bands" and apply it on the PRT ...
Nicolas That should need some custom coding, if you want to make it done, please open a new topic in...
Patopercho Hello, thanks for the indicator, i would like to change the color, is it possible, thanks

Top