Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Placing other "Line" on Chart Trader

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

    Strategy Placing other "Line" on Chart Trader

    Hello,

    Please see this screenshot

    World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.


    which shows my strategy adding a line with no "flag" of the order direction or quantity.
    As I'm tracking a trailing stop, it appears to follow that.
    I'm not sure what would cause this to be placed from within my code. Other than a couple "bugs" in my code that I'm trying to resolve, I'd like to know how to change with the order type that has the flag.
    If you need to see my code, I can email it to you.
    Thanks,
    Kirk
    Last edited by zeller4; 09-24-2010, 06:40 AM.

    #2
    Hello,

    Thanks for your forum post.

    Yea we would need you to send us the code to help troubleshoot as I do not know what would cause this off hand.

    support at ninjatrader dot com reference this forum post.

    Alternatevly, you can save another copy of your code and start commenting out lines until you find the culprit as this is what I will do.

    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment


      #3
      Thanks Brett,

      I sent the strat to your attention and will begin a "narrowing-down" process to isolate the problem. Please let me know whatever you may find as well.

      Best Regards,
      Kirk

      Comment


        #4
        I see my longStopOrder_1b on the printout window shows the same price level but not sure why there's no flag on the line...

        kz

        Comment


          #5
          Hello,

          I recieved your file. I need a little bit of time to review it however.

          You will get a response before the end of the day for sure.
          BrettNinjaTrader Product Management

          Comment


            #6
            Hello,

            Please see the below screenshot. Works fine on my side.

            What version of NinjaTrader are you using this is located under Control Center->Help->About to the right of the NinjaTrader logo I need the full number.

            Also if you place a manual STP order on the chart trader, is it also missing its flag or is it only with the strategy submitted orders?

            I look forward to assisting you further.
            Attached Files
            BrettNinjaTrader Product Management

            Comment


              #7
              Hello Brett,

              I'm using 7.0.0.21.

              This is only happening with the strategy submitted orders.

              When I see the line and it moves with the trailing stop (with no flag), it doesn't work once the price bar hits the stop line.

              Thanks.
              Kirk

              Comment


                #8
                Hello,

                Thank you for your patience I am checking with development on this.
                BrettNinjaTrader Product Management

                Comment


                  #9
                  Also, I'm testing on 6E with 15 seconds so I can test with plenty of entries. (would not necessarily see alot of trades on ES unless you tweak the target, stops and breakeven triggers)
                  thanks,
                  Kirk

                  Comment


                    #10
                    Hello,

                    Development has identified the issue on why this occurs.

                    Essentially you have an issue in your code that comes to light whats known as a race condition where when you SubmitOrder() passing in execution.Order.Filled as the QTY these events are not syncronized and you do run a chance of Execution.Order.Filled may report a fill of 0. NinjaTrader does not support a QTY of 0, Instead for this you need to use execustion.Filled + a variable you make to keep track of your prior fills for that order.

                    Let me know if I can be of further assistance.
                    BrettNinjaTrader Product Management

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                    0 responses
                    649 views
                    0 likes
                    Last Post Geovanny Suaza  
                    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                    0 responses
                    370 views
                    1 like
                    Last Post Geovanny Suaza  
                    Started by Mindset, 02-09-2026, 11:44 AM
                    0 responses
                    109 views
                    0 likes
                    Last Post Mindset
                    by Mindset
                     
                    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                    0 responses
                    574 views
                    1 like
                    Last Post Geovanny Suaza  
                    Started by RFrosty, 01-28-2026, 06:49 PM
                    0 responses
                    576 views
                    1 like
                    Last Post RFrosty
                    by RFrosty
                     
                    Working...
                    X