Can't generate strategy code( pseudo or mt4's) sometimes

An error occured while generating the strategy XML source code.
Exc. Template inclusion failed (for parameter value "./blocks/BarsSinceOrderClosed.tpl"):
Template not found for name "PseudoCode/./blocks/BarsSinceOrderClosed.tpl" (normalized: "PseudoCode/blocks/BarsSinceOrderClosed.tpl").
The name was interpreted by this TemplateLoader: FileTemplateLoader(baseDir="D:\StrategyQuant4Beta3\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, "#Right#"  [in template "PseudoCode/blocks/Plus.tpl" at line 1, column 40]
 - Reached through: #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 block?children[0]  [in template "PseudoCode/blocks/CrossesAbove.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/AND.tpl" at line 5, column 38]
 ... (Had 23 more, hidden for tersenes) (Hidden 2 "~" lines for terseness)
----


Beta 3 version

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

History

?
#1

anonymous

01.07.2017 06:55

Task created

MF
#2

Mark Fric

24.07.2017 12:43

Status changed from New to Fixed


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