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

FirstBarIndexPainted

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

    FirstBarIndexPainted

    hi,,
    i see

    FirstBarIndexPainted

    i don't find documentation...

    how work it?

    thanks

    #2
    Hello eSignal,

    Thank you for your post.

    This is unsupported and thus undocumented in NinjaTrader 7. The NinjaTrader 8 equivalent is ChartBars.FromIndex: http://ninjatrader.com/support/helpG..._fromindex.htm

    Comment


      #3
      Originally posted by NinjaTrader_PatrickH View Post
      Hello eSignal,

      Thank you for your post.

      This is unsupported and thus undocumented in NinjaTrader 7. The NinjaTrader 8 equivalent is ChartBars.FromIndex: http://ninjatrader.com/support/helpG..._fromindex.htm

      i'm try to code a script from NT7 to NT8

      i want understand how does it work

      I do a simple code :

      protected override void OnBarUpdate()
      {

      Print("currentBar " + CurrentBar);
      Print("FirstBarIndexPainted " + FirstBarIndexPainted);

      }

      i see this output : (chart daily with 365 candle)

      https://gyazo.com/493a379e02cb862e2abd5c8d3f513657

      i see Print CurrentBar from 0 to 252 ...
      i see Print FirstBarIndexPainted is egual to 160....always


      i know that it's not supperted but if i don't underestand it i can't code correctly in nt8 (i get error in nt8 )
      Last edited by esignal; 10-12-2016, 02:16 AM.

      Comment


        #4
        some response ^

        Comment


          #5
          Hello eSignal,

          I provided the equivalent for NinjaTrader 8 - which is supported in NinjaTrader 8.
          The NinjaTrader 8 equivalent is ChartBars.FromIndex: http://ninjatrader.com/support/helpG..._fromindex.htm

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by mattdowns1234, Today, 06:57 PM
          0 responses
          14 views
          0 likes
          Last Post mattdowns1234  
          Started by dgee949, Today, 06:26 PM
          0 responses
          24 views
          0 likes
          Last Post dgee949
          by dgee949
           
          Started by dgee949, Today, 05:58 PM
          0 responses
          30 views
          0 likes
          Last Post dgee949
          by dgee949
           
          Started by thepcmd, Today, 05:14 PM
          0 responses
          33 views
          0 likes
          Last Post thepcmd
          by thepcmd
           
          Started by xmess777, Today, 04:58 PM
          0 responses
          23 views
          0 likes
          Last Post xmess777  
          Working...
          X