OPEN-SOURCE SCRIPT

Yacine MA Bands Mod

Mashed together the ema-bands from IvanLabrie with some moving average script stuff from ChrisMoody and LazyBear and this is the result. Credit goes to them, 'cause I don't know to how to code tbh. Just copy/pasted stuff untill I got the result I wanted.

Bands work as support/resistance among other things. You can use them to trade breakouts or reversals or whatever.
Combining them with a momentum indicator would probably be useful for timing divergence or OB/OS and stuff like that.

Included moving average types;
  • SMA
    EMA
    RMA
    WMA
    VWMA
    HullMA
    TilsonMA
    TEMA

Not sure if all of them works as they should... y'know since I cant code/script. Looks good to me though.¨

Default should work pretty good for the DAX, But you'll probably want to fiddle a bit with the settings.

Here's a pic of how they can be used. Ofc everything looks simple in hindsight, but you get the point.
snapshot
bandsExponential Moving Average (EMA)rmaSimple Moving Average (SMA)Triple Exponential Moving Average (TEMA)tilsonVolume Weighted Moving Average (VWMA)Weighted Moving Average (WMA)yacine

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer