Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

start of real time test

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

    start of real time test

    Hi
    Sorry for advance, may be that it is a very simple issue, but I cant resolve it. There is a real time test, I start it from the stategies window. The messages appear in the output window show that the counting started before the enabling. For example I enabled the strategy at 2:00 PM, and I see, that it made executions before 2:00 PM. I want to make the first position after the start of the script. What can I do? (I hope that I could reveal my problem clearly)

    Best regards

    Akos

    #2
    Hello akkiss,

    From your description, it sounds like you do not want your script to be able to place orders historically.

    If so, you can a check for Historical to prevent orders from being made.

    For example at the top of OnBarUpdate add:
    if (Historical)
    return;

    Below is a link to the help guide on the Historical bool.
    http://www.ninjatrader.com/support/h...historical.htm
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Dear ChelseaB

      Thank You so mutch the adequate response!

      Best

      Akos

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by ageeholdings, Today, 07:43 AM
      0 responses
      10 views
      0 likes
      Last Post ageeholdings  
      Started by pibrew, Today, 06:37 AM
      0 responses
      4 views
      0 likes
      Last Post pibrew
      by pibrew
       
      Started by rbeckmann05, Yesterday, 06:48 PM
      1 response
      14 views
      0 likes
      Last Post bltdavid  
      Started by llanqui, Today, 03:53 AM
      0 responses
      9 views
      0 likes
      Last Post llanqui
      by llanqui
       
      Started by burtoninlondon, Today, 12:38 AM
      0 responses
      12 views
      0 likes
      Last Post burtoninlondon  
      Working...
      X