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 kevinenergy, 02-17-2023, 12:42 PM
        118 responses
        2,778 views
        1 like
        Last Post kevinenergy  
        Started by briansaul, Today, 05:31 AM
        0 responses
        9 views
        0 likes
        Last Post briansaul  
        Started by traderqz, Yesterday, 12:06 AM
        11 responses
        28 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by PaulMohn, Today, 03:49 AM
        0 responses
        8 views
        0 likes
        Last Post PaulMohn  
        Started by inanazsocial, Today, 01:15 AM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_Jason  
        Working...
        X