Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 15:37:26 +0000



Percent Change from last open not working with Eurex

View Count: 363

[2023-04-13 06:34:24]
User758499 - Posts: 10
I have a chart that uses the add symbol study in combination with the percent change from last open study to plot products for comparison however it seems at random all Eurex products will display 0% some days when on other charts in the same instance it displays just fine. Appreciate any help thank you
imageScreenshot 2023-04-13 073208.png / V - Attached On 2023-04-13 06:33:43 UTC - Size: 56.92 KB - 112 views
imageScreenshot 2023-04-13 073251.png / V - Attached On 2023-04-13 06:33:58 UTC - Size: 194.58 KB - 77 views
Attachment Deleted.
[2023-04-13 15:21:48]
John - SC Support - Posts: 36350
Please get us the chartbook so we can take a look at how this is setup and see what is occurring. Follow these instructions to get us the chartbook:
https://www.sierrachart.com/index.php?page=PostingInformation.php#AttachFile
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-04-14 06:39:11]
User758499 - Posts: 10
I have followed the instructions and attached the file in question
Date Time Of Last Edit: 2023-04-14 09:07:45
Private File
imageScreenshot 2023-04-14 073733.png / V - Attached On 2023-04-14 06:37:52 UTC - Size: 16.16 KB - 83 views
Attachment Deleted.
[2023-04-14 15:55:18]
John - SC Support - Posts: 36350
Which chart, in particular, shows the issue and what is the study on the chart that is giving the issue?
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-04-24 14:40:41]
User758499 - Posts: 10
Hi the HG 1 Min chart that has all of the percent change from last open studies is the one with the issue, Occasionally the the EUREX products will only show 0.00%. Thank you
[2023-04-24 17:07:36]
John - SC Support - Posts: 36350
We see an example of what you are seeing with ZN in the chart. The issue is that the study is looking at the first bar as defined by the Session Times, but if that bar does not exist (no trading at that time) then the Open is 0, which then causes the calculation for Percent Change Since Open, to be zero all the way across.

There is not a solution from our standpoint, as we do not know how people would prefer to deal with this (move on to the next bar, or leave it as it is).

The code for this is available in Studies8.cpp (these files are in the ACS_Source folder under your main Sierra Chart folder). If you can do some coding, then we recommend updating this to do what you want when the data is not present at that bar. Refer to the following for how to build a study:
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

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

Login

Login Page - Create Account