If I run the original workflow with the updated money management, that new parameter is run with NaN or null. Instead of the default parameter value.
I have quick fixed this before, using the - + on the parameter for each existing workflow to populate the snippet with the default value. But, something underlying isn't working as this shouldn't need to be done.
i.e it displays correctly the default value ("1" in my case). But, underlying when the code is run, it must execute as NaN or null. Which causes no trades on all my strategies.
Attachment ParameterBug Fixed with -.cfx added
Attachment ParameterBug.cfx added
Attachment FdebugValueBug.png added
Attachment FdebugValueFix.png added
Attachment FixedSizeClone.png added
Attachment MMSnippet_FixedSizeClone.png added
Attachment SQExtension_FixedSizeClone.sxp added
ParameterBug.cfx is the project with a cloned "FixedSize". Ran it once. Then restarted sqx. Added the new Multiplier parameter with default value of 1. Then restarted sqx. Ran the project and the backtest is broken.
ParameterBugFixed.cfx I used the -+ beside the multiplier to "update" the parameter with the default value. Which then the backtest works again.
I found out it doesn't give a Nan value. Just gives a double value of 0.0.
Status changed from In progress to Fixed