Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 20:40:23 +0000



[ACSIL]Tool Drawing Question

View Count: 2539

[2016-11-11 16:10:22]
User96015 - Posts: 55
Dear sir,
I' m building a custom Numbers Bars indicator,
currently I' m plotting various levels of price with Tool Structure(Rectangle Type),
but I have a problem.
For exemple I need to plot a Rectangle with the following properties:
Start Time = the beginning of the bar
End Time = half space between current bar and the next bar
I tried, but maybe Start/End time is dipendent to Bar' s Y Scale so
it' s not possible.
I tried in this way:

double time_1 = sc.BaseDateTimeIn[sc.Index - 1].GetTime();
double time_2 = sc.BaseDateTimeIn[sc.Index].GetTime();
double med_tim = (time_1 + time_2) / 2;
Tool.BeginDateTime = COMBINE_DATE_TIME(sc.BaseDateTimeIn[sc.Index].GetDate(), med_tim);
Tool.EndDateTime = sc.BaseDateTimeIn[sc.Index];
I tested operations with debug and they are correct.
What am I doing wrong?
Thx in advance.
Bye.
[2016-11-11 16:56:08]
Sierra Chart Engineering - Posts: 104368
This is definitely not supported:

End Time = half space between current bar and the next bar

You have to look at using one of the available Subgraph Draw Styles instead:
ACSIL Interface Members - sc.Subgraph Array: sc.Subgraph[].DrawStyle
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
[2016-11-11 20:49:40]
User96015 - Posts: 55
Sorry sir,
but I saw your numbers bars indicator and I think that you plot boxes trough Tool Structure,
also because there aren' t other possibility. But in your indicator there two different boxes between
two bars and you do what I need. How can I do the same thing?
I have already read drawstyle, but there would be the same problem.
Bye
[2016-11-11 21:50:46]
Sierra Chart Engineering - Posts: 104368
The Numbers Bars study does not use Drawing Tools at all and ACSIL does not provide the capability to do the same things.

Can you provide a screenshot which highlights what you are looking for specifically in a Numbers Bars chart.
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
[2016-11-12 18:00:42]
User96015 - Posts: 55
Dear sir,
please look at the attachment.
Thx.
imageSierra.png / V - Attached On 2016-11-12 18:00:35 UTC - Size: 67.81 KB - 299 views
[2016-11-12 20:33:27]
Sierra Chart Engineering - Posts: 104368
So you want to be able to do 2 Box Top and Box Bottom drawings at the same chart bar and offset them from the center of the bar? So we would need a left aligned and a right aligned version of these.
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
[2016-11-13 13:24:35]
User96015 - Posts: 55
Yes sir,
Please remember I'm using Tool strucutre and I m not using subgraphs.
Bye
[2016-11-13 17:22:40]
binaryduke - Posts: 360
Re Post 6: this would be a really useful addition.
[2016-11-13 18:16:50]
binaryduke - Posts: 360
In addition or as an alternative, the ability when using a tool structure to have an EndIndex that is a fraction would be very useful e.g. Tool.EndIndex = sc.Index +(or -) 0.5
[2016-11-13 19:30:39]
Sierra Chart Engineering - Posts: 104368
There is zero percent chance of post #9.

The best we can do is add new Draw Styles for left and right offset Box Top and Box Bottom. Let us know if that would work. Otherwise, there are no plans to add anything else.
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
[2016-11-13 19:51:11]
User96015 - Posts: 55
I would need what I wrote in post #9.
But if adding offset in draw style is the best you can do, I will be very happy.
Thx. Let me know when relase will exit.
[2016-11-13 19:58:46]
binaryduke - Posts: 360
Could this offset also be supported for Fill Top and Fill Bottom draw styles please?
[2016-11-13 22:39:48]
Sierra Chart Engineering - Posts: 104368
We can only add new Draw Styles.

We cannot do post #12.
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
[2016-11-14 13:43:56]
User96015 - Posts: 55
Dear sir,
you wrote that there is zero percent chance of post #9.
But you have also to understand our needs, in fact it' s very difficult
to analyze volume without the possibility to have two boxes, one for Buyers
and the other one for Sellers.
I also need to build a custom volume profile based in one bar length, and
it' s impossible to do because I should have the possibility of set End Index
of Tool structure as fraction.
There is very strange that there is zero percent of chance, also because
you already do what I wrote above with your indicators.
I also think that it could be usefull for a lot of people, and it would be
a good improvement for Sierra Chart.
Thank you.
Bye
Date Time Of Last Edit: 2016-11-14 13:44:24
[2016-11-14 20:57:49]
binaryduke - Posts: 360
Re post 12 could new offset left and offset right fill top and fill bottom be added?
[2016-11-15 01:39:56]
Sierra Chart Engineering - Posts: 104368
No. We are not sure how that would even work. Those are very complex Draw Styles.
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