Support Board
Date/Time: Sun, 24 Nov 2024 07:40:38 +0000
Compile Error with IBPT_FLEX_RENKO_INV
View Count: 209
[2024-06-15 16:16:04] |
ertrader - Posts: 672 |
Hi Support... the following code returns an error despite being accurate to the documentation. It appears that the variable IBPT_FLEX_RENKO_INV (Inverse Renko) has not been set up within SierraChart. When changed to IBPT_FLEX_RENKO_IN_TICKS, it compiles correctly. Code: n_ACSIL::s_BarPeriod NewBarPeriod;
NewBarPeriod.ChartDataType = INTRADAY_DATA; NewBarPeriod.IntradayChartBarPeriodType = IBPT_FLEX_RENKO_INV ; NewBarPeriod.IntradayChartBarPeriodParameter1 = 1; NewBarPeriod.IntradayChartBarPeriodParameter2 = 1; NewBarPeriod.IntradayChartBarPeriodParameter3 = 11; NewBarPeriod.IntradayChartBarPeriodParameter4 = 6; sc.SetBarPeriodParameters(NewBarPeriod); Error: error: 'IBPT_FLEX_RENKO_INV' was not declared in this scope; did you mean 'IBPT_FLEX_RENKO_IN_TICKS'? Documentation: sc.SetBarPeriodParameters() Can you please take a look? Date Time Of Last Edit: 2024-06-15 18:39:16
|
[2024-06-15 18:38:01] |
ertrader - Posts: 672 |
In doing a search in scstructures.h, it appears the correct value is: IBPT_FLEX_RENKO_IN_TICKS_INVERSE_SETTINGS The documentation just needs to be updated to be accurate. |
[2024-06-16 03:29:42] |
Sierra_Chart Engineering - Posts: 17154 |
This has been corrected in the documentation.
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, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-06-16 03:49:52] |
ertrader - Posts: 672 |
I'm not seeing the update... it still says IBPT_FLEX_RENKO_INV = 15 when it should say IBPT_FLEX_RENKO_IN_TICKS_INVERSE_SETTINGS I have refreshed a few times. Date Time Of Last Edit: 2024-06-16 03:52:48
|
[2024-06-16 04:39:49] |
Sierra_Chart Engineering - Posts: 17154 |
It was actually not yet released. But we now released the page.
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, 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: