The highest analyst price target for the stock.
syminfo.target_price_high is a series float: the most optimistic target among current analyst estimates, in the symbol's currency.
Together with syminfo.target_price_low it frames the range of opinion.
Type
series float
Remarks
- It is na for symbols with no analyst coverage.
- On Sidechair: not supported yet; a script that reads
syminfo.target_price_highstops with the error "syminfo.target_price_high" isn't supported yet. - If close is above it, price has passed the most optimistic analyst target.
Example
//@version=6
indicator("Target range", overlay = true)
hi = plot(syminfo.target_price_high, "High target", color.green, style = plot.style_linebr)
lo = plot(syminfo.target_price_low, "Low target", color.red, style = plot.style_linebr)
fill(hi, lo, color.new(color.gray, 90))
plot(close, "Close", color.white)See also
Not on Sidechair yet