OPEN-SOURCE SCRIPT

My Script v6

122
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).

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.