Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Calling a function only when a new indicator is added to chart

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

    Calling a function only when a new indicator is added to chart

    Hi,

    This may be posted somewhere else but I can't seem to find it.
    I am wanting to call an internal function only once, when the indicator is added to chart. Is there a way to do this? I do not want the function to be called on each new bar.

    Thanks

    #2
    philli4093, for a one time call please use the OnStartUp() method offered in NT7 : http://www.ninjatrader.com/support/h.../onstartup.htm

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kinfxhk, 07-14-2026, 09:39 AM
    0 responses
    125 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    85 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    84 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X