Builder Source code for mt5

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)


----

Attachments
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

sc
#1

Sergei

10.03.2021 19:47

Task created

TB
#2

Tomas Brynda

11.03.2021 08:20

Status changed from New to Waiting for information

Hi Sergei,

please attach the strategy which produces this error.


Best regards,

Tomas

TH
#3

Tomas Hruby

12.03.2021 13:01

Attachment Bug Strategy 384152.sqx added

Bug Strategy 384152.sqx
(177.25 KiB)
The user sent the strategy via email.
TB
#4

Tomas Brynda

15.03.2021 13:28

Status changed from Waiting for information to In progress

TB
#5

Tomas Brynda

18.03.2021 11:41

Status changed from In progress to Fixed


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