calling trading commands

Custom indicators, trading strategies, data export and recording and more...
mdtrader
Posts: 39
Joined: Sat Oct 27, 2018 4:05 pm
Location: germany
Has thanked: 12 times
Been thanked: 41 times

calling trading commands

Post by mdtrader » Mon May 06, 2019 10:14 am

Is there a way to call this bookmap functions within a key listener within a own study?
https://www.dropbox.com/s/8hxqhbx8rey2m ... _12-08.png
Or is there a other (easy) way to call trading order commands only from keyboard, say press key "b" for a market buy and so on?

Thanks

Andry API support
Posts: 548
Joined: Mon Jul 09, 2018 11:18 am
Has thanked: 25 times
Been thanked: 85 times

Re: calling trading commands

Post by Andry API support » Tue May 07, 2019 8:44 am

Theoretically you can register your own global key listener and then fake a click on a button when the key is pressed. Keep in mind that it's a hackish solution and not a simple one, so it can break with the release of newer bookmap versions. We are planning to add more hotkeys eventually, but we don't have any specific plans yet.

Post Reply