Hotkey with layer1 indicators

Custom indicators, trading strategies, data export and recording and more...
zcsoka
Posts: 292
Joined: Thu Dec 19, 2019 7:50 pm
Has thanked: 2 times
Been thanked: 28 times

Hotkey with layer1 indicators

Post by zcsoka » Thu Aug 03, 2023 9:13 pm

Greetings,

I would like to implement hotkeys with layer1 indicators, but in the key listener I cannot identify the currently selected instrument. Where can I get this information from? How can I identify the active alias with layer1?

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

Re: Hotkey with layer1 indicators

Post by Andry API support » Fri Aug 04, 2023 12:20 pm

Hi, please take a look at this example (searching for an active symbol while a key is pressed):
https://bookmap.com/forum/viewtopic.php ... mbol#p1276

zcsoka
Posts: 292
Joined: Thu Dec 19, 2019 7:50 pm
Has thanked: 2 times
Been thanked: 28 times

Re: Hotkey with layer1 indicators

Post by zcsoka » Fri Aug 04, 2023 1:21 pm

Many thanks, I will give it a try. 

Post Reply