NexusFi: Find Your Edge


Home Menu

 





Trading with keyboard


Discussion in Sierra Chart

Updated
    1. trending_up 200 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
 jojojo 
FrankfurtGermany
 
Experience: Beginner
Platform: Tradestation
Posts: 43 since Oct 2010
Thanks Given: 4
Thanks Received: 7

Hello
I discovered sierra as a tool with extraordinary possibilities , so it seemes. Problem is that the documentation is overwhelming.
I'm looking for the possibility to make any trading decisions as move stops , set breakeven to etc with hotkeys ,
found the acs button functionality , but am not able to set them in the right way.
Maybe someone can help with a step by step explanation how to do this?
Thanks a lot.

pp: Found a very interesting tool here : https://www.twofoxtrading.co.uk/docs/free-study-instructions/adjust-stop-target-study/

This study enables you to use keystrkes via the asc - buttons .I do not get it how to use/connect the input values to the acs - buttons .

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
  #2 (permalink)
 jojojo 
FrankfurtGermany
 
Experience: Beginner
Platform: Tradestation
Posts: 43 since Oct 2010
Thanks Given: 4
Thanks Received: 7

see att. pic
Adjust-Stop-Target

Started this thread Reply With Quote
  #3 (permalink)
 Deiter 
Chicago, Illinois/USA
 
Experience: Intermediate
Platform: Sierra Chart
Broker: IronBeam
Trading: NQ
Frequency: Several times daily
Duration: Minutes
Posts: 2 since Feb 2025
Thanks Given: 2
Thanks Received: 1


I tried the Sierra Chart keyboard shortcuts and ACS buttons, but quickly decided to try one of my long-time favorite tools -- AutoHotkey (https://www.autohotkey.com/). Like any tool, AutoHotkey has a learning curve, but I have used it to solve little problems/inefficiencies on my Windows machines for many years.

I have the code you see below saved as a .ahk file in the Startup folder on my Windows machine (C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup). This enables my SC hotkeys to be loaded and ready at all times. The code is pretty brief,and you'll need to configure the hotkeys in SC to correspond to the keystrokes sent by AHK (I use F13 thru F16). See the SC documentation for more.

No warranties, promises, or guaranties provided or implied. Use at your own risk.

 
Code
/*
Original search led me to code found at https://www.autohotkey.com/boards/viewtopic.php?style=17&t=23665
This script is written for Autohotkey v2.0
Reminder of AHK syntax: Ctrl (^), Alt (!), Shift (+) and Win (#)
Keyboard is armed for Sierra Chart trading when a SierraChart_64.exe window is active, AND Scrolllock is on. You must still enable keyboard shortcuts in SC.
Key bindings are setup for a Dvorak keyboard layout, wherein ,oae corresponds to wasd on a standard QWERTY layout. This is because I'm a long-time PC gamer.
The "UP" in the key bindings is vital--it prevents multiple orders from being sent. This was a lesson learned the hard way...
updated 2025-01-02 by Deiter
*/

#SingleInstance Force
Critical "On"
InstallKeybdHook true, true


#HotIf WinActive("ahk_exe SierraChart_64.exe") and GetKeyState("ScrollLock", "T")
^z:: MsgBox("Sierra Chart is the active window!") ; Hitting CTRL-z should pop up a window saying SC is active
, UP:: Send "{CTRL down}{F13}{CTRL up}" ; send Buy Mkt
o UP:: Send "{CTRL down}{F14}{CTRL up}" ; send Sell Mkt
a UP:: Send "{CTRL down}{F15}{CTRL up}" ; send Flatten and Cancel
e UP:: Send "{CTRL down}{F16}{CTRL up}" ; send Move to Breakeven

Reply With Quote




Last Updated on February 2, 2025


© 2025 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Sitemap - Downloads - Top
no new posts