Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

lower granularity

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

    #16
    d.allen, great to hear you're now on your way!
    AustinNinjaTrader Customer Service

    Comment


      #17
      10 Min Strategy sets the stop to breakeven, once the 1 Min Bar is below 200 ema

      Originally posted by NinjaTrader_Austin View Post
      d.allen, please take a look at the comments inside this reference sample. The comments (in the code) explain how the call order works.
      I looked at this page.
      However when following the example EnterLong(1,1...)
      its not possible to use Stop orders this way.

      I wanted to run on a 10 Min Chart a strategy that sets the stop to breakeven, once the 1 Min Bar Close is below the 200 EMA line.

      How can I do this?

      Thx in advance for all help.

      Comment


        #18
        Hi tradereight, what do you mean it is not possible to use stop orders that way? Are the orders ignored? In Initialize() you can set TraceOrders = true to get a feel for why the orders aren't working correctly. This post contains some information regarding TraceOrders.
        AustinNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by sgordet, Today, 05:24 AM
        1 response
        18 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by Board game geek, Today, 02:20 AM
        1 response
        15 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by ZeroKuhl, Yesterday, 04:31 PM
        3 responses
        24 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by knighty6508, Today, 01:20 AM
        3 responses
        20 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by cupir2, Yesterday, 07:44 PM
        2 responses
        21 views
        0 likes
        Last Post cupir2
        by cupir2
         
        Working...
        X