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 alifarahani, Today, 09:40 AM
        6 responses
        28 views
        0 likes
        Last Post alifarahani  
        Started by Waxavi, Today, 02:10 AM
        1 response
        17 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Started by Kaledus, Today, 01:29 PM
        5 responses
        13 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by Waxavi, Today, 02:00 AM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Started by gentlebenthebear, Today, 01:30 AM
        3 responses
        17 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X