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.
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.
The following user says Thank You to bobarian for this post:
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:
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
The following user says Thank You to redratsal for this post:
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)?