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?
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?