Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Enumerated Type
Collapse
X
-
Enumerated Type
I use an enumerated Type to define some input parameters. I converted my code from NT7 to NT8 . The code is working but it will not remember the selected Type when the indicator is reloaded even after saved as the default template. Am I missing something in the properties grid ?Tags: None
-
Hello JerryWar,
Thank you for your post.
Our NinjaTrader 8 sample at the following link should provide the adequate example for the properties and enums: http://ninjatrader.com/support/forum...ead.php?t=3420
Please let me know if you have any questions.
-
Yes, definitely. I looked at the code and I thought I saw the issue. because I have the Input defined as a
"[NinjaScriptProperty]" as well. So I commented the line out. Any time there is a compile it defaults back to the first setting and doesn't remember what was saved on the chart.and I am doing exactly what the sample does.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by frankthearm, Yesterday, 09:08 AM
|
14 responses
47 views
0 likes
|
Last Post Today, 02:19 PM | ||
Is it possible to have a drawing, such as a line, cycle through different colors?
by gentlebenthebear
Started by gentlebenthebear, Today, 01:30 AM
|
2 responses
13 views
0 likes
|
Last Post Today, 02:05 PM | ||
Started by Kaledus, Today, 01:29 PM
|
2 responses
8 views
0 likes
|
Last Post
by Kaledus
Today, 02:04 PM
|
||
Started by PaulMohn, Today, 12:36 PM
|
2 responses
16 views
0 likes
|
Last Post
by PaulMohn
Today, 01:48 PM
|
||
Started by Conceptzx, 10-11-2022, 06:38 AM
|
2 responses
56 views
0 likes
|
Last Post
by PhillT
Today, 01:47 PM
|
Comment