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

NT Variable Globals Clarification

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

    NT Variable Globals Clarification

    Could you please clarify the following two variables:

    NinjaTrader.Custom.Resource.VolumeCounterVolumeRem aining
    NinjaTrader.Custom.Resource.VolumeCounterVolumeCou nt

    Can you please let me know how to access these values directly rather than converting these strings back to numerical format. Thank you.

    #2
    Hello,

    Thank you for the post.

    These are actually only strings and not values, the custom resources like these are used for localization of strings in the platform for the stock indicators and other items. You can find a description of resources on the following page: https://ninjatrader.com/support/help...ustom.Resource

    To access actual values, you would need to utilize an indicator that can calculate values. In this case, the VolumeCounter indicator would need to be called to access its values. Alternatively, you could review the code for the VolumeCounter indicator to extract the logic which uses these strings.




    Please let me know if I may be of additional assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Thanks for the info Jesse. Ok.
      By the way, the link you sent goes to Display Attribute. I do not see the connection of what I asked to
      "You can find a description of resources on the following page: https://ninjatrader.com/support/help...ustom.Resource". Perhaps you can clarify. Thank you.

      Comment


        #4
        Hello,

        If you review the Tips at the bottom, it would be Tip 2, you can also use Control + F in pages to locate text like "Resource"

        Please let me know if I may be of further assistance.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Shansen, 08-30-2019, 10:18 PM
        24 responses
        938 views
        0 likes
        Last Post spwizard  
        Started by Max238, Today, 01:28 AM
        0 responses
        3 views
        0 likes
        Last Post Max238
        by Max238
         
        Started by rocketman7, Today, 01:00 AM
        0 responses
        2 views
        0 likes
        Last Post rocketman7  
        Started by wzgy0920, 04-20-2024, 06:09 PM
        2 responses
        27 views
        0 likes
        Last Post wzgy0920  
        Started by wzgy0920, 02-22-2024, 01:11 AM
        5 responses
        32 views
        0 likes
        Last Post wzgy0920  
        Working...
        X