PROTECTED SOURCE SCRIPT

USD(Uncle Super Trend)

已更新
The Super Trend Indicator Adopts a Breakthrough Trading Strategy with Resonance of Large and Small Periods, Combining Tools Such as Moving Averages, Bollinger Bands, and ATR to Determine Market Trends and Generate Trading Signals, Helping You Better Grasp Long and Short Trading Opportunities.

Usage Tips:

A long position in the large period MA indicates an upward trend, and a short position in the large period MA indicates a downward trend.
In an upward trend, only go long and not short. A 🚀 icon indicates a long signal, and a 🎉 icon indicates a closing signal.
In a downward trend, only go short and not long. A 📉 icon indicates a short signal, and a 🎉 icon indicates a closing signal.

Moving Averages (MA) Settings:

Users can choose to display two moving averages (MA1 and MA2) and configure their type (SMA, EMA, SMMA, WMA, VWMA), period, data source, and color.
When MA1 is greater than MA2, the area is filled with red; otherwise, it is filled with green.

Bollinger Bands:

Calculate the upper and lower Bollinger Bands (BBUpper and BBLower) based on the user's input period and standard deviation.
Use color to fill the Bollinger Bands area.

ATR Filter:

Set a filter using the Average True Range (ATR) to determine the position of the trend line.
Users can choose whether to use the ATR filter.

Trend Line:

Calculate and draw the trend line based on Bollinger Bands signals (BBSignal) combined with the ATR filter.
Generate buy or sell signals when the price breaks through the upper or lower Bollinger Bands.

Buy/Sell Signals:

Generate a buy signal when the trend direction changes from negative to positive, and a sell signal when it changes from positive to negative.
Use icons to represent buy/sell signals, with the display of icons depending on user configuration.
版本注释
To create a Moving Average Ribbon (MA Ribbon) indicator in TradingView, multiple moving averages (MA) are combined, and colored areas are used to visually display trend signals. Below is the detailed analysis of this indicator:

Main Features and Configuration:
Moving Average (MA) Settings:

Users can choose to display multiple moving averages (from MA1 to MA11) and configure the type (SMA, EMA, SMMA (RMA), WMA, VWMA), period, data source, and color for each moving average.
When MA1 is greater than MA2, the area is filled with red; otherwise, it is filled with green.
Color Filling:

Determine trend colors based on the relative positions of different moving averages and fill the area between the moving averages to visually display trend strength and direction.
Detailed Strategy:
Trend Judgment:

Use the relationship between moving averages of different periods to determine the current market trend. For example, if MA4 > MA3, MA5 > MA3, and MA3 > MA6, it is considered an upward trend, and the area is filled with blue (70% transparency).
Similarly, if MA4 < MA3, MA5 < MA3, and MA3 < MA6, it is considered a downward trend, and the area is filled with pink (70% transparency).
Otherwise, the area is filled with gray (54% transparency), indicating no clear trend.
Trend Signals:

When MA7 > MA8, fill the area between MA7 and MA8 with a green color (90% transparency).
Conversely, when MA7 < MA8, fill the area between MA7 and MA8 with a red color (90% transparency).
Filled Areas:

Use the fill function to fill the area between moving averages, visually displaying different trend signals and strengths.
For example, fill(ma5P, ma6P, trendColor1) is used to fill the area between MA5 and MA6, and fill(ma7P, ma8P, trendColor2) is used to fill the area between MA7 and MA8.
This way, the indicator can help traders better grasp long and short trading opportunities, and the color filling makes trend signals more intuitive and easier to understand.
Moving Averages

受保护脚本

该脚本是闭源发布的,您可以自由使用它。您可以收藏它以在图表上使用。您无法查看或修改其源代码。

想在图表上使用此脚本?

免责声明