Thanks for your reply, horribilicus.Quote from horribilicus:
If you don't mind making the outside indicator into an ASCII file that looks like a "price data" file to the analysis software, you can call it "Data2" and almost every TA package can deal with that. You're using its intermarket analysis capability except that market#2 is really your outside indicator. Tradestation, for example, can work this way.
Trading Recipes and Mechanica can read the outside indicator as a "Companion File"and let you use it thataway.

Quote from kut2k2:
Do you know if that works for portfolio backtesting where there will be a separate indicator column for each stock in the portfolio? I'd like to backtest at least 10 years for a basket of about 30 stocks. TIA. [/B]
Do you want to backtest on intraday data or daily bars? I do all of my backtesting on portfolios of at least 500 stocks and I use tick data for the stocks.Quote from kut2k2:
Do you know if that works for portfolio backtesting where there will be a separate indicator column for each stock in the portfolio? I'd like to backtest at least 10 years for a basket of about 30 stocks. TIA.
It all depends on the size that you're trading relative to the liquidity of the trading instrument and your timeframe. All of my trading is very short term (most trades last less than 5 minutes) and my backtests match my actual results very closely. The biggest mistake most people make is they use daily bars to backtest short term swing trading systems on stocks and then think that they're going to get actual results that match the backtests.Quote from hans37:
I think backtesting is flawed by pretending buying here or selling there in the past would not have affected the market 1 iota in an ongoing manner.
The trading will be eod so the bars will be daily. I'd prefer a spreadsheet solution because that is how my indicator values are generated, but I'll settle for a commercial program that will do portfolio backtesting while allowing input of separate indicator values for each stock. Otherwise it's no good for me.Quote from Slave2Market:
Do you want to backtest on intraday data or daily bars? I do all of my backtesting on portfolios of at least 500 stocks and I use tick data for the stocks.
If you are using daily bars you still need to use intraday data to create those bars. It is extremely common for the open and close of a daily bar to NOT match the actual trading session open and close prices i.e. premarket and afterhours trading is included in the daily bar data. Your system will not be able execute trades at these prices and it's common for a stock to run-up/down after the close or in the premarket. Your system based on daily bars will book these imaginary profits and your real world results could be vastly different.Quote from kut2k2:
The trading will be eod so the bars will be daily. I'd prefer a spreadsheet solution because that is how my indicator values are generated, but I'll settle for a commercial program that will do portfolio backtesting while allowing input of separate indicator values for each stock. Otherwise it's no good for me.
I'd only go to a custom program solution after thoroughly vetting it to make sure the programmer's assumptions don't conflict with my own.