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 CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    67 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    41 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    202 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    366 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    283 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X