I want to see some symbol stats, not strategy stats. Is it possible to make it in WLD? I want to make it something like in optimizing.
Size:
Color:
Please be specific and verbose. This is not clear enough.
Size:
Color:
OK. Here is my scenario. I have a Symbol and time frame. I want to see a diagram which will show me som especific info about this Symbol, i.e. volatility graph. Of course I can code the strategy with idicator and see it on Graph. But I'd like to see all the results in one Pane. Is it possible?
Size:
Color:
Size:
Color:
OK, I think it's the right decision. Is it possible to pass there Bars object? I need there High and Low bar values. Is any visualization components available from WLD? Like the one from the Equity Curve?
Size:
Color:
You should be able to pass a Bars object (or in fact almost any object) there by assigning it to the Position.Tag property. However note, that each Position already has a Bars object attached:
SystemPerformance.Results.Positions[] -> Position.Bars
Size:
Color:
QUOTE:
SystemPerformance.Results.Positions[] -> Position.Bars
All the bars? Or only bars from position. I need all the bars regardless of position (it even can be nothing positions at all). I can get it all in strategy code, but it's WealthScript.Bars object. I can't see Bars object from IPerformanceVisualizer interface.
I see void CreateVisualization(WealthLab.SystemPerformance performance, WealthLab.IVisualizerHost visHost). I can store there SystemPerformance.Bars object, but is it all bars?
Size:
Color:
QUOTE:
All the bars? Or only bars from position.
The
Bars object associated with the
Position. You can't "arbitrarily pass an object to a visualizer" - like I said, you're doing this by storing an object with the Position.Tag property and accessing it later.
To retrieve the collection of Bars objects that belongs to a portfolio backtest, loop through
SystemPerformance.Results.Positions, accessing the Bars object of the current Position.
QUOTE:
I can't see Bars object from IPerformanceVisualizer interface.
Take a look at my 2nd link above. Check out the open source code, there's a dozen of examples how to work with Positions in
CreateVisualization (the heart of a visualizer, sort of
void Main() or
Execute()).
Size:
Color:
Am I right?
In strategy I have to put this code:
CODE:
Please log in to see this code.
In PV code in CreateVisualization(WealthLab.SystemPerformance, WealthLab.IVisualizerHost) I have to put this code:
CODE:
Please log in to see this code.
Size:
Color:
No. Eugene has instructed that each Position has a Bars object associated with it. In other words, you can access it using the Position object.
CODE:
Please log in to see this code.
Size:
Color:
Just a small clarification for Igor:
CODE:
Please log in to see this code.
Size:
Color: