Profile Picture

How to read exists bardata in Historical Data Plugin ?

Posted By raidsan 8 Years Ago
Message
Posted Friday July 10 2009
hi, I want to use MT history data as supplement to IB data, not overried.
There is an Import function could use to import ascii bardata file, but it is not a one click operate.
so I try to write a plugin to retrieve bardata from metatrader local history file,
but I don't know how to read the exists bardata in rightedge datastore?
How could I init the SystemData Object under IBarDataRetrieval context?
Posted Sunday July 12 2009
I think I understand what you're asking, but I'm not 100% sure. But you have it backwards, SystemData is not initialized by plugins ever. I think to do what you're describing, you'd set the system to load lead bars. In this case, RightEdge would call your IBarDataRetrieval for the lead bars for the specified symbols. At that point, you could read them from the MT file. Would that work?

raidsan (7/10/2009)
hi, I want to use MT history data as supplement to IB data, not overried.
There is an Import function could use to import ascii bardata file, but it is not a one click operate.
so I try to write a plugin to retrieve bardata from metatrader local history file,
but I don't know how to read the exists bardata in rightedge datastore?
How could I init the SystemData Object under IBarDataRetrieval context?
Posted Monday July 13 2009
I have clear that, I should use RDBMS base datastore plugin to receive real data, then I could update the data conveniently through database interface.


Similar Topics


Reading This Topic


2005-2017 © RightEdge Systems