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 rhyminkevin, Today, 04:58 PM
      3 responses
      47 views
      0 likes
      Last Post Anfedport  
      Started by iceman2018, Today, 05:07 PM
      0 responses
      5 views
      0 likes
      Last Post iceman2018  
      Started by lightsun47, Today, 03:51 PM
      0 responses
      7 views
      0 likes
      Last Post lightsun47  
      Started by 00nevest, Today, 02:27 PM
      1 response
      14 views
      0 likes
      Last Post 00nevest  
      Started by futtrader, 04-21-2024, 01:50 AM
      4 responses
      50 views
      0 likes
      Last Post futtrader  
      Working...
      X