Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

"Read" scale on Price Axis

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

    "Read" scale on Price Axis

    Is there a way to read the increments in the price axis?

    I'm making a QQQ price overlay so I can see the QQQ price relative to the NQ price on the NQ price axis. That way I can easily see the QQQ price and NQ price on the same chart. I realize the bars won't be perfectly accurate but they will be close enough for what I need.

    I'd like to line up the QQQ price next to each NQ price but would need to know what the price axis spacing is. I know I can find high and low, but I also need the axis increment

    is that available information?



    Click image for larger version

Name:	image.png
Views:	100
Size:	52.9 KB
ID:	1339547​​
    Attached Files

    #2
    Hello cre8able,

    There is not a supported direct way to get the displayed values on the price scale.

    From the ChartScale you can access the MaxValue and MinValue.
    Join the official NinjaScript Developer Community for comprehensive resources, documentation, and community support. Build custom indicators and automated strategies for the NinjaTrader platforms with our extensive guides and APIs.

    Join the official NinjaScript Developer Community for comprehensive resources, documentation, and community support. Build custom indicators and automated strategies for the NinjaTrader platforms with our extensive guides and APIs.


    You can convert a price to a y value with GetYByValue().
    Join the official NinjaScript Developer Community for comprehensive resources, documentation, and community support. Build custom indicators and automated strategies for the NinjaTrader platforms with our extensive guides and APIs.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      thanks Chelsea, that will get me close enough

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      239 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      155 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      165 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      247 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      199 views
      0 likes
      Last Post CarlTrading  
      Working...
      X