• 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

Ninjatrader 8 AutoHotKey

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

    Ninjatrader 8 AutoHotKey

    I use AutoHotKeys with Ninjatrader 7 on Chart Trader to submit my orders and it works great, but the same script does not work for Ninjatrader 8. Does anyone know how to fix this or what has changed?

    This is the script I use. . .

    ;###
    ;### Control-.-Left Mouse Key -> Ninjatrader Buy at cursor price level on the chart
    ;###
    ^z::
    if ( GetKeyState("ScrollLock", "T") ) { ;### Insure Scroll Lock Key is ON
    if ( GetKeyState("LControl", "D") ) { ;### Insure Control Key Key is Down
    Send {Escape}{Click Up Left}{Click Up Right}{b}{Enter}{Escape}
    }
    }
    return

    ;###
    ;### Control-,-Left Mouse Key -> Ninjatrader Sell at cursor price level on the chart
    ;###
    ^x::
    if ( GetKeyState("ScrollLock", "T") ) { ;### Insure Scroll Lock Key is ON
    if ( GetKeyState("LControl", "D") ) { ;### Insure Control Key Key is Down
    Send {Escape}{Click Up Left}{Click Up Right}{s}{Enter}{Escape}
    }
    }
    return

    #2
    Hello,

    Thank you for the post.

    This may be due to the change of window systems in the platforms. NT7 was created with Windows Forms, and NT8 is WPF. Depending on how AutoHotKeys handles the key presses for WPF could determine how it handles NT8. I am not certain how AutoHotKeys works to provide an accurate answer on what may be preventing it from working.

    I have not used AutoHotKeys to know what functionality it has, but you may try other macro programs or potentially posting on the AutoHotKeys forum as well.

    If any other users have had any experience with this software and NT8 please feel free to comment.

    I look forward to being of further assistance,
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by joemiller, Today, 07:33 AM
    0 responses
    6 views
    0 likes
    Last Post joemiller  
    Started by isnercrypto, Today, 06:42 AM
    0 responses
    4 views
    0 likes
    Last Post isnercrypto  
    Started by Coursocied67, Today, 04:02 AM
    0 responses
    5 views
    0 likes
    Last Post Coursocied67  
    Started by TheGameOfProbabilities, 07-18-2019, 06:56 AM
    7 responses
    37 views
    0 likes
    Last Post DaveS
    by DaveS
     
    Started by claxxical, Yesterday, 10:00 PM
    0 responses
    11 views
    0 likes
    Last Post claxxical  
    Working...
    X