Login Page - Create Account

Support Board


Date/Time: Tue, 21 Jan 2025 07:44:37 +0000



ACSIL - Can I Create a Custom Drawing Object to use in My Study?

View Count: 2024

[2018-07-29 17:10:19]
BlakJak - Posts: 108
Hi,

I have created a study on which I need to add a two color marker to reflect the relative sizes of the BID and ASK volume similar to the Jigsaw Auction Vista 'bubbles' (see attached).

I can use the standard tools and draw a circle with one fixed color but I would like to have 2 colors. Is this already possible? I have searched for quite a while but have not come across any suggestions or even similar requests.

If I could create the drawing in native Windows, would I be able to add that to my chart study somehow?

Thanks in advance for any advice you can give me.

Rgds,
David
imageBubbles.png / V - Attached On 2018-07-29 17:09:02 UTC - Size: 105.87 KB - 672 views
Attachment Deleted.
[2018-07-30 17:07:23]
Sierra Chart Engineering - Posts: 104368
You can certainly do 2 separate circles with different colors using two separate study Subgraphs and the appropriate Draw Style. Refer to:
Chart Studies: Transparent Circle Variable Size (ACSIL: DRAWSTYLE_TRANSPARENT_CIRCLE_VARIABLE_SIZE)
ACSIL Interface Members - sc.Subgraph Array

You cannot use two separate colors though for the same circle.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2018-07-30 17:09:10
[2018-07-30 17:16:20]
BlakJak - Posts: 108
Thanks for the reply.

Unfortunately two circles will not really display what I am trying to do. I would really like to replicate the circle or rectangle with two colors to show the relative Bid vs Ask volume at a particular price.

You did not answer the question I asked about using native Windows drawing features. I understood from the ACSIL into/setup that it was possible to include native Windows features. Is drawing one of them?

If not, would you consider providing the functionality of having shapes with two colors that can be represented by different variables?

Rgds,
David
[2018-07-30 17:18:55]
Sierra Chart Engineering - Posts: 104368
No we are not going to consider this.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2018-07-30 17:26:18]
Sierra Chart Engineering - Posts: 104368
To do your own custom graphics within a chart, refer to:
ACSIL Programming Concepts: Custom Free Form Drawing into Chart Window Using GDI (Graphics Device Interface)
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to 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