Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Two Plots on one Indicator with Two Axises...

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

    Two Plots on one Indicator with Two Axises...

    Hello,

    Need a bit of help.

    I am Developing an Indicator that will have two plots EACH with its own scale.

    Plot 1 values range from 0 to 100. However the value Max ever goes upto is around 60.

    Plot 2 values Range from 0 to -100

    Can I plot these two values on the same indicator with two different Axises?

    Like for plot 1 the Axis is drawn on the Right and for Plot 2 the Axis is drawn on the Left.

    As we move through the Price Data the Axises dynamically adjust to the Range in view.

    I'm trying to combine two different indicators that range differently into one.

    For example: In Think Or Swim Prophet charts, I can simply combine the indicators into one single Pane and the software takes care of plotting them correctly.

    Sorry to mention TOS here....if I'm not supposed to.

    Thanks for your help.

    #2
    btw, I was able to combine the two indicators into one. But because of the different scales the display is completely off.

    I guess I could normalize the values to the same scale and plot them on a single scale...which then should display the values correctly...

    If normalizing is the right approach then any suggestions from anyone on how can I normalize the two ranges (scales) mentioned above onto a single scale.

    Thanks.

    Comment


      #3
      CyberTrader123, unfortunately changing the scale is not supported with NinjaTrader 6.5 - NinjaTrader 7 will offer several new options in this regard to directly achieve what you're after - http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.html

      For now you would need to override the Plot() Method and create your own scale - or you normalize your indicators with a range bound indicator like RSI / Stochastics for example.
      BertrandNinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Aviram Y, Today, 05:29 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by cls71, Today, 04:45 AM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by TradeForge, Today, 02:09 AM
      1 response
      22 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by elirion, Today, 01:36 AM
      2 responses
      14 views
      0 likes
      Last Post elirion
      by elirion
       
      Started by DJ888, 04-16-2024, 06:09 PM
      5 responses
      14 views
      0 likes
      Last Post NinjaTrader_Erick  
      Working...
      X