I'm trying to display a chart of the S&P500 closes above a chart. Why are the S&P prices changing when I display different symbols in the bottom half of the chart?
CODE:
Please log in to see this code.
Size:
Color:
You should not load secondary data in this manner. LoadFromFile returns an unsynchronized Bars object. It's for advanced programming, not for scripts.
Use the GetExternalSymbol method(s) instead.
Size:
Color:
Looks like you've implemented Danton Long's MBars? While all of the above is true, for advanced programs it's possible to synchronize the loaded MBars object with the help of:
CODE:
Please log in to see this code.
Size:
Color: