Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 22:40:45 +0000



Post From: Cumulative Delta data error

[2018-04-19 18:00:51]
WarriorTrader - Posts: 245
Hello,

I have a study that has been in use for over five years now. It draws a line at today’s high and low cumulative delta values. SC current version seams to be adding around 200 contracts to the delta values, both highs and lows. It is not a consistent number. I have included some pictures including how the study looks in SC version 1209. Here is how the values are defined for a high value:


SCFloatArray DeltaHighArray;
sc.GetStudyArrayUsingID(DeltaStudy.GetStudyID(), 1, DeltaHighArray);

------------

DeltaHighValue = sc.GetHighest(DeltaHighArray, sc.Index, DyanmicLookback);

-------------------------

DeltaHighLine_Tool.BeginValue = DeltaHighValue;

The problem could be in the sc.GetHghest sc.GetLowest function or the DeltaHigh array.

Also, the Swing High Low study no longer works with the cumulative Delta candlesticks. I've included a picture of that too, although I don't really care if you fix it or not - no longer using it.


Hopefully this it the last problem I encounter. I finally have SC current version down to 20% CPU, faster than what it was in version 1209.


Thx,
--WT
Attachment Deleted.
imageDeltaError1.png / V - Attached On 2018-04-19 17:58:31 UTC - Size: 118.42 KB - 293 views
imageDeltaError2_1209.png / V - Attached On 2018-04-19 17:58:39 UTC - Size: 92.31 KB - 250 views
imageSwingHighLow Error.png / V - Attached On 2018-04-19 17:58:55 UTC - Size: 90.39 KB - 250 views