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:	287
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:	279
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:	259
Size:	119.5 KB
ID:	1119730Click image for larger version

Name:	bad orders 2.jpg
Views:	268
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 Mestor, 03-10-2023, 01:50 AM
                              16 responses
                              388 views
                              0 likes
                              Last Post z.franck  
                              Started by rtwave, 04-12-2024, 09:30 AM
                              4 responses
                              31 views
                              0 likes
                              Last Post rtwave
                              by rtwave
                               
                              Started by yertle, Yesterday, 08:38 AM
                              7 responses
                              29 views
                              0 likes
                              Last Post yertle
                              by yertle
                               
                              Started by bmartz, 03-12-2024, 06:12 AM
                              2 responses
                              22 views
                              0 likes
                              Last Post bmartz
                              by bmartz
                               
                              Started by funk10101, Today, 12:02 AM
                              0 responses
                              7 views
                              0 likes
                              Last Post funk10101  
                              Working...
                              X