Nithin George

Generation

fix invalid codeWed, 26 Apr 2023

//@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))

### Create Checkbox

Want to kickstart your project?Use the new AI Studio to create your code