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 rocketman7, Today, 02:12 AM
                    5 responses
                    22 views
                    0 likes
                    Last Post rocketman7  
                    Started by trilliantrader, 04-18-2024, 08:16 AM
                    7 responses
                    27 views
                    0 likes
                    Last Post NinjaTrader_BrandonH  
                    Started by samish18, 04-17-2024, 08:57 AM
                    17 responses
                    65 views
                    0 likes
                    Last Post NinjaTrader_BrandonH  
                    Started by briansaul, Today, 05:31 AM
                    1 response
                    13 views
                    0 likes
                    Last Post NinjaTrader_Jesse  
                    Started by PaulMohn, Today, 03:49 AM
                    1 response
                    12 views
                    0 likes
                    Last Post NinjaTrader_BrandonH  
                    Working...
                    X