Login Page - Create Account

Support Board


Date/Time: Tue, 14 May 2024 23:37:03 +0000



Incorrect chart opened using study (IBPT_PRICE_CHANGES_PER_BAR opens IBPT_DAYS_MINS_SECS)

View Count: 712

[2015-09-21 12:55:43]
wat - Posts: 67
Following code (tested on CL-201510-NYMEX) opens intraday chart with 1 second bar length instead of 1 PriceChanges chart.

    s_ACSOpenChartParameters chartParameters;
    chartParameters.ChartDataType = INTRADAY_DATA;
    chartParameters.Symbol = sc.GetRealTimeSymbol();
    chartParameters.IntradayBarPeriodType = IBPT_PRICE_CHANGES_PER_BAR;
    chartParameters.IntradayBarPeriodLength = 1;
    chartParameters.DaysToLoad = 3;

    int chartNumber = sc.OpenChartOrGetChartReference(chartParameters);

Can you help me with this bug? I am not sure where the problem might be.

Thanks.
[2015-09-22 04:39:22]
Sierra Chart Engineering - Posts: 104368
This will be solved in the next release. This function did not previously support Price Change Bars.
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

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

Login

Login Page - Create Account