Quote from Batman28:
Wayne
ok this is what I want for a DREAM software:
lets use "ticker" when referring to stock security code so sticking to the convention I should be able to do this:
if GOOG.bar[t].close > AAPL.bar[t-1].close then.. etc. GOOG being ticker for GOOGLE and AAPL for AAPL i.e. using official tickers. so we can name each instrument on the go!
getting more advance with ticker groups:
Example: tickers math:
ZOOM = new ticker = GOOG.Bar[t].close + AAPL.bar[t].close
Vector/matrix operation: assume TICKERS as array of tickers A to Z
for TICKER[i...n] do
if ticker.Bar[t].close > GOOG.bar[t].close
then tradingsignal.buy 100 of ticker
else exit and continue..
this should be able to handle unlimted number of tickers..
time dynamics: I should be able to do analyse any time frame I choose from tick, 1min, 5min, 10min, 15min, 30min, 1hour, and daily. this will let me investigate a strategy across time frames. for example:
assume timeframes array of 8 time types above.
I like to do something like:
using timeframe[tick];
if GOOG.Bar[t].close > AAPL.Bar[t].close do..
or
for timeframe[i...n] do
if GOOG.bar[t].close > GOOG.bar[t-1].close
etc. etc.
this allows finding the optimal time frame for a given strategy. i.e. finding the time-frame that maximises profit.
there are many features I like to see. I will star creating tickets on your site.
many thanks