Or when rules direction

When creating a strategy in Simple Wizard and defining Or when exit rule, the resulting code has invalid settings for short exit rule.

It generates exit rules with Long direction for both short and long Close position actions. In long exit rule it should close long positions and in short exit rule short positions.
See the screenshots attached

Attachments
simpleWizard.png
(100.08 KiB)
fullWizard.png
(98.42 KiB)
  • Votes 0
  • Project AlgoWizard
  • Type Bug
  • Status Fixed
  • Priority High

History

TB
#1

Tomas Brynda

10.01.2019 15:44

Task created

JK
#2

Jakub

18.01.2019 11:00

Status changed from New to Fixed

Attachment InitialStrategy.xml added

Attachment CleanStrategyTemplate.sq4 added

InitialStrategy.xml
(15.00 KiB)
CleanStrategyTemplate.sq4
(2.08 KiB)
Fixed.


Toto je ovsem chyba  ve vychozi strategy template, kterou jsi mi posilal Marosi, kterou to nacita jako empty, tak jestli to je pouzivano jeste nekde jinde, tak to je treba upravit taky. V AW to ja jinde nepouzivam.



Jakub


MF
#3

Mark Fric

18.01.2019 11:31

Status changed from Fixed to In progress

aha, tak to oprav, pokud ten soubor nekde pouzivas. Jinde nez v AW to je dobre.


v Short exitu ma byt direction pro Close position = -1

JK
#4

Jakub

18.01.2019 11:51

Status changed from In progress to Fixed

Ano vim. Ok, ja ho jinde nepouzivam, tak davam closed.

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