Get Workspace Name in an Indicator or Signal/Strategy

Questions about MultiCharts and user contributed studies.
eegroup
Posts: 78
Joined: 04 Aug 2008
Has thanked: 11 times
Been thanked: 9 times

Get Workspace Name in an Indicator or Signal/Strategy

Postby eegroup » 19 Sep 2014

Is there any way to get the name of the workspace that an indicator or signal/strategy is loaded on from inside of the PowerLanguage script?

Like something similar to:

WS_Name = GetWorkspaceName;

Like the way in which the strategy name can be obtained:

Strategy_Name = GetStrategyName;

Thanks!

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 559 times

Re: Get Workspace Name in an Indicator or Signal/Strategy

Postby Andrew MultiCharts » 23 Sep 2014

Hello eegroup,

Unfortunately at the moment you cannot return name of the workspace where the code is applied, but the following keywords may be helpful for you to reach your goal (identify where the study is used):

Code: Select all

symbolname
bartype


Return to “MultiCharts”