Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Not Compiling - CurrentDayOHL Error

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

    Strategy Not Compiling - CurrentDayOHL Error

    I have just started working with Strategy Wizard and made 3 strategies that worked fine. I was editing one of them and now none of them compile. The error I get is on line 83 of the code in CurrentDayOHL indicator. I can see a typo there.

    The error is 'CurpentHigh' does not exist in the current context. I don't know i could have created this typo or how to correct it.

    #2
    lrsweeney, any changes made to system indicators will not be saved, so I'm not sure why that error is occurring. It looks as if somehow CurrentHigh got changed to CurpentHigh, so that would be causing the trouble - most likely this error is actually in your strategy. Please check there and see if you can fix the typo.
    AustinNinjaTrader Customer Service

    Comment


      #3
      I have checked my three strategies for typos and they are very short with really no room for typos. I had given up on this waiting for your response and was trying to import an indicator and now receive the error that since I have ninjascripts that don't compile I cannot import the indicator. So, I decided to delete all my strategies and start over, but I cannot do this either as I get the error "Error on building the custom assembly."

      Any suggestions? thanks.

      Comment


        #4
        One more piece of information. I tried to recompile a Sample Strategy and got this same Curpent High problem.

        Comment


          #5
          lrsweeney, can you please post a screenshot of the errors? You can capture your screen by hitting the Print Screen button (usually abbreviated Prnt Scrn), and then pasting the image into Paint and saving it and then posting it here.
          AustinNinjaTrader Customer Service

          Comment


            #6
            My screens were too big so I have attached zips of them here. Thanks.
            Attached Files

            Comment


              #7
              Please open the erroneous indicator up and then change the blue marked section to CurrentHigh, then hit F5 and see if it would compile now, the strategy should then compile, too.

              Comment


                #8
                Thank you. this worked.

                Comment

                Latest Posts

                Collapse

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