• 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

Close[0]

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

    Close[0]

    I'm developing a strategy using Calculate.OnPriceChange, in OnBarUpdate event I enter a Long position limit at Close[0] and a StopLoss at Close[0] - 5 (CalculationMode.price)
    If I turn on my strategy it starts from the second bar of the chart and Close[0] is the 2nd bar's Close
    What I wrong?

    #2
    Hi dieci, thanks for your question.

    Please try running the strategy with Tick Replay enabled. Please see here for details on enabling Tick Replay for the data series menu:

    https://ninjatrader.com/support/help...ick_replay.htm

    Please let me know if I can assist any further.
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by babouin77, Today, 12:41 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by punkiy2111, Today, 12:17 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Tabor  
    Started by GLFX005, Today, 11:22 AM
    2 responses
    21 views
    0 likes
    Last Post GLFX005
    by GLFX005
     
    Started by mintxom, Today, 10:25 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Melissa  
    Started by Matts7, Today, 08:27 AM
    5 responses
    42 views
    0 likes
    Last Post Matts7
    by Matts7
     
    Working...
    X