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 helpwanted, Today, 03:06 AM
              0 responses
              3 views
              0 likes
              Last Post helpwanted  
              Started by Brevo, Today, 01:45 AM
              0 responses
              7 views
              0 likes
              Last Post Brevo
              by Brevo
               
              Started by aussugardefender, Today, 01:07 AM
              0 responses
              5 views
              0 likes
              Last Post aussugardefender  
              Started by pvincent, 06-23-2022, 12:53 PM
              14 responses
              242 views
              0 likes
              Last Post Nyman
              by Nyman
               
              Started by TraderG23, 12-08-2023, 07:56 AM
              9 responses
              384 views
              1 like
              Last Post Gavini
              by Gavini
               
              Working...
              X