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.

            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.

                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 @.

                    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:



                      Please let me know if I can assist any further.

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by NullPointStrategies, Yesterday, 05:17 AM
                      0 responses
                      56 views
                      0 likes
                      Last Post NullPointStrategies  
                      Started by argusthome, 03-08-2026, 10:06 AM
                      0 responses
                      132 views
                      0 likes
                      Last Post argusthome  
                      Started by NabilKhattabi, 03-06-2026, 11:18 AM
                      0 responses
                      73 views
                      0 likes
                      Last Post NabilKhattabi  
                      Started by Deep42, 03-06-2026, 12:28 AM
                      0 responses
                      45 views
                      0 likes
                      Last Post Deep42
                      by Deep42
                       
                      Started by TheRealMorford, 03-05-2026, 06:15 PM
                      0 responses
                      49 views
                      0 likes
                      Last Post TheRealMorford  
                      Working...
                      X