OPEN-SOURCE SCRIPT

Trend Indicator by Sai

Explanation:
Fast MA & Slow MA: The script uses two simple moving averages (SMA) with adjustable lengths (9 and 21 by default).
Trend Detection: The upTrend is when the fast moving average is above the slow moving average, and the downTrend is when the fast moving average is below the slow moving average.
Arrows: Green arrows are plotted when the market is in an uptrend, and red arrows are plotted when it's in a downtrend.
Bar Color: The bars will be colored green for uptrends and red for downtrends to visually highlight the trend.
Candlestick analysisChart patternsMoving Averages

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明