Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 16:43:45 +0000



Chart Study/ Chart Object Draw / Python DTC

View Count: 295

[2024-02-15 18:51:07]
DHTrading - Posts: 10
Gentlemen,

Everything is fantastic!

I am looking for a study that can plot price lines or configure the platform in such a way as to create price levels.
I'd prefer something that could do modulus like every 25,50,74 etc. For example 17000, 17025, 17050 etc. Is there such thing?

Second, I'm looking for a way to programmatically draw box/rectangle/ other objects on the screen to create a custom study.
I've seen the ACSIL documentation but it's quite immense. Is there a tutorial of sorts for getting started with ACSIL drawing chart objects?

Last, is there way to access prices from the DTC localhost using Python or are we dealing strictly with TCP sockets?

Thank you
[2024-02-15 19:45:31]
John - SC Support - Posts: 36249
I am looking for a study that can plot price lines or configure the platform in such a way as to create price levels.
I'd prefer something that could do modulus like every 25,50,74 etc. For example 17000, 17025, 17050 etc. Is there such thing?

Since you are wanting specific increments, consider the Horizontal Grid. Refer to the following:
Chart Menu: Horizontal Grid (Chart menu)

Another option is the "Horizontal Lines" study. Refer to the following:
Horizontal Lines

And you can always create a custom study to do what you want (more on this below).

Second, I'm looking for a way to programmatically draw box/rectangle/ other objects on the screen to create a custom study.
I've seen the ACSIL documentation but it's quite immense. Is there a tutorial of sorts for getting started with ACSIL drawing chart objects?

Refer to the following section specific to ACSIL with the Drawing Tools:
Using Drawing Tools From an Advanced Custom Study

And there are example files for ACSIL in the "ACS_Source" folder under your main Sierra Chart installation. Refer to the following:
How to Build an Advanced Custom Study from Source Code: Searching for Source Code for Sierra Chart Built-In Studies

Also try searching YouTube and see if there are any videos that others have put up. This is not something we would have.

Last, is there way to access prices from the DTC localhost using Python or are we dealing strictly with TCP sockets?

Due to exchange restrictions, you can not access the data through DTC. You would need to use ACSIL for this information.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account