ninja & AutoHotKey for order entrys - futures io
futures io



ninja & AutoHotKey for order entrys


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one redratsal with 13 posts (21 thanks)
    2. looks_two monpere with 9 posts (8 thanks)
    3. looks_3 max-td with 7 posts (4 thanks)
    4. looks_4 paulg with 5 posts (0 thanks)
      Best Posters
    1. looks_one redratsal with 1.6 thanks per post
    2. looks_two monpere with 0.9 thanks per post
    3. looks_3 max-td with 0.6 thanks per post
    4. looks_4 bobarian with 0.5 thanks per post
    1. trending_up 21,673 views
    2. thumb_up 38 thanks given
    3. group 18 followers
    1. forum 59 posts
    2. attach_file 1 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • 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 and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

ninja & AutoHotKey for order entrys

(login for full post details)
  #1 (permalink)
 bobarian 
whitestone, new york
 
Experience: Intermediate
Platform: ninja trader
 
bobarian's Avatar
 
Posts: 1,995 since Oct 2010
Thanks: 5,255 given, 3,109 received

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

Visit my futures io Trade Journal Started this thread Reply With Quote

Journal Challenge April 2021 results (now extended!):
Competing for $1800 in prizes from Jigsaw
looks_oneMaking a Living with the Microsby sstheo
(189 thanks from 22 posts)
looks_twoSalao's Journalby Salao
(51 thanks from 11 posts)
looks_3Deetee’s DAX Trading Journal (time based)by Deetee
(38 thanks from 18 posts)
looks_4Learning to Profit - A journey in algorithms and optionsby Syntax
(31 thanks from 14 posts)
looks_5Maybe a little bit different journalby Malykubo
(14 thanks from 15 posts)
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Big Mike in Ecuador
76 thanks
The Crude Dude Oil Trading System
70 thanks
Help improve the FIO community
36 thanks
futures io site changelog and issues/problem reporting
27 thanks
Webinar: Seven Trading Mistakes Solved With Smart Tradin …
25 thanks
 
(login for full post details)
  #3 (permalink)
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 924 received


yep, thats a good idea, but not available in NT i think.

this mouse-context-menue is just too big for fast usage in trading-action.

max-td
Reply With Quote
 
(login for full post details)
  #4 (permalink)
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,215 given, 2,084 received


bobarian View Post
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


Those functions are not customizable with the Hot Key Manager, what you can do is use your keyboard:

Sell Limit= right click s + enter
Buy Stop= right click b + enter
Buy Stop Limit= right click ss + enter

It's not one button it's 2 but once you get confident it's faster

Visit my futures io Trade Journal Reply With Quote
The following 2 users say Thank You to redratsal for this post:
 
(login for full post details)
  #5 (permalink)
 TempletonPeck 
Germany
 
Experience: Beginner
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
 
TempletonPeck's Avatar
 
Posts: 200 since Feb 2010
Thanks: 1,136 given, 201 received

I always take my entries in the DOM. If you disable "Confirm order placement" you can enter trades with a single click.

Reply With Quote
The following user says Thank You to TempletonPeck for this post:
 
(login for full post details)
  #6 (permalink)
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 924 received


redratsal View Post
Those functions are not customizable with the Hot Key Manager, what you can do is use your keyboard:

Sell Limit= right click s + enter
Buy Stop= right click b + enter
Buy Stop Limit= right click ss + enter

It's not one button it's 2 but once you get confident it's faster

nice trick , but a bit too much to push ...

some platforms have kind of a button-ladder near the current price, directly on the chart, to klick on + enter orders intuitivly. kind of a dom on the chart.
that can be handled very fast.

maybe a new coding - project for timmyB

max-td
Reply With Quote
The following user says Thank You to max-td for this post:
 
(login for full post details)
  #7 (permalink)
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,215 given, 2,084 received


max-td View Post
nice trick , but a bit too much to push ...

some platforms have kind of a button-ladder near the current price, directly on the chart, to klick on + enter orders intuitivly. kind of a dom on the chart.
that can be handled very fast.

maybe a new coding - project for timmyB

waiting for timmyB, you can also use AutoHotkey - Free Mouse and Keyboard Macro Program with Hotkeys and AutoText and configure a one button procedure

Visit my futures io Trade Journal Reply With Quote
The following 2 users say Thank You to redratsal for this post:
 
(login for full post details)
  #8 (permalink)
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 924 received


Quoting 
Sell Limit= right click s + enter
Buy Stop= right click b + enter
Buy Stop Limit= right click ss + enter

thanX redratsal for pushing in that direction !

here is a little script as example how to do this with AutoHotKey :

 
Code
                            
!b::   ; >>  Alt   !B:: 


Click up right,
 
Send   b  Enter }

return 


^<::   ; >>  
strg   ^<::  

Click up right,
 
Send   s  Enter }

return 
This script example uses the following key-combination :

ctrl + < for Selling orders
alt + b for buying orders


if pressing : ctrl plus <
it sends these actions to Ninja :
- right mouseclick plus s plus ENTER

so it checks for your mouseposition at the moment you press the ctrl+<
and at this price-value it sends the sell-order out.

it has to be tested if these keys make sense
in case of ergonomics, its just a first example.

autoHotKey is really fast and worth to have a look at a bit deeper if its
really stable for using this in live trading, but i guess it is

maybe @monpere has some additional tips what to care for if working whith autohotkey. i think he also played with it yet.

here a small "action-video" :
2011-02-18_0810 - maximax07's library

you see, whereever you put your mouse and press the trigger-keys, the orders are sended out imediatly without having to do anything manualy.

-

max-td
Reply With Quote
The following 2 users say Thank You to max-td for this post:
 
