I'm new to strategy backtesting, so don't shoot me if this is a stupid post!
I sent this email to support about what appears to be a limitation with the backtest report -- any of you gurus have some simple solutions for me?
-----original message---------
I have a simple issue with every strategy I program and backtest with esignal.
Problem: The entry/exit signals that are being generated "intra-bar" during real-time trading with esignal do NOT show up on the backtest report.
These "false/early signals" would actually be the "real" entry/exit points when trading live because the calculations are running tick by tick (as it should). Esignal properly plots and triggers these alerts real-time.
The backtest report however, is not calculating this tick data; it
instead appears to use the OHLC of each bar and plots the entry/exit signals as such only after the bar closed.
This gives me a useless report that is over-optimized because all of the "false" signals have been removed from the report.
Example: Say we use a simple MACD crossover as our entry/exit signal.
This signal can be generated on an interval bar (3,4,5,6min etc)
several times during the same bar until that bar closes. The backtest report however would list this as only a single entry/exit signal entry.
More importantly using the same example, a MACD crossover can occur intra-bar (generating a signal real-time), but by the time the bar closes the price movement intra-bar has undone the MACD crossover. The backtest report looking historically does not even reflect this signal ever occurred!
Without knowing what the "real" entry/exit points were, I can't
generate an accurate backtest report to see how much $ could
potentially be made/lost.
Workaround: I have to change the strategy exit from THISBAR to NEXTBAR to more closely match the backtest results with the real world. This of course strips out most of the profit from the system and is just plain inefficient. This is not a solution.
Solution: I need to generate an accurate strategy report that uses "THISBAR" as the entry/exit points. There should be an option to run the report against actual tick data. This would return a result set displaying all of the signals intrabar.
This is why I am subscribing to esignal, and I've reached a stopping point in my research because of this apparent limitation.
I observe this reporting issue with MACD crossover, Stochastic band crossover, RSI band crossover etc.
How can anyone generate an accurate report on the above signals with only closed bar calculations?
How can I accomplish this with the esignal software?
I must be doing something wrong -- please help!
Thank you for your time.
-----original message---------
Thanks in advance all.
-Willr
I sent this email to support about what appears to be a limitation with the backtest report -- any of you gurus have some simple solutions for me?
-----original message---------
I have a simple issue with every strategy I program and backtest with esignal.
Problem: The entry/exit signals that are being generated "intra-bar" during real-time trading with esignal do NOT show up on the backtest report.
These "false/early signals" would actually be the "real" entry/exit points when trading live because the calculations are running tick by tick (as it should). Esignal properly plots and triggers these alerts real-time.
The backtest report however, is not calculating this tick data; it
instead appears to use the OHLC of each bar and plots the entry/exit signals as such only after the bar closed.
This gives me a useless report that is over-optimized because all of the "false" signals have been removed from the report.
Example: Say we use a simple MACD crossover as our entry/exit signal.
This signal can be generated on an interval bar (3,4,5,6min etc)
several times during the same bar until that bar closes. The backtest report however would list this as only a single entry/exit signal entry.
More importantly using the same example, a MACD crossover can occur intra-bar (generating a signal real-time), but by the time the bar closes the price movement intra-bar has undone the MACD crossover. The backtest report looking historically does not even reflect this signal ever occurred!
Without knowing what the "real" entry/exit points were, I can't
generate an accurate backtest report to see how much $ could
potentially be made/lost.
Workaround: I have to change the strategy exit from THISBAR to NEXTBAR to more closely match the backtest results with the real world. This of course strips out most of the profit from the system and is just plain inefficient. This is not a solution.
Solution: I need to generate an accurate strategy report that uses "THISBAR" as the entry/exit points. There should be an option to run the report against actual tick data. This would return a result set displaying all of the signals intrabar.
This is why I am subscribing to esignal, and I've reached a stopping point in my research because of this apparent limitation.
I observe this reporting issue with MACD crossover, Stochastic band crossover, RSI band crossover etc.
How can anyone generate an accurate report on the above signals with only closed bar calculations?
How can I accomplish this with the esignal software?
I must be doing something wrong -- please help!
Thank you for your time.
-----original message---------
Thanks in advance all.
-Willr
Comment