Pseudo Code Generation Error

While strategy generation, I double clicked the code tab and get this error message..


An error occured while generating the strategy XML source code.

Exc. Template inclusion failed (for parameter value "./blocks/HeikenAshi.tpl"):

Template not found for name "PseudoCode/./blocks/HeikenAshi.tpl" (normalized: "PseudoCode/blocks/HeikenAshi.tpl").

The name was interpreted by this TemplateLoader: FileTemplateLoader(baseDir="S:\SQ4-B3\extend\Code").

----

FTL stack trace ("~" means nesting-related):

  - Failed at: #include "./blocks/" + block.@key + "...  [in template "PseudoCode/pseudoBlocks.inc" in macro "printBlock" at line 75, column 20]

  - Reached through: @printBlock block?children[0], shift  [in template "PseudoCode/pseudoBlocks.inc" in macro "printBlock" at line 66, column 9]

  - Reached through: @printBlock c, shift  [in template "PseudoCode/pseudoBlocks.inc" in macro "printBlockChild" at line 101, column 14]

  - Reached through: @printBlockChild block, "#Left#"  [in template "PseudoCode/blocks/IsGreater.tpl" at line 1, column 2]

  - Reached through: #include "./blocks/" + block.@key + "...  [in template "PseudoCode/pseudoBlocks.inc" in macro "printBlock" at line 75, column 20]

  - Reached through: @printBlock block  [in template "PseudoCode/blocks/OR.tpl" at line 5, column 38]

  - Reached through: #include "./blocks/" + block.@key + "...  [in template "PseudoCode/pseudoBlocks.inc" in macro "printBlock" at line 75, column 20]

  - Reached through: @printBlock block  [in template "PseudoCode/blocks/AND.tpl" at line 5, column 38]

  - Reached through: #include "./blocks/" + block.@key + "...  [in template "PseudoCode/pseudoBlocks.inc" in macro "printBlock" at line 75, column 20]

  ... (Had 25 more, hidden for tersenes) (Hidden 6 "~" lines for terseness)

----



Malim


Attachments
No attachments
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

?
#1

anonymous

10.07.2017 18:15

Task created

?
#2

anonymous

10.07.2017 18:37
Though I change the option to "Save to MQ4" or "Save to MQ5", the same message comes.
?
#3

anonymous

10.07.2017 19:09

Please use this strategy to re-generate the problem.

Malim

?
#4

anonymous

12.07.2017 05:02

I´ve already reported this bug in B2: http://roadmap.strategyquant.com/tasks/sq4_0060

MF
#5

Mark Fric

13.07.2017 07:56
it was supposed to be fixed, I'll look at it again
MF
#6

Mark Fric

13.07.2017 10:02

Status changed from New to Fixed

the problem was that these methods were still used in last Beta, I disabled them. The fix in the strategy is simple - just modify Heiken Ashi block to HeikenAshiOpen, HeikenAshiHigh, HeikenAshiLow or HeikenAshiClose with the same Shift value.

?
#7

anonymous

04.09.2017 13:33

Attachment 8fe11d39041f633.png deleted


Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please