Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Global chart objects wont stick

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

    Global chart objects wont stick

    Hi guys

    Could do with a pointer on this one if you have any ideas. For whatever reason my global chart objects won't stick when I do the following.

    1. Connect External Data Feed.
    2. Load quotes to a particular instrument/chart.
    4. Create a chart object for example a horizontal line.
    5. Set to Global.
    6. Change the chart template to a different template other than the one it's currently on.
    7. Chart object now disappears.


    It's driving me nuts this, I've tried everything but can't figure it out. I've reinstalled ninja and tried all the usual things like having a completely clean set up and whatever but the problem persists, for information when i set the object to global it appears on all other charts and then when I change the template on the primary chart only the horizontal line on that chart disappears , the replications to the other charts remain. Unless I go to one of those and change template in which case it then disappears, it's almost like changing the template when it reloads the chart it doesn't seem to pick up the global lines object in the xml file which i'm presuming is where it goes to read for the info.

    I know as this is the external connection driving the charts its probably unsupported but I wondered if you guys have any pointers or ideas what could be causing this?

    If I connect a normal feed and load a chart with historical data and create lines, set to global and change template, the lines remain, so all ok there. It's only when I try add a global object onto a chart that was loaded through the external connection.

    Any help appreciated.

    Ross

    #2
    Ross,

    I have two templates, each one with different indicators attached to them.

    1. Connect External
    2. New chart with template 1
    3. F6 to draw horizontal line
    4. Make global via chart object properties
    5. Right click > Templates > Load > load template 2
    6. Line still on chart.

    Please provide any additional information to reproduce that you may have. Thank you.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Josh,

      Thanks for coming back to me, in a round about way this has solved my problem. I assume you went into a standard instrument to do this check and so I did the same check and the global objects held as I would expect, so I can only assume the problem lies with a custom created instrument which is what I was using for the reason below.

      When I moved to NT7 I started getting historical data back populating on my external connection to my instruments as soon as I loaded a chart. At first I thought this was an NT7 change but I now realise it's the difference between a simulator and multi broker licence, if I go in with sim the external connection does not back populate from the NT server where as the multi broker licence does this. I'm not sure why this discrepancy is here but the issue with NT7 for me was that I couldn't find a way to get a clean chart up for an instrument. It needs to be clean in order to run historical quotes from the external connection otherwise they all just bunch up in the current bar.

      In NT7 if you set the look back days to zero, it still populates one current bar on the chart and doesn't clean it totally. So my work around solution was to create a custom instrument that didn't exist on the NT historical server database. Other than getting an annoying message about an unsupported instrument each time I connected to the external feed this was working fine for me until I came across this global objects problem but having just tried the global objects in the way you have on a standard instrument and using the historical data populated by the NT server the global objects are working fine, so I can only assume the custom instrument has something to do with this issue.

      In any case this whole thing killed two birds with one stone because while I was tampering around I figured I could get a clean chart on a standard instrument by changing the look back type to BAR and then setting the value to zero. I can now populate a standard instrument chart and the global objects work as I would expect.

      Thanks.
      Ross

      Comment


        #4
        Ross,

        Glad you were able to achieve what you wanted.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        601 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        347 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        559 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        558 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X