Sidechair

syminfo.target_price_estimates

Browse the reference

How many analyst price targets stand behind the target-price figures.

Try it in the editor

syminfo.target_price_estimates is a series float holding the number of estimates used for the average, median, high and low targets.

Few estimates make those figures noisy. Check this count before you put weight on a target.

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_estimates stops with the error "syminfo.target_price_estimates" isn't supported yet.

Example

Pine ScriptTrust the target only with enough estimatesOpen in editor
//@version=6
indicator("Target with a floor on coverage", overlay = true)
enough = syminfo.target_price_estimates >= 5
plot(enough ? syminfo.target_price_average : na, "Average target", color.blue, style = plot.style_linebr)
plot(close, "Close", color.gray)

See also

Not on Sidechair yet