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 sjsj2732, Yesterday, 04:31 AM
            0 responses
            39 views
            0 likes
            Last Post sjsj2732  
            Started by NullPointStrategies, 03-13-2026, 05:17 AM
            0 responses
            290 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            289 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            135 views
            1 like
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            96 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Working...
            X