Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Executions are not plotted when a strategy is disabled

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

    Executions are not plotted when a strategy is disabled

    Hi I would like to report a bug in NT 8.1.2.1.

    Summary: On a given chart, executions plots disappear after a strategy is disabled on that chart. The execution plots appear while a strategy is active. If you remove the strategy from the chart, then the execution plots appear again.

    Steps to reproduce:
    1) Open a chart and make sure plot executions are enabled in Data Series settings.
    2) Add a strategy to the chart, select account
    3) Start the strategy and let it make trades
    4) While the strategy is running, you will see the executions plot
    5) Disable the strategy and you will the execution plot disappears
    6) Remove the strategy and the execution plot appears again

    In the steps above, you can filter for which account you want the execution plot to appear for by enabling chart trader.​

    #2
    Hello wzgy0920,

    Thank you for your post.

    I was able to reproduce this behavior using the Sample MA Crossover strategy and the start behavior of "Immediately submit, synchronize account." With that said, upon further investigation, this behavior is expected. It is noted in the help guide that "On terminating a strategy, all strategy generated trade markers or draw objects will be removed from the chart" (see the "Tips" section under "How to run a NinjaScript strategy in a chart")

    ​Additionally, when a strategy is applied to a chart (whether it is enabled or disabled), " Any manual executions, or executions from strategies not applied to the chart, will NOT be shown." This is noted in the "Viewing automated strategy executions in a chart" section on this page:


    Please let us know if we may be of further assistance.
    Last edited by NinjaTrader_Emily; 12-18-2023, 12:56 PM.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    53 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    70 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    44 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X