Hi,
I wanted to use the bar magnifier on daily charts with 240 minutes precision. In the normal backtesting mode without the bar magnifier all my trades get executed well and as they are supposed to.
But once I turn on this bar magnifier, my entries and exits get triggered all over the place but not where they are supposed to trigger.
Sometimes an entry is then generated where the exit would be and vice versa. Both the entries and exits are typically very far away from where they should trigger.
Maybe I am doing something wrong here, but I have no idea how I could solve that problem.
Hope somebody in this forum can help me.
Problem with bar magnifier
- Dave Masalov
- Posts: 1712
- Joined: 16 Apr 2010
- Has thanked: 51 times
- Been thanked: 489 times
Re: Problem with bar magnifier
Dear tradeprice,
Please go to Quote Manager, right click on the symbols that you trade on and Clear Cache. This should help.
Please go to Quote Manager, right click on the symbols that you trade on and Clear Cache. This should help.
-
- Posts: 10
- Joined: 18 Nov 2010
Re: Problem with bar magnifier
Hi, thanks for the advice. However, unfortunately clearing the cache doesn't solve my problem.Dear tradeprice,
Please go to Quote Manager, right click on the symbols that you trade on and Clear Cache. This should help.
I manually calculated several bars where the execution should be, and my buy and sell stops still don't trigger where they are supposed to trigger.
For example 1.3940 should be the buy trigger, but when I use the bar magnifier, it executes the buy trigger at 1.3970. A 30 pip difference. And this kind of discrepancy happens at almost every bar.
I used the data feed from fxcm and from mbtrading. This time daily chart with 1 minute precision. No matter what I do, I get the same wrong execution in the backtest when using the magnifier.
How is it possible that with the bar magnifier the whole calculation of the buys and sells gets screwed up?
-
- Posts: 10
- Joined: 18 Nov 2010
Re: Problem with bar magnifier
Another problem I have with the bar magnifier:
A backtest with a 24 hours chart / 1440 minute chart gives a VERY different result than using a daily chart. And again, this only happens with the bar magnifier. So I have no idea which backtest I should believe.
I hope somebody can shed some light on that issue.
A backtest with a 24 hours chart / 1440 minute chart gives a VERY different result than using a daily chart. And again, this only happens with the bar magnifier. So I have no idea which backtest I should believe.
I hope somebody can shed some light on that issue.
Re: Problem with bar magnifier
If you are backtesting on a tick based data I recommend using 86,400 sec bars.A backtest with a 24 hours chart / 1440 minute chart gives a VERY different result than using a daily chart. So I have no idea which backtest I should believe.
-
- Posts: 10
- Joined: 18 Nov 2010
Re: Problem with bar magnifier
thanks for your recommendation!If you are backtesting on a tick based data I recommend using 86,400 sec bars.A backtest with a 24 hours chart / 1440 minute chart gives a VERY different result than using a daily chart. So I have no idea which backtest I should believe.