Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Display order executions within strategy

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

    Display order executions within strategy

    HI,
    I'm wondering if there is a way to display the order executions from within a strategy? I am calling an ATM strategy and I cannot see any executions on the chart. Below is an excerpt of the code I'm using and a screenshot of what I would like to see.

    Thanks

    // Condition set 1
    if (orderId.Length == 0 && atmStrategyId.Length == 0

    {
    atmStrategyId = GetAtmStrategyUniqueId();
    orderId = GetAtmStrategyUniqueId();
    AtmStrategyCreate(Cbi.OrderAction.Buy, OrderType.Market, 0, 0, TimeInForce.Day, orderId, "StrategyAtm", atmStrategyId);

    }
    Attached Files

    #2
    Hello mlarocco,

    Thank you for your post.

    To see the ATM Strategy on your Charts from the NinjaScript Strategy you must open a Chart Trader (cannot be on the Chart the NinjaScript Strategy is running on) for the same account and instrument. Then you will see the orders from your NinjaScript Strategy on the Chart with the Chart Trader enabled.

    Please let me know if I may be of further assistance.

    Comment


      #3
      Thanks, that's actually what I've been doing. I was hoping there was a way to see the trades on the same chart, but it sounds like there isn't.

      Comment


        #4
        Hello mlarocco,

        Thank you for your response.

        You are correct, as you cannot use the Chart Trader on the same chart a strategy is applied to.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        387 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        256 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        215 views
        1 like
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        300 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        265 views
        0 likes
        Last Post CarlTrading  
        Working...
        X