OPEN-SOURCE SCRIPT

Simplified MA Crossover indicator

Telah dikemas kini
This is my first script, it is really simple logic and you probably saw something similar before. Is a crossover indicator between 2 Moving Average, one fast MA and the second slow MA.
Inputs you can adjust:
- 8 different source of MA's
- lenght of the MA's
- 7 different types of MA's ("EMA", "SMA", "RMA", "WMA", "DEMA", "TEMA", "HMA")
- 3 smoothing level of the fast MA
- plotting fast MA into the chart
- plotting crossover triangle shapes
I really enjoed the creation of this simple concept indicator, maybe not the fastest because of his nature but I liked work on it. I am sure is a good base to improve, study and try new idea.
Nota Keluaran
v2
- Added import function named "Cinnamon_Bear/Cinnamon_BearIndicatorsMALibrary/2 as cin", this is a library with coded MA functions so you import only the value to keep more clean the indicator code.
- Replaced "DEMA", "TEMA", "HMA" function with the equivalent code from the new library.
- Added 5 new type of MA : "DSMA", "VWEMA", "EHMA", "LSMA", "ZLMA".

Double Exponential Moving Average (DEMA)Moving AveragesSimple Moving Average (SMA)

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