hello support!
please help :
I see this ind.
viewtopic.php?f=6&t=42243Object[] outputsCurrentPrev = indicators.calculateIndicator(currentInstrument, Period.ONE_MIN, new OfferSide[]{OfferSide.BID}, "FXMT", new IIndicators.AppliedPrice[]{IIndicators.AppliedPrice.CLOSE}, new Object[]{20,38}, 1);
System.out.println("outputsCurrentPrev " + ((double[])outputsCurrentPrev[0])[0] + ((double[])outputsCurrentPrev[0])[1]);
how I can know: if last color was green. And the current red?
if ((double[])outputsCurrentPrev[0])[1] == 1 green ?
if ((double[])outputsCurrentPrev[0])[1] == 0 red ?
Please explain how correctly to have values?
thank you