Hello everyone!
Im newbie programmer, and I´m trying to develop my 2nd indicator right know. But I got an issue with an operation as following:
TVI_Raw[index] := 100.0 * (DEMA_U[index] - DEMA_D[index]) / (DEMA_U[index] + DEMA_D[index])
Where:
DEMA_U[index] = 33439.0129
DEMA_D[index] = 33432.5642
So TVI_Raw[index] should be 0.009643409
But the real result is: -5.77
What went wrong?
Please Help!!
Buffer arithmetic operation issue
-
- Posts: 204
- Joined: Thu Jan 28, 2010 2:20 pm
Re: Buffer arithmetic operation issue
Did you solve this issue?
i think error is not in this string.
i think error is not in this string.
Coding & Converting
Who is online
Users browsing this forum: No registered users and 32 guests