Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SetStopLoss reflected in historical bars?

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

    SetStopLoss reflected in historical bars?

    I am trying to utilize the SetStopLoss () to set the stop loss to break even after X ticks in profit. I do not see that being reflected on the chart. Is this to be expected? Is it only durring actual live trades that this function will be reflected? Thanks in advance!

    #2
    Hello connorlmarble,

    The execution markers would show for historical executions including stop losses. Is the strategy applied to the chart you are viewing?
    Do you see the execution in the strategy performance window on the Executions display?

    For real-time working orders, these would appear when chart trader is enabled and set to the same account as selected for the strategy.


    If you are asking about changing the price of Set method from OnBarUpdate(), this would update when the bar closes.

    If you would like intra-bar price movements, this would require intra-bar granularity and tick replay.

    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    30 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    124 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    64 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    41 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X