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