(login for full post details)
  #9 (permalink)
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,215 given, 2,084 received

Find attached the script with autohotkey:

z=sell limit
x=buy stop

I chose z and x they're easy to reach, if you want to change them just edit the file and replace z and x with other keys.
If you want the exe file without installing autohotkey just pm me. To disactivate the keys you will have to exit the application.

Attached Files
Register to download File Type: zip Orders.zip (197 Bytes, 123 views)
Visit my futures io Trade Journal Reply With Quote
The following 6 users say Thank You to redratsal for this post:
 
(login for full post details)
  #10 (permalink)
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 924 received


what does the "sleep 100" do in the script ?

max-td
Reply With Quote
The following user says Thank You to max-td for this post:
 
(login for full post details)
  #11 (permalink)
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,215 given, 2,084 received


max-td View Post
what does the "sleep 100" do in the script ?


it's a break period1/10 of sec to prevent beeing too fast and type mismatch

Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to redratsal for this post:
 
(login for full post details)
  #12 (permalink)
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,215 given, 2,084 received


redratsal View Post
it's a break period1/10 of sec to prevent beeing too fast and type mismatch


You can use this function during important news event see "Fishing for Bargains" episode 2 from Don Miller Episode #2: “Fishing For Bargains” :: Trading After Dark

Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #13 (permalink)
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 924 received

ah very good !
i had issues some times yet with too fast + messed up action .

the one-klick (1-key) solution is the best i think, but one must take care what a solo-key-press triggers if you are not in a chart-window.
i have not much experience wtih this till now, i will see how its the best.

maybe an addition windows-recognition will be good, so the script only runs if it detects that you are in a chartwindow.

or so .....

do you have a "portable version" of AHK ? cause you say : ATH without installing.
BTW : autohotkey is a free tool.

max-td
Reply With Quote
 
(login for full post details)
  #14 (permalink)
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,215 given, 2,084 received


max-td View Post
ah very good !
i had issues some times yet with too fast + messed up action .

the one-klick (1-key) solution is the best i think, but one must take care what a solo-key-press triggers if you are not in a chart-window.
i have not much experience wtih this till now, i will see how its the best.

maybe an addition windows-recognition will be good, so the script only runs if it detects that you are in a chartwindow.

or so .....

do you have a "portable version" of AHK ? cause you say : ATH without installing.
BTW : autohotkey is a free tool.


The problem with window recognition is matching
You can compile (exe) any ahk file and make it run without the free software

Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to redratsal for this post:
 
(login for full post details)
  #15 (permalink)
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 924 received

here what i did + what works for checking if the active window is
a CL window in this example :

!b:: ; >> means type >> Alt + B
IfWinActive, CL,
{
Click up right,
Sleep, 50
Send b
Sleep, 50
send,{Enter}
}
return


^<:: ; >> means type >> ctrl+ <
IfWinActive, CL,
{
Click up right,
Sleep, 50
Send s
Sleep, 50
send, { Enter }
}
return

max-td
Reply With Quote
 
(login for full post details)
  #16 (permalink)
 bobarian 
whitestone, new york
 
Experience: Intermediate
Platform: ninja trader
 
bobarian's Avatar
 
Posts: 1,995 since Oct 2010
Thanks: 5,255 given, 3,109 received

thanks to everyone for the great ideas about quick order execution on the cl.i was missing more entries , because it is so fast..in my quest to keep it simple, i thought, when a buy is setting up, place a buy stop way above the market , then left click on the buy stop line on the chart.i use chart trader.now , the order is inactive, as the entry gets close , i drag it down to where i want my entry, and just left click..this order is now pending.

Visit my futures io Trade Journal Started this thread Reply With Quote
The following user says Thank You to bobarian for this post:
 
(login for full post details)
  #17 (permalink)
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,215 given, 2,084 received


max-td View Post
here what i did + what works for checking if the active window is
a CL window in this example :

!b:: ; >> means type >> Alt + B
IfWinActive, CL,
{
Click up right,
Sleep, 50
Send b
Sleep, 50
send,{Enter}
}
return


^<:: ; >> means type >> ctrl+ <
IfWinActive, CL,
{
Click up right,
Sleep, 50
Send s
Sleep, 50
send, { Enter }
}
return

The function Winactive check if the window exists and it is currently active. You need to instruct the script how you want to make the check, this is the function and the parameters possibile:

SetTitleMatchMode, MatchMode (can be 1/2/3)

1: A window's title must start with the specified WinTitle to be a match.
2: A window's title can contain WinTitle anywhere inside it to be a match.
3: A window's title must exactly match WinTitle to be a match.

the default setting is 1


I would not suggest to use winactive because:
1)the name of the windows might change (CL,ES,YM,etc)
2)You might have more than one window on your workspace

