[Build 137] Templating : Negated condition of = is not <>




When we are building strategies from a template with negated conditions :



The builder will produce in a strategy condition :


Equal (=) in one condition


and 


Different (<>) for the negated condition


But the negation of Equal (=) is not different (<>)


(This is making sense mathematically but not logically if we are trading)


In the attach video, I am showing that the negated condition of Equal is not Different (<>)


Can we keep Equal (=) for the negated condition of Equal (=) and can we keep different (<>) for the negated condition of different (<>) ?


This would be much better , this would make much more sense as it is more an Entry logic than a mathematical condition






Please see attached video and captures

Attachments
image-2.png
(167.32 KiB)
Negated of Equal Diff.mp4
(6.37 MiB)
image-3.png
(89.21 KiB)
image-1.png
(169.23 KiB)
image-0.png
(180.72 KiB)
  • Votes +2
  • Project AlgoWizard
  • Type Bug
  • Status Waiting for information
  • Priority Normal
  • Assignee Mark Fric
  • Milestone SQ 138

History

E
#1

Emmanuel

02.05.2023 12:17

Task created

E
#2

Emmanuel

02.05.2023 12:17
Voted for this task.
E
#3

Emmanuel

02.05.2023 12:19

Description changed:




When we are building strategies from a template with negated conditions :



The builder will produce in a strategy condition :


Equal (=) in one condition


and 


Different (<>) for the negated condition


But the negation of Equal (=) is not different (<>)


(This is making sense mathematically but not logically if we are trading)


In the attach video, I am showing that the negated condition of Equal is not Different (<>)


Can we keep Equal (=) for the negated condition of Equal (=) and can we keep different (<>) for the negated condition of different (<>) ?


This would be much better , this would make much more sense as it is more a Entry logic than a mathematical condition






Please see attached video and captures

E
#4

Emmanuel

02.05.2023 15:40

Description changed:




When we are building strategies from a template with negated conditions :



The builder will produce in a strategy condition :


Equal (=) in one condition


and 


Different (<>) for the negated condition


But the negation of Equal (=) is not different (<>)


(This is making sense mathematically but not logically if we are trading)


In the attach video, I am showing that the negated condition of Equal is not Different (<>)


Can we keep Equal (=) for the negated condition of Equal (=) and can we keep different (<>) for the negated condition of different (<>) ?


This would be much better , this would make much more sense as it is more an Entry logic than a mathematical condition






Please see attached video and captures

b
#5

bentra

02.05.2023 17:16
Voted for this task.
E
#6

Emmanuel

10.05.2023 18:09

Subject changed from [Build 137 RC1-2] Templating : Negated condition of = is not <> to [Build 137] Templating : Negated condition of = is not <>

MF
#7

Mark Fric

16.05.2023 14:11

Assignee changed from Mark Fric to Mark Fric

Status changed from New to Waiting for information

Milestone changed from None to SQ 138

this is quite a big change in negation and it would change all the equal/not equal comparisons. I'm not sure it is correct one way or another in the general case. 

There will always be cases where it will b correct like this and incorrect in the other way,


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