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 nissan200sx55, Today, 06:25 AM
                0 responses
                3 views
                0 likes
                Last Post nissan200sx55  
                Started by rbeckmann05, Today, 05:50 AM
                0 responses
                3 views
                0 likes
                Last Post rbeckmann05  
                Started by doihaveto13, Today, 05:45 AM
                0 responses
                4 views
                0 likes
                Last Post doihaveto13  
                Started by giulyko00, 04-24-2024, 12:03 PM
                9 responses
                43 views
                0 likes
                Last Post giulyko00  
                Started by memonic, Yesterday, 01:23 PM
                2 responses
                26 views
                0 likes
                Last Post memonic
                by memonic
                 
                Working...
                X