Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 05:29:14 +0000



Post From: Seems that setting of s_NumericInformationGraphDrawTypeConfig.HideLabels is ignored

[2019-11-24 13:01:32]
User972768 - Posts: 166
Hi John,

Thanks for the explanation. Could you please expand a bit more on the logic of setting the HighestValue / LowestValue?

Let's say I want to use range colors to show how volume correlates between 5 minute bars through 24 hour period. Product is ES. It has relatively low values during overnight session and much higher volume between 9:30 and 16:15 Eastern time during cash session. The difference is huge when 1st bar of the day session could have 50% of total overnight session volume. Since I'm responsible for values in HighestValue/LowestValue, it is not clear how to do it in the above example:
- I assume that I have to calculate and populate these values during the "for (int i = sc.Index; i < sc.ArraySize; i++)" loop, keeping values between the loops as persistent variables. Question: what happens to the past bar colors, when I adjust the values with the 1st bar of the cash session? Let's say I want to maintain separate pair of Highest/Lowest values through the day and night session. Will the system just override overnight colors when day volume starts and basically render them as Range 0 colors? Or will the range colors of overnight bars stay in place?
- As per documentation HighestValue/LowestValue are set per subgraph, it seems an impossible task to maintain any logic beyond "coloring ALL the bars of the chart". There is no way to adjust colors through the ETH/RTH and the only option to see proper coloring adjusted to the session is to limit chart to present data in specific time interval of the single session. For example: Show 1 day (last/current session) and time frame 9:30 - 16:15. Then create another chart for overnight session time range.
- From documentation it is not clear about the range of values in the PercentCompareThresholds. Is it 0.0 - 1.0 or 0.0 - 100.0?
- It would be nice to have a method for this struct to set PercentCompareThresholds based on the string value coming from the study input, similar to SetNumericInformationDisplayOrderFromString.

Thank you very much and Best regards
Date Time Of Last Edit: 2019-11-24 13:06:49