OPEN-SOURCE SCRIPT

6 Simple Blue & 5 Exponential Yellow Moving Averages

Telah dikemas kini
6 simple and 5 exponential Moving Averages in one indicator.
I made this because its not always easy to tell what average the price might be bouncing off from when you only have a couple at a time.

For some reason, the defaults aren't working.
To fix this, just open the configuration for the indicator after the first time that you load it.
Then check/uncheck the box and set the time period.
If anyone knows how I can fix this in the code, please let me know.

Blue indicators are simple and the Yellow are exponential.
Thinner more transparent lines are shorter term averages and Thicker lines are longer term averages.

I modeled it after the source of several other scripts which had less averages
Nota Keluaran
I fixed a bug where the 200 SMA was not showing up.
Nota Keluaran
Marketwatch starting to mention a "worst case scenario" being a drop to test the 200 week SMA in the major indexes. I updated the script to hold the weekly 200EMA and 200SMA (just in case).
Nota Keluaran
Updating Version Number only
exponentialexponentialmamovingMoving Averagessimplesma

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?

Penafian