Support Board
Date/Time: Thu, 20 Mar 2025 18:23:32 +0000
Trading using Macros
View Count: 3050
[2016-09-01 00:35:49] |
User866531 - Posts: 14 |
Hi, I'm trying to setup trading with Macros. I've read the documentation that I can find and have tested it to see it working. Basic Trading and the Trade Window: Trading Keyboard Shortcuts Global Settings Menu: Customize Keyboard Shortcuts (Global Settings menu) My real issue though is that I'm trying to see if it can function as I need if I try and setup a trading keyboard (http://www.keyboardtrader.com/customized-trading-keyboard.html) with 3 separate macros for each key press that will then send the same action to 3 separate platforms. (1 = Sierra Charts running IQFeed (SIM), 2 = Sierra Charts running CQG (LIVE), 3 = NinjaTrader 8 running IQFeed (SIM).) I've switch the majority of my trading over to Sierra Charts after unending issues with NT but I've had to keep NT for Jigsaw DOM which I use to find entries/exits. I've been executing on Sierra Charts with the CQG broker data but I'm finding it difficult when scalping to track the exact price level of my live order entry and stop price level (that's on SC) while looking at the Jigsaw DOM on NT. So I started looking around for some option that would allow a macro button solution so that when I entered a live trade on Sierra Charts w/CQG broker data, that same order would be entered as a SIM trade on Sierra Charts w/IQFeed and NT8 w/IQFeed and show the same order price levels on the Jigsaw DOM as the order price levels on the live trade on Sierra Charts that is executing the live trade to the broker. Then I only need to closely watch one screen but still get the benefit of live trading through a stable platform like Sierra Charts. The software for the keyboard (http://www.access-is.com/softprog.php) allows "layering" (Multiple macros) on the same key. I've been trying to test the concept using the current keyboard I have (Roccat MK Pro) and setup the same macro key sequence (Buy Market = ALT+A) in Sierra Charts and (Buy Market = ALT+A) in Ninjatrader 8. (This would not be the case with the dedicated trading keyboard - each platform would get its own unique macro sequence for each task but the 3 unique macros would be bound to the same key press). The problem I seem to be running into is that it will only execute the macro on whatever chart that has been clicked on to "bring it to the front" in Windows. Is this because I'm trying to use the same macro sequence for both platforms? Or is this a limitation from the platforms and it forces the chart to be clicked on first to become "active" and only then will it accept the macro sequence? If the 2nd one is the case, is there a macro setup that can be triggered with the order macro that would make the required chart appear "active" so that it would then trigger the order as needed on Sierra Charts? Is there a solution or workaround to getting this to all work as I've described? I'm only trying to trade 1 instrument at a time - 30yr Treasuries ZB. If there are any other details that might help, please let me know. Thanks for your time. |
[2016-09-01 01:04:57] |
|
The problem I seem to be running into is that it will only execute the macro on whatever chart that has been clicked on to "bring it to the front" in Windows.
This is true because the translation from a keyboard shortcut to the corresponding trading message is handled by the operating system and then sent to the active Sierra Chart window.What you would need to do is somehow activate the chart window first that you want the keyboard shortcut to go to. It is OK if it was the last active window if some other program is currently active. In which case the last active chart window should receive the keyboard shortcut if the keyboard commands are directed to the main Sierra Chart window. In this last case you should not need to do anything. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2016-09-01 03:01:32
|
[2016-09-01 01:36:05] |
User866531 - Posts: 14 |
This is true because the translation from a keyboard shortcut to the corresponding trading message is handled by the operating system and then sent to the active Sierra Chart window.
What you would need to do is somehow activate the chart window first that you want the keyboard shortcut to go to. It is OK if it was the last active window if some other program is active. So does that mean I should look for some solution at the Windows level first with a macro that will find Sierra Charts and then chain the order entry macro after that? Something like this possibly? https://www.autohotkey.com/docs/Tutorial.htm I haven't had a good look at it yet as I only found it this morning but it mentions : 4 -Running Programs & Websites. There is also mentioned - 2 - Hotkeys & Hotstrings ; "b Windoes Specific Hotkeys/Hotstrings" "These special commands (technically called "directives") create context-sensitive hotkeys and hotstrings. Simply specify a window title. But in some cases you might want to specify an HWND, group, or class. Those are a bit advanced and are covered more in-depth here: #IfWinActive. " Not sure if that would relate to finding a already open program on the desktop and how to bring one specific chart in that program to the front to be active so that the order entry macro can trigger. Would that be along the right path to start looking at for a solution? Thanks |
[2016-09-01 06:43:24] |
|
Yes, Auto Hotkey would probably help you very well. We think you should have a look at that and try it. We have used it ourselves in the past. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2022-11-15 20:49:29] |
Forexsnev - Posts: 1 |
Hey I wanted to know how do I add Marco on my sierra chart. I wanted the hand as a macro
|
[2022-11-15 21:56:21] |
John - SC Support - Posts: 38829 |
For Keyboard Shortcuts refer to the following: Global Settings Menu: Customize Keyboard Shortcuts (Global Settings menu) For Control Bar Buttons refer to the following: Control Bar: Customize Control Bars >> Control Bar 1-12 (Global Settings) For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2022-11-16 02:34:02] |
User379468 - Posts: 508 |
@User866531 , what did you end up doing? Did you use/recommend Keyboard Trader keyboard, did it work well with Sierrachart?
|
To post a message in this thread, you need to log in with your Sierra Chart account: