Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw.... problems : a bug or my mistake ?

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

    Draw.... problems : a bug or my mistake ?

    Beta 13:
    I'm trying to draw arrows / diamond when certain conditions occur.

    In the following code snippet:

    Code:
                    if (bb0Up)
                    {
                        sPr = "bb0Up : BarsInProgress = " + BarsInProgress.ToString() + " CurrentBar = " + CurrentBar.ToString() ; 
                        Print(sPr) ; 
                        //DrawArrowUp("tag1", 0, Low[0] - TickSize, Color.Red); 
                        DrawDiamond("tag1",true, 0, Low[0] - TickSize, Color.Red); 
                    }
    Nothing is drawn.

    Printout confirms that my condition is true as I would expect.
    The indicator in in input series panel.
    My master instrument setup is Renko/20.

    My indicator does not plot anything.

    I thought there may be a problem with TickSize under Renko , so I removed it, but the following snippet doesn't draw either:

    Code:
                        //DrawArrowUp("tag1", 0, High[0] , Color.Red); 
                        DrawDiamond("tag1",true, 0, High[0] , Color.Red);
    What's wrong ???

    #2
    xTrader1, can you please recheck your testscript on our current NT7 beta 14? Thanks

    Comment


      #3
      I cannot now.

      Originally posted by NinjaTrader_Bertrand View Post
      xTrader1, can you please recheck your testscript on our current NT7 beta 14? Thanks
      I'll do clean install of Beta 14 during the weekend.

      Is it NinjaTrader policy to check bugs only in most recent beta ?

      Comment


        #4
        Is Draw... drawing on last bar only ?

        Following my previous complain , I can see the diamond on my last bar only, as in attached screen shot.
        Attached Files

        Comment


          #5
          1. Yes, we always ask to retest on latest available beta to be as efficient as possible in the issue resolution process.

          2. Expected since you're using just one unique tag thus updating the draw object only and not showing it's history....

          Comment


            #6
            Thanks , my mistake.

            ==================================

            Comment


              #7
              New Link for Draw Objects for v7

              Originally posted by NinjaTrader_Bertrand View Post
              1. Yes, we always ask to retest on latest available beta to be as efficient as possible in the issue resolution process.

              2. Expected since you're using just one unique tag thus updating the draw object only and not showing it's history....

              http://www.ninjatrader-support2.com/...ead.php?t=3419
              Please post a link for the new version7 DrawObject Samples. This link is for v6.5 from 2007.

              Thanks,
              Kirk

              Comment


                #8
                Kirk, please import the updated sample code attached, this should work well in NT7.
                Attached Files

                Comment


                  #9
                  Thanks Bertrand

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                  0 responses
                  596 views
                  0 likes
                  Last Post Geovanny Suaza  
                  Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                  0 responses
                  343 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by Mindset, 02-09-2026, 11:44 AM
                  0 responses
                  103 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                  0 responses
                  556 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by RFrosty, 01-28-2026, 06:49 PM
                  0 responses
                  554 views
                  1 like
                  Last Post RFrosty
                  by RFrosty
                   
                  Working...
                  X