Indicator: 13 Week High/100 Day SMA/13 Week Low with 0.382, 0.5, and 0.618 Fibonacci Levels
Description: This indicator for TradingView, written in Pine Script version 6, displays a table on the chart that provides a visual analysis of key price levels based on a 13-week timeframe and a 100-day Simple Moving Average (SMA).
Core Calculations: 13-Week High and Low: The indicator calculates the highest high and lowest low over the past 13 weeks using weekly data. This provides a longer-term perspective on the price range. 13-Week Fibonacci Retracement Levels: Based on the calculated 13-week high and low, the script determines the 0.382, 0.5, and 0.618 Fibonacci retracement levels. These levels are often used by traders to identify potential support and resistance areas. 100-Day SMA: The indicator calculates the 100-day Simple Moving Average of the closing price using daily data. The SMA is a widely used trend-following indicator.
Table Display: The indicator presents the calculated values in a neatly formatted table on the chart.
The table includes the following information: 13W High: The highest price reached over the last 13 weeks. 13W Low: The lowest price reached over the last 13 weeks. 13W SMA: The calculated 100-day Simple Moving Average value. Fibonacci Levels: The 0.382, 0.5 ("Mid"), and 0.618 Fibonacci retracement levels, labeled as "↗," "|," and "↘," respectively.
Dynamic SMA Coloring: The 100-day SMA value in the table is dynamically colored to provide a quick visual indication of the current price's relationship to the SMA: Teal: The current closing price is above the 100-day SMA, suggesting a potential uptrend. Red: The current closing price is below the 100-day SMA, suggesting a potential downtrend. Blue: The current closing price is equal to the 100-day SMA.
In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.