Support Board
Date/Time: Sat, 23 Nov 2024 23:59:48 +0000
Post From: Using Keyboard Shortcuts in ACSIL
[2019-03-02 21:31:27] |
Yoda - Posts: 106 |
I've created a study where, thru menu events, I can do a number of things such as placing an entry and a stop loss on a chart. The study then calculates targets and again thru the menu, I can place an order at these levels. I also have the ability to clear these items. I would now like to add the ability to assign shortcut keys to these activities so that I don't have to right click and choose an activity from the menu. For example: CTRL SHIFT E - Places entry at price level where mouse is on the chart CTRL SHIFT S - Places stop at price level where mouse is on the chart CTRL SHIFT Z - Places OCO order based on set entry and stop and calculated targets. CTRL SHIFT X - Clears the entry, stop and targets Ideally, I would like to add the shortcut ability along side the MenuEventID lines...something like: if (sc.MenuEventID == r_SetEntry || sc.ExecuteKeboardShortcut == EntryKeySequence)
...Where EntryKeySequence in this example would be defined as "CTRL SHIFT E" Can someone please refer me to the documentation that discusses how this can be done. If this is not possible, I ask that SC please consider adding this feature. Thanks. |