Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Why some objects not painting?

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

    Why some objects not painting?

    I wrote an indicator to mark bars for which the CCI crosses the zero line. In the image attached only 2 out of the 4 that should have painted are... Does this have to do with using a variable and not a DataSeries? or is it a question of not creating unique markers? If the later, how do I do that so the markers persist? I want all such instances to show up on the chart rolling back.

    Non BoolSeries is CCIx100_1.cs
    Got the BoolSeries to paint (CCIx100_2.cs), but still only on last two instances...
    Attached Files
    Last edited by saroj; 08-12-2009, 10:31 PM.

    #2
    saroj, for this you'll need to use unique drawing tag Id's for each diamond, otherwise you just modify the previoulsy created one, thus you see only the max. number of 2 displayed.

    Please check tip 2 from this link for how to achieve this - http://www.ninjatrader-support.com/H...verview28.html
    BertrandNinjaTrader Customer Service

    Comment


      #3
      good link... thanks

      Here's the example they give in that link:
      DrawDot(CurrentBar.ToString() + "Buy", 0, High[0] + TickSize, Color.ForestGreen).

      Seems that it is missing the 2nd parameter "true" / "false".. is that not necessary or ??


      Originally posted by NinjaTrader_Bertrand View Post
      saroj, for this you'll need to use unique drawing tag Id's for each diamond, otherwise you just modify the previoulsy created one, thus you see only the max. number of 2 displayed.

      Please check tip 2 from this link for how to achieve this - http://www.ninjatrader-support.com/H...verview28.html
      Last edited by saroj; 08-13-2009, 06:13 AM.

      Comment


        #4
        Thanks for the feedback saroj, all documentation will be overhauled and 'polished' for NinjaTrader 7
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Documentation rehaul

          Originally posted by NinjaTrader_Bertrand View Post
          Thanks for the feedback saroj, all documentation will be overhauled and 'polished' for NinjaTrader 7
          WOW... that's a big project... Huge actually... but definitely will reduce frustration on part of users and questions/answers for the support staff...

          Here's a suggestion (maybe you are already doing this, but being a small company...): Assuming you have a QA process... there is likely a document (virtual hopefully) that tracks any change through that process with sign-offs by various "roles" who are involved.. the "designer" (whomever has that role in a particular change order... for small ones, this could be a programmer) has to research and indicate how the change will impact the user documentation... make links to all places that would be impacted. Then, as part of the sign-off to the change required before being released to the public, the doco can be updated by your "technical writers" (probably your support staff)... (during BETA testing)... at least they know where to go to make the changes.

          I really like how you provide the doco in pdf format, but it will be out of date unless it is totally automated... if you decide to continue with that practice, you might just put in a comment to let the user know to reference the online doco until you do a complete overhaul. Frankly, creating a pdf format puts a heavy load on and has limitations for hyperlinks, etc. Unless you are IBM or MSFT, it is probably too expensive for you.

          Saroj

          Comment


            #6
            saroj, thanks for taking the time to write this up and voicing your thoughts, we appreciate it.

            If you haven't already there's also a growing resource of reference sample and tips available on this forum -

            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by geddyisodin, Today, 05:20 AM
            5 responses
            32 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by bmartz, Today, 09:30 AM
            2 responses
            12 views
            0 likes
            Last Post bltdavid  
            Started by f.saeidi, Today, 11:02 AM
            1 response
            4 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by geotrades1, Today, 10:02 AM
            4 responses
            12 views
            0 likes
            Last Post geotrades1  
            Started by rajendrasubedi2023, Today, 09:50 AM
            3 responses
            16 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Working...
            X