Error generating source code for java / jForex v130.457

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]
Attachments
USDJPY Strategy 4281342.sqx
(15.16 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

N
#1

nathan

07.12.2020 13:35

Task created

TT
#2

Tamas

07.12.2020 14:01

Status changed from New to Fixed

Thanks for reporting it. 

Please remove </#if> from the last line \extend\Code\JForex\blocks EnterReverseAtMarket.tpl


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