An error occured while generating the strategy XML source code.
Exc. Can't compare values of these types. Allowed comparisons are between two numbers, two strings, two dates, or two booleans.
Left hand operand is a sequence+hash (wrapper: f.e.dom.NodeListModel).
Right hand operand is a string (wrapper: f.t.SimpleScalar).
The blamed expression:
==> param.@controlType == "dataVar" [in template "MetaTrader5/mt5Parameters.inc" at line 211, column 15]
----
FTL stack trace ("~" means nesting-related):
- Failed at: #if param.@controlType == "dataVar" [in template "MetaTrader5/mt5Parameters.inc" in function "printIndyInput" at line 211, column 10]
- Reached through: @findIndicatorsUsedInFunctions c [in template "MetaTrader5/mt5Blocks.inc" in macro "findIndicatorsUsedInFunctions" at line 104, column 11]
- Reached through: @findIndicatorsUsedInFunctions c [in template "MetaTrader5/mt5Blocks.inc" in macro "findIndicatorsUsedInFunctions" at line 104, column 11]
- Reached through: @findIndicatorsUsedInFunctions c [in template "MetaTrader5/mt5Blocks.inc" in macro "findIndicatorsUsedInFunctions" at line 104, column 11]
- Reached through: @findIndicatorsUsedInFunctions c [in template "MetaTrader5/mt5Blocks.inc" in macro "findIndicatorsUsedInFunctions" at line 104, column 11]
- Reached through: @findIndicatorsUsedInFunctions rule [in template "MetaTrader5/mt5Blocks.inc" in macro "printIndicatorConstants" at line 12, column 15]
- Reached through: @printIndicatorConstants [in template "MetaTrader5\\Main.tpl" at line 115, column 1]
(Hidden 10 "~" lines for terseness)
----
Attachment Bug Strategy 384152.sqx added
please attach the strategy which produces this error.
Best regards,
Tomas