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
I´ve already reported this bug in B2: http://roadmap.strategyquant.com/tasks/sq4_0060
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.