[136Dev7] Algowizard problems with variables, symmetry and display issue

Hello,



attached strategy was created in build136dev7 in Algowizard and has three problems:


1. After I change number "15" to variable "LongOpenDay" and run backtest, there is backtest exception "java.lang.NumberFormatException: for input string "0bbf285c-9d91-429f-aaf5-c6d68f544186".


2. you can see on printscreen that instead comparison sign ">" (is greater) there is written "gt;". Looks like strategy works normally with it, so it might be visual problem. 


3. after opening this saved strategy, automatically is turned-on button "short is symmetric to long". But it was saved without this symmetry as its LONG-only strategy. 

Attachments
XAUUSD_D1_LongOnly wrong.sqx
(60.64 KiB)
greater than.png
(24.74 KiB)
variable exception symmetry.png
(67.09 KiB)
  • Votes 0
  • Project AlgoWizard
  • Type Bug
  • Status Fixed
  • Priority Normal

History

FB
#1

TROBO

23.11.2022 15:31

Task created

TB
#2

Tomas Brynda

25.11.2022 12:16

Status changed from New to Fixed

Attachment XAUUSD_D1_LongOnly wrong.sqx added

XAUUSD_D1_LongOnly wrong.sqx
(60.70 KiB)
Hi Trobo,

this strategy was probably created in older editor version which had a problem with special characters (thus showing blocks incorrectly in UI).

Although it was just a matter of displaying in the UI, I attach a corrected strategy.


The problem with using variable in conditions and initial symmetry setting has been resolved.


Thank you for reporting this issue.


Best regards,

Tomas


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