SQX doesn't generate strategies correctly for a template with multiple charts

I've been generating strategies from a template where two of the conditions are based on the H1 timeframe and one is based on the H4 timeframe. When I look at the pseudo code for these strategies I can see that the H4 timeframe is referenced as Subchart1 however the MACD condition that's supposed to use it looks like it's using the Main chart (H1). I've attached an example strategy, template, random groups, custom blocks and config file.
Attachments
customBlocks.xml
(36.88 KiB)
project.cfx
(52.67 KiB)
Strategy 11138.sqx
(15.96 KiB)
blockGroups.xml
(2.54 KiB)
st_trd_dirstrsca_en_v01.sqx
(3.85 KiB)
  • Votes +1
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

PJ
#1

gottogethelp

02.05.2020 19:55

Task created

IH
#2

clonex / Ivan Hudec

04.05.2020 09:25
Voted for this task.
MF
#3

Mark Fric

05.05.2020 14:12

Status changed from New to Fixed

there were multiple issues, I fixed them all.

Votes: +1

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please