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 drewski1980, Today, 08:24 AM
    0 responses
    3 views
    0 likes
    Last Post drewski1980  
    Started by rdtdale, Yesterday, 01:02 PM
    2 responses
    16 views
    0 likes
    Last Post rdtdale
    by rdtdale
     
    Started by TradeSaber, Today, 07:18 AM
    0 responses
    7 views
    0 likes
    Last Post TradeSaber  
    Started by PaulMohn, Today, 05:00 AM
    0 responses
    10 views
    0 likes
    Last Post PaulMohn  
    Started by ZenCortexAuCost, Today, 04:24 AM
    0 responses
    6 views
    0 likes
    Last Post ZenCortexAuCost  
    Working...
    X