I'm aware that you're a hack coder.Quote from bwolinsky:
You want to take a shot at it? I've done 99% of the work for you already. The only thing you'd have to do is open up a Fidelity account, get WLP, and plug this program up to .SPX.
You haven't picked up on the capabilities of WLP, either.
Instead of buyatmarket(Bar+1,'Jacks friend etc'); you can do
setprimaryseries('SSO');
{this will set the primary series as SSO so that you can buy it}
buyatmarket(Bar+1,'We bought SSO for a long');
restoreprimaryseries;
OR
for the short
setprimaryseries('SDS');
buyatmarket(Bar+1,'Buying SDS is the same as shorting the index');
restoreprimaryseries;
When you do this, as I use in QID and QLD systems, you watch one price series and buy or sell two different securities in the same program even though your chart may be on a completely different symbol.
That's advanced, and I'm the only person I know that knows how to do it. I've not seen any other programs with that capability, but it's probably possible. Even on SPY this would get filled at nearly exact same price movement as .SPX.
Don't get me started on the sizing aspect, which you're probably not aware of either. I can duplicate SPX movements, with either 1)Call or put options 2)futures 3)Options on futures if I have a big account 4) or the ETF, which could be 1x,2x,or now 3x leveraged ETFs to size accordingly depending on the level of exposure I want.
Edit With severe delusions of grandeur.
... now that was funny! (especially when taken in context with the rest of this thread)