Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DrawRegion problem

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

    DrawRegion problem

    Hello,

    I have found an issue with DrawRegion.

    First I load the indicator on the begining of the chart. The region is painted correctly.




    Then I move to the end of the chart.




    And then I move to the begining of the chart, again.
    The region has changed and is painted incorrectly.




    Could you help me, please ?
    Thanks very much.

    (In NT6.5 works right. I attach the code).
    Attached Files
    Last edited by cls71; 12-20-2009, 06:27 AM.

    #2
    Thanks, looks like a bug at first glance. We will take a look. Thanks for providing the sample script as well.
    RayNinjaTrader Customer Service

    Comment


      #3
      You needed to amend your code like this
      Code:
      dsBBUp = new DataSeries(this, [B][COLOR=Red]MaximumBarsLookBack.Infinit[/COLOR][COLOR=Red]e[/COLOR][/B]);
      dsBBLow = new DataSeries(this, [B][COLOR=Red]MaximumBarsLookBack.Infinite[/COLOR][/B]);
      As a participant of the beta program you should have recieved a document which holds code breaking changes. Please review that document carefully and amend your custom indicators accordingly.

      Thanks

      Comment


        #4
        it's my fault. Sorry.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        605 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        351 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        560 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        561 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X