Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 12:14:22 +0000



custom numbers bars chart

View Count: 4338

[2014-02-05 23:55:26]
onnb - Posts: 662
is is possible to create a custom numbers bars chart?
[2014-02-06 00:19:16]
Sierra Chart Engineering - Posts: 104368
The short answer is, not really. ACSIL does not have access to setting the Volume at Price data per bar.
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
[2014-02-06 00:32:08]
Profile Trader - Posts: 174
What if your customization is not to count volume? If you are just looking for counting upticks and down ticks to print a new candle. like 6 up and then 4 down paint a new bar. can you customize something like that without counting volume?
[2014-02-06 01:11:14]
Sierra Chart Engineering - Posts: 104368
Yes, this can be done by using creating a custom chart through ACSIL:
http://www.sierrachart.com/index.php?l=doc/doc_ACSIL_Members_Variables_And_Arrays.html#scIsCustomChart

You probably will want to set the underlying bars to Number of Trades = 1.
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: 2014-02-10 05:44:55
[2014-02-06 01:35:49]
onnb - Posts: 662
I'm a bit of confused with this. Say I wanted to create reversal bars like dougrkyle describes and I want to see them as Numbers Bars.

From the last response I understand that this is possible - right?

In case yes, is the approach to
1. create a custom bar chart study with the reversal logic
2. open a 1 tick chart and apply the reversal study
3. apply the numbers bar study on to it

or....
create a custom chart of type , GDT_NUMBERS_BARS. Its not in the list for GraphDrawType but it is in the list for BaseGraphGraphDrawType so I am not sure about this. apply this study to a 1 tick chart

or....
something else?

Bottom line, can you provide some guidance on the approach


[2014-02-07 23:10:21]
Profile Trader - Posts: 174
Support,

I was wondering if you had any additional suggestions on how to build this type of custom charting?

Thanks
[2014-02-07 23:40:03]
Sierra Chart Engineering - Posts: 104368
The answer given in post #4 was based on an understanding of not using Numbers Bars as the final output.

It is not possible for a custom study to create custom Numbers Bars.
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
[2014-02-08 00:04:21]
onnb - Posts: 662
so one last clarification needed.

say I create a regular custom chart that outputs regular bars(e.g., OHLC).
could i do the following

1. open a 1 tick chart
2. apply the custom chart study i created
3. apply the SC built in numbers bar study

would that work?
[2014-02-08 01:14:46]
Sierra Chart Engineering - Posts: 104368
No. The Numbers Bars study will be based upon the underlying Volume at Price data from the original 1 Tick chart. And the whole thing would work inefficiently.
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
[2014-02-10 05:43:34]
Sierra Chart Engineering - Posts: 104368

1. open a 1 tick chart
2. apply the custom chart study i created
3. apply the SC built in numbers bar study

would that work?
Contemplating this some more, we think we misunderstood what you wanted to do. We thought the objective was to create custom data in a Numbers Bar type of format.

It is certainly possible to create a custom chart where the timeframe or period per bar is according to your own rules and display the standard data within the Numbers Bars when using the Numbers Bars study. Therefore, the answer is that this would work if this is the objective.

And in the next release, we have added millisecond support to the mapping of the Volume at Price data from the underlying chart bars to the final custom chart bars you create.

If you do create a custom chart using Number of Trades = 1 per bar as the underlying chart bars, we recommend loading a small number of days into the chart. Preferably no more than 1 day. You might also want to look at using something like a 1 Tick Range bar chart as the underlying bars for greater efficiency.
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: 2014-02-10 05:44:14
[2014-02-10 18:33:11]
onnb - Posts: 662
#10 is indeed the objective - not looking to manipulate the vap array on my own.

we have added millisecond support to the mapping of the Volume at Price data from the underlying chart bars to the final custom chart bars you create.

About the ms, I understand that the mapping will be used in the Numbers Bars study or somewhere internal related to the vap container?
Bottom line, I understand that this will be seamless for me and I have nothing to do regarding this - right?

[2014-02-10 20:03:36]
WarriorTrader - Posts: 245
is is possible to create a custom numbers bars chart?


Absolutely. You have FULL access to the volume at price data using the VolumeAtPriceV2 data type. I hope this is still documented. I no longer use the number bar study because my custom chart much better.

const s_VolumeAtPriceV2 *p_VolumeAtPrice;

Do a search for "pullback column" in the old message board for an example of my work. The custom chart is not public but I did post a "pullback column" before SC had a built in "pullback column".

Good luck,
WT
[2014-02-10 20:39:20]
WarriorTrader - Posts: 245
Here is the documentation. So there is a new way to map the data. I was using the Text Tool study. Will have to check it out.


http://www.sierrachart.com/index.php?l=doc/doc_ACSIL_Members_Variables_And_Arrays.html#scVolumeAtPriceForBars
[2014-02-10 22:05:19]
ejtrader - Posts: 688
Here is the link for example code for pullback - if interested:

https://www.sierrachart.com/supportboard/showpost.php?p=232855&postcount=57
Date Time Of Last Edit: 2014-02-10 22:07:04
[2014-02-10 23:33:04]
Sierra Chart Engineering - Posts: 104368

About the ms, I understand that the mapping will be used in the Numbers Bars study or somewhere internal related to the vap container?
Bottom line, I understand that this will be seamless for me and I have nothing to do regarding this - right?
Yes. Yes.
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
[2014-02-11 11:46:04]
User35866 - Posts: 1
onnb, did you manage to get this probe/rotation custom timeframe somehow, I personally have some problems with the same problem so wondering if you could give me soe hints on how to make it.
Thanks!

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

Login

Login Page - Create Account