2. B. Is it possible to define a parameter to my script AAA in which the "external indicator" will be selected as one of predefined list.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
calculate value by external indicator
Collapse
X
-
calculate value by external indicator
HiI am using NT8 latest version.I developed a complicated Indicator (script) called AAA which works fine.1. A. In my script AAA I need to get the values of "External indicator" like Chaikin Oscillator at a given time ( in the past) or now. No plots are needed.
2. B. Is it possible to define a parameter to my script AAA in which the "external indicator" will be selected as one of predefined list.Tags: None
-
Hello doron
To call an indicator you need a public variable to call such as a public data series that returns a plot.
The ChaikinOscillator does have a plot you can call.
For example:
Code:double value = ChaikinOscillator(3, 10)[0]; Print("The current ChaikinOscillator value is " + value.ToString());Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
75 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
43 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|
||
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
167 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
101 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
165 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|

Comment