@Tomasz Am using Osaka Plugin to import custom fields. These fields also have Date column, but this date is not necessarily 100% overlaps the Date as in the native DB for a Ticker.
Data News EPS PE
2016-12-10 Export 5 12
2017-01-01 New Order 6 12
2017-01-05 Expansion 7 12
2017-01-10 Divident 8 12
2017-02-01 Bonus 9 12
2017-03-01 Result 10 12
2017-05-26 Right Sh 11 12
As you can see Dates of Imported table is not the same range as dates in native DB for MSFT.
I want to assign array element (in case of Numeric Var) / dynamic number (in case of String var) to Osaka columns by date as a match Key. So i can assign each Cell in Table to respective date in Native DB for MSFT.
Expected Output: (Filling Data holes with 0) ()
EPS [Array Element] (Number of Elements same as BARCOUNT)
Instead of using OSAKA plugin, import your data using ASCII importer into Aux fields and/or extra tickers. Then you will get date/time synchronization for free using Foreign() function.
I never intended to use Amibroker for the OHLC (numbers only) kind of analysis. Even though fundamental data is also number but there is something I believed in my Journey of Investments that all these Numbers are “LAGGED”.
LAGGED IN = LAGGED OUT.
I intend to use AB to overlay Textual Information (News, sentiments, announcements, disclosures and much more). (Noiseless Qualitative Data basically) This is what I call Qualitative Analysis. I am even integrating SOLR Full text with AB.
Amibroker’s Native DB design is not for me. It conflicts with the way I think an Investment Tool Should be. At the Moment this native DB is about “Numerics”.
Using any AUX fields even the composite tickers yields me nothing as I can not mock string array.
Hence, hacking OSAKA is my hope.
So, Can you please give me some guidance on How can I align Custom Fields with Native DB datetime?
By the way you are mistaken if you think that these are just numbers. No. Numeric array can be used for anything you wish and more. The number in the array can be an index to news story that you can read on the fly from text file using fopen() / fgets() / fclose()
First thing to do is to open your mind. Then you can start programming. Programming is not about coding. Programming is invention. It is art. Art of innovation.