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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    429 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    281 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    241 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    331 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    290 views
    0 likes
    Last Post CarlTrading  
    Working...
    X