Login Page - Create Account

Support Board


Date/Time: Fri, 29 Nov 2024 16:29:15 +0000



HighLow for time period - Going through the weekend

View Count: 482

[2023-01-15 22:10:34]
User710679 - Posts: 43
Hi, i want to highlight the high and low of a specific range every day of the week. In order to do that, i am using the indicator: "High/Low for time period".

In this case, i am using start time: 19:30 and end time 20:29:59, and line stop time: 01:59:59.

However, when it goes through the weekend, the result is not as expected, because it somehow takes the previous friday and it extends the line through the weekend, even i am selecting "NO" for "Friday evening extends into Sunday". This last feature seems it is not working.

Has anyone gone through this issue before? Any idea how to fix it? I am attaching a screenshot and a chartbook.

thanks a lot!
imageExample Sierra chart.png / V - Attached On 2023-01-15 22:09:11 UTC - Size: 65.99 KB - 96 views
attachmentTest.Cht - Attached On 2023-01-15 22:10:17 UTC - Size: 4.64 KB - 243 views
[2023-01-16 16:59:03]
John - SC Support - Posts: 36350
The reason for this is because it is extending the bar until it finds the 1:59:59 stop time. Since there are no trades between Friday after 17:00 in your chart until Sunday evening, the line is extending to that time.

A couple of options for ways to deal with this would be to either use the Spreadsheet Study and create an IF statement that checks if it is a Friday and then stops the line at whatever time you would want. Or you can modify the source code and add a special case for Friday evenings.

Refer to the following for the Spreadsheet study:
Using the Spreadsheet Study

And refer to the following regarding modifying studies:
How to Build an Advanced Custom Study from Source Code
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-01-16 22:02:32]
User710679 - Posts: 43
Thanks for the response. i am trying to modify the source code, but i gett this error when i remote build it:


<html>

<head><title>502 Bad Gateway</title></head>

<body>

<center><h1>502 Bad Gateway</h1></center>

<hr><center>nginx/1.23.1</center>

</body>

</html>

Any idea what is happening?

THanks
imageERROR.png / V - Attached On 2023-01-16 22:02:26 UTC - Size: 16.5 KB - 77 views
[2023-01-16 22:39:30]
John - SC Support - Posts: 36350
I just tried as well and am getting an error (although not the same one you are). So it appears there is something not quite right with the remote build at the moment. We are looking into it.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-01-24 05:50:10]
User682080 - Posts: 5
Just wanted to check in to see if there happen to be any new updates regarding the investigation into this request.
[2023-01-24 15:56:53]
John - SC Support - Posts: 36350
Sorry, that issue was resolved that evening. You should be able to do a remote build now.
For the most reliable, advanced, and zero cost futures order routing, use 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