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 cmoran13, Yesterday, 01:02 PM
            0 responses
            23 views
            0 likes
            Last Post cmoran13  
            Started by PaulMohn, 04-10-2026, 11:11 AM
            0 responses
            16 views
            0 likes
            Last Post PaulMohn  
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            160 views
            1 like
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            94 views
            1 like
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            147 views
            2 likes
            Last Post CaptainJack  
            Working...
            X