• 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 pparmley, Today, 04:30 PM
    0 responses
    4 views
    0 likes
    Last Post pparmley  
    Started by tonynt, Today, 04:21 PM
    0 responses
    4 views
    0 likes
    Last Post tonynt
    by tonynt
     
    Started by williamzz, Today, 03:44 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Miguel_88, Yesterday, 06:41 PM
    2 responses
    26 views
    0 likes
    Last Post Miguel_88  
    Started by williamzz, Today, 02:12 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Jim  
    Working...
    X