Backtest results inaccurate

Hi Strategy Quant/Algo wizard team,


Across all the strategies that have been created, backtest results significantly differ from Mt4 backtest results (see screenshots attached). Backtests have been conducted between brokers and on Mt4's data itself. Why is this?

Attachments
Screenshot 2021-09-22 at 105459.png
(808.59 KiB)
Screenshot 2021-09-22 at 105156.png
(142.96 KiB)
Screenshot 2021-11-02 at 133656.png
(1.33 MiB)
AUDJPYV4 3.sqx
(3.06 KiB)
  • Votes +2
  • Project AlgoWizard
  • Type Bug
  • Status Fixed
  • Priority Normal

History

d
#1

dylanmaltman

10.11.2021 09:52

Task created

d
#2

dylanmaltman

10.11.2021 10:02
Voted for this task.
TM
#3

tmatejka.

24.02.2022 20:34

Attachment image-0.png added

image-0.png
(788.33 KiB)

We have checked the strategy with developers and found out discprepancies in the results your reported have been likely caused by the fact you use the shift = 0 in your entry and exit conditions together with low backtest precision in AlgoWizard together with conditions setup such as:


1) when using Ask in the input conditions the strategy can be sensitive to broker data -> better option is to use Close [0] or rather Close [1] when tick data backtest is not available


2) the strategy uses a large shift (200) along with a large EMA period (250). It takes quite a long history before the backtest begins, so that the values can stabilize


3) to backtest the strategy properly real tick data is required but it is not available in the AlgoWizard platform (only the StrategyQuantX)


When I modified your strategy to use the shift = 1 in all conditions though the backtest match pretty good between SQ and MT4 using real tick data shifted to UTC + 2 timezone


So to sum up: due to relatively low backtest precision available in the online AlgoWizard platform you need to be careful about the strategy logic and whether it is viable and realistic

d
#4

dylanmaltman

28.02.2022 13:09
Hi Team,


Thank you for the feedback. With reference to point 2, do the indicators effectively start from scratch until such time that there is enough data to create the indicator (e.g. 250 ema requires 250 data points from the start of the backtest until the indicator is generated)?

Dw
#5

Diwi

26.04.2022 16:13
Voted for this task.
TT
#6

Tamas

26.04.2023 13:55

Status changed from New to Fixed


Votes: +2

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please