Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

calculate value by external indicator

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    calculate value by external indicator

    Hi
    I 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.

    #2
    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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    57 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    37 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    18 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    20 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    49 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X