I have added a new parameter which takes values less than 1. However when I open the strategy in the Strategy Analyzer, under the BackTest pop out menu the parameter is shown as taking the value 1? For example, the default value for myParam = 0.15 in my strategy code but myParam displays as 1 under BackTest? myParam is a double and the strategy appears to be using 1 in the backtest instead of 0.15.
Is there a reason for this?
Thanks,
darmbk.
ANSWERED
I was using set{ myParam = Math.Max(1, value);} under Properties. I have changed this to just value as I want values less than 1!
Comment