Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator will work on 6J but not 6E or anything with price > 1

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

    Indicator will work on 6J but not 6E or anything with price > 1

    How an I fix this? I think it has something to do with the declarations when I created indicator.
    Please help.

    #2
    Hello ninjablanks,

    Are there any error messages in the log tab of the control center?

    What exactly is not working correctly?
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      No log error messages. The indicator works correctly on 6J (which has a price less than .1) but will not work on any other currency futures. The only difference I can see is the value being greater than 1 for the other futures. Any ideas?

      Comment


        #4
        ninjablanks, you will need to debug your code and all variables set / used in this case to see why the return those unexpected values in your particular market.

        Comment


          #5
          NT_Bertrand,

          I am experiencing the same issue. I created a simple indicator with "B" (buy) and "S" (sell) to plot on my charts when the MACD moving average crosses MACD. It works great on the Euro (6E) but if I try to use it on any other instruments it will not work. I re-created the indicator several times to make sure I didn’t have any errors. I complied with no errors and it only works with 6E. I gave up on trying to get it to work on other instruments.

          Thanks.
          J

          Comment


            #6
            Hi J,

            You will need to debug the values in your script. Print all the values used in your condition so you can verify they're what you expect.
            Ryan M.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            571 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            331 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            549 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            550 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X