lot size is not working on fixed amount

When I use a "fixed amount" method for lot sizing, it always uses the maximum allowed lot size instead of varying it according to the stops.
Attachments
No attachments
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

j
#1

jmtc1230

22.11.2017 19:12

Task created

MF
#2

Mark Fric

23.11.2017 13:04

Status changed from New to Waiting for information

could you post a strategy (.sq4) file here? 

I'll test it but it might be a strategy issue.

j
#3

jmtc1230

23.11.2017 15:43

Attachment JDM Build File.xml added

Attachment Strategy 3018.sq4 added

Here is a settings file and a generated strategy.
m
#4

Martin

24.11.2017 16:16
I got the same problem, if strategy is using ATR based SL it works but with fixed pips it will always trade the maximum lots
MF
#5

Mark Fric

29.01.2018 10:01

Status changed from Waiting for information to Fixed

this issue is fixed in Beta 8, there is one more connected issue - in previous versions the generated startegies might not have the Size parameters in orders set to "Use Global MM".


If this is the case, you should open your strategy in SQWizard and edit the EnterAtXXX block, an dexplicitly set Size to Use Global Money management". Only then the settings in SQ4 will be reflected in SQ4 backtest.




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