Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to do a Relative Analisys between 2 Markets in the same chart

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

    How to do a Relative Analisys between 2 Markets in the same chart

    Hi,

    I have seen trader doing relative charts in other trading platforms but I don´t know how to do it with Ninja Trader.
    What I would like to do is, for instance, to build a chart between two data series of market data Index or stocks, for example S&P 500 Versus Nikkei 225 or S&P 500 Versus EUR/USD or whatever. The chart would be a Ratio, the result of Dividing one of them between the other one getting only one relative chart of both of them. That´s all!!
    Nothing to do with showing 2 or 3 index in the same chart!!!

    I attach one example of a relative chart between S&P 500 and Nikkei

    Thanks
    Attached Files

    #2
    Hello sadhaka,

    Unfortunately this is not supported by default. However you could create a custom indicator that will plot prices of two data series divided by each other. This means you will need to use multi-time frames in the code. See the link below for information.

    Comment


      #3
      Hello,

      ok, I will check it up!

      Thanks

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      68 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      38 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      63 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      62 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