Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 09:35:23 +0000



Post From: Delta volume

[2023-09-10 22:48:50]
User260640 - Posts: 9
I think the original user was looking for a study often referred to as the Delta Indicator, just like the UpDownVolumeDifferenceBars, but for delta volume.

Grab the Original UpDownVolumeDifferenceBars study code and change the following:

  SCFloatArrayRef Array_DownVolume = sc.BaseDataIn[SC_DOWNVOL];
  SCFloatArrayRef Array_UpVolume = sc.BaseDataIn[SC_UPVOL];
  SCFloatArrayRef Array_UpDownVolumeDifferenceHigh = sc.BaseDataIn[SC_UPDOWN_VOL_DIFF_HIGH];
  SCFloatArrayRef Array_UpDownVolumeDifferenceLow = sc.BaseDataIn[SC_UPDOWN_VOL_DIFF_LOW];

to

  SCFloatArrayRef Array_DownVolume = sc.BaseDataIn[SC_BIDVOL];
  SCFloatArrayRef Array_UpVolume = sc.BaseDataIn[SC_ASKVOL];
  SCFloatArrayRef Array_UpDownVolumeDifferenceHigh = sc.BaseDataIn[SC_ASKBID_DIFF_HIGH];
  SCFloatArrayRef Array_UpDownVolumeDifferenceLow = sc.BaseDataIn[SC_ASKBID_DIFF_LOW];

Not sure this has been done, but it works.

Cheers
Cid