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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        47 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        23 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        33 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        50 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        42 views
        0 likes
        Last Post CarlTrading  
        Working...
        X