- ago
QUOTE:
By default, WL7 assigns a LibraryName for your Indicators based on the assembly name of your library. It uses the LibraryName as the header text in the Indicator tree node that contains your Indicators.
So when my compiled assembly name is Superticker.Indicators, why does it come out as "Indicators" in WL7?

Now I have two "Indicators" libraries listed. One for WealthLab.Indicators and another for Superticker.Indicators. The library name should be the full assembly name.

QUOTE:
If you want to use a different name, assign a value to this property in your Indicator constructor.
CODE:
public string LibraryName
Does in matter which indicator (I have several in Superticker.Indicators) I place this property value in?
0
369
Solved
4 Replies

Reply

Bookmark

Sort
Glitch8
 ( 9.89% )
- ago
#1
It works this way to reduce the size of the labels in the tree. So it's working as designed. To create a custom name assign it in each indicator constructor. You can even have different indicators from the same assembly appear in different folders using this property.
1
Best Answer
- ago
#2
QUOTE:
It works this way to reduce the size of the labels in the tree.
Okay, I changed the assembly name to Superticker.SuperIndicators and that does change the library tree heading to SuperIndicators (without changing the Visual Studio project name). Interesting.

QUOTE:
To create a custom name assign it in each indicator constructor.
I'm assuming only the "dummy" constructor, which WL7 calls at startup, needs to make this property assignment since it builds the directory tree. The primary constructor doesn't need to make this assignment.
QUOTE:
You can even have different indicators from the same assembly appear in different folders using this property.
Hmm. I'm trying to decide if that's an advantage or a disadvantage? I guess that depends on how you use it.

Thanks for all the clarifications.
0
mjj38
- ago
#3
Can you add the LibraryName property to StrategyBase for compiled strategies as well?
0
Glitch8
 ( 9.89% )
- ago
#4
Let's open a new Feature Request for this so we can properly track the request.
1

Reply

Bookmark

Sort