Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

how to plot a inverted data series chart?

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

    how to plot a inverted data series chart?

    Example: the quote for CNH is USD/CNH in all data sources. how to create a chart of inverted series of USD/CNH, which becomes CNH/USD?

    use case: the HSI stock index is high negative correlation with USD/CNH movement. so I would like to build a relative movement chart between HSI index future and CNH/USD.

    #2
    Hello leontancfa,

    Thank you for your post!

    There is a bar type that is publicly available on our NinjaTrader Ecosystem website that I believe might be what you're looking for:​Here is a basic guideline of how to import NinjaScript add-ons in NinjaTrader 8:

    Note — To import NinjaScripts you will need the original .zip file.

    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 Tools > Import > NinjaScript Add-on...
    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 'Available' list on the left > Add > OK
    Here is a short video demonstration of the import process:This script is a bar type so you should be able to access it by right clicking the chart, selecting 'data series' and selecting 'mirrorbars' from the 'type' or 'chart style' list.

    Please let me know if further assistance is needed.

    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
    Kennedy M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    39 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    124 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    64 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    41 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X