Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Entering an Order

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

    Entering an Order

    I have placed Stop orders to either Enter or Exit with my strategy, but neither of them are getting executed as I want. For example, I say:

    If Bar0 Cross Above SMA Bar0, Then "Do something" - by placing a stop order. This order sometimes is placed 40 or 50 pips away from where I originally wanted to be. I even tried to forced this order by adding an offset "10 Ticks", "0 Ticks", "20 Ticks", but nothing. Sometimes it doesn't do nothing at all.

    What I'm missing?

    Thanks.

    #2
    Are you referring to NinjaScript strategy? If yes, you would need to debug your code and strip it down to bar minimums. Here is a good post that provides guidance in this area.

    RayNinjaTrader Customer Service

    Comment


      #3
      I'm using Strategy Wizard.

      Comment


        #4
        Unfortunately we do not have clear documentation on debugging in the Wizard however, the same principles apply in the link I provided. What you can do is add Print() actions in various conditin sets to see what certain values are in a strategy in order to determine what the logic flaw may be.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by GracieDonald0, Today, 06:14 PM
        0 responses
        4 views
        0 likes
        Last Post GracieDonald0  
        Started by iq200, Today, 05:44 PM
        0 responses
        6 views
        0 likes
        Last Post iq200
        by iq200
         
        Started by DerkWehler, Yesterday, 09:00 AM
        2 responses
        24 views
        1 like
        Last Post dean0216  
        Started by neoikon, Today, 03:00 PM
        3 responses
        12 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Started by karencorrales, Today, 04:56 PM
        0 responses
        5 views
        0 likes
        Last Post karencorrales  
        Working...
        X