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

No long entries

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

    No long entries

    I am working on a strategy and I cannot get the long entries to submit. The shorts and stop are working. Click image for larger version

Name:	NT BB.jpg
Views:	286
Size:	109.6 KB
ID:	1119643Click image for larger version

Name:	NT BB2.jpg
Views:	285
Size:	107.7 KB
ID:	1119644

    #2
    additional question Click image for larger version

Name:	NT BB 3.jpg
Views:	278
Size:	141.8 KB
ID:	1119652 with this setting. Does it submit 2 tics above below close, or candle high or candle low. I am looking for it to buy or sell 2 tics above below candle high or low

    Comment


      #3
      Click image for larger version

Name:	BB 1st bar cross 2.jpg
Views:	288
Size:	98.4 KB
ID:	1119656Click image for larger version

Name:	BB 1st bar cross.jpg
Views:	279
Size:	86.1 KB
ID:	1119657

      Comment


        #4
        Hello, thanks for your post.

        What kind out output do you get when you add a Print to your EnterLong action group?

        This will add a Print statement to the code like so:

        //Set1
        if(<condition>)
        {
        EnterLong();
        Print("Called enter long");
        }

        Is the code being reached?

        I look forward to hearing from you.

        Chris L.NinjaTrader Customer Service

        Comment


          #5
          I got the longs to work by changing cross above/below to less and greater

          Comment


            #6
            It appears like from the settings trades are placed 2 tics above /below the candle that crosses the bb close? Is this correct? What would I need to do to have entry above candle high that is the first across bb

            Comment


              #7
              Hello, thanks for your reply.

              Right now, your entry order is submitting the order 2 ticks above the Bollinger upper price. To target the High, use the High series and adjust by 2 ticks.

              Please let me know if this does not resolve your inquiry.
              Chris L.NinjaTrader Customer Service

              Comment


                #8
                It appears like it resolved my issue. Thx

                Comment


                  #9
                  Errors, When my strategy is running I get these errors. See attached pictures. Click image for larger version

Name:	BB error 2.jpg
Views:	280
Size:	45.1 KB
ID:	1119709

                  Comment


                    #10
                    Errors, When my strategy is running I get these errors. See attached pictures.

                    Comment


                      #11
                      Hello, thanks for your reply.

                      Please use a Sell Limit order for orders above market price. "Enter Short by Limit order"

                      Best regards.
                      Chris L.NinjaTrader Customer Service

                      Comment


                        #12
                        I changed to sell and buy limit otders. I am getting orders in wrong locations and multiple orders when I have set to only one order in each direction? Click image for larger version

Name:	Bad entries.jpg
Views:	269
Size:	130.9 KB
ID:	1119729Click image for larger version

Name:	bad orders 3.jpg
Views:	260
Size:	119.5 KB
ID:	1119730Click image for larger version

Name:	bad orders 2.jpg
Views:	269
Size:	129.8 KB
ID:	1119731

                        Comment


                          #13
                          I figured out the multiple entries issue.

                          Comment


                            #14
                            When bar closes above BB upper get order 2 tics above high of that candle? Click image for larger version

Name:	order .jpg
Views:	266
Size:	125.7 KB
ID:	1119737

                            Comment


                              #15
                              Hello, thanks for your reply.

                              If you are placing sell orders above the market, they must be sell limit order. Are you still seeing issues with order submission?
                              Chris L.NinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by DJ888, 04-16-2024, 06:09 PM
                              6 responses
                              18 views
                              0 likes
                              Last Post DJ888
                              by DJ888
                               
                              Started by Jon17, Today, 04:33 PM
                              0 responses
                              1 view
                              0 likes
                              Last Post Jon17
                              by Jon17
                               
                              Started by Javierw.ok, Today, 04:12 PM
                              0 responses
                              6 views
                              0 likes
                              Last Post Javierw.ok  
                              Started by timmbbo, Today, 08:59 AM
                              2 responses
                              10 views
                              0 likes
                              Last Post bltdavid  
                              Started by alifarahani, Today, 09:40 AM
                              6 responses
                              41 views
                              0 likes
                              Last Post alifarahani  
                              Working...
                              X