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

doubt in the programm running

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

    doubt in the programm running

    hi

    in script everything works fine in bollinger band strategy but when ever close position occurs due to opposite signal the next long or short entered but at the same price stoploss also occurring but if the close position is not there then everything is working exactly ... couldn't find what the error is..

    #2
    Deall, would you mind posting a screenshot here showing the issue at play? That would make hopefully easier to understand. Generally I would suggest adding TraceOrders into the script to make available finer debug details in your output window about the order sequences seen.

    BertrandNinjaTrader Customer Service

    Comment


      #3
      hi

      NinjaTrader_Bertrand. thanx for ur reply i attached a screenshot.. this is the problem occurs
      Attached Files

      Comment


        #4
        Deall, thanks - what kind of stop are setting here? Price, tick or currency based? Do you reset it when flat like shown here - http://www.ninjatrader.com/support/f...ead.php?t=3222
        BertrandNinjaTrader Customer Service

        Comment


          #5
          SetStopLoss(CalculationMode.Price

          Comment


            #6
            i didnt reset the stoploss how to to any syntax available for that i downloaded that zip file in ur reply link

            Comment


              #7
              Ok. Do you reset it then to a default offset again when flat like done in our example?
              BertrandNinjaTrader Customer Service

              Comment


                #8
                ok thanks will check n try ur method n reply u back

                Comment


                  #9
                  Originally posted by DealI View Post
                  i didnt reset the stoploss how to to any syntax available for that i downloaded that zip file in ur reply link
                  Please install the SamplePriceModification zip file and then review the first OnBarUpdate() part, it would show how to accomplish the reset if your script is in flat state.
                  BertrandNinjaTrader Customer Service

                  Comment


                    #10
                    hi i checked almost ur sample coding in this < http://www.ninjatrader.com/support/f...ead.php?t=3222 > and my coding are same but u used RSI(14, 3)[0] this Relative Strength Index (RSI)
                    only missing in my script is this function reset the stoploss

                    Comment


                      #11
                      It would not be needed for the reset of the stop loss - this is just the entry used in the sample. Would you mind contacting us via Help >> Mail to Support and attach a copy of your script so we could give it a run here? Please also include which market / timeframe you used. Thanks.
                      BertrandNinjaTrader Customer Service

                      Comment


                        #12
                        ur email ID pls so that i can send u my script n details

                        Comment


                          #13
                          You can just use the Help >> Mail to Support option to reach us at support directly, please include an export of your script in the attachment section so we could test it.
                          BertrandNinjaTrader Customer Service

                          Comment


                            #14
                            hi i mailed u yesterday evening ... where u will reply in mail or hear in forum looking for ur reply with suitable solution

                            Comment


                              #15
                              Could you please PM or post us the ticket # you got assigned by our system, so I could review the status?

                              Thanks,
                              BertrandNinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Brevo, Today, 01:45 AM
                              0 responses
                              3 views
                              0 likes
                              Last Post Brevo
                              by Brevo
                               
                              Started by aussugardefender, Today, 01:07 AM
                              0 responses
                              3 views
                              0 likes
                              Last Post aussugardefender  
                              Started by pvincent, 06-23-2022, 12:53 PM
                              14 responses
                              239 views
                              0 likes
                              Last Post Nyman
                              by Nyman
                               
                              Started by TraderG23, 12-08-2023, 07:56 AM
                              9 responses
                              384 views
                              1 like
                              Last Post Gavini
                              by Gavini
                               
                              Started by oviejo, Today, 12:28 AM
                              0 responses
                              6 views
                              0 likes
                              Last Post oviejo
                              by oviejo
                               
                              Working...
                              X