Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BUG scaling of the chart

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

    BUG scaling of the chart

    when scaling, the value of the indicator varies from +600 to +860, but there is a value of 400, 200 and 0 on the chart. part of the graph is not used. from 0 to 600 there is no data. scaling always starts from zero if the value is greater than zero. But if the values are less than zero, everything is fine.

    fix the problem

    #2
    Hello KeenEdge,

    Thank you for your post.

    Can you detail the indicator your working with in your screenshot?

    Do you see the same behavior with SMA?

    I look forward to your response.

    Comment


      #3
      Originally posted by NinjaTrader_PatrickH View Post
      Hello KeenEdge,

      Thank you for your post.

      Can you detail the indicator your working with in your screenshot?

      Do you see the same behavior with SMA?

      I look forward to your response.

      this is my indicator, it shows cumulative Delta.
      perhaps the problem is only in my indicator, SMA works without problems Click image for larger version

Name:	my ind.png
Views:	140
Size:	61.0 KB
ID:	1043035
      Attached Files

      Comment


        #4
        KeenEdge,

        I suspect this is your indicator. If you can provide more details we may be able to help you debug this item. Are you AutoScaling that indicator?
        Josh G.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_JoshG View Post
          KeenEdge,

          I suspect this is your indicator. If you can provide more details we may be able to help you debug this item. Are you AutoScaling that indicator?

          if you use one indicator, everything works. if you use two indicators (the second value is not assigned to N/A) - then it does not work and scaling does not work.

          Code:
          Add( new Plot(new Pen(Color.Teal, 1), PlotStyle.Line,"SumDelta")); // all work
          Add( new Plot(new Pen(Color.Blue, 1), PlotStyle.Line,"SimpleDelta")); // not use, not work. the second indicator that is not used should be removed


          I was able to solve the problem, you need to use only one indicator on the chart. if the two of them that is not working properly.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by bortz, 11-06-2023, 08:04 AM
          47 responses
          1,607 views
          0 likes
          Last Post aligator  
          Started by jaybedreamin, Today, 05:56 PM
          0 responses
          9 views
          0 likes
          Last Post jaybedreamin  
          Started by DJ888, 04-16-2024, 06:09 PM
          6 responses
          19 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by Jon17, Today, 04:33 PM
          0 responses
          6 views
          0 likes
          Last Post Jon17
          by Jon17
           
          Started by Javierw.ok, Today, 04:12 PM
          0 responses
          15 views
          0 likes
          Last Post Javierw.ok  
          Working...
          X