Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

strat help

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

    strat help

    how can i get the wizard to trigger after a green or red candle ? thats not my strategy but ita a key part .

    i tried open0 < close 0 and it some what worked but it it did red candles too which i dont want , thanks guys

    #2
    Hello,

    Checking Open[0] < Close[0] would give you a green bar and Open[0] > Close[0] would give you a red.

    If additional orders are being placed, I'd suggest simplifying your strategy to determine why those orders are being placed. For example do you have an exit condition set somewhere?

    I'm attaching a very simple strategy which you can use an example of one way to debug what you're seeing.
    Attached Files
    MatthewNinjaTrader Product Management

    Comment


      #3
      yea thats what i did but this is what i get , why does it skip these bars in between ?
      Attached Files

      Comment


        #4
        Orders may be ignored under certain conditions.

        Before you get into submitting orders, I'd suggest drawing objects or text under your conditions to visual your conditions and ensure your logic is working as expected.
        MatthewNinjaTrader Product Management

        Comment


          #5
          not sure what that means matt ,

          Comment


            #6
            Originally posted by benrock View Post
            not sure what that means matt ,


            Scroll down to "Internal Order Handling Rules that Reduce Unwanted Positions"

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            67 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            36 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            60 views
            1 like
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            62 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            53 views
            0 likes
            Last Post CarlTrading  
            Working...
            X