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
Sever
2 years ago
Nicolas Sorry there was a small issue in the code, i have changed the attached itf file and updated ...
Mitchy14 Hi Nicholas, apologies, I am usually fairly good at implementing your creations (for which I...
Nicolas Are you using PRT version pre-v11? TIMEFRAME for indicators is possible since months for pro...
Nicolas Il doit s'agir d'un mauvais copier/coller. Je suggère de télécharger le fichier itf contenu ...
Bard Hello @Nicolas, I can get this to display in a separate indicator panel but not on Price as ...
Stenozar Hi @Nicolas, how can I put the bands on price? Thanks, Stefano
Fabian Hi IV Mcm, have you drawn the rectangles (Dinamic, Range) by yourself in the chart or are...
IV Mcm Myself to illustrate ;)
Vonasi A modified version of this indicator can be found here: https://www.prorealcode.com/topi...
Brisvegas Thats Awesome thank you
Vinks_o_7 Thanks Vonasi !
Tarkus1954 Hi. When I add this indicator it loads it in a separate window. How do I get the indicator...
Nicolas By adding it on the price chart. Use the wrench on the left upper side of the price chart.
ervelasco Thank you for your posting! I was missing the indicator when trying to select Keltner bands ...
ottimo Thank you Nicolas, great indicator, N. 1
tikigai Merci Nicolas! First Happy new Year 2020. Very good indicator BUT (yes the french "oui, m...
Nicolas Whats prorealtime version? Did you try in version prior to v11? indicator's call and loop ca...
Nicolas Yes, that's how it goes when using loops..
JosephFelix Hi, Could I please have help with adding these indicators 'on price'? Every indicator that I...
Nicolas Just add it on price by clicking the wrench on the left upper side of the price chart.
Vonasi Jissey - Je pense qu'il est préférable que vous commenciez un sujet sur le forum ProOrder et...
jissey Bonjour Vonasi, ma stratégie est simple; Passage du niveau 50 par la closeline , à l'achat ...
Vonasi I cannot communicate in French with you. Please start a topic in the forums to discuss your ...
Juanjo Hola?. Exactamente cuál es su utilización?.
bolsatrilera Hola Juanjo, su principio esparecido a las bandas de Bollinguer.Las lineas de las bandas son...
swapping Oups nicolas ! je pense que tu a oublié de mettre les variables "setting" accessible en exte...
Nicolas Je viens de vérifier, elles y sont pourtant?
swapping Mea culpa, j'ai fait un bête (copier/coller) et forcément cela ne pouvait pas y être puisqu'...
redz bonjour, comment changer les paramettre de la BB en 20 , 2.2 ? hello, how to change BB sett...
Realtime82 Hi I was wondering if it would be possible to get an alert (by sound) when the signals shows...
besserwerden Hi, i like this bollinger moz arrwos. How can I use this indicator in an screener? I want to...
Nicolas No sorry, please use this file instead into a prorealtime trading platform.
rdabbs I just installed this indicator. It opens in its own pane rather than overlaid on the chart ...
Nicolas Just apply it on your price chart instead and you're ok.

Top