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

Need Code error help

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

    Need Code error help

    Why am I getting the following error in the attachment and How do I fix it?
    Attached Files

    #2
    Could it be the CycleID call expects a string here for the Alert wav file?
    BertrandNinjaTrader Customer Service

    Comment


      #3
      ok, so how do i fix this so that I don't get an error.

      Comment


        #4
        velocity, as I'm not familiar with the RK_CycleID method you employ the best option is to check its sourcecode or ask the developer. You can also see if Intellisense gives you an idea what it expects - http://www.ninjatrader-support.com/H...ellisense.html
        BertrandNinjaTrader Customer Service

        Comment


          #5
          let's assume it is a string that the indicator is looking for. I would I avoid the error.

          Comment


            #6
            "Alert3.wav" to make it a string. Note the quotes.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              thanks for the reply, but it sure did not like that. I got many more errors when I placed the quotes around Alert3.wav

              Any other thoughts?

              Comment


                #8
                velocity,

                Unfortunately as Bertrand stated, we cannot be of much assistance for you with this third party script. We would have no idea how it is coded or what it is looking for. I suggest you contact the original author and see if they can clue you in.
                Josh P.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by algospoke, Yesterday, 06:40 PM
                2 responses
                19 views
                0 likes
                Last Post algospoke  
                Started by ghoul, Today, 06:02 PM
                3 responses
                14 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Started by jeronymite, 04-12-2024, 04:26 PM
                3 responses
                45 views
                0 likes
                Last Post jeronymite  
                Started by Barry Milan, Yesterday, 10:35 PM
                7 responses
                20 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Started by AttiM, 02-14-2024, 05:20 PM
                10 responses
                181 views
                0 likes
                Last Post jeronymite  
                Working...
                X