Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Compilation Errors- Help Needed to resolve it..

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

    Compilation Errors- Help Needed to resolve it..

    Hi,

    I need help to resolve this compilation errors whilst making the transition to ver 7. I hope someone can help me with these 2 errors.

    Kindly see the attched file :


    Thanks
    Attached Files

    #2
    Hello,

    Is this a strategy you programmed or a downloaded strategy?

    Also, Is this an indicator file or a strategy file?

    I look forward to assisting you further.
    BrettNinjaTrader Product Management

    Comment


      #3
      Hi Brett,

      This strategy was a paid strategy done by a 3rd party.

      I have made some simple changes to the code. I am not a programmer but has been able make small changes to it and it was able to work nicely in ver6.5.

      If it is too difficult to change then I will have to consult them. But if it is a simple matter, then it is definitely more economical to do it myself. Furthermore,they are away in the meantime. I just want to move to ver7 asap.

      Cheers

      Comment


        #4
        Hello,

        We can certainly try, first suggestion is to change the following:



        Need to change that first parameter:

        OrderAction.Buy
        OrderAction.Sell

        Then try to compile and then repost errors.

        I look forward to assisting you further.
        BrettNinjaTrader Product Management

        Comment


          #5
          Hi Brett,

          Did what you asked : You fixed one of the error!

          This is the repost of the remaining error. Kindly see the attached file.

          Thanks
          Attached Files

          Comment


            #6
            Hello,

            In this case I would need to have you email me the strategy for me to try to troubleshoot it on my end as I cannot see in the screenshot where the error is. It most be somewhere else in the file.

            support at ninjatrader dot com and reference this forum post, put ATTN: brett in the subject line so it makes it too me.

            To send me the strategy use Control Center->File->Utiltiies->Export NinjaScript to export out a file that you can attach to an email to the above address or follow up with your programmer for further instructions.

            Let me know if I can be of further assistance.
            BrettNinjaTrader Product Management

            Comment


              #7
              Hi Brett,

              I cannot export the file because there is a prompt that says " You have custom Ninjascript on your PC that have programming errors. These errors must be resolved before you can export a NinjaScript Archive file" that prevents me from doing so.

              I can forward you the strategy via email instead. I tried the ninja support option but I cannot attach the file.

              Kindly provide me a email so that I can sent it you.

              Cheers

              Comment


                #8
                Hi,

                Please follow the instructions below to see where the errors are coming from after compiling the indicator. This will allow you to debug the indicator/strategy or remove it from your PC. If you are wondering why you receive an error when compiling only one indicator, it is because NinjaTrader compiles all indicators and strategies- not just one.
                • Open NinjaTrader
                • From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
                • Select an indicator and double click on it.
                • A new window will appear and you will need to right click in the window and select Compile to compile the indicators.
                • At the bottom of the window a new section will appear were you can find the error locations.
                • From there you have the option to remove the indicator or debug it.
                Let me know if this does the trick for you.

                If it doesn't, send a note to support at ninjatrader dot com and refer to this forum thread.
                Vince B.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                650 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                370 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                109 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                574 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                577 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X