• 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

ATM Strategy - do something every second

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

    ATM Strategy - do something every second

    Hi,

    usually I cancel orders in OnBarUpdate() function. But when there are no ticks I can not cancel order at specific time, is there a way to cancel it on specific time. e.g. OnTimeChange() - does any body has idea?

    Thanks

    Paul

    #2
    Hello kujista,

    Thanks for your post.

    I believe this is possible by using a timer event. I am investigating and will update when i have a sample code for you.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Thank you, but i solve this problem to work even on replay. I mean not using pc time.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by epitoma, Today, 05:21 PM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_ShawnB  
      Started by BatBart, Today, 01:24 PM
      1 response
      22 views
      0 likes
      Last Post NinjaTrader_Melissa  
      Started by ezrakoper, Today, 03:05 PM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by asmmbillah, Today, 02:23 PM
      1 response
      17 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by steveg, Today, 02:44 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_Heath  
      Working...
      X