OPEN-SOURCE SCRIPT

Double SuperTrend [CrossTrade]

The Double SuperTrend indicator enhances the classic SuperTrend indicator's functionality by filtering out countertrend signals and keeping you out of chop. By adding another larger trend filter, it helps to keep you taking trades in the direction of the major trend. This dual analysis allows users to identify and trade in the direction of the major trend, thereby increasing the likelihood of successful trades.

Adjustable Parameters for Minor and Major Trends:

Users can customize both the major and minor trends according to their trading strategy. This includes adjusting the ATR (Average True Range) period and the ATR multiplier for each trend.
For the minor trend, the default ATR period is set at 10, and the multiplier at 3.0.
For the major trend, the ATR period defaults to 14, with a multiplier of 6.0.

These settings allow traders to tailor the sensitivity of the trends to their specific market view or strategy.

Source Selection:

Users can select the data source (such as high/low, open/close) that the SuperTrend calculations are based on, offering further customization.
Signal Visualization and Customization:

It plots the major and minor trend lines, with options to display buy/sell signals. These signals are only shown when they align with the major trend, reducing the likelihood of false signals.
The minor trend signals are displayed in green (for uptrends) and red (for downtrends), while the major trend lines are shown in blue (for uptrends) and purple (for downtrends).

Additionally, users can choose to display or hide these buy/sell signals.

Custom Alerts:

The indicator includes the functionality to set custom alerts for buy and sell signals. These alerts are specifically designed to notify users when a signal aligns with the confirmed major trend.
supertrendTrend Analysis

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