Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plotting issue

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

    Plotting issue

    I've written an indicator that was at least somewhat plotting last night. Now all of a sudden I get no plots. The funny thing is the chart says the plots are there, but I don't see them. See the attachment.
    Attached Files
    Last edited by SystemTrading; 12-22-2008, 09:05 AM.

    #2
    Hello,

    Nothing was attached, sorry.

    If you attach the indicator I will test it on my PC.
    DenNinjaTrader Customer Service

    Comment


      #3
      I've added the attachment.

      Comment


        #4
        SystemTrading,

        You will want to debug. Try adding SMA, if SMA works fine then it is likely something going awry in your custom indicator. I would not know how to advise you except to break it down slowly into chunks of code that are known to work and slowly add layers of complexity till you find what doesn't. Good luck.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Do you have the color of the plot or something as an input or a statically defined?

          I find that if you don't properly use an input color (serialize it), it goes transparent by itself. I recommend you have everything static to start, then after you know it works you can play with inputs (if that's the problem).

          good luck
          mrlogik
          NinjaTrader Ecosystem Vendor - Purelogik Trading

          Comment


            #6
            SMA did not work and statick colors did not work. When I go through Visual Studio debugger, I see it hit the .Set statements MANY times, each with what seem to be correct values. They are just not plotting for some reason. If I plot ATR on the same chart, it works fine.

            Comment


              #7
              If throwing the standard SMA indicator with nothing else does not work then something has gone awry in your NinjaTrader install. I suggest you get a clean reinstall.
              Josh P.NinjaTrader Customer Service

              Comment


                #8
                I bought the computer 5 days ago because it was suggested to do a clean install of Ninja.

                Comment


                  #9
                  I think I may have misunderstood your previous question. When I insert the SMA indicator it plots fine. However, when I plot the SMA from my indicator it does not. It shows a value in the data window, however it does not show a plot.

                  Comment


                    #10
                    Is it possible to post any of the code, or maybe a simplified version of the code.

                    Are you sure you have the color set correctly, or the plot associated with the Get / Set Vaues[x] array properly?
                    mrlogik
                    NinjaTrader Ecosystem Vendor - Purelogik Trading

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by NullPointStrategies, Today, 05:17 AM
                    0 responses
                    39 views
                    0 likes
                    Last Post NullPointStrategies  
                    Started by argusthome, 03-08-2026, 10:06 AM
                    0 responses
                    124 views
                    0 likes
                    Last Post argusthome  
                    Started by NabilKhattabi, 03-06-2026, 11:18 AM
                    0 responses
                    64 views
                    0 likes
                    Last Post NabilKhattabi  
                    Started by Deep42, 03-06-2026, 12:28 AM
                    0 responses
                    41 views
                    0 likes
                    Last Post Deep42
                    by Deep42
                     
                    Started by TheRealMorford, 03-05-2026, 06:15 PM
                    0 responses
                    46 views
                    0 likes
                    Last Post TheRealMorford  
                    Working...
                    X