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 mjbatts91, 04-30-2024, 04:48 PM
    3 responses
    26 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by betsuni_123, Yesterday, 04:20 PM
    2 responses
    20 views
    0 likes
    Last Post betsuni_123  
    Started by md4866, Yesterday, 08:15 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by reynoldsn, Yesterday, 07:11 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by PaulMohn, 04-30-2024, 02:06 AM
    9 responses
    26 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X