How to access TCP panel data?

Custom indicators, trading strategies, data export and recording and more...
nickorzhan
Posts: 3
Joined: Tue Nov 19, 2024 10:14 am
Has thanked: 1 time

How to access TCP panel data?

Post by nickorzhan » Wed Jan 08, 2025 12:26 pm

Hi everyone,
 I'm developing a plugin for Bookmap (version 7.5.0), and I need to access specific data from the TCP panel. Specifically, I’m looking for:
  • The size field value
  • The brackets active/inactive settings
  • The TP and SL fields value
I’ve seen how DOM Pro handles some of these fields, but I can’t find any reference or documentation on how to retrieve this data using Bookmap’s API.
 Does anyone know if it’s possible to access these fields programmatically or if there are any relevant API methods? Any example code or pointers to documentation would be greatly appreciated!
 Thanks in advance!

Tags:

Andry API support
Posts: 630
Joined: Mon Jul 09, 2018 11:18 am
Has thanked: 27 times
Been thanked: 88 times

Re: How to access TCP panel data?

Post by Andry API support » Wed Jan 08, 2025 1:02 pm

Hello,
there are no good ways to access these values. The existing approach is to traverse the graphic components tree. It currently works but there is no guarantee it will work forever.
Please see this topic for examples, you may use the same approach with the TCP:
https://bookmap.com/forum/viewtopic.php?f=3&t=3562

Post Reply