Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Copy the side price scale movement from another chart

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

    Copy the side price scale movement from another chart

    Hello,
    I'd like to copy and impose in real time the movements of the lateral price scale from one chart to another one: if the lateral price scale expands or shrinks and rises or falls in chart A (following the price movements with "autoscale" function) the same should happen in chart B in real time regardless of the bars I am using (for example in chart A I use range bars but in chart B I use time bars or renko).
    I understood that I have to apply the commands as if it were a normal indicator loaded in chart B but it is not clear to me exactly which function allows me to clone the movements from chart to chart.
    Any suggestions greatly appreciated.

    Alex

    #2
    Hello Alex,

    There wouldn't be a supported way to do this.

    Using unsupported code, it might be possible to have an indicator on one chart get the y price values and set these to a static variable in its own namespace, and then from another indicator on another chart read these values and set the MinValue MaxValue from OnCalculateMinMax() to adjust the chart to those values.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Ok thanks Chelsea!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      63 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      91 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      48 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      105 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      63 views
      0 likes
      Last Post PaulMohn  
      Working...
      X