The date the next dividend is paid out, as a UNIX timestamp in milliseconds; na when none is announced.
dividends.future_pay_date is a series int. It falls after dividends.future_ex_date, because payment follows the record date.
It is na when no dividend is announced or the symbol does not pay one.
Type
series int
Remarks
- Format it with
str.format_timeor compare it with timenow. It describes the next event as known right now, so read it on the last bar. - On Sidechair: not supported yet;
dividends.future_pay_datereads 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. - Subtract
dividends.future_ex_dateto see how many days pass between the cut-off and the payment.
Example
//@version=6
indicator("Pay date", overlay = true)
plot(close, "Close", color.gray)
if barstate.islast and dividends.future_pay_date > timenow
label.new(bar_index, high, "pays " + str.format_time(dividends.future_pay_date, "yyyy-MM-dd"))See also
Not on Sidechair yet