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

Toolbar button for int variable

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

    Toolbar button for int variable


    Hello,

    I would need to change int variable of my indicator without re-loading a chart. I would like to create a toolbar button where I could change it. Although Chelsea provided some examples with toolbar buttons, it doesn´t contain what I would like to create. Could be someone able to help?

    #2
    Hello emuns,

    Thanks for your question.

    You could add a QuantityUpDown Selector to your toolbar or add a TextBox to your toolbar and convert the TextBox's string to an integer so you can use it in your indicator.

    NinjaTradser_Chelsea also has an example that shows how you can create your own WPF window that can update values within an indicator. This example could give you further direction to accomplish your goal with a tool bar.



    QuantityUpDownSelector - https://ninjatrader.com/support/help...tityupdown.htm

    Please let us know if we can be of further assistance.
    JimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by AlgoDreamer, Today, 12:39 PM
    2 responses
    7 views
    0 likes
    Last Post AlgoDreamer  
    Started by ninza33, Today, 12:31 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by nleitman, Yesterday, 11:46 AM
    17 responses
    45 views
    0 likes
    Last Post nleitman  
    Started by tradingnasdaqprueba, Today, 03:42 AM
    7 responses
    32 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by kaywai, Today, 11:59 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Erick  
    Working...
    X