Quote from hypostomus:
...thanks for explaining. I think I understand what you mean. I do all my backtesting so that the entry/exit decisions are made at the end of the current bar, and trade with market orders at the open of the next bar. I once modified one of my profitable codes for mid-bar decisions and entries/exits using limit orders, and got better results, assuming that the limit orders would be filled.
However, if I am understanding you correctly, the discrepancy between the backtested performance of a system and its real-time performance with mid-bar entries could be resolved by coding and testing mid-bar entries and exits, trying as best you can to write algorithms for where your intuition/experience tell you to trade.
Also, can you elaborate on signals that appear in real time that don't occur in the data feed? If you mean those due to one tick variations due to data base time differences, then I understand.
Apologies if I come across as dense and argumentative (it's hard-wired in). I always enjoy exchanging messages with you because I learn more from you than you learn from me!
Monday, put up a stochastics oscillator. Use any time frame you like. Note the numerical position of the osscilator 1-2 sec. before the end of the bar, and then note it at the beginning of the next bar. There will be dramatic displacement.
This will adversely affect a backtest.
Connie Brown discusses this in her book.
Regards
Oddi

