Shanxia

Crypto Directional Movement Index DMI/ADX

Shanxia Telah dikemas kini   
Crypto ADX + DMI

This indicator is a customised version of the ADX + DMI by J. Welles Wilder in 1978, with default settings optimal for cryptocurrencies.

What is the DMI (ADX) Indicator?

According to Investopedia:

DMI (ADX) consists of three indicators that measure a trend’s strength and direction. Three lines compose the Direction Movement Index (DMI): ADX (black line), DI+ (green line), and DI- (red line). The Average Directional Index (ADX) line shows the strength of the trend. The higher the ADX value, the stronger the trend. The color of the lines can be altered, but black, green, and red are the default in most software.

The Plus Direction Indicator (DI+) and Minus Direction Indicator (DI-) show the current price direction. When the DI+ is above DI-, the current price momentum is up. When the DI- is above DI+, the current price momentum is down.

This Version

The ADX default value has been changed to from 14 to 2 (optimal for cryptocurrencies). The background flashes red when the –DMI goes above the HZ1 threshold and green when the +DMI does the same. There is an option to change it so that it’ll only flash when the ADX and the DMI are both above the threshold. The ADX changes color when above HZ1.

Red and green plotshapes appear at DMI crossovers and three horizontal lines have also been added.

Any suggestions are most welcome
Nota Keluaran:
Updated notes
Nota Keluaran:
Added extra color changes.

Both DMIs will change color depending on a positive or negative slope.

Plotshapes are now tiny and added notes in the script on how to change them.

Also changed default background colours.
Nota Keluaran:
- Changed default colors and settings
- Updated input menu
Nota Keluaran:
- Made crossover dots optional
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?