Built some strategies (example attached) using this new indicator building block.
However, if you try to view the strategy source as pseudo code you see:
An error occured while generating the strategy XML source code.
Exc. Template inclusion failed (for parameter value "./blocks/RandomLevel.tpl"):
Template not found for name "PseudoCode/./blocks/RandomLevel.tpl" (normalized: "PseudoCode/blocks/RandomLevel.tpl").
The name was interpreted by this TemplateLoader: FileTemplateLoader(baseDir="C:\StrategyQuantX\extend\Code").
----
FTL stack trace ("~" means nesting-related):
- Failed at: #include "./blocks/" + block.@key + "... [in template "PseudoCode/pseudoBlocks.inc" in macro "printBlock" at line 115, column 20]
- Reached through: @printBlock block?children[0], shift [in template "PseudoCode/pseudoBlocks.inc" in macro "printBlock" at line 106, column 9]
- Reached through: @printBlock c, shift [in template "PseudoCode/pseudoBlocks.inc" in macro "printBlockChild" at line 141, 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 115, column 20]
- Reached through: @printBlock signal?children[0] [in template "PseudoCode/pseudoBlocks.inc" in macro "printRule" at line 74, column 69]
- Reached through: @printRule rule, ruleName [in template "PseudoCode/pseudoBlocks.inc" in macro "printRulesForEvent" at line 7, column 1]
- Reached through: @printRulesForEvent "OnBarUpdate", "T... [in template "PseudoCode\\Main.tpl" at line 40, column 1]
(Hidden 4 "~" lines for terseness)
----