I am trying to debug a strategy using Visual Studio Express
I am getting the error
The type or namespace name 'Visualizers' could not be found (are you missing a using directive or an assembly reference?)
Visual Studio indicates the problem is with a call to Visualizers.MS123
I have added references in the project to
WealthLab
WealthLab.Components.Community
WealthLab.Indicators
WealthLab.Indicators.Community
WealthLab.Visualizers
WealthLab.Visualizers.Extensions
WealthLab.Visualizers.Extra
WealthLab.Visualizers.MS123
WealthLab.Visualizers.MS123.Helper
Am I missing another reference? I'm unable to find it.
Thanks
p.s.
I just added using WealthLab.Visualizers.MS123.Helper;
which makes the other errors disappear but then get the error message
The type or namespace name 'Helper' does not exist in the namespace 'WealthLab.Visualizers.MS123' (are you missing an assembly reference?)
Size:
Color:
Size:
Color:
Steve,
Are you sure you're not confusing "adding a reference" with "adding a using clause"? The difference is outside the scope of this forum and can be found in any Visual Studio 101 book/resource.
Having said that, I wonder how on earth did the call to Visualizers.MS123 appear in your Wealth-Lab Strategy? This does not make any sense to me as:
1) visualizers are processed after a Strategy has already finished executing
2) their programmatic usage in Strategies is unsupported
Size:
Color:
Eugene
I'm getting some statistics out of the Visualizers.MS123 PerformanceEngine
Got it. - Unsupported. I'll figure a way around it
Size:
Color:
Got it. Anyway, you can safely delete the offending "using" clause:
using WealthLab.Visualizers.MS123.Helper;
Because adding a reference to Helper doesn't bring the "using" directive in this case. The code should compile then.
Size:
Color:
I'm only responding because
QUOTE:
Because adding a reference to Helper doesn't bring the "using" directive in this case. The code should compile then.
If you don't care to respond, I'll understand.
Here is some code lifted straight from the Wiki on working with the Equity Curve with the added line to get a Performance Engine.
It compiles in WL but not in Visual Studio 2012
I have all the references listed above. I took out the Helper
The same error appears
The type or namespace name 'Visualizers' could not be found (are you missing a using directive or an assembly reference?)
CODE:
Please log in to see this code.
Size:
Color:
CODE:
Please log in to see this code.
Size:
Color:
Thank you Eugene. It compiled this time.
I really do appreciate the help (esp. in light of the unsupported calls)
Now that I'm using visual studio to debug, I hope to have fewer new topics posted ;->)
Size:
Color: