Sidechair

syminfo.target_price_median

Browse the reference

The middle value of the analysts' price targets, less sensitive to extreme targets than the mean.

Try it in the editor

syminfo.target_price_median is a series float in the symbol's currency. Half the analysts' targets are above it and half below.

It is na for symbols with no analyst coverage.

Type

series float

Remarks

  • When it differs a lot from syminfo.target_price_average, a few extreme targets are skewing the mean.
  • On Sidechair: not supported yet; a script that reads syminfo.target_price_median stops with the error "syminfo.target_price_median" isn't supported yet.

Example

Pine ScriptMedian target on the chartOpen in editor
//@version=6
indicator("Median target", overlay = true)
plot(close, "Close", color.gray)
plot(syminfo.target_price_median, "Median target", color.blue, style = plot.style_linebr)

See also

Not on Sidechair yet