Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

issue on plots

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

    issue on plots

    can you tell me what is reason such things happen?
    when i increase spacing, plots are hidden (note, everything is made up with native plots and drawing objects, without "OnRender" functions)..

    Upload files, for free, securely, anonymously, without limits. @UploadFilesFree


    also, when moving, sometimes it's hidden, sometimes shown:

    Upload files, for free, securely, anonymously, without limits. @UploadFilesFree


    and also, script looses the "min/max" resolutions :

    Upload files, for free, securely, anonymously, without limits. @UploadFilesFree



    the script is a bit large, and I can send them to you on your support email, to check if that's bug of NT.

    after i remove "Draw.Text(.. AutoScale=true ... ." it is fixed...so, that's problem, but i cant udnerstand why. I want to draw texts, but not to become such buggy.
    Last edited by ttodua; 05-18-2019, 03:21 AM.

    #2
    as a temporary fix (because i think it's bug of NT), i've made "autoscale=false" and increased the OnCalculateMinMax ( https://ninjatrader.com/support/help...lateminmax.htm ) the MinValue and MaxValues by the enough distance to wrap the texts in the visible area.

    Comment


      #3
      Hello TazoTodua,

      Are you using 8.0.18.0?

      Are the bars in the bottom panel of the chart in the videos created with AddPlot()?

      Does the indicator have Auto Scale enabled in the indicator parameters?

      The Volume Oscillator indicator also has a PlotStyle.Bar plot. Is the Volume Oscillator also experiencing this behavior?
      Chelsea B.NinjaTrader Customer Service

      Comment


        #4
        yes, as i said, i used "AddPlot",
        with indicator's "IsAutoScale = false; "

        and only Draw.Text(....Autoscale set to true...) caused the problem. when I set the "false" in Draw.Text, that is being fixed. I think some kind of bug in NT.
        I've not yet tested Volume Oscillator.

        Comment


          #5
          Hello TazoTodua,

          You have previously mentioned "after i remove "Draw.Text(.. AutoScale=true ... ." it is fixed.".

          In your initial post I am not seeing any other reference to AutoScale.

          Are you setting AutoScale to true for a drawing object in the Draw.Text() call or are you setting AutoScale to true for the indicator in OnStateChange() in State.Configure?

          Please test the Volume oscillator. This also creates a histogram plot. Are you able to reproduce this behavior using that indicator with the default settings?
          This would let us know if there is an issue that needs to be reported or if there may be an issue with your specific script.
          Chelsea B.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

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