• 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 ballboy11, Today, 01:04 PM
    0 responses
    1 view
    0 likes
    Last Post ballboy11  
    Started by ntbone, Today, 12:15 PM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by ballboy11, Today, 12:32 PM
    1 response
    2 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by brownsfan019, Today, 12:04 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by x86231933, Today, 10:48 AM
    2 responses
    20 views
    1 like
    Last Post TopGunNote  
    Working...
    X