Better if you activate=run the script (will work in any zone of your window) or deactivate=exit the script (when you're done with the script) . When the script is active you will notice an H icon on the right tray of the screen. What you can do to close the script is build, within your script, a one key function like this:

c::
exitapp

pushing the c key will exit the script and your keyboard will act normally. You can replace the key c with any other key.

A lot of words to explain, I hope I was clear

Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to redratsal for this post:
 
(login for full post details)
  #18 (permalink)
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 924 received


Quoting 
A lot of words to explain, I hope I was clear


thanks, got it now

max-td
Reply With Quote
 
(login for full post details)
  #19 (permalink)
 steve2222 
Auckland, New Zealand
 
Experience: Beginner
Platform: Sierra Chart
Broker: AMP/CQG
Trading: Whatever moves in my timezone
 
Posts: 1,888 since Sep 2009
Thanks: 3,355 given, 1,522 received


redratsal View Post
Better if you activate=run the script (will work in any zone of your window) or deactivate=exit the script (when you're done with the script) . When the script is active you will notice an H icon on the right tray of the screen. What you can do to close the script is build, within your script, a one key function like this:

c::
exitapp

pushing the c key will exit the script and your keyboard will act normally. You can replace the key c with any other key.

A lot of words to explain, I hope I was clear

Hi @ redratsal

Is there a function in AutoHotKey where you can pause the script rather than close it?

I noticed if you right click on the 'H' icon in the Sys tray it has option to pause script, so I wondered if something like:

p::
pauseapp

Would pause script rather than exit it?

Thanks

Reply With Quote
 
(login for full post details)
  #20 (permalink)
 steve2222 
Auckland, New Zealand
 
Experience: Beginner
Platform: Sierra Chart
Broker: AMP/CQG
Trading: Whatever moves in my timezone
 
Posts: 1,888 since Sep 2009
Thanks: 3,355 given, 1,522 received


redratsal View Post
Those functions are not customizable with the Hot Key Manager, what you can do is use your keyboard:

Sell Limit= right click s + enter
Buy Stop= right click b + enter
Buy Stop Limit= right click ss + enter

It's not one button it's 2 but once you get confident it's faster

Hello @ redratsal

Where did you find the shortcut abbreviations for NT that told you 's' and 'b' when used with right mouse click would place sell and buy orders.

I mean the use of 's' and 'b' for sell and buy is logical, but how did you know this shortcut even existed - and are there other similar shortcuts ie is there some listing within the NT help files (I am not referring to the Hot Key Manager)?

Thanks

Reply With Quote
 
(login for full post details)
  #21 (permalink)
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,215 given, 2,084 received


steve2222 View Post
Hi @ redratsal

Is there a function in AutoHotKey where you can pause the script rather than close it?

I noticed if you right click on the 'H' icon in the Sys tray it has option to pause script, so I wondered if something like:

p::
pauseapp

Would pause script rather than exit it?

Thanks

Hi Steve,


#p::Pause ; Pressing Win+P once will pause the script. Pressing it again will unpause

Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to redratsal for this post:
 
(login for full post details)
  #22 (permalink)
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,215 given, 2,084 received


steve2222 View Post
Hello @ redratsal

Where did you find the shortcut abbreviations for NT that told you 's' and 'b' when used with right mouse click would place sell and buy orders.

I mean the use of 's' and 'b' for sell and buy is logical, but how did you know this shortcut even existed - and are there other similar shortcuts ie is there some listing within the NT help files (I am not referring to the Hot Key Manager)?

Thanks

Hi Steve,

It's rather a window shortcut, just right click and push the corresponding letter of the list (if there are 2 items with same letters push 2 times and so on)

if you want to refer me you'll have to write it like this @steve2222

Have a nice Easter Day

Visit my futures io Trade Journal Reply With Quote
The following 2 users say Thank You to redratsal for this post:
 
(login for full post details)
  #23 (permalink)
 monpere 
Bala, PA, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus, IB
Trading: SPY, Oil, Euro
 
monpere's Avatar
 
Posts: 1,858 since Jul 2010
Thanks: 300 given, 3,339 received


redratsal View Post
Hi Steve,

It's rather a window shortcut, just right click and push the corresponding letter of the list (if there are 2 items with same letters push 2 times and so on)

if you want to refer me you'll have to write it like this @ steve2222

Have a nice Easter Day

AutoHotKey is designed to stay running, you should not need to run the script more then once, and you should not need to run a different script for different hotkeys. I start my autohotkey script in the morning after I boot my machine, and it stays running until I turn off the machine at night.

Here is my entire autohotkey script, containing all my hot keys for NT, and for other apps, using normal keyboard keys, extended keyboard keys, mouse wheel, and extended mouse buttons for my 5 button mouse.


Reply With Quote
 
(login for full post details)
  #24 (permalink)
 trendisyourfriend 
Market Wizard
Quebec
 
Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker: AMP/CQG
Trading: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 3,996 since Oct 2009
Thanks: 3,671 given, 5,161 received


monpere View Post
AutoHotKey is designed to stay running, you should not need to run the script more then once, and you should not need to run a different script for different hotkeys. I start my autohotkey script in the morning after I boot my machine, and it stays running until I turn off the machine at night.

Here is my entire autohotkey script, containing all my hot keys for NT, and for other apps, using normal keyboard keys, extended keyboard keys, mouse wheel, and extended mouse buttons for my 5 button mouse.


Could you simulate a right-click of the mouse on a chart to put an order where your cursor is with this hotkey application ?

Reply With Quote
 
(login for full post details)
  #25 (permalink)
 monpere 
Bala, PA, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus, IB
Trading: SPY, Oil, Euro
 
monpere's Avatar
 
Posts: 1,858 since Jul 2010
Thanks: 300 given, 3,339 received


trendisyourfriend View Post
Could you simulate a right-click of the mouse on a chart to put an order where your cursor is with this hotkey application ?

Yes. You can move your cross hair to the price you want on the chart and hit 'Ctrl-b' to buy or 'Ctrl-s' to sell with the following script commands:

^b::
Send {Click Up Right }{b}{Enter}
return

^s::
Send {Click Up Right }{s}{Enter}
return

Reply With Quote
The following user says Thank You to monpere for this post:
 
(login for full post details)
  #26 (permalink)
rbxx
Newmarket
 
 
Posts: 8 since Aug 2011
Thanks: 2 given, 0 received

Hi there, I saw your message and had a question. I know you programmed the Z as a sell limit...is the same as a middle mouse button action or is that a sell stop. I want to use your script however i`m not really good at understanding scripts etc. What i`m looking for is one button for a buy stop and one for sell stop. The way I want to use this is for example i want to go for a buy, i want to be able to click the letter X and then it would take me into the trade at the current price or one tick above. Similiarly, I would like to click the letter Z (sell stop) when taking a sell and entering the trade at the current running price or one tick below. I`ve tried asking this question to many people but have not been successful with a solution. If you could help that would be greatly appreciated!

thank you,
rbxx


redratsal View Post
Find attached the script with autohotkey:

z=sell limit
x=buy stop

I chose z and x they're easy to reach, if you want to change them just edit the file and replace z and x with other keys.
If you want the exe file without installing autohotkey just pm me. To disactivate the keys you will have to exit the application.


Reply With Quote
 
(login for full post details)
  #27 (permalink)
rbxx
Newmarket
 
 
Posts: 8 since Aug 2011
Thanks: 2 given, 0 received


redratsal View Post
Those functions are not customizable with the Hot Key Manager, what you can do is use your keyboard:

Sell Limit= right click s + enter
Buy Stop= right click b + enter
Buy Stop Limit= right click ss + enter

It's not one button it's 2 but once you get confident it's faster

Hi redratsal,
Do you have a script that I could use for the buy stop you mentioned above? Would you have one for a sell stop as well? Any help would be much appreciated.

Thanks,
Rbxx

Reply With Quote
 
(login for full post details)
  #28 (permalink)
rbxx
Newmarket
 
 
Posts: 8 since Aug 2011
Thanks: 2 given, 0 received


monpere View Post
AutoHotKey is designed to stay running, you should not need to run the script more then once, and you should not need to run a different script for different hotkeys. I start my autohotkey script in the morning after I boot my machine, and it stays running until I turn off the machine at night.

Here is my entire autohotkey script, containing all my hot keys for NT, and for other apps, using normal keyboard keys, extended keyboard keys, mouse wheel, and extended mouse buttons for my 5 button mouse.


Hi Monpere,

I clicked on the link above but it seems that I'm not a elite member. Would you have a hotkey on the keyboard for a buy stop market order and a sell stop market order? I'm not looking for a limit order as I want to go straight into the trade at the current running price or one tick above if it's a buy or one tick below if its a sell. Any help would be much appreciated!
rbxx

Reply With Quote
 
(login for full post details)
  #29 (permalink)
 monpere 
Bala, PA, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus, IB
Trading: SPY, Oil, Euro
 
monpere's Avatar
 
Posts: 1,858 since Jul 2010
Thanks: 300 given, 3,339 received


rbxx View Post
Hi Monpere,

I clicked on the link above but it seems that I'm not a elite member. Would you have a hotkey on the keyboard for a buy stop market order and a sell stop market order? I'm not looking for a limit order as I want to go straight into the trade at the current running price or one tick above if it's a buy or one tick below if its a sell. Any help would be much appreciated!
rbxx

It should be pretty easy to create hotkeys to do "Buy Ask" and "Sell Bid". Would these work fro you?

Reply With Quote
 
(login for full post details)
  #30 (permalink)
rbxx
Newmarket
 
 
Posts: 8 since Aug 2011
Thanks: 2 given, 0 received


monpere View Post
It should be pretty easy to create hotkeys to do "Buy Ask" and "Sell Bid". Would these work fro you?

A buy ask or a sell Bid would work as long as they are a buy stop market or sell stop market order. Usually a buy ask or sell bid relates to a limit order?

Reply With Quote
 
(login for full post details)
  #31 (permalink)
 trendisyourfriend 
Market Wizard
Quebec
 
Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker: AMP/CQG
Trading: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 3,996 since Oct 2009
Thanks: 3,671 given, 5,161 received

With the free autohotkey i'd like to create five key combinations to select my five opened templates.

Currently, i have one global template named "6E_ES_NQ_TF" to monitor four symbols but i also have in the background a more detailed template for each of them named respectively "6E", "ES", "NQ" and "TF".

What would the script look like if i wanted to select the template named "6E" via a key combination such as alt+1 ? Do i simply need to invoke a hotkey command to open the menu File>Workspaces>6E of the control center window ?

Reply With Quote
 
(login for full post details)
  #32 (permalink)
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,215 given, 2,084 received


trendisyourfriend View Post
With the free autohotkey i'd like to create five key combinations to select my five opened templates.

Currently, i have one global template named "6E_ES_NQ_TF" to monitor four symbols but i also have in the background a more detailed template for each of them named respectively "6E", "ES", "NQ" and "TF".

What would the script look like if i wanted to select the template named "6E" via a key combination such as alt+1 ? Do i simply need to invoke a hotkey command to open the menu File>Workspaces>6E of the control center window ?

If the workspaces are already opened you can use the NT short cut shift+f3 to switch them.

Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #33 (permalink)
 trendisyourfriend 
Market Wizard
Quebec
 
Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker: AMP/CQG
Trading: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 3,996 since Oct 2009
Thanks: 3,671 given, 5,161 received


redratsal View Post
If the workspaces are already opened you can use the NT short cut shift+f3 to switch them.

I know but this is not working quickly enough and beside if you do that at some point it stops at the control center. So i'd like to get something more solid. But thanks anyway, that's a good try ;-)

P.S. your avatar makes me think about these charts we often see full of lines. Can't really decide which level to take into consideration.

Reply With Quote
 
(login for full post details)
  #34 (permalink)
 monpere 
Bala, PA, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus, IB
Trading: SPY, Oil, Euro
 
monpere's Avatar
 
Posts: 1,858 since Jul 2010
Thanks: 300 given, 3,339 received


trendisyourfriend View Post
I know but this is not working quickly enough and beside if you do that at some point it stops at the control center. So i'd like to get something more solid. But thanks anyway, that's a good try ;-)

P.S. your avatar makes me think about these charts we often see full of lines. Can't really decide which level to take into consideration.

Shift-F3 cycles through all the open workspaces. If you see the control center in the cycle, you may have an open workspace with no charts. With AutoHotkey, you could activate the Contol Center window, and send the keys ALT, F, W, and then the first letter of the open workspace you want, then send ENTER. This would navigate to your desired workspace via the file menu.

Reply With Quote
 
(login for full post details)
  #35 (permalink)
 trendisyourfriend 
Market Wizard
Quebec
 
Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker: AMP/CQG
Trading: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 3,996 since Oct 2009
Thanks: 3,671 given, 5,161 received


monpere View Post
Shift-F3 cycles through all the open workspaces. If you see the control center in the cycle, you may have an open workspace with no charts. With AutoHotkey, you could activate the Contol Center window, and send the keys ALT, F, W, and then the first letter of the open workspace you want, then send ENTER. This would navigate to your desired workspace via the file menu.

That's true i had an untitled workspace with no chart. Thanks for the tip but what is the name of the control center window, is it just that "Control Center" ? i ask this as i also see the name of the current workspace after it.

Reply With Quote
 
(login for full post details)
  #36 (permalink)
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,215 given, 2,084 received

Don't expect to be so much faster with autohotkey, you will assign a key for each workspace you will need to find the right keys on the keyboard, whereas with shift+f3 you hit sequentially until you find what you're looking for.

Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to redratsal for this post:
 
(login for full post details)
  #37 (permalink)
 monpere 
Bala, PA, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus, IB
Trading: SPY, Oil, Euro
 
monpere's Avatar
 
Posts: 1,858 since Jul 2010
Thanks: 300 given, 3,339 received


trendisyourfriend View Post
That's true i had an untitled workspace with no chart. Thanks for the tip but what is the name of the control center window, is it just that "Control Center" ? i ask this as i also see the name of the current workspace after it.

If you have 3 workspaces '6E' and 'ES', 'TF' then you could the following script to access each one by using Control-1, Control-2, and Control-3, just add more entries for additional workspaces:

;###
;### Start Of Script
;###
^1::
IfWinExist, Control Center
{
WinActivate
Send !{f}{w}{6}{ENTER}
}
return
^2::
IfWinExist, Control Center
{
WinActivate
Send !{f}{w}{e}{ENTER}
}
return
^3::
IfWinExist, Control Center
{
WinActivate
Send !{f}{w}{t}{ENTER}
}
return ;
;###
;### End Of Script
;###

Reply With Quote
The following 4 users say Thank You to monpere for this post:
 
(login for full post details)
  #38 (permalink)
paulg
NY
 
 
Posts: 90 since Sep 2009
Thanks: 53 given, 22 received

In NT, is there any way to click to place a limit order at the same price with 3 clicks, e.g. 1+1+1 , instead of using the context menu to change the lot size (and eventually the queue since you're increasing the order size in a FIFO engine)?

Reply With Quote
 
(login for full post details)
  #39 (permalink)
 MyTraderAdvisor 
The Valley ANGUILLA Caribbean
 
Experience: Advanced
Platform: TWS,Ninjatrader
Broker: IB, Ninjatrader, ICMarkets
Trading: NQ
 
MyTraderAdvisor's Avatar
 
Posts: 79 since Apr 2010
Thanks: 22 given, 32 received

Could it be possible to write a sample strategy with 2 hotkeys inputs ? like CTRL+SHIFT+B for buy, and S for sale. So we could manage position with the strategy. Would be great for for scalping and news.
Thanks in advance

I believe only in profits, not in prophets.
Follow me on Twitter Reply With Quote
 
(login for full post details)
  #40 (permalink)
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,215 given, 2,084 received

I have been rethinking the possibility to switch my NT workspaces in a faster way. Since I didn't like to assign a key sequence on my keyboard via autohotkey, as it could interfere with non trading activities, for example while I am writing a post via futures.io (formerly BMT) I could hit an AHK key and launch the function without wanting it. I also didn't like the idea to pause and restart the AHK everytime. I found a fast and easy solution by creating single functions via AHK and installing them on the windows tasks bar. As AHK assigns always the same icon, I created personalized icons with the name of my workspace in order to better visualize wich workspace I want to open. I applied the icons to each function via the icon changer function of AHK (C:\Program Files (x86)\AutoHotkey\Compiler\ahk2.exe).

Instead of using the sequential shift+f3 NT function, which might be long if working with several workspaces, this method is fast and direct; all I have to do is click on the respective icon and the workspace will be opened within the blink of an eye.

In the attached video a brief demonstration how to use the function:



Find below the AHK script code for each function (the function replactes the sequence of keys as with the mouse; in the control center alt+f+w+ the initial letter of the workspace)

WinWait, Control Center ,
IfWinNotActive, Control Center , , WinActivate, Control Center ,
WinWaitActive, Control Center ,
Sleep, 100
Send, {ALTDOWN}f{ALTUP}w5

Note:

The first letter of each workspace name must be different

For the icon builder you can find many free applications on the web, I used IcoFx2.0

The CPU usage with AHK is irrelevant, as the functions are closed once executed.

Visit my futures io Trade Journal Reply With Quote
The following 2 users say Thank You to redratsal for this post:
 
(login for full post details)
  #41 (permalink)
 monpere 
Bala, PA, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus, IB
Trading: SPY, Oil, Euro
 
monpere's Avatar
 
Posts: 1,858 since Jul 2010
Thanks: 300 given, 3,339 received


redratsal View Post
I have been rethinking the possibility to switch my NT workspaces in a faster way. Since I didn't like to assign a key sequence on my keyboard via autohotkey, as it could interfere with non trading activities, for example while I am writing a post via futures.io (formerly BMT) I could hit an AHK key and launch the function without wanting it. I also didn't like the idea to pause and restart the AHK everytime. I found a fast and easy solution by creating single functions via AHK and installing them on the windows tasks bar. As AHK assigns always the same icon, I created personalized icons with the name of my workspace in order to better visualize wich workspace I want to open. I applied the icons to each function via the icon changer function of AHK (C:\Program Files (x86)\AutoHotkey\Compiler\ahk2.exe).

Instead of using the sequential shift+f3 NT function, which might be long if working with several workspaces, this method is fast and direct; all I have to do is click on the respective icon and the workspace will be opened within the blink of an eye.

In the attached video a brief demonstration how to use the function:



Find below the AHK script code for each function (the function replactes the sequence of keys as with the mouse; in the control center alt+f+w+ the initial letter of the workspace)

WinWait, Control Center ,
IfWinNotActive, Control Center , , WinActivate, Control Center ,
WinWaitActive, Control Center ,
Sleep, 100
Send, {ALTDOWN}f{ALTUP}w5

Note:

The first letter of each workspace name must be different

For the icon builder you can find many free applications on the web, I used IcoFx2.0

The CPU usage with AHK is irrelevant, as the functions are closed once executed.

Very cool. In reference to hotkeys executing in undesired windows. Here's how I determine if the active window is a Ninjtrader Chart:

WinGetTitle, title, A ;### Get Active Window title
if ( RegExMatch(title, ".*?\(.*?\).*?\d+/\d+/\d+") ) {
MsgBox This is an NT Chart
;### Execute chart window code
}

Reply With Quote
The following 2 users say Thank You to monpere for this post:
 
(login for full post details)
  #42 (permalink)
paulg
NY
 
 
Posts: 90 since Sep 2009
Thanks: 53 given, 22 received


paulg View Post
In NT, is there any way to click to place a limit order at the same price with 3 clicks, e.g. 1+1+1 , instead of using the context menu to change the lot size (and eventually the queue since you're increasing the order size in a FIFO engine)?

Anyone with an idea about this simple task?

Reply With Quote
 
(login for full post details)
  #43 (permalink)
 monpere 
Bala, PA, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus, IB
Trading: SPY, Oil, Euro
 
monpere's Avatar
 
Posts: 1,858 since Jul 2010
Thanks: 300 given, 3,339 received


paulg View Post
Anyone with an idea about this simple task?

Not sure I understand, you want to place a limit order at the current market price, or a limit order at the price your crosshair is, or you want to change the lot size of an existing limit order?

Reply With Quote
 
(login for full post details)
  #44 (permalink)
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,215 given, 2,084 received


paulg View Post
Anyone with an idea about this simple task?


If your mouse has customizable buttons you can replicate the nt command:

rightclick+s+enter = sell limit
rightclick+b+enter = buy limit


all you have to do than is point your mouse on the chart at the price you want to put the order and click it.


Visit my futures io Trade Journal Reply With Quote
The following 2 users say Thank You to redratsal for this post:
 
(login for full post details)
  #45 (permalink)
 monpere 
Bala, PA, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus, IB
Trading: SPY, Oil, Euro
 
monpere's Avatar
 
Posts: 1,858 since Jul 2010
Thanks: 300 given, 3,339 received


redratsal View Post
If your mouse has customizable buttons you can replicate the nt command:

rightclick+s+enter = sell limit
rightclick+b+enter = buy limit


all you have to do than is point your mouse on the chart at the price you want to put the order and click it.

Also see post #25, for another option with AutoHotKey, if you have a simple mouse. If your non-programmable mouse has more then 3 buttons, you can also use the software to re-program the additional keys to perform these entry functions with once mouse click, and leave the main buttons for chart navigation.

Reply With Quote
 
(login for full post details)
  #46 (permalink)
paulg
NY
 
 
Posts: 90 since Sep 2009
Thanks: 53 given, 22 received


redratsal View Post
If your mouse has customizable buttons you can replicate the nt command:

rightclick+s+enter = sell limit
rightclick+b+enter = buy limit


all you have to do than is point your mouse on the chart at the price you want to put the order and click it.

Thanks but I meant 1+1+1 at the same price and on superdom not on charts.

Reply With Quote
 
(login for full post details)
  #47 (permalink)
paulg
NY
 
 
Posts: 90 since Sep 2009
Thanks: 53 given, 22 received


monpere View Post
Not sure I understand, you want to place a limit order at the current market price, or a limit order at the price your crosshair is, or you want to change the lot size of an existing limit order?

I simply want to place 3 limit orders of 1 lot each at the same price at my crosshair (effectively 3 limit orders that should not go at mkt) without using the 'change lot' feature; just a simple triple click at the same price. At least with standard NT setting you are asked to change the size of the order with a context menu and not adding a further 1 lot order (without asking further order size or change). Hope this clarifies a bit.

Reply With Quote
 
(login for full post details)
  #48 (permalink)
 steve2222 
Auckland, New Zealand
 
Experience: Beginner
Platform: Sierra Chart
Broker: AMP/CQG
Trading: Whatever moves in my timezone
 
Posts: 1,888 since Sep 2009
Thanks: 3,355 given, 1,522 received


redratsal View Post
Those functions are not customizable with the Hot Key Manager, what you can do is use your keyboard:

Sell Limit= right click s + enter
Buy Stop= right click b + enter
Buy Stop Limit= right click ss + enter

It's not one button it's 2 but once you get confident it's faster

Hi @redratsal

Buy Stop Limit = right click bs + enter, would it not?

I can get Sell Stop Limit to work with right click ss + enter, but with Buy Stop Limit the press of the 'b' key takes you to 'Buy Stop' and if you then press 's' it drops down the menu to 'Show Data Box' as that also starts with 's'.

Any ideas?

PS: I think I solved it - Buy Stop Limit = right click bb + enter

Thanks

Reply With Quote
 
(login for full post details)
  #49 (permalink)
 greenr 
london/england
 
Experience: Advanced
Platform: Sierra charts, NinjaTrader, VK Trader
Broker: CQG, AMP, VK, Kinetick
Trading: CL/6E/TF/ES
 
Posts: 952 since Sep 2011
Thanks: 562 given, 1,279 received


steve2222 View Post
Hi @ redratsal

Buy Stop Limit = right click bs + enter, would it not?

I can get Sell Stop Limit to work with right click ss + enter, but with Buy Stop Limit the press of the 'b' key takes you to 'Buy Stop' and if you then press 's' it drops down the menu to 'Show Data Box' as that also starts with 's'.

Any ideas?

PS: I think I solved it - Buy Stop Limit = right click bb + enter

Thanks

Does any one know how to program a hot key to plot executions or not?

:-D

thanks

" I will follow my rules, I will take my stops, I will be disciplined and i will work with the market....NOT AGAINST IT! Professional mind control is the key"
Reply With Quote
 
(login for full post details)
  #50 (permalink)
 gever17 
Cheyenne,Wyoming...USA
 
Experience: Beginner
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: NQ, YM
 
Posts: 69 since Nov 2010
Thanks: 329 given, 54 received


greenr View Post
Does any one know how to program a hot key to plot executions or not?

:-D

thanks

greenr,

In the indicator downloads there is a very nice indy that puts a button on your toolbar and and allows you to turn your executions on and off. It is called Toggle Trades. I think it will be just what you are looking for.

gever17

Reply With Quote
 
(login for full post details)
  #51 (permalink)
 greenr 
london/england
 
Experience: Advanced
Platform: Sierra charts, NinjaTrader, VK Trader
Broker: CQG, AMP, VK, Kinetick
Trading: CL/6E/TF/ES
 
Posts: 952 since Sep 2011
Thanks: 562 given, 1,279 received


gever17 View Post
greenr,

In the indicator downloads there is a very nice indy that puts a button on your toolbar and and allows you to turn your executions on and off. It is called Toggle Trades. I think it will be just what you are looking for.

gever17

Thank you very much @gever17 you a star :-D

This is the EXACT add on i have been looking for

regards

Ryan

" I will follow my rules, I will take my stops, I will be disciplined and i will work with the market....NOT AGAINST IT! Professional mind control is the key"
Reply With Quote
The following user says Thank You to greenr for this post:
 
(login for full post details)
  #52 (permalink)
paulg
NY
 
 
Posts: 90 since Sep 2009
Thanks: 53 given, 22 received


paulg View Post
I simply want to place 3 limit orders of 1 lot each at the same price at my crosshair (effectively 3 limit orders that should not go at mkt) without using the 'change lot' feature; just a simple triple click at the same price. At least with standard NT setting you are asked to change the size of the order with a context menu and not adding a further 1 lot order (without asking further order size or change). Hope this clarifies a bit.

Anyone has an idea about this request, please?

Reply With Quote
 
(login for full post details)
  #53 (permalink)
 kalalex 
Up the Ladder, CA
 
Experience: Beginner
Platform: SC
Broker: Optimus & AMP
Trading: ES
 
kalalex's Avatar
 
Posts: 225 since Mar 2011
Thanks: 252 given, 148 received

@monpere

I just found out about this autohotkey program and am testing your script with much success.
I wonder if you could add another function here for cancelling orders.
I tried "c" but it didn't work.
Thanks.




monpere View Post
Yes. You can move your cross hair to the price you want on the chart and hit 'Ctrl-b' to buy or 'Ctrl-s' to sell with the following script commands:

^b::
Send {Click Up Right }{b}{Enter}
return

^s::
Send {Click Up Right }{s}{Enter}
return


Reply With Quote
 
(login for full post details)
  #54 (permalink)
 monpere 
Bala, PA, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus, IB
Trading: SPY, Oil, Euro
 
monpere's Avatar
 
Posts: 1,858 since Jul 2010
Thanks: 300 given, 3,339 received


kalalex View Post
@monpere

I just found out about this autohotkey program and am testing your script with much success.
I wonder if you could add another function here for cancelling orders.
I tried "c" but it didn't work.
Thanks.

NT does have an internal Hot Key under Tools->Hot Key Manager->Order Entry->'Cancel Last Order', I assigned 'Ctrl-X' to it, placed a limit buy order, hit 'Ctrl-X' but nothing happens. Maybe I am misunderstanding what that NT hot key is supposed to do. If NT has a key sequence to cancel an order then we can create a AutoHotKey to issue that key sequence.

Check out the thread below, if you are interested in other AutHotKey scripts:


Reply With Quote
The following user says Thank You to monpere for this post:
 
(login for full post details)
  #55 (permalink)
 kalalex 
Up the Ladder, CA
 
Experience: Beginner
Platform: SC
Broker: Optimus & AMP
Trading: ES
 
kalalex's Avatar
 
Posts: 225 since Mar 2011
Thanks: 252 given, 148 received


monpere View Post
hit 'Ctrl-X' but nothing happens.

@monpere

I found the answer.
We have to enable hotkey for order in control panel > too > general > use order entry hot keys.

Mine works now to cancel and close with ctrl+x, c.

Reply With Quote
The following user says Thank You to kalalex for this post:
 
(login for full post details)
  #56 (permalink)
 streetfightman 
vancouver bc
 
Experience: Beginner
Platform: multicharts
Trading: n225m
 
Posts: 6 since Feb 2015
Thanks: 1 given, 1 received

Hi, I noticed you participated in the autohotkey thread

Your script for NT 7 does not work with NT8

z::
MouseClick, right
Sleep, 100
Send, s
sleep, 50
send, {ENTER}
return
x::
MouseClick, right
Sleep, 100
Send, b
sleep, 50
send, {ENTER}
return


even this autohotkey script does not work for NT8, but it does for NT7

^b::
Send {Click Up Right }{b}{Enter}
return

^s::
Send {Click Up Right }{s}{Enter}
return


Do you know why these do not work for NT8 and do you think there is a fix for it?
I really like NT 8 but I am having trouble figuring out a quick order system on the chart.

Any help would be much appreciated.

Reply With Quote
 
(login for full post details)
  #57 (permalink)
 emun 
prague, czech republic
 
Experience: Advanced
Platform: NinjaTrader
Trading: NQ
 
Posts: 158 since May 2012
Thanks: 46 given, 71 received


streetfightman View Post
Hi, I noticed you participated in the autohotkey thread

Your script for NT 7 does not work with NT8

z::
MouseClick, right
Sleep, 100
Send, s
sleep, 50
send, {ENTER}
return
x::
MouseClick, right
Sleep, 100
Send, b
sleep, 50
send, {ENTER}
return


even this autohotkey script does not work for NT8, but it does for NT7

^b::
Send {Click Up Right }{b}{Enter}
return

^s::
Send {Click Up Right }{s}{Enter}
return


Do you know why these do not work for NT8 and do you think there is a fix for it?
I really like NT 8 but I am having trouble figuring out a quick order system on the chart.

Any help would be much appreciated.

Hello,

I just would like to ask if you were successful with your effort to use Autohotkeys and NT8?

Thank you

Reply With Quote
 
(login for full post details)
  #58 (permalink)
 streetfightman 
vancouver bc
 
Experience: Beginner
Platform: multicharts
Trading: n225m
 
Posts: 6 since Feb 2015
Thanks: 1 given, 1 received

yes but I do not use it.
It did work well from what I could think of in terms of putting fast orders on the chart.
it didnt take me that long to figure out maybe 2 weeks with questions from different sources.

I think you can do more than this but I never got up to that level
I wanted to do black bird or is it blood hound for position and trade size management.

this is what I could find.

!1::
MouseClick, right
Sleep, 1
Send, {Down}{Down}{Down}{Down}{Down}{Down}{Down}{Down}{Down}{Enter}
return

!q::
MouseClick, right
Sleep, 1
Send, {Down}{Down}{Down}{Down}{Down}{Down}{Down}{Enter}
return

!z::
MouseClick, right
Sleep, 1
Send, {Down}{Down}{Down}{Down}{Down}{Down}{Down}{Down}{Down}{Enter}
return

!a::
MouseClick, right
Sleep, 1
Send, {Down}{Down}{Down}{Down}{Down}{Down}{Down}{Enter}
return

Reply With Quote
 
(login for full post details)
  #59 (permalink)
 maxuscz 
Brno, Czech republic
 
Experience: Beginner
Platform: NinjaTrader
Trading: Emini ES
 
Posts: 15 since Dec 2020
Thanks: 10 given, 3 received


streetfightman View Post

!1::
MouseClick, right
Sleep, 1
Send, {Down}{Down}{Down}{Down}{Down}{Down}{Down}{Down}{Down}{Enter}
return

!q::
MouseClick, right
Sleep, 1
Send, {Down}{Down}{Down}{Down}{Down}{Down}{Down}{Enter}
return

!z::
MouseClick, right
Sleep, 1
Send, {Down}{Down}{Down}{Down}{Down}{Down}{Down}{Down}{Down}{Enter}
return

!a::
MouseClick, right
Sleep, 1
Send, {Down}{Down}{Down}{Down}{Down}{Down}{Down}{Enter}
return

Hi all.
Now I try it with NT 8.0 and it dosnt work.. cose NT change range of command in right click menu
depending on the cursor position - over price or below price.

But for quick order I need one butt to buy and on button to sell
Buy on bottom hase position 7x {Down} and 10x{Down} when I try to buy uptrend.

We need another idea 8-(

Reply With Quote
 
(login for full post details)
  #60 (permalink)
 sam028 
Site Moderator
 
 
sam028's Avatar
 
Posts: 3,675 since Jun 2009
Thanks: 3,790 given, 4,507 received


maxuscz View Post
Hi all.
Now I try it with NT 8.0 and it dosnt work.. cose NT change range of command in right click menu
depending on the cursor position - over price or below price.

But for quick order I need one butt to buy and on button to sell
Buy on bottom hase position 7x {Down} and 10x{Down} when I try to buy uptrend.

We need another idea 8-(

Check the TestStack.White.
AutoHotKeys works well for Winforms but not for WPF interfaces.
TestStack.White is working well for NT8 (I used to automate replay download) but it's way more complex than AutoHotKeys.

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Reply With Quote
The following user says Thank You to sam028 for this post:


futures io Trading Community Platforms and Indicators NinjaTrader > ninja & AutoHotKey for order entrys


Last Updated on December 12, 2020


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Journal Challenge w/$1,800 in prizes!

April
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts