How to retrieve a strategy name?  [SOLVED]

Questions about MultiCharts .NET and user contributed studies.
Tartalognion
Posts: 23
Joined: 17 Mar 2010
Has thanked: 20 times
Been thanked: 2 times

How to retrieve a strategy name?

Postby Tartalognion » 06 Aug 2018

Hello,

I'm trying to get the strategy name of the current strategy applied to a chart and write it down to the output window in C#.

I tried with StrategyInfo, but the "name" property doesn't seem to exist.

I also tried by using the interface IStrategy as the Name property exists...

But it seems it is to create and call an instance of another strategy?

by the way, is an interface like IStrategy a Class?

Any idea?

Thank you.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2944 times

Re: How to retrieve a strategy name?  [SOLVED]

Postby Henry MultiСharts » 07 Aug 2018

Hello Tartalognion,

Check the Name property inherited from CStudyControl.


Return to “MultiCharts .NET”