Massive deviations between backtests in SQX and Multicharts with certain SQ functions

I attached several strategies mined on 1H and 60M time intervals, that yield completely different backtest results between StrategyQuant X and Multicharts. The reason I believe is failing handling of different indicator time spans in the SQ-specific Multichart functions (function names starting with SQ_...) - it seems some indicators are referring to daily values, while the general timeframe of the backtest is 1H (one bar = one hour). However, every function seems to be fed with barcounts, that sometimes are interpreted as one bar = one day instead, which of course cannot work at all. I only have limited programming skills, so my interpretation might not be fully correct, but I suspect it at least goes into the right direction. Another piece of evidence for this is, that these algos are yielding correct backtest results, when applied to a daily timeframe symbol in the Multicharts backtest - suddenly everything matches in that case.



Since the related  SQ-functions are completely useless in Multicharts as long as this problem exists, I strongly request this to be fixed urgently.

Attachments
CMG_1H_310191_743.sqx
(566.16 KiB)
CMG_1H_19174_960.sqx
(469.62 KiB)
CMG_1H_21166.sqx
(61.54 KiB)
AMZN_1H_34117_767.sqx
(76.30 KiB)
FB_1H_31119.sqx
(51.77 KiB)
AMZN_1H_23121_747.sqx
(96.55 KiB)
SHOP_1H_22111.sqx
(74.18 KiB)
  • Votes +2
  • Project StrategyQuant X
  • Type Bug
  • Status New
  • Priority Normal

History

TK
#1

t.kissels@outlook.de

17.02.2022 16:20

Task created

TK
#2

t.kissels@outlook.de

20.02.2022 10:54
Voted for this task.
E
#3

Emmanuel

21.02.2022 09:19
Voted for this task.
TM
#4

tmatejka.

14.09.2022 20:31
Thomas, can you please let us know which SQ version you currently use or used when testing those strategies?
TK
#5

t.kissels@outlook.de

14.09.2022 20:38
It was the latest official Build 135 (not yet tried with the new 136 dev builds).

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