Choose data for specific time period
-
- Posts: 12
- Joined: 21 Mar 2013
Choose data for specific time period
Hello. How to read the bar data for specific time period? e.g. the bar data in current month. Display the bar data from 2010; bar.close minus 0.5 for the March, 2009.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Choose data for specific time period
Hello viresearch,
There are two ways:
1) You can plot this data on the chart, then reference it from the code for calculation with the help of BarsOfData() method.
2) Use IDataLoader to load the data you need, process and use it.
For more details and examples please refer to MultiCharts.NET-ProgrammingGuide:
4.2 Data Access
4.7.4 Receiving the data for any symbol and any resolution. DataLoader.
Another IDataLoader example can be found here.
There are two ways:
1) You can plot this data on the chart, then reference it from the code for calculation with the help of BarsOfData() method.
2) Use IDataLoader to load the data you need, process and use it.
For more details and examples please refer to MultiCharts.NET-ProgrammingGuide:
4.2 Data Access
4.7.4 Receiving the data for any symbol and any resolution. DataLoader.
Another IDataLoader example can be found here.