blackcat1402

[blackcat] L2 Barbara Star Supertrend Indicator

Level 2

Background

Barbara Star’s article on July 2023, “Stay On Track With The Supertrend Indicator”, I rewrote it as pine script for your information.


Function

A supertrend indicator is displayed either above or below the closing price to signal a buy or sell. The indicator changes color depending on whether you should buy or not. When the Supertrend indicator falls below the closing price, the indicator turns green, signaling one or more entry points to buy.

Author Barbara Star describes the Supertrend indicator and how it can be used as a means for traders to stay in sync with the larger trend. She explains how J. Welles Wilder's Average True Range (ATR) forms a basis for supertrend calculations. ATR does not measure price direction, but rather provides a measure of volatility over a period of time. The Supertrend indicator, on the other hand, provides a more comprehensive view of trend direction. In addition, the indicator provides price levels at which a trend reversal would occur.

Green color stands for up trend;
Red color stands for down trend.


Remarks

Feedbacks are appreciated.

Avoid losing contact!Don't miss out! The first and most important thing to do is to join my Discord chat now! Click here to start your adventure: discord.com/invite/ZTGpQJq 防止失联,请立即行动,加入本猫聊天群: discord.com/invite/ZTGpQJq
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?