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

Creation of a custom indicator that uses multiple products' prices. Is that possible?

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

    Creation of a custom indicator that uses multiple products' prices. Is that possible?

    I must say, that I am used to Metastock that this is able,
    to create an indicator from the prices of other products
    that all belong to a folder.

    So, I want to ask this.

    Is it possible, with NinjaTrader, using Ninjascript and c# coding
    to create an indicator that gets value from 2 (or more)
    products.

    For example I want to create an INDICATOR that
    adds the CLOSE of 10 stocks, and divide with 10, to have "MyIndex" indicator. That would be plotted as a line.

    Or I want to Divide QM 03-09 with EUR 03-09,
    to have a temporary (because futures expires) "MyOILinEUR" indicator getting closes of QM future prices and Euros future prices. Some sort of just a reference to help me out, like easily you can do in Metastock.

    Is this
    "creation of a custom indicator that consists of multiple products' prices"
    ....possible to do ???


    Thank you.

    #2
    Hi Andy Korbi, you can realize this currently with a Multi Instrument Strategy in NinjaTrader, please review this link for an introduction to this topic - http://www.ninjatrader-support.com/H...struments.html

    For plotting from a NinjaScript strategy, you can take a look at this link - http://www.ninjatrader-support2.com/...ead.php?t=6651
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thank you very much for your answer.

      I will look at both links you provided me,
      and I hope that I will be able to understand it,
      and fix a custom index of mulitple instruments.


      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by samish18, 04-17-2024, 08:57 AM
      16 responses
      55 views
      0 likes
      Last Post samish18  
      Started by arvidvanstaey, Today, 02:19 PM
      3 responses
      9 views
      0 likes
      Last Post NinjaTrader_Zachary  
      Started by jordanq2, Today, 03:10 PM
      2 responses
      8 views
      0 likes
      Last Post jordanq2  
      Started by traderqz, Today, 12:06 AM
      10 responses
      18 views
      0 likes
      Last Post traderqz  
      Started by algospoke, 04-17-2024, 06:40 PM
      5 responses
      47 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X