Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Scaling Plots on a New Panel

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

    #16
    Hi Will, correct that would need to go into Initialize(). Does the Add line also have transparent color, would you outcome change if you just set it to the Charts background color instead?

    Since the plots and lines are persisted for performance reasons, I would expect you to need to add a fresh instance of your study to see any compiled changes included.

    Comment


      #17
      Hi Bertrand,

      I did try setting the add line to a colour other than transparent and it didnt make any difference. I did manage to work out that the line is persistent, although I didnt realise that it was for performance, nor that it is meant to work that way.

      The only way I have been able to get it to work properly is by doing both the Add line (transparent works) as well as drawline() with at least one end of the Drawline also on zero. I suspect at this point that with the add line only there is something strange happening with the autoscaling. I noticed that doing a single drawline() from zero only worked until that line moved off the left of the chart, then the whole plot jumped down again. My guess is that something like that is happening when only the add line is present.

      Will.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      174 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      328 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      252 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      355 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      181 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X