• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Set Action after strategy runs through multiple instruments?

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

    Set Action after strategy runs through multiple instruments?

    Hello,

    What command or what can i do to call an action after the strategy has run through each instrument that has set a variable? I want to call a log message with those variables set afterwards the strategy runs through. Ontermination doesn't seem to work. I want this for a daily log. So in essence the info in collated together in the log.


    Thanks

    #2
    Ericson,

    Thank you for posting.

    You may want to try using OnStartUp() to get the desired effect.
    This will be called after the Initialize() but before the OnBarUpdate().

    http://www.ninjatrader.com/support/h...?onstartup.htm
    Cal H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by tjendra, Today, 10:00 PM
    0 responses
    1 view
    0 likes
    Last Post tjendra
    by tjendra
     
    Started by momchi, Today, 09:19 PM
    0 responses
    1 view
    0 likes
    Last Post momchi
    by momchi
     
    Started by tomd0361, Today, 08:58 PM
    0 responses
    4 views
    0 likes
    Last Post tomd0361  
    Started by babouin77, Today, 08:37 PM
    0 responses
    2 views
    0 likes
    Last Post babouin77  
    Started by aligator, Today, 03:23 PM
    5 responses
    12 views
    0 likes
    Last Post bltdavid  
    Working...
    X