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 burtoninlondon, Today, 12:38 AM
|
0 responses
9 views
0 likes
|
Last Post Today, 12:38 AM | ||
Started by AaronKoRn, Yesterday, 09:49 PM
|
0 responses
14 views
0 likes
|
Last Post
by AaronKoRn
Yesterday, 09:49 PM
|
||
Started by carnitron, Yesterday, 08:42 PM
|
0 responses
11 views
0 likes
|
Last Post
by carnitron
Yesterday, 08:42 PM
|
||
Started by strategist007, Yesterday, 07:51 PM
|
0 responses
13 views
0 likes
|
Last Post Yesterday, 07:51 PM | ||
Started by StockTrader88, 03-06-2021, 08:58 AM
|
44 responses
3,983 views
3 likes
|
Last Post
by jhudas88
Yesterday, 06:59 PM
|
Comment