When I try to write an automated strategy (wizard or self-coding) I get the following error message for line 66:
"A namespace does not directly contain members such as fields or methods."
Here are a few lines from the code itself:
63 [Description("Slow Sma")]
64 [Category("Parameters")]
65 publicint Slow
66 {
67 get { return slow; }
68 set { slow = Math.Max(1, value); }
69 }
70 #endregion
I can understand if I personally coded something wrong but I don't see why the wizard is giving me this error. I've written plenty with no problem in the past. This has just been a recent issue.
Thanks in advance,
Dave
Comment