- ago
I am using below selection (1 for A, 2 for B and 0 for A/B) as follows in c#:

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!!
0
200
Solved
2 Replies

Reply

Bookmark

Sort
Cone8
 ( 25.44% )
- ago
#1
Yes, this is in the QuickRef for AddParameter:

Remarks
○ Do not use commas in the parameter's label.
0
Best Answer
- ago
#2
thanks !!
0

Reply

Bookmark

Sort