Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Help Please
Collapse
X
-
Tags: None
-
Hello benkanan123,
The error is correct, you are missing public properties with those names. You have 1 public property right now called Period. You need other public properties for the inputs that you defined. if UseTrailStop and StopLossValue need to be user inputs you need to defined them like Period at the bottom of the file.
A quick way to make user inputs is to use the strategy builder. You can generate user inputs and then click view code to see the generated public properties and the defaults.
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
81 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
150 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
79 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
52 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
59 views
0 likes
|
Last Post
|

Comment