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 rocketman7, Today, 02:12 AM
      7 responses
      28 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by guillembm, Yesterday, 11:25 AM
      3 responses
      16 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by junkone, 04-21-2024, 07:17 AM
      10 responses
      148 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by tsantospinto, 04-12-2024, 07:04 PM
      6 responses
      101 views
      0 likes
      Last Post tsantospinto  
      Started by trilliantrader, 04-18-2024, 08:16 AM
      7 responses
      28 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Working...
      X