Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 20:09:41 +0000



Post From: ACSIL fonction for cumulative delta up/down tick ?

[2015-06-11 16:51:02]
wwwingman - Posts: 185
Thx @ejtrader .

sc.CumulativeDeltaTickVolume does not appear in the documentation.
And does not seem to compile.

HOWEVER ... there is an intermediate function named CumulativeDeltaTickVolume_S and a declaration of InternalCumulativeDeltaTickVolume

So.. I suppose something like this is missing in sierrachart.h ...

SCFloatArrayRef CumulativeDeltaTickVolume(SCBaseDataRef BaseDataIn, SCSubgraphRef Out, int Index, int ResetCumulativeCalculation)
{
  return InternalCumulativeDeltaTickVolume(BaseDataIn, Out.Arrays[0], Out.Arrays[1], Out.Arrays[2], Out, Index, ResetCumulativeCalculation);
}

SCFloatArrayRef CumulativeDeltaTickVolume(SCBaseDataRef BaseDataIn, SCSubgraphRef Out, int ResetCumulativeCalculation)
{
  return InternalCumulativeDeltaTickVolume(BaseDataIn, Out.Arrays[0], Out.Arrays[1], Out.Arrays[2], Out, Index, ResetCumulativeCalculation);
}

I will wait for "official" sierra reaction, but believe to be able to continue from here :)
Again, thx ejtrader.

-- W

Date Time Of Last Edit: 2015-06-11 16:55:55