Login Page - Create Account

Support Board


Date/Time: Sat, 01 Feb 2025 01:57:43 +0000



Post From: sc.GetPointOfControlPriceVolumeForBar compile error

[2019-06-11 01:30:09]
User189399 - Posts: 43
Now it can be successfully complied. However, I want to get the POC price value. I try to get the POC price by

s_VolumeAtPriceV2 VolumeAtPrice;
float POCprice;
int BarIndex

sc.GetPointOfControlPriceVolumeForBar(BarIndex, VolumeAtPrice);

POCprice=VolumeAtPrice.PriceInTicks * sc.TickSize;

The =VolumeAtPrice.PriceInTicks value seems incorrect. Do this function return volume of POC only and I should not use it for POC price? If it is inapporiate, any suggestion to achieve my purpose?