Example of requesting Earnings, Splits, Dividends using pine-script.
That way is inner representation of data in TradingView, so it can be changed any time. It's just an example of requesting of the data.
Description of the series.
time: report date (unix time stamp)
open: estimate value
low: reported value
close: actual value
Simple method to convert from input.text_area to array using str.split.
Reshape table using switch, not necessary must use matrix.reshape.
Might be useful pine script to replace input.symbol.
Table can positioned by any position and font size can be resized.
Reshape table and sorting array if necessary.
This simple script decomposes the value of the Average True Range into a bullish component and a bearish component .
The script supports two plotting methods; Mirrored and Two Lines . If Mirrored is chosen, the indicator plots the bullish component as a positive number, and the bearish component as a negative number. If Two Lines is chosen, the indicator...