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

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:



                      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 RookieTrader, Today, 09:37 AM
                      3 responses
                      15 views
                      0 likes
                      Last Post NinjaTrader_ChelseaB  
                      Started by kulwinder73, Today, 10:31 AM
                      0 responses
                      5 views
                      0 likes
                      Last Post kulwinder73  
                      Started by terofs, Yesterday, 04:18 PM
                      1 response
                      23 views
                      0 likes
                      Last Post terofs
                      by terofs
                       
                      Started by CommonWhale, Today, 09:55 AM
                      1 response
                      3 views
                      0 likes
                      Last Post NinjaTrader_Erick  
                      Started by Gerik, Today, 09:40 AM
                      2 responses
                      7 views
                      0 likes
                      Last Post Gerik
                      by Gerik
                       
                      Working...
                      X