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.
How to retrieve a strategy name? [SOLVED]
-
- Posts: 23
- Joined: 17 Mar 2010
- Has thanked: 20 times
- Been thanked: 2 times
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: How to retrieve a strategy name? [SOLVED]
Hello Tartalognion,
Check the Name property inherited from CStudyControl.
Check the Name property inherited from CStudyControl.