4.7.4 Receiving the data for any symbol and any resolution. DataLoader: Difference between revisions
From MultiCharts
4.7.4 Receiving the data for any symbol and any resolution. DataLoader (view source)
Revision as of 17:01, 19 September 2013
, 19 September 2013no edit summary
No edit summary |
No edit summary |
||
Line 180: | Line 180: | ||
'''9.''' Next step is to process the data. Accumulation logic should be done in the OnData() function. | '''9.''' Next step is to process the data. Accumulation logic should be done in the OnData() function. | ||
First, add a reference to the System.Collections.Generic namespace: | |||
<syntaxhighlight lang="csharp">using System.Collections.Generic;</syntaxhighlight> | |||
Second, container fields where data will be stored should be added into indicator class: | |||
<syntaxhighlight lang="csharp"> | <syntaxhighlight lang="csharp"> | ||
private List<Bar> m_EURJPY = new List<Bar>(); | private List<Bar> m_EURJPY = new List<Bar>(); |