Announcement

Collapse
No announcement yet.

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.

    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

        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?

              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.

                  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.

                      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.

                          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,

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                              0 responses
                              574 views
                              0 likes
                              Last Post Geovanny Suaza  
                              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                              0 responses
                              333 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by Mindset, 02-09-2026, 11:44 AM
                              0 responses
                              101 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                              0 responses
                              553 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by RFrosty, 01-28-2026, 06:49 PM
                              0 responses
                              551 views
                              1 like
                              Last Post RFrosty
                              by RFrosty
                               
                              Working...
                              X