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:



    Please let me know if I can assist any further.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    29 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    46 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X