Hello MC fan
I want to add some functionality to my indicator that is use send data to Excel. I would like to send also data from a second chart on my workspace.
Since this indicator could be use in any workspace, I would like to prevent a failure of the indicator by testing the presence of a 2' data
Is it possible? When I try to access data 2 when there is none, I got an error and the indicator is stopped.
A good weekend to all
Martin
Testing for a 2' instrument in data 2 [SOLVED]
- Dave Masalov
- Posts: 1712
- Joined: 16 Apr 2010
- Has thanked: 51 times
- Been thanked: 489 times
Re: Testing for a 2' instrument in data 2
Hello Martin,Hello MC fan
I want to add some functionality to my indicator that is use send data to Excel. I would like to send also data from a second chart on my workspace.
Since this indicator could be use in any workspace, I would like to prevent a failure of the indicator by testing the presence of a 2' data
Is it possible? When I try to access data 2 when there is none, I got an error and the indicator is stopped.
A good weekend to all
Martin
Unfortunately there is no way to do it automatically. The solution is to add an input which will determine how many data series you have on this particluar chart and change this input when you apply the study if needed.