Login Page - Create Account

Support Board


Date/Time: Tue, 22 Apr 2025 05:26:00 +0000



[Programming Help] - UDP Interface - Get Image from Chart

View Count: 449

[2023-02-16 20:38:38]
User230940 - Posts: 121
Hello,

I would like to add a screenshot feature to my external documentation application.

I would like to use your great UDP Interface.

The more I see and understand about Sierrachart, the more I love it.

On the description "https://www.sierrachart.com/index.php?page=doc/UDPAPI.html" is see that the IMAGE should me made on the "Symbol.Extension" file!?

This I don`t understand. If I go for the File (F.US.EPH23.scid), how SC will know which TimeFrame of the Chart should be used?
I have several Charts for the same Symbol open, which all use the same scid File.


If I create a Screenshot by the menu, I get a File Named: "F.US.EPH23 [CBV][M] 1 Min #2 2023-02-16 16_36_32.950.png".

This means I did a Screenshot of the 1 Min Chart of F.US.EPH23 and it is the #2 chart defined.

I would like to be able to request a screenshot of the Symbol and a dedicated Chart Number #2.

How should the Request look like?

Default Example: IMAGE_REQUEST--ES#.dly--640--480--20--C:/temp/image.png

IMAGE_REQUEST--F.US.EPH23 [CBV][M] 1 Min #2.scid--640--480--20--C:/temp/image.png
or
IMAGE_REQUEST--F.US.EPH23#2.scid--640--480--20--C:/temp/image.png

WOuld this be correct, or did I missed I something?

thanks
regards
[2023-02-17 10:06:26]
User230940 - Posts: 121
Hello,

I try but without real success.

All my test with the Chart Number does not work. SierraChart tries to start always a new Chart with a Symbol not found.
A screenshot will be made from this new Chart.

If I send the "IMAGE_REQUEST--F.US.EPH23.scid--640--480--20--C:/temp/image.png" than SC starts a new Chart with the correct Symbol. If a Chartbook is active/visible which is using the F.US.EPH23 already than the resolution of one of this Chart will be set to 640x480.

Maybe it is not possible what i am looking for:

I do work with different Chartbooks, one for each Symbol.

In each Chartbook I have 5 Charts (Daily, 15Min, 1Min and so on) open.

I would like to get a screenshot from one of these Charts within the Chartbook by sending the UDP Image Request.

To go more details:

In case I open a Trade or get a fill, a system behind sends a UPD Requests to my SierraChart system.
take a screenshot from Chart#1 of F.US.EPH23 20 Candle 640x480 Filename1
take a screenshot from Chart#2 of F.US.EPH23 20 Candle 640x480 Filename2
take a screenshot from Chart#3 of F.US.EPH23 20 Candle 640x480 Filename3

And without changing the resolution of the Chart(s).

Is this possible?

In the past I used settings with Multi Instances of SC, but on a Client Instances the Market Depth, which is use, is not available. Additional the Shortkey Navigation like in Chartbooks, which I use, is not available.

Thanks for you answer
best regards
[2023-02-25 19:08:58]
User230940 - Posts: 121
Hello,

this is not possible, right?

thanks for your short answer.

regards
carsten

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account