Hello.
Im just wondering why my calculated indicator results is different from Indicator on histogram value with the same settings in strategy backtesting.
My code for RSI indicator calculation:
private double GetRSIvalue(int shift, int period) throws JFException{
double rsi =0;
rsi=indicators.rsi(gSymbol, gPeriod, OfferSide.BID, AppliedPrice.WEIGHTED_CLOSE, period,shift);
return rsi;
}
with this code I get for specific time different results comparing with on chart indicator.
Help me please find where is the problem.
Thank You