I would like to import some fundamental data such as Revenue into a custom indicator for calculation. So far, I found an external data import process via stream reader, but I would like to ask if there is a better way to go about this? I have the source data externally and can format them to any structure (ex. xml, json, csv.. etc) Ideally, the import process would read and import the source data into array or object which I can utilize for calculation.
More practical example is, calculation of Price to Revenue number which consist of Daily Close / Revenue.
Thank you
Oh and a big apologies if this has been asked before. I am still making my way through the tons of info here.