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

Custom buttons on basic entry window

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

    Custom buttons on basic entry window

    Hi there,

    I am trying to create custom buttons on the basic entry window, as well as the SuperDOM. Is this possible? Along a similar vein, would it be possible to make the buttons already on the window fire off a custom function? For instance, could I make the buy market button print something out before doing its default action?

    Thanks!

    #2
    Hello farrenzo47,

    There is an example that demonstrates adding buttons to the SuperDOM.

    Below is a public link to the User App Share section of the NinjaTrader Ecosystem.



    It may be possible to crawl through the window objects and find those buttons and then add an event handler to the buttons .Click event.
    The ChartTraderModifyExistingButtonsExample_NT8 example may at least give you an idea of how the button might be found and how to add an event handler method to the .Click event.
    Hello All, Moving forward this will be maintained in the help guide reference samples and no longer maintained on the forum. Creating Chart WPF (UI) Modifications from an Indicator - https://ninjatrader.com/support/help...ui)-modifi.htm (https://ninjatrader.com/support/helpGuides/nt8/creating-chart-wpf-(ui)-modifi.htm) I've



    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by samish18, 04-17-2024, 08:57 AM
    16 responses
    55 views
    0 likes
    Last Post samish18  
    Started by arvidvanstaey, Today, 02:19 PM
    3 responses
    9 views
    0 likes
    Last Post NinjaTrader_Zachary  
    Started by jordanq2, Today, 03:10 PM
    2 responses
    8 views
    0 likes
    Last Post jordanq2  
    Started by traderqz, Today, 12:06 AM
    10 responses
    18 views
    0 likes
    Last Post traderqz  
    Started by algospoke, 04-17-2024, 06:40 PM
    5 responses
    47 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X