Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
prevent duplication
Collapse
X
-
prevent duplication
I wrote a indicator that would do a bunch of calculation plus notifications based on the calculation. this is plotted on my chart now. I want to call this indicator from my strategy and want to avoid the duplication especially the notification part. how can tell my indicator if its called as part of a strategy so I can avoid the notification section of the codeTags: None
-
Hello,
Likely a Bool property to turn on or off the section of code would be the easiest approach. Using a bool public property would add an additional overload to the indicator indicatorName(false)
You can find a sample of adding a user input here: http://ninjatrader.com/support/forum...ead.php?t=5782
I look forward to being of further assistance.JesseNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Fitspressorest, Today, 01:38 PM
|
0 responses
2 views
0 likes
|
Last Post Today, 01:38 PM | ||
Started by Jonker, Today, 01:19 PM
|
0 responses
2 views
0 likes
|
Last Post
by Jonker
Today, 01:19 PM
|
||
Started by futtrader, Today, 01:16 PM
|
0 responses
6 views
0 likes
|
Last Post
by futtrader
Today, 01:16 PM
|
||
Net Change
by Segwin
Started by Segwin, 05-07-2018, 02:15 PM
|
14 responses
1,791 views
0 likes
|
Last Post
by aligator
Today, 11:47 AM
|
||
Started by Jimmyk, 01-26-2018, 05:19 AM
|
6 responses
844 views
0 likes
|
Last Post
by emuns
Today, 11:27 AM
|
Comment