• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Detect user's actions

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

    Detect user's actions

    Hi there,
    is there a way to detect user's actions?
    For example, detect when s/he manually makes a sale or a bought when clicking on the respective buttons?

    #2
    Hello stefanodp,

    Thanks for opening the thread.

    There isn't an out-of-box and supported way to detect user interactions with button presses. While it may be possible to override NinjaTrader controls, this is not an item we would provide support for accomplishing.

    In a supported context, this could be done in NinjaTrader 8 but would still require advanced custom programming. Some ways I could think of to accomplish this task would be to add your own buttons for the actions that you would like to track, and/or use AddOn code to subscribe to Account based events so they can be tracked and monitored.

    I'll include links to some examples we have on the forums that demonstrate creating buttons, and I will also link our publicly available documentation available for AddOn Account based events.

    WPF control samples - http://ninjatrader.com/support/forum...327#post499327

    AddOn Account based events - https://ninjatrader.com/support/help...ount_class.htm

    For NinjaTrader 7, there are several NinjaScripts on our forums that create buttons. These can be used as a reference, however it should be known that what is documented and supported for NinjaTrader 7 is far less than what is available and supported for NinjaTrader 8. I will link one script that implements its own buttons below.

    Advanced Risk Reward (Implements custom buttons in NT7) - https://ninjatrader.com/support/foru...tid=-1&lpage=1

    If you would like, we can also have a member of our Sales Support team reach out with additional information on NinjaScript Consultants who would be eager to write this functionality or any other functionality at your request. If this interests you, please don't hesitate to ask.
    Last edited by NinjaTrader_Jim; 03-14-2018, 07:21 AM.
    JimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by vivekniwas, Today, 11:31 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Heath  
    Started by Austiner87, Yesterday, 04:59 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by rlcheny, Today, 10:38 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Tyler  
    Started by JAtrades, Today, 05:38 AM
    5 responses
    24 views
    0 likes
    Last Post rlcheny
    by rlcheny
     
    Started by RobotSyndicate, Today, 08:27 AM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X