Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to create custom ATM Hotkeys for semi-auto Targets and Stop adjusting?

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

    How to create custom ATM Hotkeys for semi-auto Targets and Stop adjusting?

    Can a user custom create/Program new ATM buttons to custom manage Stop and Targets?
    Should be possible as it would just involve adding a few buttons to the Chart Trader interface.
    Essentially just customizing the already present code of the already present buttons of the Chart Trader interface.
    Should take a few minutes/hours work at max of a single programmer.

    If so can you refer to the procedure to handle this programmation?

    The sought purpose would be:
    program the adjustment of Stop and Targets in ATM Chart Trader for Hotkeys use.
    So user can use buttons instead of manual adjustment of Targets and Stops tags in Chart Trader.

    Similar question to those:
    https://ninjatrader.com/support/forum/forum/ninjatrader-7/platform-technical-support/67191-hotkeys-for-atm-s
    https://ninjatrader.com/support/foru...t8#post1119838

    Thanks a lot.

    #2
    Hello Dougtre,

    Thanks for your post.

    Please keep in mind the existing HotKey functionality - https://ninjatrader.com/support/help...ey_manager.htm

    Additional buttons can be added to Chart Trader for your own functions, and AddOn Framework code can be used in these buttons to fire ATM strategies or perform any task you desire.

    It is also possible to check for key presses in a script and have actions taken when the key is pressed. These actions can use AddOn Framework code to manipulate active orders on the account.

    The example below can be referenced for modifying Chart Trader to add custom buttons.

    Modifications to Chart WPF elements - https://ninjatrader.com/support/foru...considerations

    The documentation below can be referenced for using the Account class to submit orders and monitor order/execution/position changes on the account.

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

    Account.StartAtmStrategy can be used to start ATM strategies via AddOn Framework code.

    Account.StartAtmStrategy - https://ninjatrader.com/support/help...tmstrategy.htm

    Account.Change can be used to move orders with AddOn Framework code.

    Account.Change - https://ninjatrader.com/support/help...nt8/change.htm

    I have also attached an example that can demonstrate detecting key presses for your own custom actions.

    Please let us know if you have any additional questions.
    Attached Files
    JimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by schmidtbc16, Today, 03:36 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by RT001, Today, 03:25 PM
    2 responses
    14 views
    0 likes
    Last Post RT001
    by RT001
     
    Started by mbrandau, Today, 01:58 PM
    5 responses
    37 views
    0 likes
    Last Post mbrandau  
    Started by remcovdmeulen, Today, 02:15 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by gbrad, Today, 09:57 AM
    7 responses
    17 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X