Login Page - Create Account

Support Board


Date/Time: Wed, 12 Mar 2025 11:42:23 +0000



[Programming Help] - Force Index Average Broken for Nasdaq index and futures

View Count: 546

[2022-05-14 23:21:57]
mm3599 - Posts: 13
Hello -

The data values being generated for the Force Index Average is broken for Nasdaq 100 index/futures on daily bars and higher.

I'm attaching a screenshot.

Can this be fixed or is there an array type that can hold the large number values being generated for the Nasdaq 100 index values * volume?

Thanks,
Mark Meninger

https://www.sierrachart.com/image.php?Image=1652570425159.png
[2022-05-16 02:28:37]
mm3599 - Posts: 13
I found the problem but do not understand why this is happening:


Array_ForceIndex[i] = sc.Volume[i] * (sc.Close[i] - sc.Close[i-1]);

sc.Volume is ZERO for Daily bars of $IUXX

Anyone know why?

Thanks,
Mark

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account