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 Tim-c, Today, 03:54 AM
      0 responses
      3 views
      0 likes
      Last Post Tim-c
      by Tim-c
       
      Started by FrancisMorro, Today, 03:24 AM
      0 responses
      2 views
      0 likes
      Last Post FrancisMorro  
      Started by Segwin, 05-07-2018, 02:15 PM
      10 responses
      1,771 views
      0 likes
      Last Post Leafcutter  
      Started by Rapine Heihei, 04-23-2024, 07:51 PM
      2 responses
      31 views
      0 likes
      Last Post Max238
      by Max238
       
      Started by Shansen, 08-30-2019, 10:18 PM
      24 responses
      945 views
      0 likes
      Last Post spwizard  
      Working...
      X