SQX throws this error when selecting java in the source code tab
An error occured while generating the strategy XML source code.
Exc. Template inclusion failed (for parameter value "blocks/EnterReverseAtMarket.tpl"):
Syntax error in template "JForex/blocks/EnterReverseAtMarket.tpl" in line 50, column 4:
Unexpected directive, "</#if>". Check if you have a valid #if-#elseif-#else structure.
----
FTL stack trace ("~" means nesting-related):
- Failed at: #include "blocks/" + blockKey + ".tpl" [in template "JForex/Blocks.inc" in macro "printBlock" at line 221, column 19]
- Reached through: @printBlock block [in template "JForex/Blocks.inc" in macro "printRule" at line 87, column 12]
~ Reached through: #nested [in template "JForex/Functions.inc" in macro "replaceBr" at line 4, column 18]
~ Reached through: @replaceBr [in template "JForex/Blocks.inc" in macro "printRule" at line 77, column 1]
- Reached through: @printRule rule [in template "JForex/Blocks.inc" in macro "printRulesForEvent" at line 66, column 1]
- Reached through: @printRulesForEvent "OnBarUpdate" [in template "JForex\\Main.tpl" at line 244, column 33]
Please remove </#if> from the last line \extend\Code\JForex\blocks EnterReverseAtMarket.tpl