Sidechair

dividends.future_amount

Browse the reference

The cash amount per share of the company's next announced dividend; na when none is announced.

Try it in the editor

dividends.future_amount is a series float in the symbol's currency: what one share will be paid in the next dividend the company has declared. It is na when no future payment is known, and for symbols that are not dividend-paying shares.

The future dividend variables describe the next event as known right now, so read them on the last bar, with barstate.islast, rather than expecting a value on every historical bar.

Type

series float

Remarks

  • Pair it with dividends.future_ex_date: you must own the share before the ex-date to receive the payment.
  • On Sidechair: not supported yet; dividends.future_amount reads as its own text, not a number, so arithmetic on it gives na and na() on it is false. A script that reads it still runs but has no real value to show.

Example

Pine ScriptNext dividend yieldOpen in editor
//@version=6
indicator("Next dividend", overlay = true)
plot(close, "Close", color.gray)
if barstate.islast and dividends.future_amount > 0
    label.new(bar_index, high, str.tostring(dividends.future_amount / close * 100, "0.00") + "% next payout")

See also

Not on Sidechair yet