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 cre8able, Today, 01:16 PM
        2 responses
        9 views
        0 likes
        Last Post cre8able  
        Started by chbruno, 04-24-2024, 04:10 PM
        3 responses
        48 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by samish18, Today, 01:01 PM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Started by WHICKED, Today, 12:56 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by WHICKED, Today, 12:45 PM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Working...
        X