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

VOL indicator tick by tick?

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

    VOL indicator tick by tick?

    The standard VOL indicator is updating after the bar closes, I want it to update tick by tick like other charting softwares, how can I set the indicator value to update tick by tick since the Volume dataseries is giving values after the close only

    protected override void OnBarUpdate()
    {
    Value.Set(Volume[0]);
    }
    Thanks in advance

    #2
    In the properties set the 'Calculate on Bar Close' parameter to false.

    Comment


      #3
      Ad_trader,

      Thank you for your post.

      StockTrader is correct. You can set the CalculateOnBarClose set to false which will calculate the strategy tick by tick.
      Cal H.NinjaTrader Customer Service

      Comment


        #4
        Thank you both for the quick reply, its funny when I did try that before posting it didn't work but now it is working, I think I was watching a thin stock for testing.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        1 view
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        238 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        383 views
        1 like
        Last Post Gavini
        by Gavini
         
        Started by oviejo, Today, 12:28 AM
        0 responses
        1 view
        0 likes
        Last Post oviejo
        by oviejo
         
        Started by pechtri, 06-22-2023, 02:31 AM
        10 responses
        125 views
        0 likes
        Last Post Leeroy_Jenkins  
        Working...
        X