118 - Builder has issue with some mathematical operators in symmetric entry/exit setting (do not use symmetric logic)

Buld 118, Builder, symmetric setting - mathematical operators are not use symmetric - problem with equals and not equals operators found.
Can be that other operators have similar problem, but i found this problem for 2 operators now. Problem can have >= or <= too or may be are OK.

During testing optimizer I found strange "symmetric" entry in strategy which i build some time ago in the same set builder. But problem was not in optimizer but in builder. Original strategy has this problem already from builder.

Builder use equal and not equal operator as symmetric pair, but in strategy code this operators are not symmetric pair for long/short. Symmetric pair is for example for long ang short "rising and falling" not "= and <>". For our purpose are = and <> themselves pairs. OK is long/short =/= or long/short <>/<> not <>/= or =/<>.
See attached file.
Attachments
2PC00121b EURUSDM30 LIMIT.cfx
(2.80 KiB)
SQX118 builder symmetric setting.gif
(279.57 KiB)
SQX118 symmetric setting signals have issue with mathematical operators.gif
(153.18 KiB)
Strategy 432141.sqx
(31.61 KiB)
  • Votes +2
  • Project StrategyQuant X
  • Type Bug
  • Status Refused
  • Priority Normal

History

t
#1

todtv

27.02.2019 18:43

Task created

t
#2

todtv

27.02.2019 18:47
Yes by mathemathical logic are <> and = opposite pair. But from long/short trade logic <> and = are not opposite pair. = and <> may different opposite behavior for long/short purpose.
t
#3

todtv

27.02.2019 18:47
Voted for this task.
RL
#4

rickliao

28.02.2019 07:48
Voted for this task.

Votes: +2

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please