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 cmtjoancolmenero, Yesterday, 03:58 PM
                11 responses
                42 views
                0 likes
                Last Post cmtjoancolmenero  
                Started by FrazMann, Today, 11:21 AM
                0 responses
                5 views
                0 likes
                Last Post FrazMann  
                Started by geddyisodin, Yesterday, 05:20 AM
                8 responses
                52 views
                0 likes
                Last Post NinjaTrader_Gaby  
                Started by DayTradingDEMON, Today, 09:28 AM
                4 responses
                27 views
                0 likes
                Last Post DayTradingDEMON  
                Started by George21, Today, 10:07 AM
                1 response
                22 views
                0 likes
                Last Post NinjaTrader_ChristopherJ  
                Working...
                X