OPEN-SOURCE SCRIPT

My Script v6

147
SMA Calculation: Computes a Simple Moving Average of the selected input source (default is the closing price) over a user-defined period (Length, default 14).

Buy Signal: Displays a green "BUY" label below the bar when the price crosses above the SMA (bullish crossover).

Sell Signal: Displays a red "SELL" label above the bar when the price crosses below the SMA (bearish crossunder).

Overlay Enabled: The indicator is drawn directly on the price chart (overlay=true).

免責聲明

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