replaceExisting always false

Regardless to the setting in building block for "enter at stop", the generated strategy will always set the "replaceExisting" parameter to false:



 // Action #1
      _ticket = sqOpenOrder(OP_BUYSTOP, "Current", mmLots, (sqHighest("NULL",0, PRICE_CLOSE, Period, Shift) - (Number * sqATR(NULL,0, ATRPeriod, ATRShift))), MagicNumber, "StopOrder", 0, false, false, CLR_NONE);


Please fix this, therwise strategies will never replace existing pending orders!

Attachments
No attachments
  • Votes +4
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Low

History

FD
#1

fdaprile

26.12.2018 09:00

Task created

FD
#2

fdaprile

26.12.2018 09:01
Voted for this task.
a
#3

Venus

01.01.2019 10:50
Voted for this task.
m
#4

mabi

30.01.2019 08:52
Voted for this task.
m
#5

Martin

01.02.2019 20:20
Voted for this task.
MF
#6

Mark Fric

13.02.2019 10:57

Status changed from New to In progress

dal jsem commit, kde jsem ty nastaveni buildera zmenil. 


Zkus vygenerovat treba 10 strategii pro kazdy z techto parametru (predtimbyli defaultne myslim false) + jejich kombinaci a zarad to do MT testu.


Votes: +4

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please