Detect number of intruments on a chart from powerlanguage?

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

Detect number of intruments on a chart from powerlanguage?

Postby wilkinsw » 17 Jul 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: 14 Jul 2017
Has thanked: 42 times
Been thanked: 140 times

Re: Detect number of intruments on a chart from powerlanguage?

Postby Anna MultiCharts » 17 Jul 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.


Return to “MultiCharts”