DaveN
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strange error using Strategy Wizard
Collapse
X
-
Strange error using Strategy Wizard
I am using the strategy wizard to create a breakout strategy. I'm only using price and Bollinger Bands, plus a trailing stop. When I try to finish the wizard I am consistently getting a message " Cannot implicitly convert int to dbl" (or something to that effect). I am posting some screen shots showing the user values I am creating for the strategy, the error message ( as well as the line location where the error is indicated (line 70), and a snapshot of the value that the variable gets converted to in the "parameter" section of the code. I don't understand why I am getting this error. The variable is being declared as a dbl, and I think it needs to be since it is not a whole number. Any advice as to how to correct this would be appreciated, or could it possibly be a bug?
DaveNTags: None
-
Thanks Dierk
I must have opened the strategy up and looked at it at least ten times and I never saw that bonehead mistake. Fixed it and it runs great now. Sometimes its really the little detailed stuff that messes me up. Probably good that I don't program for a living or we'd be eating lots of potatoes and not much else.
Thanks again.
DaveN
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by AttiM, 02-14-2024, 05:20 PM
|
12 responses
212 views
0 likes
|
Last Post
by DrakeiJosh
Today, 11:17 AM
|
||
Started by cre8able, 02-11-2023, 05:43 PM
|
3 responses
237 views
0 likes
|
Last Post
by rhubear
Today, 10:46 AM
|
||
Started by frslvr, 04-11-2024, 07:26 AM
|
8 responses
116 views
1 like
|
Last Post Today, 10:30 AM | ||
Started by stafe, 04-15-2024, 08:34 PM
|
10 responses
47 views
0 likes
|
Last Post
by stafe
Today, 10:29 AM
|
||
Started by rocketman7, Today, 09:41 AM
|
3 responses
11 views
0 likes
|
Last Post Today, 10:07 AM |
Comment