srwsrfy4j8

Mtl Weekly

This Pine Script indicator for TradingView calculates and plots a line on the weekly chart, representing the average of the weekly high and low prices. The script uses conditional statements to determine and update the weekly high and low values. The calculated average is then plotted as a line on the chart in blue color. This indicator helps visualize the central point between weekly highs and lows, providing insights into potential trend directions.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?