Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
If working with HotKeys in NT you have the problem that some of them need the window to be active. If you fire a market order then it goes to the active window. If you have (HotKey) code in a non active window it will not be executed.
How can I set a window a moment before execution to active in NT?
Something like:
SetActiveWindow()
SendKeys.Send("^%{LEFT}"); // for market order
But of course it is not that simple. What I found in the WWW was confusing and not very simple.
Has someone a code for NT?
Can you help answer these questions from other members on NexusFi?
using ninja, and i amlooking to create a hot key to entry
what i would like to do is, right click on the price, and instead of moving the mouse to left click a buy or sell stop, i would like to hit a button..crude is just too fast
I set an entry order by pushing a button in an indicator (as always not strategy) one tick above the close of the last bar. Then the entry is trailed if the next bar's high is lower. If it get triggered a hotkey does send a MIT order with the active ATM strategy.
Problem: The code does only execute the hotkey when the window is active (that's by NT) So I have to set it active before the hotkey code is executed.
@redratsal: thanks for the AutoHotKey link. I will check it. If I can call AutoHotKey from the NT code it could work.