Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Object passed with BarType

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

    #16
    I wanted to post back here and give you an update on this one. I am still unable to create a workable scenario in this case, as in all of my tests, the BarsType instantiated in the ChartStyle is always null.

    Passing values from a BarsType to a ChartStyle in this way may not be possible, but I don't want to say that for certain until I've run this by a few more people. Thank you for your patience -- I should be able to post back here with a final word soon.
    Dave I.NinjaTrader Product Management

    Comment


      #17
      In the meantime, there is another solution which may help you. If the data you are looking to pass does not absolutely have to come from a BarsType, then you could create a static class in an AddOn, which would be easily accessible from anywhere else. More information on this technique can be found here:

      http://ninjatrader.com/support/forum...780#post441780
      Dave I.NinjaTrader Product Management

      Comment


        #18
        Originally posted by NinjaTrader_Dave View Post
        I wanted to post back here and give you an update on this one. I am still unable to create a workable scenario in this case, as in all of my tests, the BarsType instantiated in the ChartStyle is always null.
        Cant say why you are getting null, but i suggest first you try simple experiment as i said in post


        Try to get consistent Print Result in output from TestMinuteBar.
        Dont do anything with ChartStyle.Basic problem is somewhere else.
        Devdas
        NinjaTrader Ecosystem Vendor - Devdas

        Comment


          #19
          Originally posted by NinjaTrader_Dave View Post
          In the meantime, there is another solution which may help you. If the data you are looking to pass does not absolutely have to come from a BarsType, then you could create a static class in an AddOn, which would be easily accessible from anywhere else. More information on this technique can be found here:

          http://ninjatrader.com/support/forum...780#post441780
          This i have been already told to do in NT7 also, but that unfortunately not applicable as a proper solution in my case.
          Devdas
          NinjaTrader Ecosystem Vendor - Devdas

          Comment


            #20
            Originally posted by devdas View Post
            Cant say why you are getting null, but i suggest first you try simple experiment as i said in post


            Try to get consistent Print Result in output from TestMinuteBar.
            Dont do anything with ChartStyle.Basic problem is somewhere else.
            Have you been able to run this test ?
            Devdas
            NinjaTrader Ecosystem Vendor - Devdas

            Comment


              #21
              I was, but unfortunately it did not take me any further. With each of the setups described in your post, I see all expected bars loaded, without any missing data. We are continuing to investigate this issue.
              Dave I.NinjaTrader Product Management

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by tonynt, 05-21-2019, 06:27 AM
              12 responses
              538 views
              1 like
              Last Post fiendtrades  
              Started by alexstox, 10-16-2018, 03:29 PM
              12 responses
              353 views
              0 likes
              Last Post Tburg1073  
              Started by truepenny, Today, 03:59 AM
              0 responses
              3 views
              0 likes
              Last Post truepenny  
              Started by truepenny, Today, 03:45 AM
              0 responses
              9 views
              0 likes
              Last Post truepenny  
              Started by MGHORBEL, Today, 02:28 AM
              0 responses
              8 views
              0 likes
              Last Post MGHORBEL  
              Working...
              X