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
    BertrandNinjaTrader Customer Service

    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....

          BertrandNinjaTrader Customer Service

          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
                BertrandNinjaTrader Customer Service

                Comment


                  #9
                  Thanks Bertrand

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by RaddiFX, Today, 10:15 AM
                  2 responses
                  13 views
                  0 likes
                  Last Post RaddiFX
                  by RaddiFX
                   
                  Started by patrickmlee007, Today, 09:33 AM
                  2 responses
                  17 views
                  0 likes
                  Last Post patrickmlee007  
                  Started by magnatauren, 08-15-2020, 02:12 PM
                  5 responses
                  206 views
                  0 likes
                  Last Post RaddiFX
                  by RaddiFX
                   
                  Started by rene69851, 05-02-2024, 03:25 PM
                  1 response
                  22 views
                  0 likes
                  Last Post rene69851  
                  Started by ETFVoyageur, Yesterday, 07:05 PM
                  5 responses
                  45 views
                  0 likes
                  Last Post ETFVoyageur  
                  Working...
                  X