Login Page - Create Account

Support Board


Date/Time: Mon, 17 Jun 2024 03:06:57 +0000



[User Discussion] - Vertical Line Every Candle / Not Vertical Grid

View Count: 596

[2022-05-09 12:03:22]
User871209 - Posts: 81
Hello,

Can I please get help with how to set a vertical line on a Number of Trades Bar chart so a vertical line is draw on every candle?

Using Chart Menu: Vertical Grid won't work as I am needing to overlay this vertical line down to a lower Number of Trades Bar chart.


Thanks,
image1025.jpg / V - Attached On 2022-05-09 12:01:02 UTC - Size: 9.34 KB - 127 views
Attachment Deleted.
[2022-05-09 12:50:08]
Sierra Chart Engineering - Posts: 104368
You need to go to Chart>> Chart Settings >> Grid >> Vertical Grid and set the Interval Type to Bar and the Interval Value to 1. And set Show Vertical Grid to Yes. These instructions apply to the latest version.
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
[2022-05-09 13:21:47]
User871209 - Posts: 81
Thank you for your answer.

My only worry with placing the lines this way is I don't know how to use Study/Price Overlay to bring the vertical lines down to my lower Tick chart.

If I use Study/Price Overlay which parameter is the Input Value to be able to overlay these lines into another chart?

Once Again Thank You,
[2022-05-09 15:09:08]
Sawtooth - Posts: 4024
If I use Study/Price Overlay which parameter is the Input Value to be able to overlay these lines into another chart?
Try this:

Use the Color Bar Based On Alert Condition study on the higher tick chart, with a formula like this:
=C
Set the DrawStyle to Background, set the Width to 2, and hide the study.

On the lower tick chart, use the Study/Price Overlay study, and reference the color bar study.
[2022-05-09 16:28:23]
User871209 - Posts: 81
Tom,

THANK YOU very much for your help.

I place the Color Bar Based On Alert Condition as you mentioned and it works and I am able to overlay it down to my lower chart.

One question when I put the crosshairs on the higher tick chart and look to the lower I notice that it places the vertical line not correctly,
I tried changing the value to:
O = Bar Open
H = Bar High
L = Bar Low
And also settings but was unable to render a correct synchronization of the vertical line.

Is there anything I can do to remedy this?
imagesdws.JPG / V - Attached On 2022-05-09 16:27:43 UTC - Size: 108.2 KB - 150 views
[2022-05-09 19:38:42]
Sawtooth - Posts: 4024
In the Study/Price Overlay study settings:
- Set the Data Copy Mode to Earliest...
- Set the Bar Time Matching Method to Containing
[2022-05-09 20:13:23]
User871209 - Posts: 81
Tom,

I set it as suggested but it seems to not render it correctly as it now shows only lines all across the chart.

I adjusted all settings but was unable to get it to work.

If in case it helps determine what I have not set right here is a copy of CHT and picture.

Sorry to ask again.
attachmentChartbook8.Cht - Attached On 2022-05-09 20:12:58 UTC - Size: 6.72 KB - 123 views
imageTom CHT 8.JPG / V - Attached On 2022-05-09 20:13:13 UTC - Size: 863.12 KB - 115 views
[2022-05-10 01:49:58]
Sawtooth - Posts: 4024
Study/Price Overlay study on Chart #2 settings:

1. 'Study to Overlay' must be the color bar study on Chart #1.
2. 'Fill Blanks With Last Value' needs to be No.
3. 'Data Copy Mode' needs to be Earliest...
4. 'Bar Time Matching Method' needs to be Containing.

Other required settings so that the crosshairs properly align between charts:
1. Both charts need to set Chart >> Chart Settings >> Session Times >> New Bar At Session Start to Yes.
2. The higher Number of Trades Per Bar value needs to be equally divisible by the lower Number of Trades Per Bar value,
e.g. 10000 / 500 or 10240 / 512
[2022-05-10 06:04:56]
User871209 - Posts: 81
Tom,

A thousand percent, working like a charm.

Thank you so much for this help.

Kudos,

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

Login

Login Page - Create Account