Hello, you have an error in the MFI calculations and wrong calculating
now:
if ((positiveFlow.totalPushed >= period) && (positiveFlow.totalPushed >= period)_) {
moneyFlowRatio = positiveFlowForPeriod / negativeFlowForPeriod;
result = 100 - 100 / (1 + moneyFlowRatio);
}
after:
if ((positiveFlow.totalPushed >= period) && (negativeFlow.totalPushed >= period)) {
moneyFlowRatio = positiveFlowForPeriod / negativeFlowForPeriod;
result = 100 - 100 / (1 + moneyFlowRatio);
}
and now calculating is corret
Hello, you have an error in the MFI calculations and wrong calculating
now:
after:
and now calculating is corret