Sidechair

syminfo.target_price_average

Browse the reference

The mean of the analysts' price targets for the stock.

Try it in the editor

syminfo.target_price_average is a series float in the symbol's currency: the average of all current analyst price targets. Compare it with close to get the upside analysts imply.

It is na for symbols with no analyst coverage.

Type

series float

Remarks

  • A mean is pulled by outliers; syminfo.target_price_median is steadier when targets are spread widely.
  • On Sidechair: not supported yet; a script that reads syminfo.target_price_average stops with the error "syminfo.target_price_average" isn't supported yet.

Example

Pine ScriptImplied upsideOpen in editor
//@version=6
indicator("Upside to target", format = format.percent)
upside = (syminfo.target_price_average / close - 1) * 100
plot(upside, "Upside %", upside >= 0 ? color.green : color.red)
hline(0)

See also

Not on Sidechair yet