Have two questions about how to control what values get passed into the "Trades" and "By Symbol" visualizer tabs.
The first question is how TO pass a variable. I have a strategy that chooses trades based on one overall "composite" score (all parameters I'm considering factor into an overall number which is used to pick trades). How can I get this value to appear on the Trades tab and any other visualizers where possible?
Second, I have some strategies that have the opposite problem - they pass way too many useless variables into the "By Symbol" visualizer. The problem appears to come from a line of code that creates a DataSeries from two other dataseries, such as this:
CODE:
Please log in to see this code.
which creates hundreds of useless variables in the by symbol output like this:
http://www.freeimagehosting.net/image.php?03adc67f72.pngIt slows down the refresh rate of the page to the point where it's virtually useless and makes me concerned about the app hanging.
Interesting this behavior doesn't exist when I instantiate the dataseries, and then use a for loop to populate it bar by bar, but that's more cumbersome code.
My main need at this point is the first problem, but the second has always puzzled me