OPEN-SOURCE SCRIPT

Double SuperTrend [CrossTrade]

Por CrossTradeTeam
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
CrossTradeTeam

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal