Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Binding hotkey to place an order 1 tick above or below the previous bar
Collapse
X
-
Binding hotkey to place an order 1 tick above or below the previous bar
Hello, is it possible to bind hotkey or a create a script and bind to hotkey to place a Sell Stop Limit or Buy Stop Limit order 1 tick above or below the previous bar?Tags: None
-
Hello backtester831,
The hotkeys created by NinjaTrader are not able to reference bar data on a chart.
Custom hotkeys triggered in a script would be undocumented and is not officially supported, but it would be possible this way.
Below is a link to a script that will give you the information you need.
https://ninjatraderecosystem.com/use...ket-internals/
The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.Chelsea B.NinjaTrader Customer Service
-
Originally posted by NinjaTrader_ChelseaB View PostHello backtester831,
The hotkeys created by NinjaTrader are not able to reference bar data on a chart.
Custom hotkeys triggered in a script would be undocumented and is not officially supported, but it would be possible this way.
Below is a link to a script that will give you the information you need.
https://ninjatraderecosystem.com/use...ket-internals/
The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
Comment
-
Hello backtester831,
In this script, the ChartControl.PreviewKeyDown event is being assign an event handler method that prevents the instrument selector overlay from appearing, then checks for the key sent, and triggers an action with the ModifierKeys.Alt and ModifierKeys.Control combination.Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by agclub, Yesterday, 08:57 PM
|
2 responses
16 views
0 likes
|
Last Post
by agclub
Today, 09:33 PM
|
||
Started by cre8able, 04-17-2024, 04:16 PM
|
6 responses
56 views
0 likes
|
Last Post
by cre8able
Today, 09:20 PM
|
||
Started by Mindset, 05-06-2023, 09:03 PM
|
13 responses
293 views
0 likes
|
Last Post
by Mindset
Today, 08:59 PM
|
||
Started by kaywai, 09-01-2023, 08:44 PM
|
4 responses
600 views
0 likes
|
Last Post
by joselube001
Today, 07:04 PM
|
||
Started by dpolyakov, 03-29-2024, 11:30 AM
|
3 responses
135 views
2 likes
|
Last Post
by sonia0101
Today, 06:48 PM
|
Comment