OPEN-SOURCE SCRIPT

Fixed Moving Average

Updated
This Indicator is a fixed moving average indicator.

By "fixed" I mean that you can choose for the MA to be based on the current resolution or fixed on a specific time-frame.

Default will be 128 D MA. It is fully customize able Moving Average.

It is a simple script. I created it because I wanted to be able to see the 128 D MA on any time-frame.

It can be used to determine your bias while trading:
- If the price is above the 128 day moving average, look for longs
- If the price is below the 128 day moving average, look for shorts
Release Notes
Now the MA changes color depending on if bias is bullish or bearish (if price is above or below the MA).

Enjoy
Release Notes
I added more time resolutions for the moving averages (e.g. 6h, 8h, 12h, 2D, 3D)

cheers
Exponential Moving Average (EMA)Moving AveragesSimple Moving Average (SMA)sma

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?


Also on:

Disclaimer