I am using below selection (1 for A, 2 for B and 0 for A/B) as follows in c#:
when you press on strategy settings the "Save parameter's as strategy's default" the strategy code is changed causing an error as follows:
ie. the selection disappears from strategy settings and the parameter text in the code is changed causing an error
this must be a very particular combination causing this error - as all other parameters in strategies seem to work well. am I doing here something wrong? thanks WL team!!
CODE:
AddParameter("1 A, 2 B, 0 A/B", ParameterType.Int32, 2, 0, 2, 1)
when you press on strategy settings the "Save parameter's as strategy's default" the strategy code is changed causing an error as follows:
ie. the selection disappears from strategy settings and the parameter text in the code is changed causing an error
this must be a very particular combination causing this error - as all other parameters in strategies seem to work well. am I doing here something wrong? thanks WL team!!
Rename
Yes, this is in the QuickRef for AddParameter:
Remarks
○ Do not use commas in the parameter's label.
Remarks
○ Do not use commas in the parameter's label.
thanks !!
Your Response
Post
Edit Post
Login is required