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 CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
164 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
85 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
126 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
207 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
185 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment