Announcement

Collapse
No announcement yet.

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

    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

        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 -

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by sjsj2732, 03-23-2026, 04:31 AM
            0 responses
            42 views
            0 likes
            Last Post sjsj2732  
            Started by NullPointStrategies, 03-13-2026, 05:17 AM
            0 responses
            295 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            290 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            135 views
            1 like
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            98 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Working...
            X