Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 06:00:17 +0000



Post From: Compiler Error with s_BarPeriod::IntradayChartBarPeriodType

[2019-06-30 21:00:00]
bradh - Posts: 859
This causes a compiler error (undeclared identifier):
if (BarPeriodData.IntradayChartBarPeriodType == IBPT_FLEX_RENKO_INV)

This compiles correctly:
if (BarPeriodData.IntradayChartBarPeriodType == IBPT_FLEX_RENKO_IN_TICKS_INVERSE_SETTINGS)

I found this in scconstants.h

Just wanted to let you know the most excellent documentation (sc.GetBarPeriodParameters()) specifies the former.

Thanks in advance.