Login Page - Create Account

Support Board


Date/Time: Wed, 24 Apr 2024 04:28:07 +0000



Post From: v1652 broke custom chart

[2017-11-27 12:24:59]
DabbaDo - Posts: 146
At line 184 in the attached study, per the snip below, rChartDataReloadedFlag ALWAYS comes back 1.


int& rChartDataReloadedFlag = sc.GetPersistentInt(CUSTOM_CHART_BAR_RELOAD_FLAG_KEY);
if (rChartDataReloadedFlag == 0)
{
sc.FlagToReloadChartData = true;
rChartDataReloadedFlag = 1;
}

But at line 26, the same pattern ALWAYS comes back 0.


int& rChartDataReloadedFlag = chartBarInterface.GetPersistentInt(CUSTOM_CHART_BAR_RELOAD_FLAG_KEY);
if (rChartDataReloadedFlag == 0)
{
// Not ready to start yet
return;
}
Cheers,
Dale
attachmentBruUniVolumeTick.cpp - Attached On 2017-11-27 12:20:02 UTC - Size: 10.2 KB - 307 views