OPEN-SOURCE SCRIPT

2 Moving Average Color Direction Detection

Telah dikemas kini
2 Moving Average Color Direction Detection, possibility to configure:

- Type: SMA , EMA , WMA , VWMA , SMMA , DEMA , TEMA , HULLMA, ZEMA, TMA, SSMA
- Lenght
- Source
- Color direction


syot kilat
Nota Keluaran
Possibility to activate/deactivate each MA
Nota Keluaran
The filling option is added between the moving averages (it is deactivated by default, activate in configuration if you wish), if the 2 averages are green the filling will be green, if the 2 averages are red the filling will be red, this would confirm a trend healthy in the case that you are using a fast and a slow average, in the case that the fast average changes of direction will be filled in the purple color, this can indicate several things: a correction of the trend is being generated, possible rest of the price , possible start of laterality, possible change of trend, when the color is purple the trader will have to analyze the general context to be able to define what could be happening.

FILL OFF

syot kilat

FILL On

syot kilat
Nota Keluaran
Now you can configure the reaction in the direction change of the moving averages, in 1 it is the fastest but it can generate false changes, in 3 (default) it filters very well it is a little slower and it can be better, try it and adjust it to your need.

The following alerts were created:

- Change Direction 1-MA
- Change Direction 2-MA
- Cross Under 2-Ma/1-Ma
- Cross Under 1-Ma/2-Ma
- Cross Over 2-Ma/1-Ma
- Cross Over 1-Ma/2-Ma
- Cross 1-Ma/2-Ma
colorcolorsdirectionMoving Averagessma

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