Login Page - Create Account

Support Board


Date/Time: Tue, 25 Feb 2025 20:15:00 +0000



Post From: Macros

[2021-04-22 21:09:57]
anouar6869 - Posts: 13
suppose you have alt+b shortcut in sierra chart for a market order

SetTitleMatchMode, RegEx
#IfWinNotActive,sierrainstancename
!b::
WinActivate, sierrainstancename
Send, !{b}
return
the example above will send the order at the last active chart in the main frame of sierra chart.
If you use more than one symbol in your chartbook you should use WinGetText to avoid to send the order to the wrong instrument.