BarsOfData() question [SOLVED]
-
- Posts: 83
- Joined: 18 Mar 2013
- Has thanked: 11 times
BarsOfData() question
I have subchart 1,2,3 and when I use BarsOfData(3).Close[0], it prompt an error and tell me subchart 4 is not set up.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: BarsOfData() question
Hello maisatomai,I have subchart 1,2,3 and when I use BarsOfData(3).Close[0], it prompt an error and tell me subchart 4 is not set up.
This issue has been confirmed. It will be fixed in the next version of MultiCharts .Net.
As a workaround when you need to reference 3 data series, add a fourth data series to your chart.
When there are 4 dataseries on the chart - BarsOfData(3) returns the correct value.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times