Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Call a function every 5 minutes

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

    Call a function every 5 minutes

    I have a script with

    CalculateOnBarClose = false;

    And I want to call a certain function

    LookupValuesInMYSQLDatabase();

    every 5 minutes.

    Has anybody got a good idea how to get this intervall thing working using ninja traders time concept? Or any other idea?

    Thanks in advance!
    Stefan

    #2
    Hi caliph,

    Please see this reference sample for an idea of how to use custom timer events: http://www.ninjatrader.com/support/f...ead.php?t=5965
    Josh P.NinjaTrader Customer Service

    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
    85 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X