Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SuperScalper indicator doesn't work with Strategy Builder

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

    SuperScalper indicator doesn't work with Strategy Builder

    Hello

    Thanks for the wonderful NT8 platform

    I have a problem:

    The Super Scalper indicator, when added to the Strategy Builder, makes the strategy inoperative.
    The strategy compiles but doesn't work.
    Error: Error on calling 'OnBarUpdate' method on bar 1: Index was outside the bounds of the array.

    Can i get help?

    thx

    #2
    This can help NT8. https://www.ninjatrader.com/support/...s-of-the-array.

    NT7. https://ninjatrader.com/support/foru...s-of-the-array
    Last edited by Emma1; 08-07-2020, 05:56 PM.

    Comment


      #3
      thanks, but it didn't work for me

      Comment


        #4
        if (CurrentBars [0] <0|| CurrentBars [1] <0)

        Comment


          #5
          i'm sorry, but I failed again

          Code:
          protected override void OnBarUpdate()
                  {
          
                      if(CurrentBar < 10)
                          return;    
          
                      if (CurrentBars [0] <0|| CurrentBars [1] <0)
                      {
                          trend = 0;
                          return;
                      }    
          
                      if(trend == 0)
                      {
                          if(High[0] > High[1] && Low[0] >= Low[1])
                          {
                              trend = 1;
                          }
                          else if(Low[0] < Low[1] && High[0] <= High[1])
                          {
                              trend = -1;
                          }
                          else
                          {
                              return;
                          }
                      }

          Comment


            #6
            Hello 5element, thanks for your post.

            Does the SuperScalper indicator add any data series? If so, your strategy must also add the series that it adds. If that does not work you would need to ask the original developer as I can not find this indicator available for free anywhere.

            Kind regards.
            Chris L.NinjaTrader Customer Service

            Comment


              #7
              Hello Chris

              can i send an indicator so that you can see it?
              Last edited by 5element; 08-10-2020, 09:10 AM.

              Comment


                #8
                Hello 5element, thanks for your reply.

                I can only take a look at the script if it's source code. If its a DLL, you will need to ask the original developer on how to use it in the builder. If you have source code please send it to platformsupport at ninjatrader.com and reference "Attn ChrisL 2689300" in the body of the email.

                Kind regards.
                Chris L.NinjaTrader Customer Service

                Comment


                  #9
                  thank
                  I've sent a request

                  Comment


                    #10
                    Hello 5element, I have not received any email yet, could you send it again? Make sure the address is correct, I can't put the actual address in the forum, but the email is "platformsupport at ninjatrader.com" replace at with @.
                    Chris L.NinjaTrader Customer Service

                    Comment


                      #11
                      Hello,

                      We found the indicator is not exposing any Plots or Series for the Strategy builder to read from. The developer will need to add this in. We have an example here that shows how to expose indicator values that are not plots:

                      https://ninjatrader.com/support/help...alues_that.htm

                      Please let me know if I can assist any further.
                      Chris L.NinjaTrader Customer Service

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by kschuble, Today, 01:16 PM
                      0 responses
                      4 views
                      0 likes
                      Last Post kschuble  
                      Started by ashleen, Today, 12:19 PM
                      0 responses
                      3 views
                      0 likes
                      Last Post ashleen
                      by ashleen
                       
                      Started by wooofad, Today, 11:34 AM
                      0 responses
                      13 views
                      0 likes
                      Last Post wooofad
                      by wooofad
                       
                      Started by tonynt, Today, 10:06 AM
                      1 response
                      18 views
                      0 likes
                      Last Post bltdavid  
                      Started by Kediil, Yesterday, 09:26 AM
                      2 responses
                      30 views
                      0 likes
                      Last Post Kediil
                      by Kediil
                       
                      Working...
                      X