Detect number of intruments on a chart from powerlanguage?

Questions about MultiCharts and user contributed studies.
wilkinsw
Posts: 662
Joined: Apr 21 2013
Has thanked: 154 times
Been thanked: 104 times

Jul 17 2018

Hi,

Is there a way in powerlanguage to count number of instruments on a chart? Or alternatively to return a true/false when asking "if data2 is present"?

Thanks.

User avatar
Anna MultiCharts
Posts: 560
Joined: Jul 14 2017
Has thanked: 42 times
Been thanked: 141 times

Jul 17 2018

Hello, wilkinsw!

There’s no way to calculate the number of instruments on a chart from a study or check the DataN availability, but that is possible to pass this number to your study as an input.