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 MarianApalaghiei, Today, 10:49 PM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by love2code2trade, Yesterday, 01:45 PM
      4 responses
      28 views
      0 likes
      Last Post love2code2trade  
      Started by funk10101, Today, 09:43 PM
      0 responses
      7 views
      0 likes
      Last Post funk10101  
      Started by pkefal, 04-11-2024, 07:39 AM
      11 responses
      37 views
      0 likes
      Last Post jeronymite  
      Started by bill2023, Yesterday, 08:51 AM
      8 responses
      45 views
      0 likes
      Last Post bill2023  
      Working...
      X