C++ API Bug
-
- Posts: 72
- Joined: Wed Apr 23, 2008 12:24 pm
C++ API Bug
- Volume()
- Attachments
-
- Capture_024.gif (42.23 KiB) Viewed 15048 times
-
- Capture_023.gif (14.86 KiB) Viewed 15048 times
-
- Posts: 72
- Joined: Wed Apr 23, 2008 12:24 pm
-
- Posts: 7
- Joined: Sun Jul 18, 2010 2:03 am
GetMA ma_WMA bug?
TechnicalFunctions.h 2010/3/27
double GetMA(
case ma_WMA:
bug
for (i=index; i < index+period; i++)
good
for (i=0; i < period; i++)
double GetMA(
case ma_WMA:
bug
for (i=index; i < index+period; i++)
good
for (i=0; i < period; i++)
- Terranin
- Site Admin
- Posts: 833
- Joined: Sat Oct 21, 2006 4:39 pm
Re: GetMA ma_WMA bug?
adekat wrote:TechnicalFunctions.h 2010/3/27
double GetMA(
case ma_WMA:
bug
for (i=index; i < index+period; i++)
good
for (i=0; i < period; i++)
Thanks, fixed.
Hasta la vista
Mike
Mike
-
- Posts: 7
- Joined: Sun Jul 18, 2010 2:03 am
GetMA ma_EMA bug?
TechnicalFunctions.h 2010/3/27
double GetMA(
case ma_EMA:
ng (k=0,1,2)
k = 2/(period + 1);
good
k = (double)2/(period + 1);
compile with Microsoft Visual c++ express
double GetMA(
case ma_EMA:
ng (k=0,1,2)
k = 2/(period + 1);
good
k = (double)2/(period + 1);
compile with Microsoft Visual c++ express
- Terranin
- Site Admin
- Posts: 833
- Joined: Sat Oct 21, 2006 4:39 pm
Re: GetMA ma_EMA bug?
adekat wrote:TechnicalFunctions.h 2010/3/27
double GetMA(
case ma_EMA:
ng (k=0,1,2)
k = 2/(period + 1);
good
k = (double)2/(period + 1);
compile with Microsoft Visual c++ express
Fixed.
Hasta la vista
Mike
Mike
Who is online
Users browsing this forum: No registered users and 15 guests