Home Article high low trend indicator high low trend indicator Software Technique Web Technique All Computer Language and Computer Language Practice Computer Educa April 16, 2026 0 Comments Share: Facebook Twitter Google+ Pinterest Whatsapp TREDING //@version=5 indicator("Specific Date High Low", overlay=true) // User input: jis date ka high/low chahiye targetDay = input.int(10, "Target Day") targetMonth = input.int(4, "Target Month") targetYear = input.int(2026, "Target Year") // Current bar ka date isTargetDate = (dayofmonth == targetDay and month == targetMonth and year == targetYear) // High/Low store variables var float dayHigh = na var float dayLow = na // Reset only on target date first bar if isTargetDate and not isTargetDate[1] dayHigh := high dayLow := low // Update only on target date if isTargetDate dayHigh := math.max(dayHigh, high) dayLow := math.min(dayLow, low) // Plot only for that date plot(dayHigh, title="Target Day High", color=color.red, linewidth=3) plot(dayLow, title="Target Day Low", color=color.green, linewidth=3) Copy Copied Text:
No comments