I looked at that indicators sources posted.
It calculates High - EMA(CLOSE) for bull and LOW - EMA(CLOSE) for bear which is correct.
However, I see the output is named 'MFI down , Volume up' when I plot indicator on chart and in code we have this:
outputParameterInfos = new OutputParameterInfo[] {
new OutputParameterInfo("MFI Down, Volume Up", OutputParameterInfo.Type.DOUBLE, OutputParameterInfo.DrawingStyle.HISTOGRAM)
But I dont see in indicator's code where MFI and Volume is used. Am I missing something ?
Also, I would like to know if this method in API indicates Bear Power. In JForex Momentum indicators BearPower is short named as BEARP, so I was expected a bearp() method. Similar for bull.
double[] bear(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
Thank you