Support Board
Date/Time: Mon, 25 Nov 2024 03:44:54 +0000
Problem displaying highest high/lowest low over time period
View Count: 214
[2024-04-01 18:21:24] |
User293951 - Posts: 15 |
Hello! I am using the study "Highest High/Lowest Low Over N Bars" in order to have automatic visual representation of these important price levels. I am trading NQ contracts. My problem is the following: I am using two charts, one chart is time-based with 15 seconds candles and the other is time-based 2 seconds. During the RTH, the highest high and lowest low are correctly represented in both charts because there is not a single 2 or 3 seconds time period without any transaction. For the 5-min period in the 15sec chart I am using (60/15)x5=20 bars, for the 10-min period I am using (60/15)x10=40 bars. The same principle applies to the other chart with 2 seconds candles. The problem arises during the ETH where the trading volume is far less and there exist multiple time periods of 2 to 10 seconds without any transaction at all. This has the implication of totally different lines and values represented in these two charts (2-sec and 15-sec). I have tried everything possible, I have visited the support forum but have found absolutely nothing related to my issue. The only solution to this problem would be to have the lines and values calculated not based on candles/bars but based on time periods. For example, "Highest High/Lowest Low Over M Minutes" and not "...Over N Bars". Would it be possible to have any help on this? Would it be possible to add a new study based on time and not on bars? This feature would be of utmost interest for all of us that do not use candles based only on time-based charts but also volume-based charts, tick-based charts, range-based charts etc. Would it be possible to modify the source code? Your reply will be of utmost importance for me. Thank you in advance. |
[2024-04-01 18:28:57] |
John - SC Support - Posts: 36238 |
One solution is to set the option for "Chart >> Chart Settings >> Bar Period >> Include Columns with No Data" to "Yes". Refer to the following Chart Settings: Include Columns With No Data (Chart >> Chart Settings >> Bar Period >> Chart Bar Settings menu) Otherwise, you can always modify the code for the study. That particular study is located in the Studies7.cpp file in the ACS_Source folder under your main Sierra Chart installation folder. Refer to the following: How to Build an Advanced Custom Study from Source Code List of Third Party Sierra Chart Study and System Programmers 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: