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 NTEducationTeam, 07-11-2025, 08:49 AM
|
0 responses
53 views
0 likes
|
Last Post
![]() |
||
Started by saltminer, 07-07-2025, 01:43 PM
|
1 response
102 views
0 likes
|
Last Post
|
||
Started by idude, 07-08-2025, 05:06 AM
|
0 responses
45 views
0 likes
|
Last Post
![]()
by idude
07-08-2025, 05:06 AM
|
||
Started by music_p13, 07-05-2025, 11:33 PM
|
1 response
52 views
0 likes
|
Last Post
|
||
Started by gubbar924, 03-18-2018, 05:15 PM
|
43 responses
5,512 views
0 likes
|
Last Post
![]()
by ESMC377
07-05-2025, 03:15 PM
|
Comment