Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT7 problems

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

    #16
    Guys, could you please point out exact signatures so we could look into. Thanks

    Comment


      #17
      Here is the new signature :

      DrawText(string tag, bool autoScale, string text, int barsAgo, double y, int yPixelOffset, Color textColor, Font font, StringAlignment alignment, Color outlineColor, Color areaColor, int areaOpacity)

      the old signature didn't include nt yPixelOffset :

      DrawText(string tag, bool autoScale, string text, int barsAgo, double y, Color textColor, Font font, StringAlignment alignment, Color outlineColor, Color areaColor, int areaOpacity)



      Hope it helps

      Bernard

      Comment


        #18
        Mine specifically was . . .
        NT65 (11 arguments):

        DrawText(string tag, bool autoscale, string text, barsago int, double y, Color textColor, Font font, StringAlignment alignment, Color outlineColor, Color areaColor, int areaOpacity)

        NT7 (12 arguments):

        DrawText(string tag, bool autoscale, string text, barsago int, double y, Color textColor, int yPixelOffset, Font font, StringAlignment alignment, Color outlineColor, Color areaColor, int areaOpacity)

        Whitmark
        whitmark
        NinjaTrader Ecosystem Vendor - Whitmark Development

        Comment


          #19
          Mine all have the pixel offset in the 6.5 code so my problem appears to be something else.
          eDanny
          NinjaTrader Ecosystem Vendor - Integrity Traders

          Comment


            #20
            Thanks guys. Here is the deal: we already have 3 signatures for each Draw method. Since we added new logic a new parameter needed to be squeezed in. We did this by amending the widest of all signatures.

            We are aware that this could cause some hassle but felt it would be the "least pain" approach at the long rung. Hope, this makes sense.

            Comment


              #21
              I have uninstalled NT7, deleted the folders, reinstalled without migrating and the problem still exists. The Signatures for the Draw methods are correct per NT7. One thing I did notice though is one of my indicators has a couple or DrawLine() statements, which should work perfectly, but on my chart the lines don't show up. Thing is, I can point to the approximate spot and click and hold my mouse and a red circle with a dash appears. Seems to be a "Can't drag this line" warning. So, in this case it appears the line is there but hidden.
              eDanny
              NinjaTrader Ecosystem Vendor - Integrity Traders

              Comment


                #22
                Originally posted by eDanny View Post
                I have uninstalled NT7, deleted the folders, reinstalled without migrating and the problem still exists. The Signatures for the Draw methods are correct per NT7. One thing I did notice though is one of my indicators has a couple or DrawLine() statements, which should work perfectly, but on my chart the lines don't show up. Thing is, I can point to the approximate spot and click and hold my mouse and a red circle with a dash appears. Seems to be a "Can't drag this line" warning. So, in this case it appears the line is there but hidden.
                Please double click the invisible line? What color is it? Same as background chart color? What color are you passing into the Draw() method?
                RayNinjaTrader Customer Service

                Comment


                  #23
                  Wow, look at that, it brings up the properties for the line. The color is Blue, set by my code, but my chart background is LightGray.
                  eDanny
                  NinjaTrader Ecosystem Vendor - Integrity Traders

                  Comment


                    #24
                    Originally posted by eDanny View Post
                    Wow, look at that, it brings up the properties for the line. The color is Blue, set by my code, but my chart background is LightGray.
                    So to double check -

                    - Your code draws a line color blue
                    - The line is invisible on the chart however, its properties are set to blue

                    If my understanding is correct, could you send us this indicator or a sample one that can demonstrate the problem? Send to support attention to Josh and reference this post.
                    RayNinjaTrader Customer Service

                    Comment


                      #25
                      Done, with a new sample script.
                      eDanny
                      NinjaTrader Ecosystem Vendor - Integrity Traders

                      Comment


                        #26
                        Originally posted by eDanny View Post
                        Done, with a new sample script.
                        Thanks, we will post back once we have had a chance to review.
                        RayNinjaTrader Customer Service

                        Comment


                          #27
                          Thanks again for providing the sample. This is a bug.
                          RayNinjaTrader Customer Service

                          Comment


                            #28
                            OK thanks Ray. I have the same issues with DrawHorizontalLine(), DrawText() and DrawTextFixed(). Could they all be related?
                            eDanny
                            NinjaTrader Ecosystem Vendor - Integrity Traders

                            Comment


                              #29
                              Likely the case. Thanks for reporting.
                              Josh P.NinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by sofortune, 05-16-2024, 11:45 PM
                              6 responses
                              44 views
                              0 likes
                              Last Post NinjaTrader_Jesse  
                              Started by Human#102, Today, 05:18 AM
                              1 response
                              10 views
                              0 likes
                              Last Post NinjaTrader_ChelseaB  
                              Started by sdauteuil, 09-23-2021, 10:16 AM
                              8 responses
                              1,248 views
                              0 likes
                              Last Post NinjaTrader_RyanS  
                              Started by KNalley, 01-24-2020, 10:33 AM
                              6 responses
                              954 views
                              0 likes
                              Last Post NinjaTrader_Jesse  
                              Started by JackyP, Today, 06:17 AM
                              1 response
                              8 views
                              0 likes
                              Last Post NinjaTrader_RyanS  
                              Working...
                              X