lastIndicatorValue = MyCustomIndicator()[0];
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Continuous email alerts
Collapse
X
-
The example we provided was meant as an educational example. If you are attempting to copy and paste the example into your own code, you will need to have lastIndicatorValue be a double instead of an integer, e.g.
Code:[FONT=Courier New]private double lastIndicatorValue = 0;[/FONT]
Please let us know if there are any other ways we can help.Jessica P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by giulyko00, Today, 11:49 AM
|
1 response
2 views
0 likes
|
Last Post Today, 12:01 PM | ||
Started by marksingh87, 02-13-2024, 04:55 PM
|
6 responses
209 views
1 like
|
Last Post
by mshrstv
Today, 12:00 PM
|
||
Started by SnailHorn, Today, 08:38 AM
|
2 responses
4 views
0 likes
|
Last Post
by SnailHorn
Today, 11:55 AM
|
||
Started by Skifree, Yesterday, 11:38 PM
|
1 response
15 views
0 likes
|
Last Post Today, 11:32 AM | ||
Started by Mathias79, Today, 10:38 AM
|
6 responses
21 views
0 likes
|
Last Post Today, 11:29 AM |
Comment