Sample code, many thanks.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to invoke the data from indicator?
Collapse
X
-
How to invoke the data from indicator?
I want to create an indicator which have some value I want to access using my strategy. The data type is double, bool, int. All of them should be put into different data series? Do we have another way invoke them and how to invoke from my strategy?
Sample code, many thanks.Tags: None
-
thomson, would suggest you check first into this sample here - http://www.ninjatrader.com/support/f...ead.php?t=4991
It would go over the options to access per default non exposed values (series and variables).BertrandNinjaTrader Customer Service
-
The example contains the technique for non plotted series as well as an exposed variable. Please be checking this indicator property closely -
[Browsable(false)]
[XmlIgnore()]
public double ExposedVariable
{
// We need to call the Update() method to ensure our exposed variable is in up-to-date.
get { Update(); return exposedVariable; }
}BertrandNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by algospoke, Yesterday, 06:40 PM
|
2 responses
24 views
0 likes
|
Last Post
by algospoke
Today, 07:04 PM
|
||
Started by ghoul, Today, 06:02 PM
|
3 responses
15 views
0 likes
|
Last Post Today, 06:43 PM | ||
Started by jeronymite, 04-12-2024, 04:26 PM
|
3 responses
46 views
0 likes
|
Last Post
by jeronymite
Yesterday, 10:10 PM
|
||
Started by Barry Milan, Yesterday, 10:35 PM
|
7 responses
23 views
0 likes
|
Last Post Today, 06:16 PM | ||
Started by AttiM, 02-14-2024, 05:20 PM
|
10 responses
181 views
0 likes
|
Last Post
by jeronymite
Today, 06:11 PM
|
Comment