Negated condition is not really negated for bar range and price conditions

It happens often that, although you should have symmetric/negated conditions, the conditions arent truly negated. Thats especially a problem with price range conditions.



Example of wrong negated conditions from the builder:
- Open Long order at (HighDaily(Main chart)[10] + (2.20 * SmallestRange(Main chart, 39)[13])) Stop;
- Open Short order at (HighDaily(Main chart)[10] - (2.2 * SmallestRange(Main chart, 39)[13])) Stop;


The short order is not the negated long condition. It should look like this:
- Open Short order at (LowDaily(Main chart)[10] - (2.2 * SmallestRange(Main chart, 39)[13])) Stop;



Wrong negated conditions happen also for all other bar range and price conditions!


This must be corrected for the new Beta9 as it is really urgent. Otherwise you have no chance to generate symmetric strategies.

Attachments
No attachments
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Urgent

History

T
#1

TANGO

14.03.2018 10:24

Task created

MF
#2

Mark Fric

20.03.2018 10:38

Status changed from New to Fixed

we made a new feature that will allow you to configure exactly which block is negated to which. So you will be able to configure it by yourself in Beta 9.

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