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 funk10101, Today, 08:14 AM
      2 responses
      3 views
      0 likes
      Last Post funk10101  
      Started by samish18, Yesterday, 08:57 AM
      11 responses
      28 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by yertle, Today, 08:38 AM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by love2code2trade, Yesterday, 01:45 PM
      3 responses
      22 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by trilliantrader, Today, 08:16 AM
      2 responses
      7 views
      0 likes
      Last Post trilliantrader  
      Working...
      X