OPEN-SOURCE SCRIPT
Distance from SMA Display

This indicator shows the percentage distance of the price from a selected SMA (e.g., SMA 20) and uses a red or green emoji to indicate whether the price is above or below that SMA. This makes it easier to spot stocks that are far below the SMA for potential long setups, or far above it for potential short setups. In other words, it provides a quick visual way to identify overextended or underextended price conditions relative to the chosen moving average.
In addition, the indicator can display the percentage distance from the daily SMA 150, which is commonly used to determine the broader trend direction. The main purpose of this is to quickly see whether the higher-timeframe trend is bullish (price above the daily SMA 150) or bearish (price below it), helping traders align short-term opportunities with the overall market trend.
In addition, the indicator can display the percentage distance from the daily SMA 150, which is commonly used to determine the broader trend direction. The main purpose of this is to quickly see whether the higher-timeframe trend is bullish (price above the daily SMA 150) or bearish (price below it), helping traders align short-term opportunities with the overall market trend.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
itamar.e
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
itamar.e
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.