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
Can indicators return values other than Plot values?
Collapse
X
-
Can indicators return values other than Plot values?
Is it possible to program an indicator to return values other than those associated with plots? I suspect that it can be done but I don't know how to do it. For instance, one of my indicators has some plots. However, on each bar I also calculate some other values. I don't want to plot those values but I would like to be able to have access to them from outside the indicator with a dot notation similar to MyIndicator.MyValue1[bars ago], MyIndicator.MyValue2[bars ago], etc. Can I somehow do this with a DataSeries and Set commands so that the values are accessable but don't show up as plots, etc? A brief example would be helpful. Thanks.Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Hi
by AveryFlynn
Started by AveryFlynn, Today, 04:57 AM
|
1 response
10 views
0 likes
|
Last Post Today, 07:57 AM | ||
Started by Max238, Today, 01:28 AM
|
4 responses
37 views
0 likes
|
Last Post
by Max238
Today, 07:49 AM
|
||
Started by r68cervera, Today, 05:29 AM
|
1 response
8 views
0 likes
|
Last Post Today, 07:47 AM | ||
Started by geddyisodin, Today, 05:20 AM
|
1 response
11 views
0 likes
|
Last Post Today, 07:38 AM | ||
Started by timko, Today, 06:45 AM
|
2 responses
14 views
0 likes
|
Last Post Today, 07:30 AM |
Comment