OPEN-SOURCE SCRIPT

Moving Average Lines

Telah dikemas kini
Description

This indicator combines three daily moving average lines and one intraday moving average lines into one convenient indicator. If you routinely use moving average lines on your charts this indicator will reduce indicator clutter, allow you to add more indicators, and provide one central location for all of your moving average settings.

The default length for the intraday moving average is 9. The defaults for the daily moving averages are 20, 50, and 200.

Lower Timeframes

This indicator also includes a very unique feature that displays the daily moving average lines onto lower timeframes. This is very useful for seeing if price will reverse off a daily moving average line while watching on a lower timeframe. Displaying daily moving averages on lower timeframes is controlled by an on/ff switch in the settings. So the user can use this feature only when it is convenient for them.

The default for displaying daily moving averages on lower timeframes is OFF.

Inputs & Style

Everything in this indicator can be independently configured. Each of the moving average lines can be toggle on or off. The length of each moving average lines can be adjusted. There are four mathematical functions that can be chosen for the moving average equations. And the colors and line style can be independently configured to fit your current charts style.
Nota Keluaran
Added screenshots displaying the moving average line options

Daily timeframe with 20/50/200 simple moving average lines
syot kilat

15 min timeframe with daily 20/50/200 lines from higher timeframe
syot kilat

5 min timeframe with 9 SMA intraday line
syot kilat
linesMoving Averages

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?


Juga pada:

Penafian