Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Chart instrument against another

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

    Chart instrument against another

    Hello,

    Is it possible to chart one instrument against another instrument, say TWTR (Twitter) against NFLX (Netflix)? In other words, draw the result of one price divided by the other price?

    This is useful for long-short positions.

    Thank you.

    Yours
    Eduardo

    #2
    Hello Eduardo,

    Thank you for your inquiry.

    This would be possible through a custom indicator.

    I have provided a sample indicator that will divide the current instrument's current price by a secondary instrument's closing price.

    When adding the indicator to your chart, you will need to specify the exact master instrument name of the instrument you would like to compare against.

    To Import:
    1. Download the NinjaScripts to your desktop, keep them in the compressed .zip file.
    2. From the Control Center window select the menu File> Utilities> Import NinjaScript
    3. Select the downloaded .zip file
    4. NinjaTrader will then confirm if the import has been successful.

    Critical - Specifically for some NinjaScripts, it will prompt that you are running newer versions of @SMA, @EMA, etc. and ask if you want to replace, press 'No'

    Once installed, you may add the indicator to a chart by:

    Right click your chart > indicators > Select the Indicator from the list on the left > New > OK

    Please, let us know if we may be of further assistance.
    Attached Files
    Zachary G.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by bmarovets, Today, 06:33 PM
    0 responses
    6 views
    0 likes
    Last Post bmarovets  
    Started by ETFVoyageur, Yesterday, 07:05 PM
    4 responses
    33 views
    0 likes
    Last Post ETFVoyageur  
    Started by JGriff5646, Yesterday, 10:02 PM
    2 responses
    21 views
    0 likes
    Last Post JGriff5646  
    Started by DawnTreader, Today, 05:58 PM
    0 responses
    5 views
    0 likes
    Last Post DawnTreader  
    Started by ntram, Today, 05:39 PM
    0 responses
    5 views
    0 likes
    Last Post ntram
    by ntram
     
    Working...
    X