Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 08:35:41 +0000



[Programming Help] - draw volume profile programmatically

View Count: 1254

[2018-02-10 14:15:21]
User12089 - Posts: 350
how can I draw volume profile programmatically using ASCIL

the closest I found in the documentation is this, but it doesn't contain a ref to Draw Volume Profile?
Using Drawing Tools From an Advanced Custom Study: Introduction

the drawing is supposed to be done between two specific points on the chart (like the Draw Volume Profile command in the Tools menu) ie it is not about "periodic" volume profiles
Date Time Of Last Edit: 2018-02-10 14:16:53
[2018-02-11 20:33:19]
Sierra Chart Engineering - Posts: 104368
The only way to do this is to use this functionality here:
ACSIL Programming Concepts: Custom Free Form Drawing into Chart Window Using GDI (Graphics Device Interface)

If there are any ACSIL interface variable or function members you need that will help, such as determining coordinates, let us know.
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-02-12 10:51:29]
User12089 - Posts: 350
That would lead to some duplication of effort and code. I was hoping for ref to the SC function used by the Draw Volume Profile command in the Tools menu of SC. Presumably this functionality is already implemented in SC, no way to expose/share it via the ACSIL programming interface?

essent6ially it would be the same piece of code as for the menu command and with 2 key input params - the start and end price bar on the target chart (plus of course the standard cnfig params for any volume profile in general)
Date Time Of Last Edit: 2018-02-12 20:07:28

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

Login

Login Page - Create Account