Detect number of intruments on a chart from powerlanguage?

Questions about MultiCharts and user contributed studies.
wilkinsw
Posts: 540
Joined: 21 Apr 2013
Has thanked: 137 times
Been thanked: 88 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: 451
Joined: 14 Jul 2017
Has thanked: 31 times
Been thanked: 111 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”