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

Subtracting a value from the intraday quote

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

    Subtracting a value from the intraday quote

    How would one create an array of daily values, and then use them in an intraday chart or indicator?
    For instance, subtracting the london fix price for gold from the intraday price.
    Any ideas? or pointers would be appreciated. As I am not familar with the object model within ninjatrader, how do I compare an array of datavalues and datetimevalues from the chart with one that I create?
    Thanks
    Last edited by methusalum; 07-20-2009, 01:02 PM. Reason: bit more detail

    #2
    Hi methusalum, multi-instrument charting (daily values shown on an intraday chart) isn't supported for NinjaTrader 6.5. This has been addressed in NinjaTrader 7:

    New Multi-Series Charting
    You can now mix multiple series on a single chart without limitations seen in other platforms. We have introduced a new chart level property "Equidistant bar spacing" which is automatically set to false when mixing more than one series. What this does is creates a time axis that is void of any missing bars so that mixed series of any type can all be accurately aligned to time. When this property is set to true, bars have even space between them and missing time bars are excluded.

    If the "London fix price" is available with your data feed, there is a work around or two available. If the data isn't available, this would still be possible, but challenging to implement. NinjaScript is derived from C# so anything you can do with C# is technically possible to translate over to NinjaScript.

    If you'd like a professionally coded solution, you can contact one of our certified NinjaScript consultants.
    AustinNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    148 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    5 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    33 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Started by tkaboris, Today, 05:13 PM
    0 responses
    5 views
    0 likes
    Last Post tkaboris  
    Started by GussJ, 03-04-2020, 03:11 PM
    16 responses
    3,283 views
    0 likes
    Last Post Leafcutter  
    Working...
    X