Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Market Replay for 1 Min 2 Line Break Strategy

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

    Market Replay for 1 Min 2 Line Break Strategy

    Please suggest the most accurate way to perform Market Replay a Line Break strategy. I have used add a data series for Intrabar granularity (AddDataSeries(Data.BarsPeriodType.Tick, 1) and I am currently evaluating the condition on Line Break data series but when entering the position, I am using BarsInProgress == 1. Can someone explain how this can help? StopLoss update is still using Line Break data series.
    Last edited by yasirbashir1000; 04-17-2022, 06:56 PM.

    #2
    Hello yasirbashir1000,

    Set methods are only able to run on the primary series.

    If you are using 1 tick intra-bar granularity you will need to no longer use SetStopLoss() and use ExitLongStopMarket() / ExitShortStopMarket() instead and submit the orders to BarsInProgress 1.

    The ProfitChaseStopTrailExitOrdersExample_NT8 example linked below demonstrates.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X