SQ_StocksSizeByPrice - Invalid number of parameters. 4 parameter(s) expected

v137RC1



When trying to import EasyLanguage code into Multicharts and compiling, I get this error:
"Invalid number of parameters. 4 parameter(s) expected"


This is the line referenced:
"If UseMoneyManagement Then NumberOfShares = SQ_StocksSizeByPrice(Close,mmUseAccountBalance,mmMaxSize,InitialCapital,mmMultiplier)"

Attachments
AEM Long PR H2 -Strategy 022461- FA.sqx
(45.37 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

BT
#1

EndUser

17.04.2023 00:18

Task created

BT
#2

EndUser

17.04.2023 04:01
I forgot to import the RC1 EasyLanguage file from custom_indicators folder.
TT
#3

Tamas

17.04.2023 08:18

Status changed from New to Fixed


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