Quote from droskill:
In fact, one of the unique features of AB is the AddToComposite feature which let's you create a new index/data set based on different parameters such as new highs/new lows - a feature that is sorely missing from Tradersstudio.
[/B]
Quote from fundjunkie:
I noticed this as a gap (for me) the other day. But given that kind of synthetic series you're alluding to can be coded up in custom functions I'm interested in why you see this as a gap.
I noticed this gap because I've been coding up some functions in Tradersstudio and have been plotting them for verification. An indicator based upon a synthetic series can't be plotted as Tradersstudio stands now.
What I will say is that building on the "data alias" feature of the data universe to allow construction of syntheic series would be a good design move for Tradersstudio. But like I said above, you can simulate any seriies you wish in code - but maybe that's not your point.
Thx
D
Quote from droskill:
Hmmm....well, maybe I just don't know how to do it in Tradersstudio. So, let's say I want to calculate the % of stocks in an index that are above a 50 day simple moving average. I want to plot this, and I want to buy, when, say, the index is less than 20 and sell when it is higher than 60.
Any sample you can provide would be greatly appreciated.

Quote from Gyles:
As regarding the Stock Splits question, am quoting a section from the review pertaining to the same as follows:
Quote from Murray Ruggiero:
Our CSI data deal with 20 years of stock history for $267.00 is 1/2 of there normal price for the data, but it's only available to TradersStudio customers. This means for $767.00 + shipping you get data which would cost you over $500.00 alone.
Quote from inquisitive:
Thanks for your response. Is there no way to get more than 20 years of data? I would really like at least 50 years...
Is this amount of data available for other programs?
Quote from fundjunkie:
Well, I don't do stocks (which I think you know) so I don't have an example of this type of thing. How I might try to do this (in pseudo-code) if I'm understanding you correctly is:
"Function StockStrengthIndex(StockIndex as Array, Lookback)
For StockSeries in StockIndex
BenchMA = Average(StockSeries[UBound(StockSeries) -1], Lookback)
If StockSeries > BenchMA Then
StockStrengthIndex = StockStrengthIndex + 1
Else
StockStrengthIndex = StockStrengthIndex - 1
Next
End Function"
...this is where my thinking would start from anyway. I don't think you'd have a problem with this. You've done quite a lot of coding haven't you?
Open Question: My assumption is that a 2D Array of stock ticker series would be loaded into an Array(StockIndex) as input to the for loop. Tradersstudio may have a more elegant way of management stock index components than that. As I said, I don't do anything with stocks right now...maybe i should for some coding laughs
Interestingly, I know that a bunch of array handling functions have been added to tradersstudio in the most recent beta (I think it's that one). I suspect those improvement may, in part, be motivated by the need to manhandle groups of stocks in custom functions when bararrays can't be used.
Thx
D
Quote from droskill:
I've considered doing something similar but that method, without storing the result in another data array, is pretty darn slow. Every time you run a system, you'll run that across all stocks for every bar. I suppose that I could write out the result to a file but I'm not familiar with that area in Tradersstudio.
As a side note, I've asked Murray about how to program a rotational trading basket about 10 times and he says it can be done but so far I haven't seen an example.