//@version=5 indicator("Monthly High Trendline", overlay=true) // Determine the highest priced monthly candle high_monthly = security(syminfo.tickerid, "1M", high, lookahead=barmerge.lookahead_on) // Get the highest price of the current 1 minute candle high_current = high // Plot the trendline with the first coordinate as the highest priced monthly candle and the second coordinate as the highest price of the current 1 minute candle plot(trendline(high_monthly, high_current, color=color.blue))
### **[`<code>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code)** #### **title** The `title` attribute contains extra information about the element. If the value of the `title` attribute is text, it provides a short hint describing the expected value of the element. #### **Example:**