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 Shansen, 08-30-2019, 10:18 PM
        24 responses
        938 views
        0 likes
        Last Post spwizard  
        Started by Max238, Today, 01:28 AM
        0 responses
        3 views
        0 likes
        Last Post Max238
        by Max238
         
        Started by rocketman7, Today, 01:00 AM
        0 responses
        2 views
        0 likes
        Last Post rocketman7  
        Started by wzgy0920, 04-20-2024, 06:09 PM
        2 responses
        27 views
        0 likes
        Last Post wzgy0920  
        Started by wzgy0920, 02-22-2024, 01:11 AM
        5 responses
        32 views
        0 likes
        Last Post wzgy0920  
        Working...
        X