Announcement

Collapse
No announcement yet.

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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        63 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        35 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        54 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        61 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        48 views
        0 likes
        Last Post CarlTrading  
        Working...
        X