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 JonesJoker, 04-22-2024, 12:23 PM
    7 responses
    41 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Waxavi, 04-19-2024, 02:10 AM
    2 responses
    37 views
    0 likes
    Last Post poeds
    by poeds
     
    Started by chbruno, Yesterday, 04:10 PM
    1 response
    44 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by Max238, Today, 01:28 AM
    1 response
    24 views
    0 likes
    Last Post CactusMan  
    Started by giulyko00, Yesterday, 12:03 PM
    2 responses
    10 views
    0 likes
    Last Post giulyko00  
    Working...
    X