com.dukascopy.api
Interface IIndicators


public interface IIndicators

Contains set of functions to calculate indicators data

Author:
Dmitry Shohov

Nested Class Summary
static class IIndicators.AppliedPrice
          Used to specify which price to use for indicator calculation
static class IIndicators.MaType
          Types of Moving Average
 
Method Summary
 double acos(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int shift)
          Calculates Vector Trigonometric ACos for bar specified with shift parameter.
 double[] acos(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, long from, long to)
           
 double ad(Instrument instrument, Period period, OfferSide side, int shift)
          Calculates Chaikin A/D Line for bar specified with shift parameter.
 double[] ad(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 double add(Instrument instrument, Period period, OfferSide side1, IIndicators.AppliedPrice appliedPrice1, OfferSide side2, IIndicators.AppliedPrice appliedPrice2, int shift)
          Calculates Vector Arithmetic Add for bar specified with shift parameter.
 double[] add(Instrument instrument, Period period, OfferSide side1, IIndicators.AppliedPrice appliedPrice1, OfferSide side2, IIndicators.AppliedPrice appliedPrice2, long from, long to)
           
 double adOsc(Instrument instrument, Period period, OfferSide side, int fastPeriod, int slowPeriod, int shift)
          Calculates Chaikin A/D Oscillator for bar specified with shift parameter.
 double[] adOsc(Instrument instrument, Period period, OfferSide side, int fastPeriod, int slowPeriod, long from, long to)
           
 double adx(Instrument instrument, Period period, OfferSide side, int timePeriod, int shift)
          Calculates Average Directional Movement Index for bar specified with shift parameter.
 double[] adx(Instrument instrument, Period period, OfferSide side, int timePeriod, long from, long to)
           
 double adxr(Instrument instrument, Period period, OfferSide side, int timePeriod, int shift)
          Calculates Average Directional Movement Index Rating for bar specified with shift parameter.
 double[] adxr(Instrument instrument, Period period, OfferSide side, int timePeriod, long from, long to)
           
 double apo(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int fastPeriod, int slowPeriod, IIndicators.MaType maType, int shift)
          Calculates Absolute Price Oscillator for bar specified with shift parameter.
 double[] apo(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int fastPeriod, int slowPeriod, IIndicators.MaType maType, long from, long to)
           
 double[] aroon(Instrument instrument, Period period, OfferSide side, int timePeriod, int shift)
          Calculates Aroon indicator for bar specified with shift parameter.
 double[][] aroon(Instrument instrument, Period period, OfferSide side, int timePeriod, long from, long to)
           
 double aroonOsc(Instrument instrument, Period period, OfferSide side, int timePeriod, int shift)
          Calculates Aroon Oscillator for bar specified with shift parameter.
 double[] aroonOsc(Instrument instrument, Period period, OfferSide side, int timePeriod, long from, long to)
           
 double asin(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int shift)
          Calculates Vector Trigonometric ASin for bar specified with shift parameter.
 double[] asin(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, long from, long to)
           
 double atan(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int shift)
          Calculates Vector Trigonometric ATan for bar specified with shift parameter.
 double[] atan(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, long from, long to)
           
 double atr(Instrument instrument, Period period, OfferSide side, int timePeriod, int shift)
          Calculates Average True Range for bar specified with shift parameter.
 double[] atr(Instrument instrument, Period period, OfferSide side, int timePeriod, long from, long to)
           
 double avgPrice(Instrument instrument, Period period, OfferSide side, int shift)
          Calculates Average Price for bar specified with shift parameter.
 double[] avgPrice(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 double[] bbands(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, double nbDevUp, double nbDevDn, IIndicators.MaType maType, int shift)
           
 double[][] bbands(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, double nbDevUp, double nbDevDn, IIndicators.MaType maType, long from, long to)
           
 double beta(Instrument instrument, Period period, OfferSide side1, IIndicators.AppliedPrice appliedPrice1, OfferSide side2, IIndicators.AppliedPrice appliedPrice2, int timePeriod, int shift)
           
 double[] beta(Instrument instrument, Period period, OfferSide side1, IIndicators.AppliedPrice appliedPrice1, OfferSide side2, IIndicators.AppliedPrice appliedPrice2, int timePeriod, long from, long to)
           
 double bop(Instrument instrument, Period period, OfferSide side, int shift)
           
 double[] bop(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 Object[] calculateIndicator(Instrument instrument, Period period, OfferSide[] side, String functionName, IIndicators.AppliedPrice[] inputTypes, Object[] optParams, int shift)
          This is universal function that allows to get values for any indicator available, including user indicators.
 Object[] calculateIndicator(Instrument instrument, Period period, OfferSide[] side, String functionName, IIndicators.AppliedPrice[] inputTypes, Object[] optParams, long from, long to)
          This is universal function that allows to get values for any indicator available, including user indicators.
 double cci(Instrument instrument, Period period, OfferSide side, int timePeriod, int shift)
           
 double[] cci(Instrument instrument, Period period, OfferSide side, int timePeriod, long from, long to)
           
 int cdl2Crows(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdl2Crows(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdl3BlackCrows(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdl3BlackCrows(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdl3Inside(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdl3Inside(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdl3LineStrike(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdl3LineStrike(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdl3Outside(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdl3Outside(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdl3StarsInSouth(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdl3StarsInSouth(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdl3WhiteSoldiers(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdl3WhiteSoldiers(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlAbandonedBaby(Instrument instrument, Period period, OfferSide side, double penetration, int shift)
           
 int[] cdlAbandonedBaby(Instrument instrument, Period period, OfferSide side, double penetration, long from, long to)
           
 int cdlAdvanceBlock(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlAdvanceBlock(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlBeltHold(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlBeltHold(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlBreakAway(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlBreakAway(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlClosingMarubozu(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlClosingMarubozu(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlConcealBabySwall(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlConcealBabySwall(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlCounterattack(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlCounterattack(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlDarkCloudCover(Instrument instrument, Period period, OfferSide side, double penetration, int shift)
           
 int[] cdlDarkCloudCover(Instrument instrument, Period period, OfferSide side, double penetration, long from, long to)
           
 int cdlDoji(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlDoji(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlDojiStar(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlDojiStar(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlDragonflyDoji(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlDragonflyDoji(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlEngulfing(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlEngulfing(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlEveningDojiStar(Instrument instrument, Period period, OfferSide side, double penetration, int shift)
           
 int[] cdlEveningDojiStar(Instrument instrument, Period period, OfferSide side, double penetration, long from, long to)
           
 int cdlEveningStar(Instrument instrument, Period period, OfferSide side, double penetration, int shift)
           
 int[] cdlEveningStar(Instrument instrument, Period period, OfferSide side, double penetration, long from, long to)
           
 int cdlGapSideSideWhite(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlGapSideSideWhite(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlGravestoneDoji(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlGravestoneDoji(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlHammer(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlHammer(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlHangingMan(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlHangingMan(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlHarami(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlHarami(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlHaramiCross(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlHaramiCross(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlHighWave(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlHighWave(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlHikkake(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlHikkake(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlHikkakeMod(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlHikkakeMod(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlHomingPigeon(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlHomingPigeon(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlIdentical3Crows(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlIdentical3Crows(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlInNeck(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlInNeck(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlInvertedHammer(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlInvertedHammer(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlKicking(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlKicking(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlKickingByLength(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlKickingByLength(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlLadderBotton(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlLadderBotton(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlLongLeggedDoji(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlLongLeggedDoji(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlLongLine(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlLongLine(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlMarubozu(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlMarubozu(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlMatchingLow(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlMatchingLow(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlMathold(Instrument instrument, Period period, OfferSide side, double penetration, int shift)
           
 int[] cdlMathold(Instrument instrument, Period period, OfferSide side, double penetration, long from, long to)
           
 int cdlMorningDojiStar(Instrument instrument, Period period, OfferSide side, double penetration, int shift)
           
 int[] cdlMorningDojiStar(Instrument instrument, Period period, OfferSide side, double penetration, long from, long to)
           
 int cdlMorningStar(Instrument instrument, Period period, OfferSide side, double penetration, int shift)
           
 int[] cdlMorningStar(Instrument instrument, Period period, OfferSide side, double penetration, long from, long to)
           
 int cdlOnNeck(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlOnNeck(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlPiercing(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlPiercing(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlRickshawMan(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlRickshawMan(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlRiseFall3Methods(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlRiseFall3Methods(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlSeparatingLines(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlSeparatingLines(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlShootingStar(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlShootingStar(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlShortLine(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlShortLine(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlSpinningTop(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlSpinningTop(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlStalledPattern(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlStalledPattern(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlStickSandwich(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlStickSandwich(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlTakuri(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlTakuri(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlTasukiGap(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlTasukiGap(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlThrusting(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlThrusting(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlTristar(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlTristar(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlUnique3River(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlUnique3River(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlUpsideGap2Crows(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlUpsideGap2Crows(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 int cdlXsideGap3Methods(Instrument instrument, Period period, OfferSide side, int shift)
           
 int[] cdlXsideGap3Methods(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 double ceil(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int shift)
           
 double[] ceil(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, long from, long to)
           
 double cmo(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] cmo(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double correl(Instrument instrument, Period period, OfferSide side1, IIndicators.AppliedPrice appliedPrice1, OfferSide side2, IIndicators.AppliedPrice appliedPrice2, int timePeriod, int shift)
           
 double[] correl(Instrument instrument, Period period, OfferSide side1, IIndicators.AppliedPrice appliedPrice1, OfferSide side2, IIndicators.AppliedPrice appliedPrice2, int timePeriod, long from, long to)
           
 double cos(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int shift)
           
 double[] cos(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, long from, long to)
           
 double cosh(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int shift)
           
 double[] cosh(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, long from, long to)
           
 double dema(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] dema(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double div(Instrument instrument, Period period, OfferSide side1, IIndicators.AppliedPrice appliedPrice1, OfferSide side2, IIndicators.AppliedPrice appliedPrice2, int shift)
           
 double[] div(Instrument instrument, Period period, OfferSide side1, IIndicators.AppliedPrice appliedPrice1, OfferSide side2, IIndicators.AppliedPrice appliedPrice2, long from, long to)
           
 double dx(Instrument instrument, Period period, OfferSide side, int timePeriod, int shift)
           
 double[] dx(Instrument instrument, Period period, OfferSide side, int timePeriod, long from, long to)
           
 double ema(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
          Calculates Exponential Moving Average for bar specified with shift parameter.
 double[] ema(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
          Calculates Exponential Moving Average for ticks or bars in specified period.
 double exp(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int shift)
           
 double[] exp(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, long from, long to)
           
 double floor(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int shift)
           
 double[] floor(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, long from, long to)
           
 Collection<String> getAllNames()
          Returns list of all indicator names
 Collection<String> getGroups()
          Returns list of indicator groups
 IIndicator getIndicator(String name)
          Returns indicator with specified name
 Collection<String> getNames(String groupName)
          Returns indicator names that belongs to specified group
 double ht_dcperiod(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int shift)
           
 double[] ht_dcperiod(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, long from, long to)
           
 double ht_dcphase(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int shift)
           
 double[] ht_dcphase(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, long from, long to)
           
 double[] ht_phasor(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int shift)
           
 double[][] ht_phasor(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, long from, long to)
           
 double[] ht_sine(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int shift)
           
 double[][] ht_sine(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, long from, long to)
           
 double ht_trendline(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int shift)
           
 double[] ht_trendline(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, long from, long to)
           
 int ht_trendmode(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int shift)
           
 int[] ht_trendmode(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, long from, long to)
           
 double kama(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] kama(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double linearReg(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] linearReg(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double linearRegAngle(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] linearRegAngle(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double linearRegIntercept(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] linearRegIntercept(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double linearRegSlope(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] linearRegSlope(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double ln(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int shift)
           
 double[] ln(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, long from, long to)
           
 double log10(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int shift)
           
 double[] log10(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, long from, long to)
           
 double ma(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, IIndicators.MaType maType, int shift)
           
 double[] ma(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, IIndicators.MaType maType, long from, long to)
           
 double[] macd(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int fastPeriod, int slowPeriod, int signalPeriod, int shift)
           
 double[][] macd(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int fastPeriod, int slowPeriod, int signalPeriod, long from, long to)
           
 double[] macdExt(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int fastPeriod, IIndicators.MaType fastMaType, int slowPeriod, IIndicators.MaType slowMaType, int signalPeriod, IIndicators.MaType signalMaType, int shift)
           
 double[][] macdExt(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int fastPeriod, IIndicators.MaType fastMaType, int slowPeriod, IIndicators.MaType slowMaType, int signalPeriod, IIndicators.MaType signalMaType, long from, long to)
           
 double[] macdFix(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int signalPeriod, int shift)
           
 double[][] macdFix(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int signalPeriod, long from, long to)
           
 double[] mama(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, double fastLimit, double slowLimit, int shift)
           
 double[][] mama(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, double fastLimit, double slowLimit, long from, long to)
           
 double mavp(Instrument instrument, Period period, OfferSide side1, IIndicators.AppliedPrice appliedPrice1, OfferSide side2, IIndicators.AppliedPrice appliedPrice2, int minPeriod, int maxPeriod, IIndicators.MaType maType, int shift)
           
 double[] mavp(Instrument instrument, Period period, OfferSide side1, IIndicators.AppliedPrice appliedPrice1, OfferSide side2, IIndicators.AppliedPrice appliedPrice2, int minPeriod, int maxPeriod, IIndicators.MaType maType, long from, long to)
           
 double max(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] max(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double medPrice(Instrument instrument, Period period, OfferSide side, int shift)
           
 double[] medPrice(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 double mfi(Instrument instrument, Period period, OfferSide side, int timePeriod, int shift)
           
 double[] mfi(Instrument instrument, Period period, OfferSide side, int timePeriod, long from, long to)
           
 double midPoint(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] midPoint(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double midPrice(Instrument instrument, Period period, OfferSide side, int timePeriod, int shift)
           
 double[] midPrice(Instrument instrument, Period period, OfferSide side, int timePeriod, long from, long to)
           
 double min(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] min(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double[] minMax(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[][] minMax(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double minusDi(Instrument instrument, Period period, OfferSide side, int timePeriod, int shift)
           
 double[] minusDi(Instrument instrument, Period period, OfferSide side, int timePeriod, long from, long to)
           
 double minusDm(Instrument instrument, Period period, OfferSide side, int timePeriod, int shift)
           
 double[] minusDm(Instrument instrument, Period period, OfferSide side, int timePeriod, long from, long to)
           
 double mom(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] mom(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double mult(Instrument instrument, Period period, OfferSide side1, IIndicators.AppliedPrice appliedPrice1, OfferSide side2, IIndicators.AppliedPrice appliedPrice2, int shift)
           
 double[] mult(Instrument instrument, Period period, OfferSide side1, IIndicators.AppliedPrice appliedPrice1, OfferSide side2, IIndicators.AppliedPrice appliedPrice2, long from, long to)
           
 double natr(Instrument instrument, Period period, OfferSide side, int timePeriod, int shift)
           
 double[] natr(Instrument instrument, Period period, OfferSide side, int timePeriod, long from, long to)
           
 double obv(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, OfferSide sideForPriceV, int shift)
           
 double[] obv(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, OfferSide sideForPriceV, long from, long to)
           
 double plusDi(Instrument instrument, Period period, OfferSide side, int timePeriod, int shift)
           
 double[] plusDi(Instrument instrument, Period period, OfferSide side, int timePeriod, long from, long to)
           
 double plusDm(Instrument instrument, Period period, OfferSide side, int timePeriod, int shift)
           
 double[] plusDm(Instrument instrument, Period period, OfferSide side, int timePeriod, long from, long to)
           
 double ppo(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int fastPeriod, int slowPeriod, IIndicators.MaType maType, int shift)
           
 double[] ppo(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int fastPeriod, int slowPeriod, IIndicators.MaType maType, long from, long to)
           
 double roc(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] roc(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double rocp(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] rocp(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double rocr(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] rocr(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double rocr100(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] rocr100(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double rsi(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] rsi(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double sar(Instrument instrument, Period period, OfferSide side, double acceleration, double maximum, int shift)
           
 double[] sar(Instrument instrument, Period period, OfferSide side, double acceleration, double maximum, long from, long to)
           
 double sarExt(Instrument instrument, Period period, OfferSide side, double startValue, double offsetOnReverse, double accelerationInitLong, double accelerationLong, double accelerationMaxLong, double accelerationInitShort, double accelerationShort, double accelerationMaxShort, int shift)
          Note!
 double[] sarExt(Instrument instrument, Period period, OfferSide side, double startValue, double offsetOnReverse, double accelerationInitLong, double accelerationLong, double accelerationMaxLong, double accelerationInitShort, double accelerationShort, double accelerationMaxShort, long from, long to)
          Note!
 double sin(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int shift)
           
 double[] sin(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, long from, long to)
           
 double sinh(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int shift)
           
 double[] sinh(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, long from, long to)
           
 double sma(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] sma(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double sqrt(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int shift)
           
 double[] sqrt(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, long from, long to)
           
 double stdDev(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, double nbDev, int shift)
           
 double[] stdDev(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, double nbDev, long from, long to)
           
 double[] stoch(Instrument instrument, Period period, OfferSide side, int fastKPeriod, int slowKPeriod, IIndicators.MaType slowKMaType, int slowDPeriod, IIndicators.MaType slowDMaType, int shift)
           
 double[][] stoch(Instrument instrument, Period period, OfferSide side, int fastKPeriod, int slowKPeriod, IIndicators.MaType slowKMaType, int slowDPeriod, IIndicators.MaType slowDMaType, long from, long to)
           
 double[] stochF(Instrument instrument, Period period, OfferSide side, int fastKPeriod, int fastDPeriod, IIndicators.MaType fastDMaType, int shift)
           
 double[][] stochF(Instrument instrument, Period period, OfferSide side, int fastKPeriod, int fastDPeriod, IIndicators.MaType fastDMaType, long from, long to)
           
 double[] stochRsi(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int fastKPeriod, int fastDPeriod, IIndicators.MaType fastDMaType, int shift)
           
 double[][] stochRsi(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int fastKPeriod, int fastDPeriod, IIndicators.MaType fastDMaType, long from, long to)
           
 double sub(Instrument instrument, Period period, OfferSide side1, IIndicators.AppliedPrice appliedPrice1, OfferSide side2, IIndicators.AppliedPrice appliedPrice2, int shift)
           
 double[] sub(Instrument instrument, Period period, OfferSide side1, IIndicators.AppliedPrice appliedPrice1, OfferSide side2, IIndicators.AppliedPrice appliedPrice2, long from, long to)
           
 double sum(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] sum(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double t3(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, double vFactor, int shift)
           
 double[] t3(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, double vFactor, long from, long to)
           
 double tan(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int shift)
           
 double[] tan(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, long from, long to)
           
 double tanh(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int shift)
           
 double[] tanh(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, long from, long to)
           
 double[] td_i(Instrument instrument, Period period, OfferSide side, int timePeriod, int shift)
           
 double[][] td_i(Instrument instrument, Period period, OfferSide side, int timePeriod, long from, long to)
           
 double tema(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] tema(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double trange(Instrument instrument, Period period, OfferSide side, int shift)
           
 double[] trange(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 double trima(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] trima(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double trix(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] trix(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double tsf(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] tsf(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 double typPrice(Instrument instrument, Period period, OfferSide side, int shift)
           
 double[] typPrice(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 double ultOsc(Instrument instrument, Period period, OfferSide side, int timePeriod1, int timePeriod2, int timePeriod3, int shift)
           
 double[] ultOsc(Instrument instrument, Period period, OfferSide side, int timePeriod1, int timePeriod2, int timePeriod3, long from, long to)
           
 double var(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, double nbDev, int shift)
           
 double[] var(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, double nbDev, long from, long to)
           
 double wclPrice(Instrument instrument, Period period, OfferSide side, int shift)
           
 double[] wclPrice(Instrument instrument, Period period, OfferSide side, long from, long to)
           
 double willr(Instrument instrument, Period period, OfferSide side, int timePeriod, int shift)
           
 double[] willr(Instrument instrument, Period period, OfferSide side, int timePeriod, long from, long to)
           
 double wma(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, int shift)
           
 double[] wma(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, int timePeriod, long from, long to)
           
 

Method Detail

getGroups

Collection<String> getGroups()
Returns list of indicator groups

Returns:
list of indicator groups

getNames

Collection<String> getNames(String groupName)
Returns indicator names that belongs to specified group

Parameters:
groupName - indicator group
Returns:
indicator names

getAllNames

Collection<String> getAllNames()
Returns list of all indicator names

Returns:
list of all indicator names

getIndicator

IIndicator getIndicator(String name)
Returns indicator with specified name

Parameters:
name - name of the indicator
Returns:
indicator

calculateIndicator

Object[] calculateIndicator(Instrument instrument,
                            Period period,
                            OfferSide[] side,
                            String functionName,
                            IIndicators.AppliedPrice[] inputTypes,
                            Object[] optParams,
                            int shift)
                            throws JFException
This is universal function that allows to get values for any indicator available, including user indicators.

Parameters:
instrument - instrument of the bar
period - period of the bar
side - bid or ask side of the bar
functionName - name of the function
inputTypes - type of the input data for every input that indicator requires or null if input is PRICE
optParams - array of optional parameters consisting of Doubles and Integers
shift - number of candle back in time staring from current bar. 0 - current bar (currently generated from ticks), 1 - previous bar (last formed bar), 2 - current bar minus 2 bars and so on
Returns:
array of doubles or integers for every indicator output
Throws:
JFException - when parameters is not valid

calculateIndicator

Object[] calculateIndicator(Instrument instrument,
                            Period period,
                            OfferSide[] side,
                            String functionName,
                            IIndicators.AppliedPrice[] inputTypes,
                            Object[] optParams,
                            long from,
                            long to)
                            throws JFException
This is universal function that allows to get values for any indicator available, including user indicators.

Parameters:
instrument - instrument of the bars
period - period of the bars
side - bid or ask side of the bars
functionName - name of the function
inputTypes - type of the input data for every input that indicator requires or null if input is PRICE
optParams - array of optional parameters consisting of Doubles and Integers
from - start time of the first bar
to - start time of the last bar that should be included in calculation
Returns:
array of arrays of doubles or integers for every indicator output
Throws:
JFException

acos

double acos(Instrument instrument,
            Period period,
            OfferSide side,
            IIndicators.AppliedPrice appliedPrice,
            int shift)
            throws JFException
Calculates Vector Trigonometric ACos for bar specified with shift parameter.

Parameters:
instrument - instrument of the bar
period - period of the bar
side - bid or ask side of the bar
appliedPrice - type of input data
shift - number of candle back in time staring from current bar. 0 - current bar (currently generated from ticks), 1 - previous bar (last formed bar), 2 - current bar minus 2 bars and so on
Returns:
value for bar
Throws:
JFException - when parameters is not valid

acos

double[] acos(Instrument instrument,
              Period period,
              OfferSide side,
              IIndicators.AppliedPrice appliedPrice,
              long from,
              long to)
              throws JFException
Throws:
JFException

ad

double ad(Instrument instrument,
          Period period,
          OfferSide side,
          int shift)
          throws JFException
Calculates Chaikin A/D Line for bar specified with shift parameter.

Parameters:
instrument - instrument of the bar
period - period of the bar
side - bid or ask side of the bar
shift - number of candle back in time staring from current bar. 0 - current bar (currently generated from ticks), 1 - previous bar (last formed bar), 2 - current bar minus 2 bars and so on
Returns:
value for bar
Throws:
JFException - when parameters is not valid

ad

double[] ad(Instrument instrument,
            Period period,
            OfferSide side,
            long from,
            long to)
            throws JFException
Throws:
JFException

add

double add(Instrument instrument,
           Period period,
           OfferSide side1,
           IIndicators.AppliedPrice appliedPrice1,
           OfferSide side2,
           IIndicators.AppliedPrice appliedPrice2,
           int shift)
           throws JFException
Calculates Vector Arithmetic Add for bar specified with shift parameter.

Parameters:
instrument - instrument of the bar
period - period of the bar
side1 - bid or ask side of the bar for first input param
appliedPrice1 - type of input data for first input param
side2 - bid or ask side of the bar for first input param
appliedPrice2 - type of input data for first input param
shift - number of candle back in time staring from current bar. 0 - current bar (currently generated from ticks), 1 - previous bar (last formed bar), 2 - current bar minus 2 bars and so on
Returns:
value for bar
Throws:
JFException - when parameters is not valid

add

double[] add(Instrument instrument,
             Period period,
             OfferSide side1,
             IIndicators.AppliedPrice appliedPrice1,
             OfferSide side2,
             IIndicators.AppliedPrice appliedPrice2,
             long from,
             long to)
             throws JFException
Throws:
JFException

adOsc

double adOsc(Instrument instrument,
             Period period,
             OfferSide side,
             int fastPeriod,
             int slowPeriod,
             int shift)
             throws JFException
Calculates Chaikin A/D Oscillator for bar specified with shift parameter.

Parameters:
instrument - instrument of the bar
period - period of the bar
side - bid or ask side of the bar
fastPeriod - fast period value
slowPeriod - slow period value
shift - number of candle back in time staring from current bar. 0 - current bar (currently generated from ticks), 1 - previous bar (last formed bar), 2 - current bar minus 2 bars and so on
Returns:
value for bar
Throws:
JFException - when parameters is not valid

adOsc

double[] adOsc(Instrument instrument,
               Period period,
               OfferSide side,
               int fastPeriod,
               int slowPeriod,
               long from,
               long to)
               throws JFException
Throws:
JFException

adx

double adx(Instrument instrument,
           Period period,
           OfferSide side,
           int timePeriod,
           int shift)
           throws JFException
Calculates Average Directional Movement Index for bar specified with shift parameter.

Parameters:
instrument - instrument of the bar
period - period of the bar
side - bid or ask side of the bar
timePeriod - time period value
shift - number of candle back in time staring from current bar. 0 - current bar (currently generated from ticks), 1 - previous bar (last formed bar), 2 - current bar minus 2 bars and so on
Returns:
value for bar
Throws:
JFException - when parameters is not valid

adx

double[] adx(Instrument instrument,
             Period period,
             OfferSide side,
             int timePeriod,
             long from,
             long to)
             throws JFException
Throws:
JFException

adxr

double adxr(Instrument instrument,
            Period period,
            OfferSide side,
            int timePeriod,
            int shift)
            throws JFException
Calculates Average Directional Movement Index Rating for bar specified with shift parameter.

Parameters:
instrument - instrument of the bar
period - period of the bar
side - bid or ask side of the bar
timePeriod - time period value
shift - number of candle back in time staring from current bar. 0 - current bar (currently generated from ticks), 1 - previous bar (last formed bar), 2 - current bar minus 2 bars and so on
Returns:
value for bar
Throws:
JFException - when parameters is not valid

adxr

double[] adxr(Instrument instrument,
              Period period,
              OfferSide side,
              int timePeriod,
              long from,
              long to)
              throws JFException
Throws:
JFException

apo

double apo(Instrument instrument,
           Period period,
           OfferSide side,
           IIndicators.AppliedPrice appliedPrice,
           int fastPeriod,
           int slowPeriod,
           IIndicators.MaType maType,
           int shift)
           throws JFException
Calculates Absolute Price Oscillator for bar specified with shift parameter.

Parameters:
instrument - instrument of the bar
period - period of the bar
side - bid or ask side of the bar
appliedPrice - type of input data
fastPeriod - fast period value
slowPeriod - slow period value
maType - moving average type
shift - number of candle back in time staring from current bar. 0 - current bar (currently generated from ticks), 1 - previous bar (last formed bar), 2 - current bar minus 2 bars and so on
Returns:
value for bar
Throws:
JFException - when parameters is not valid

apo

double[] apo(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             int fastPeriod,
             int slowPeriod,
             IIndicators.MaType maType,
             long from,
             long to)
             throws JFException
Throws:
JFException

aroon

double[] aroon(Instrument instrument,
               Period period,
               OfferSide side,
               int timePeriod,
               int shift)
               throws JFException
Calculates Aroon indicator for bar specified with shift parameter.

Parameters:
instrument - instrument of the bar
period - period of the bar
side - bid or ask side of the bar
timePeriod - time period value
shift - number of candle back in time staring from current bar. 0 - current bar (currently generated from ticks), 1 - previous bar (last formed bar), 2 - current bar minus 2 bars and so on
Returns:
value for bar
Throws:
JFException - when parameters is not valid

aroon

double[][] aroon(Instrument instrument,
                 Period period,
                 OfferSide side,
                 int timePeriod,
                 long from,
                 long to)
                 throws JFException
Throws:
JFException

aroonOsc

double aroonOsc(Instrument instrument,
                Period period,
                OfferSide side,
                int timePeriod,
                int shift)
                throws JFException
Calculates Aroon Oscillator for bar specified with shift parameter.

Parameters:
instrument - instrument of the bar
period - period of the bar
side - bid or ask side of the bar
timePeriod - time period value
shift - number of candle back in time staring from current bar. 0 - current bar (currently generated from ticks), 1 - previous bar (last formed bar), 2 - current bar minus 2 bars and so on
Returns:
value for bar
Throws:
JFException - when parameters is not valid

aroonOsc

double[] aroonOsc(Instrument instrument,
                  Period period,
                  OfferSide side,
                  int timePeriod,
                  long from,
                  long to)
                  throws JFException
Throws:
JFException

asin

double asin(Instrument instrument,
            Period period,
            OfferSide side,
            IIndicators.AppliedPrice appliedPrice,
            int shift)
            throws JFException
Calculates Vector Trigonometric ASin for bar specified with shift parameter.

Parameters:
instrument - instrument of the bar
period - period of the bar
side - bid or ask side of the bar
appliedPrice - type of input data
shift - number of candle back in time staring from current bar. 0 - current bar (currently generated from ticks), 1 - previous bar (last formed bar), 2 - current bar minus 2 bars and so on
Returns:
value for bar
Throws:
JFException - when parameters is not valid

asin

double[] asin(Instrument instrument,
              Period period,
              OfferSide side,
              IIndicators.AppliedPrice appliedPrice,
              long from,
              long to)
              throws JFException
Throws:
JFException

atan

double atan(Instrument instrument,
            Period period,
            OfferSide side,
            IIndicators.AppliedPrice appliedPrice,
            int shift)
            throws JFException
Calculates Vector Trigonometric ATan for bar specified with shift parameter.

Parameters:
instrument - instrument of the bar
period - period of the bar
side - bid or ask side of the bar
appliedPrice - type of input data
shift - number of candle back in time staring from current bar. 0 - current bar (currently generated from ticks), 1 - previous bar (last formed bar), 2 - current bar minus 2 bars and so on
Returns:
value for bar
Throws:
JFException - when parameters is not valid

atan

double[] atan(Instrument instrument,
              Period period,
              OfferSide side,
              IIndicators.AppliedPrice appliedPrice,
              long from,
              long to)
              throws JFException
Throws:
JFException

atr

double atr(Instrument instrument,
           Period period,
           OfferSide side,
           int timePeriod,
           int shift)
           throws JFException
Calculates Average True Range for bar specified with shift parameter.

Parameters:
instrument - instrument of the bar
period - period of the bar
side - bid or ask side of the bar
timePeriod - time period value
shift - number of candle back in time staring from current bar. 0 - current bar (currently generated from ticks), 1 - previous bar (last formed bar), 2 - current bar minus 2 bars and so on
Returns:
value for bar
Throws:
JFException - when parameters is not valid

atr

double[] atr(Instrument instrument,
             Period period,
             OfferSide side,
             int timePeriod,
             long from,
             long to)
             throws JFException
Throws:
JFException

avgPrice

double avgPrice(Instrument instrument,
                Period period,
                OfferSide side,
                int shift)
                throws JFException
Calculates Average Price for bar specified with shift parameter.

Parameters:
instrument - instrument of the bar
period - period of the bar
side - bid or ask side of the bar
shift - number of candle back in time staring from current bar. 0 - current bar (currently generated from ticks), 1 - previous bar (last formed bar), 2 - current bar minus 2 bars and so on
Returns:
value for bar
Throws:
JFException - when parameters is not valid

avgPrice

double[] avgPrice(Instrument instrument,
                  Period period,
                  OfferSide side,
                  long from,
                  long to)
                  throws JFException
Throws:
JFException

bbands

double[] bbands(Instrument instrument,
                Period period,
                OfferSide side,
                IIndicators.AppliedPrice appliedPrice,
                int timePeriod,
                double nbDevUp,
                double nbDevDn,
                IIndicators.MaType maType,
                int shift)
                throws JFException
Throws:
JFException

bbands

double[][] bbands(Instrument instrument,
                  Period period,
                  OfferSide side,
                  IIndicators.AppliedPrice appliedPrice,
                  int timePeriod,
                  double nbDevUp,
                  double nbDevDn,
                  IIndicators.MaType maType,
                  long from,
                  long to)
                  throws JFException
Throws:
JFException

beta

double beta(Instrument instrument,
            Period period,
            OfferSide side1,
            IIndicators.AppliedPrice appliedPrice1,
            OfferSide side2,
            IIndicators.AppliedPrice appliedPrice2,
            int timePeriod,
            int shift)
            throws JFException
Throws:
JFException

beta

double[] beta(Instrument instrument,
              Period period,
              OfferSide side1,
              IIndicators.AppliedPrice appliedPrice1,
              OfferSide side2,
              IIndicators.AppliedPrice appliedPrice2,
              int timePeriod,
              long from,
              long to)
              throws JFException
Throws:
JFException

bop

double bop(Instrument instrument,
           Period period,
           OfferSide side,
           int shift)
           throws JFException
Throws:
JFException

bop

double[] bop(Instrument instrument,
             Period period,
             OfferSide side,
             long from,
             long to)
             throws JFException
Throws:
JFException

cci

double cci(Instrument instrument,
           Period period,
           OfferSide side,
           int timePeriod,
           int shift)
           throws JFException
Throws:
JFException

cci

double[] cci(Instrument instrument,
             Period period,
             OfferSide side,
             int timePeriod,
             long from,
             long to)
             throws JFException
Throws:
JFException

cdl2Crows

int cdl2Crows(Instrument instrument,
              Period period,
              OfferSide side,
              int shift)
              throws JFException
Throws:
JFException

cdl2Crows

int[] cdl2Crows(Instrument instrument,
                Period period,
                OfferSide side,
                long from,
                long to)
                throws JFException
Throws:
JFException

cdl3BlackCrows

int cdl3BlackCrows(Instrument instrument,
                   Period period,
                   OfferSide side,
                   int shift)
                   throws JFException
Throws:
JFException

cdl3BlackCrows

int[] cdl3BlackCrows(Instrument instrument,
                     Period period,
                     OfferSide side,
                     long from,
                     long to)
                     throws JFException
Throws:
JFException

cdl3Inside

int cdl3Inside(Instrument instrument,
               Period period,
               OfferSide side,
               int shift)
               throws JFException
Throws:
JFException

cdl3Inside

int[] cdl3Inside(Instrument instrument,
                 Period period,
                 OfferSide side,
                 long from,
                 long to)
                 throws JFException
Throws:
JFException

cdl3LineStrike

int cdl3LineStrike(Instrument instrument,
                   Period period,
                   OfferSide side,
                   int shift)
                   throws JFException
Throws:
JFException

cdl3LineStrike

int[] cdl3LineStrike(Instrument instrument,
                     Period period,
                     OfferSide side,
                     long from,
                     long to)
                     throws JFException
Throws:
JFException

cdl3Outside

int cdl3Outside(Instrument instrument,
                Period period,
                OfferSide side,
                int shift)
                throws JFException
Throws:
JFException

cdl3Outside

int[] cdl3Outside(Instrument instrument,
                  Period period,
                  OfferSide side,
                  long from,
                  long to)
                  throws JFException
Throws:
JFException

cdl3StarsInSouth

int cdl3StarsInSouth(Instrument instrument,
                     Period period,
                     OfferSide side,
                     int shift)
                     throws JFException
Throws:
JFException

cdl3StarsInSouth

int[] cdl3StarsInSouth(Instrument instrument,
                       Period period,
                       OfferSide side,
                       long from,
                       long to)
                       throws JFException
Throws:
JFException

cdl3WhiteSoldiers

int cdl3WhiteSoldiers(Instrument instrument,
                      Period period,
                      OfferSide side,
                      int shift)
                      throws JFException
Throws:
JFException

cdl3WhiteSoldiers

int[] cdl3WhiteSoldiers(Instrument instrument,
                        Period period,
                        OfferSide side,
                        long from,
                        long to)
                        throws JFException
Throws:
JFException

cdlAbandonedBaby

int cdlAbandonedBaby(Instrument instrument,
                     Period period,
                     OfferSide side,
                     double penetration,
                     int shift)
                     throws JFException
Throws:
JFException

cdlAbandonedBaby

int[] cdlAbandonedBaby(Instrument instrument,
                       Period period,
                       OfferSide side,
                       double penetration,
                       long from,
                       long to)
                       throws JFException
Throws:
JFException

cdlAdvanceBlock

int cdlAdvanceBlock(Instrument instrument,
                    Period period,
                    OfferSide side,
                    int shift)
                    throws JFException
Throws:
JFException

cdlAdvanceBlock

int[] cdlAdvanceBlock(Instrument instrument,
                      Period period,
                      OfferSide side,
                      long from,
                      long to)
                      throws JFException
Throws:
JFException

cdlBeltHold

int cdlBeltHold(Instrument instrument,
                Period period,
                OfferSide side,
                int shift)
                throws JFException
Throws:
JFException

cdlBeltHold

int[] cdlBeltHold(Instrument instrument,
                  Period period,
                  OfferSide side,
                  long from,
                  long to)
                  throws JFException
Throws:
JFException

cdlBreakAway

int cdlBreakAway(Instrument instrument,
                 Period period,
                 OfferSide side,
                 int shift)
                 throws JFException
Throws:
JFException

cdlBreakAway

int[] cdlBreakAway(Instrument instrument,
                   Period period,
                   OfferSide side,
                   long from,
                   long to)
                   throws JFException
Throws:
JFException

cdlClosingMarubozu

int cdlClosingMarubozu(Instrument instrument,
                       Period period,
                       OfferSide side,
                       int shift)
                       throws JFException
Throws:
JFException

cdlClosingMarubozu

int[] cdlClosingMarubozu(Instrument instrument,
                         Period period,
                         OfferSide side,
                         long from,
                         long to)
                         throws JFException
Throws:
JFException

cdlConcealBabySwall

int cdlConcealBabySwall(Instrument instrument,
                        Period period,
                        OfferSide side,
                        int shift)
                        throws JFException
Throws:
JFException

cdlConcealBabySwall

int[] cdlConcealBabySwall(Instrument instrument,
                          Period period,
                          OfferSide side,
                          long from,
                          long to)
                          throws JFException
Throws:
JFException

cdlCounterattack

int cdlCounterattack(Instrument instrument,
                     Period period,
                     OfferSide side,
                     int shift)
                     throws JFException
Throws:
JFException

cdlCounterattack

int[] cdlCounterattack(Instrument instrument,
                       Period period,
                       OfferSide side,
                       long from,
                       long to)
                       throws JFException
Throws:
JFException

cdlDarkCloudCover

int cdlDarkCloudCover(Instrument instrument,
                      Period period,
                      OfferSide side,
                      double penetration,
                      int shift)
                      throws JFException
Throws:
JFException

cdlDarkCloudCover

int[] cdlDarkCloudCover(Instrument instrument,
                        Period period,
                        OfferSide side,
                        double penetration,
                        long from,
                        long to)
                        throws JFException
Throws:
JFException

cdlDoji

int cdlDoji(Instrument instrument,
            Period period,
            OfferSide side,
            int shift)
            throws JFException
Throws:
JFException

cdlDoji

int[] cdlDoji(Instrument instrument,
              Period period,
              OfferSide side,
              long from,
              long to)
              throws JFException
Throws:
JFException

cdlDojiStar

int cdlDojiStar(Instrument instrument,
                Period period,
                OfferSide side,
                int shift)
                throws JFException
Throws:
JFException

cdlDojiStar

int[] cdlDojiStar(Instrument instrument,
                  Period period,
                  OfferSide side,
                  long from,
                  long to)
                  throws JFException
Throws:
JFException

cdlDragonflyDoji

int cdlDragonflyDoji(Instrument instrument,
                     Period period,
                     OfferSide side,
                     int shift)
                     throws JFException
Throws:
JFException

cdlDragonflyDoji

int[] cdlDragonflyDoji(Instrument instrument,
                       Period period,
                       OfferSide side,
                       long from,
                       long to)
                       throws JFException
Throws:
JFException

cdlEngulfing

int cdlEngulfing(Instrument instrument,
                 Period period,
                 OfferSide side,
                 int shift)
                 throws JFException
Throws:
JFException

cdlEngulfing

int[] cdlEngulfing(Instrument instrument,
                   Period period,
                   OfferSide side,
                   long from,
                   long to)
                   throws JFException
Throws:
JFException

cdlEveningDojiStar

int cdlEveningDojiStar(Instrument instrument,
                       Period period,
                       OfferSide side,
                       double penetration,
                       int shift)
                       throws JFException
Throws:
JFException

cdlEveningDojiStar

int[] cdlEveningDojiStar(Instrument instrument,
                         Period period,
                         OfferSide side,
                         double penetration,
                         long from,
                         long to)
                         throws JFException
Throws:
JFException

cdlEveningStar

int cdlEveningStar(Instrument instrument,
                   Period period,
                   OfferSide side,
                   double penetration,
                   int shift)
                   throws JFException
Throws:
JFException

cdlEveningStar

int[] cdlEveningStar(Instrument instrument,
                     Period period,
                     OfferSide side,
                     double penetration,
                     long from,
                     long to)
                     throws JFException
Throws:
JFException

cdlGapSideSideWhite

int cdlGapSideSideWhite(Instrument instrument,
                        Period period,
                        OfferSide side,
                        int shift)
                        throws JFException
Throws:
JFException

cdlGapSideSideWhite

int[] cdlGapSideSideWhite(Instrument instrument,
                          Period period,
                          OfferSide side,
                          long from,
                          long to)
                          throws JFException
Throws:
JFException

cdlGravestoneDoji

int cdlGravestoneDoji(Instrument instrument,
                      Period period,
                      OfferSide side,
                      int shift)
                      throws JFException
Throws:
JFException

cdlGravestoneDoji

int[] cdlGravestoneDoji(Instrument instrument,
                        Period period,
                        OfferSide side,
                        long from,
                        long to)
                        throws JFException
Throws:
JFException

cdlHammer

int cdlHammer(Instrument instrument,
              Period period,
              OfferSide side,
              int shift)
              throws JFException
Throws:
JFException

cdlHammer

int[] cdlHammer(Instrument instrument,
                Period period,
                OfferSide side,
                long from,
                long to)
                throws JFException
Throws:
JFException

cdlHangingMan

int cdlHangingMan(Instrument instrument,
                  Period period,
                  OfferSide side,
                  int shift)
                  throws JFException
Throws:
JFException

cdlHangingMan

int[] cdlHangingMan(Instrument instrument,
                    Period period,
                    OfferSide side,
                    long from,
                    long to)
                    throws JFException
Throws:
JFException

cdlHarami

int cdlHarami(Instrument instrument,
              Period period,
              OfferSide side,
              int shift)
              throws JFException
Throws:
JFException

cdlHarami

int[] cdlHarami(Instrument instrument,
                Period period,
                OfferSide side,
                long from,
                long to)
                throws JFException
Throws:
JFException

cdlHaramiCross

int cdlHaramiCross(Instrument instrument,
                   Period period,
                   OfferSide side,
                   int shift)
                   throws JFException
Throws:
JFException

cdlHaramiCross

int[] cdlHaramiCross(Instrument instrument,
                     Period period,
                     OfferSide side,
                     long from,
                     long to)
                     throws JFException
Throws:
JFException

cdlHighWave

int cdlHighWave(Instrument instrument,
                Period period,
                OfferSide side,
                int shift)
                throws JFException
Throws:
JFException

cdlHighWave

int[] cdlHighWave(Instrument instrument,
                  Period period,
                  OfferSide side,
                  long from,
                  long to)
                  throws JFException
Throws:
JFException

cdlHikkake

int cdlHikkake(Instrument instrument,
               Period period,
               OfferSide side,
               int shift)
               throws JFException
Throws:
JFException

cdlHikkake

int[] cdlHikkake(Instrument instrument,
                 Period period,
                 OfferSide side,
                 long from,
                 long to)
                 throws JFException
Throws:
JFException

cdlHikkakeMod

int cdlHikkakeMod(Instrument instrument,
                  Period period,
                  OfferSide side,
                  int shift)
                  throws JFException
Throws:
JFException

cdlHikkakeMod

int[] cdlHikkakeMod(Instrument instrument,
                    Period period,
                    OfferSide side,
                    long from,
                    long to)
                    throws JFException
Throws:
JFException

cdlHomingPigeon

int cdlHomingPigeon(Instrument instrument,
                    Period period,
                    OfferSide side,
                    int shift)
                    throws JFException
Throws:
JFException

cdlHomingPigeon

int[] cdlHomingPigeon(Instrument instrument,
                      Period period,
                      OfferSide side,
                      long from,
                      long to)
                      throws JFException
Throws:
JFException

cdlIdentical3Crows

int cdlIdentical3Crows(Instrument instrument,
                       Period period,
                       OfferSide side,
                       int shift)
                       throws JFException
Throws:
JFException

cdlIdentical3Crows

int[] cdlIdentical3Crows(Instrument instrument,
                         Period period,
                         OfferSide side,
                         long from,
                         long to)
                         throws JFException
Throws:
JFException

cdlInNeck

int cdlInNeck(Instrument instrument,
              Period period,
              OfferSide side,
              int shift)
              throws JFException
Throws:
JFException

cdlInNeck

int[] cdlInNeck(Instrument instrument,
                Period period,
                OfferSide side,
                long from,
                long to)
                throws JFException
Throws:
JFException

cdlInvertedHammer

int cdlInvertedHammer(Instrument instrument,
                      Period period,
                      OfferSide side,
                      int shift)
                      throws JFException
Throws:
JFException

cdlInvertedHammer

int[] cdlInvertedHammer(Instrument instrument,
                        Period period,
                        OfferSide side,
                        long from,
                        long to)
                        throws JFException
Throws:
JFException

cdlKicking

int cdlKicking(Instrument instrument,
               Period period,
               OfferSide side,
               int shift)
               throws JFException
Throws:
JFException

cdlKicking

int[] cdlKicking(Instrument instrument,
                 Period period,
                 OfferSide side,
                 long from,
                 long to)
                 throws JFException
Throws:
JFException

cdlKickingByLength

int cdlKickingByLength(Instrument instrument,
                       Period period,
                       OfferSide side,
                       int shift)
                       throws JFException
Throws:
JFException

cdlKickingByLength

int[] cdlKickingByLength(Instrument instrument,
                         Period period,
                         OfferSide side,
                         long from,
                         long to)
                         throws JFException
Throws:
JFException

cdlLadderBotton

int cdlLadderBotton(Instrument instrument,
                    Period period,
                    OfferSide side,
                    int shift)
                    throws JFException
Throws:
JFException

cdlLadderBotton

int[] cdlLadderBotton(Instrument instrument,
                      Period period,
                      OfferSide side,
                      long from,
                      long to)
                      throws JFException
Throws:
JFException

cdlLongLeggedDoji

int cdlLongLeggedDoji(Instrument instrument,
                      Period period,
                      OfferSide side,
                      int shift)
                      throws JFException
Throws:
JFException

cdlLongLeggedDoji

int[] cdlLongLeggedDoji(Instrument instrument,
                        Period period,
                        OfferSide side,
                        long from,
                        long to)
                        throws JFException
Throws:
JFException

cdlLongLine

int cdlLongLine(Instrument instrument,
                Period period,
                OfferSide side,
                int shift)
                throws JFException
Throws:
JFException

cdlLongLine

int[] cdlLongLine(Instrument instrument,
                  Period period,
                  OfferSide side,
                  long from,
                  long to)
                  throws JFException
Throws:
JFException

cdlMarubozu

int cdlMarubozu(Instrument instrument,
                Period period,
                OfferSide side,
                int shift)
                throws JFException
Throws:
JFException

cdlMarubozu

int[] cdlMarubozu(Instrument instrument,
                  Period period,
                  OfferSide side,
                  long from,
                  long to)
                  throws JFException
Throws:
JFException

cdlMatchingLow

int cdlMatchingLow(Instrument instrument,
                   Period period,
                   OfferSide side,
                   int shift)
                   throws JFException
Throws:
JFException

cdlMatchingLow

int[] cdlMatchingLow(Instrument instrument,
                     Period period,
                     OfferSide side,
                     long from,
                     long to)
                     throws JFException
Throws:
JFException

cdlMathold

int cdlMathold(Instrument instrument,
               Period period,
               OfferSide side,
               double penetration,
               int shift)
               throws JFException
Throws:
JFException

cdlMathold

int[] cdlMathold(Instrument instrument,
                 Period period,
                 OfferSide side,
                 double penetration,
                 long from,
                 long to)
                 throws JFException
Throws:
JFException

cdlMorningDojiStar

int cdlMorningDojiStar(Instrument instrument,
                       Period period,
                       OfferSide side,
                       double penetration,
                       int shift)
                       throws JFException
Throws:
JFException

cdlMorningDojiStar

int[] cdlMorningDojiStar(Instrument instrument,
                         Period period,
                         OfferSide side,
                         double penetration,
                         long from,
                         long to)
                         throws JFException
Throws:
JFException

cdlMorningStar

int cdlMorningStar(Instrument instrument,
                   Period period,
                   OfferSide side,
                   double penetration,
                   int shift)
                   throws JFException
Throws:
JFException

cdlMorningStar

int[] cdlMorningStar(Instrument instrument,
                     Period period,
                     OfferSide side,
                     double penetration,
                     long from,
                     long to)
                     throws JFException
Throws:
JFException

cdlOnNeck

int cdlOnNeck(Instrument instrument,
              Period period,
              OfferSide side,
              int shift)
              throws JFException
Throws:
JFException

cdlOnNeck

int[] cdlOnNeck(Instrument instrument,
                Period period,
                OfferSide side,
                long from,
                long to)
                throws JFException
Throws:
JFException

cdlPiercing

int cdlPiercing(Instrument instrument,
                Period period,
                OfferSide side,
                int shift)
                throws JFException
Throws:
JFException

cdlPiercing

int[] cdlPiercing(Instrument instrument,
                  Period period,
                  OfferSide side,
                  long from,
                  long to)
                  throws JFException
Throws:
JFException

cdlRickshawMan

int cdlRickshawMan(Instrument instrument,
                   Period period,
                   OfferSide side,
                   int shift)
                   throws JFException
Throws:
JFException

cdlRickshawMan

int[] cdlRickshawMan(Instrument instrument,
                     Period period,
                     OfferSide side,
                     long from,
                     long to)
                     throws JFException
Throws:
JFException

cdlRiseFall3Methods

int cdlRiseFall3Methods(Instrument instrument,
                        Period period,
                        OfferSide side,
                        int shift)
                        throws JFException
Throws:
JFException

cdlRiseFall3Methods

int[] cdlRiseFall3Methods(Instrument instrument,
                          Period period,
                          OfferSide side,
                          long from,
                          long to)
                          throws JFException
Throws:
JFException

cdlSeparatingLines

int cdlSeparatingLines(Instrument instrument,
                       Period period,
                       OfferSide side,
                       int shift)
                       throws JFException
Throws:
JFException

cdlSeparatingLines

int[] cdlSeparatingLines(Instrument instrument,
                         Period period,
                         OfferSide side,
                         long from,
                         long to)
                         throws JFException
Throws:
JFException

cdlShootingStar

int cdlShootingStar(Instrument instrument,
                    Period period,
                    OfferSide side,
                    int shift)
                    throws JFException
Throws:
JFException

cdlShootingStar

int[] cdlShootingStar(Instrument instrument,
                      Period period,
                      OfferSide side,
                      long from,
                      long to)
                      throws JFException
Throws:
JFException

cdlShortLine

int cdlShortLine(Instrument instrument,
                 Period period,
                 OfferSide side,
                 int shift)
                 throws JFException
Throws:
JFException

cdlShortLine

int[] cdlShortLine(Instrument instrument,
                   Period period,
                   OfferSide side,
                   long from,
                   long to)
                   throws JFException
Throws:
JFException

cdlSpinningTop

int cdlSpinningTop(Instrument instrument,
                   Period period,
                   OfferSide side,
                   int shift)
                   throws JFException
Throws:
JFException

cdlSpinningTop

int[] cdlSpinningTop(Instrument instrument,
                     Period period,
                     OfferSide side,
                     long from,
                     long to)
                     throws JFException
Throws:
JFException

cdlStalledPattern

int cdlStalledPattern(Instrument instrument,
                      Period period,
                      OfferSide side,
                      int shift)
                      throws JFException
Throws:
JFException

cdlStalledPattern

int[] cdlStalledPattern(Instrument instrument,
                        Period period,
                        OfferSide side,
                        long from,
                        long to)
                        throws JFException
Throws:
JFException

cdlStickSandwich

int cdlStickSandwich(Instrument instrument,
                     Period period,
                     OfferSide side,
                     int shift)
                     throws JFException
Throws:
JFException

cdlStickSandwich

int[] cdlStickSandwich(Instrument instrument,
                       Period period,
                       OfferSide side,
                       long from,
                       long to)
                       throws JFException
Throws:
JFException

cdlTakuri

int cdlTakuri(Instrument instrument,
              Period period,
              OfferSide side,
              int shift)
              throws JFException
Throws:
JFException

cdlTakuri

int[] cdlTakuri(Instrument instrument,
                Period period,
                OfferSide side,
                long from,
                long to)
                throws JFException
Throws:
JFException

cdlTasukiGap

int cdlTasukiGap(Instrument instrument,
                 Period period,
                 OfferSide side,
                 int shift)
                 throws JFException
Throws:
JFException

cdlTasukiGap

int[] cdlTasukiGap(Instrument instrument,
                   Period period,
                   OfferSide side,
                   long from,
                   long to)
                   throws JFException
Throws:
JFException

cdlThrusting

int cdlThrusting(Instrument instrument,
                 Period period,
                 OfferSide side,
                 int shift)
                 throws JFException
Throws:
JFException

cdlThrusting

int[] cdlThrusting(Instrument instrument,
                   Period period,
                   OfferSide side,
                   long from,
                   long to)
                   throws JFException
Throws:
JFException

cdlTristar

int cdlTristar(Instrument instrument,
               Period period,
               OfferSide side,
               int shift)
               throws JFException
Throws:
JFException

cdlTristar

int[] cdlTristar(Instrument instrument,
                 Period period,
                 OfferSide side,
                 long from,
                 long to)
                 throws JFException
Throws:
JFException

cdlUnique3River

int cdlUnique3River(Instrument instrument,
                    Period period,
                    OfferSide side,
                    int shift)
                    throws JFException
Throws:
JFException

cdlUnique3River

int[] cdlUnique3River(Instrument instrument,
                      Period period,
                      OfferSide side,
                      long from,
                      long to)
                      throws JFException
Throws:
JFException

cdlUpsideGap2Crows

int cdlUpsideGap2Crows(Instrument instrument,
                       Period period,
                       OfferSide side,
                       int shift)
                       throws JFException
Throws:
JFException

cdlUpsideGap2Crows

int[] cdlUpsideGap2Crows(Instrument instrument,
                         Period period,
                         OfferSide side,
                         long from,
                         long to)
                         throws JFException
Throws:
JFException

cdlXsideGap3Methods

int cdlXsideGap3Methods(Instrument instrument,
                        Period period,
                        OfferSide side,
                        int shift)
                        throws JFException
Throws:
JFException

cdlXsideGap3Methods

int[] cdlXsideGap3Methods(Instrument instrument,
                          Period period,
                          OfferSide side,
                          long from,
                          long to)
                          throws JFException
Throws:
JFException

ceil

double ceil(Instrument instrument,
            Period period,
            OfferSide side,
            IIndicators.AppliedPrice appliedPrice,
            int shift)
            throws JFException
Throws:
JFException

ceil

double[] ceil(Instrument instrument,
              Period period,
              OfferSide side,
              IIndicators.AppliedPrice appliedPrice,
              long from,
              long to)
              throws JFException
Throws:
JFException

cmo

double cmo(Instrument instrument,
           Period period,
           OfferSide side,
           IIndicators.AppliedPrice appliedPrice,
           int timePeriod,
           int shift)
           throws JFException
Throws:
JFException

cmo

double[] cmo(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             int timePeriod,
             long from,
             long to)
             throws JFException
Throws:
JFException

correl

double correl(Instrument instrument,
              Period period,
              OfferSide side1,
              IIndicators.AppliedPrice appliedPrice1,
              OfferSide side2,
              IIndicators.AppliedPrice appliedPrice2,
              int timePeriod,
              int shift)
              throws JFException
Throws:
JFException

correl

double[] correl(Instrument instrument,
                Period period,
                OfferSide side1,
                IIndicators.AppliedPrice appliedPrice1,
                OfferSide side2,
                IIndicators.AppliedPrice appliedPrice2,
                int timePeriod,
                long from,
                long to)
                throws JFException
Throws:
JFException

cos

double cos(Instrument instrument,
           Period period,
           OfferSide side,
           IIndicators.AppliedPrice appliedPrice,
           int shift)
           throws JFException
Throws:
JFException

cos

double[] cos(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             long from,
             long to)
             throws JFException
Throws:
JFException

cosh

double cosh(Instrument instrument,
            Period period,
            OfferSide side,
            IIndicators.AppliedPrice appliedPrice,
            int shift)
            throws JFException
Throws:
JFException

cosh

double[] cosh(Instrument instrument,
              Period period,
              OfferSide side,
              IIndicators.AppliedPrice appliedPrice,
              long from,
              long to)
              throws JFException
Throws:
JFException

dema

double dema(Instrument instrument,
            Period period,
            OfferSide side,
            IIndicators.AppliedPrice appliedPrice,
            int timePeriod,
            int shift)
            throws JFException
Throws:
JFException

dema

double[] dema(Instrument instrument,
              Period period,
              OfferSide side,
              IIndicators.AppliedPrice appliedPrice,
              int timePeriod,
              long from,
              long to)
              throws JFException
Throws:
JFException

div

double div(Instrument instrument,
           Period period,
           OfferSide side1,
           IIndicators.AppliedPrice appliedPrice1,
           OfferSide side2,
           IIndicators.AppliedPrice appliedPrice2,
           int shift)
           throws JFException
Throws:
JFException

div

double[] div(Instrument instrument,
             Period period,
             OfferSide side1,
             IIndicators.AppliedPrice appliedPrice1,
             OfferSide side2,
             IIndicators.AppliedPrice appliedPrice2,
             long from,
             long to)
             throws JFException
Throws:
JFException

dx

double dx(Instrument instrument,
          Period period,
          OfferSide side,
          int timePeriod,
          int shift)
          throws JFException
Throws:
JFException

dx

double[] dx(Instrument instrument,
            Period period,
            OfferSide side,
            int timePeriod,
            long from,
            long to)
            throws JFException
Throws:
JFException

ema

double ema(Instrument instrument,
           Period period,
           OfferSide side,
           IIndicators.AppliedPrice appliedPrice,
           int timePeriod,
           int shift)
           throws JFException
Calculates Exponential Moving Average for bar specified with shift parameter.

Parameters:
instrument - instrument of the bar
period - period of the bar
side - bid or ask side of the bar
appliedPrice - type of input data
timePeriod - time period value
shift - number of candle back in time staring from current bar. 0 - current bar (currently generated from ticks), 1 - previous bar (last formed bar), 2 - current bar minus 2 bars and so on
Returns:
value for bar
Throws:
JFException - when parameters is not valid

ema

double[] ema(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             int timePeriod,
             long from,
             long to)
             throws JFException
Calculates Exponential Moving Average for ticks or bars in specified period. For ticks, bars with 1 second period are calculated first using side specified in parameter, resulting data are calculated from this bars. Returning array for ticks is array of values for 1second bars.

Parameters:
instrument - instrument of the bar or tick
period - period of the bar or TICK
side - which price to take for 1sec bars generation for ticks or side for bars
appliedPrice - type of input data
timePeriod - time period value
from - start of the time interval for which bars or ticks should be loaded. Should be the exact starting time of the bar for specified period. See IHistory.getBarStart(Period, long) description if you want to get bar starting time for bar that includes specific time
to - end time of the time interval for which bars or ticks should be loaded. This is the starting time of the last bar/tick to be loaded
Returns:
values for bars
Throws:
JFException - when parameters is not valid

exp

double exp(Instrument instrument,
           Period period,
           OfferSide side,
           IIndicators.AppliedPrice appliedPrice,
           int shift)
           throws JFException
Throws:
JFException

exp

double[] exp(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             long from,
             long to)
             throws JFException
Throws:
JFException

floor

double floor(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             int shift)
             throws JFException
Throws:
JFException

floor

double[] floor(Instrument instrument,
               Period period,
               OfferSide side,
               IIndicators.AppliedPrice appliedPrice,
               long from,
               long to)
               throws JFException
Throws:
JFException

ht_dcperiod

double ht_dcperiod(Instrument instrument,
                   Period period,
                   OfferSide side,
                   IIndicators.AppliedPrice appliedPrice,
                   int shift)
                   throws JFException
Throws:
JFException

ht_dcperiod

double[] ht_dcperiod(Instrument instrument,
                     Period period,
                     OfferSide side,
                     IIndicators.AppliedPrice appliedPrice,
                     long from,
                     long to)
                     throws JFException
Throws:
JFException

ht_dcphase

double ht_dcphase(Instrument instrument,
                  Period period,
                  OfferSide side,
                  IIndicators.AppliedPrice appliedPrice,
                  int shift)
                  throws JFException
Throws:
JFException

ht_dcphase

double[] ht_dcphase(Instrument instrument,
                    Period period,
                    OfferSide side,
                    IIndicators.AppliedPrice appliedPrice,
                    long from,
                    long to)
                    throws JFException
Throws:
JFException

ht_phasor

double[] ht_phasor(Instrument instrument,
                   Period period,
                   OfferSide side,
                   IIndicators.AppliedPrice appliedPrice,
                   int shift)
                   throws JFException
Throws:
JFException

ht_phasor

double[][] ht_phasor(Instrument instrument,
                     Period period,
                     OfferSide side,
                     IIndicators.AppliedPrice appliedPrice,
                     long from,
                     long to)
                     throws JFException
Throws:
JFException

ht_sine

double[] ht_sine(Instrument instrument,
                 Period period,
                 OfferSide side,
                 IIndicators.AppliedPrice appliedPrice,
                 int shift)
                 throws JFException
Throws:
JFException

ht_sine

double[][] ht_sine(Instrument instrument,
                   Period period,
                   OfferSide side,
                   IIndicators.AppliedPrice appliedPrice,
                   long from,
                   long to)
                   throws JFException
Throws:
JFException

ht_trendline

double ht_trendline(Instrument instrument,
                    Period period,
                    OfferSide side,
                    IIndicators.AppliedPrice appliedPrice,
                    int shift)
                    throws JFException
Throws:
JFException

ht_trendline

double[] ht_trendline(Instrument instrument,
                      Period period,
                      OfferSide side,
                      IIndicators.AppliedPrice appliedPrice,
                      long from,
                      long to)
                      throws JFException
Throws:
JFException

ht_trendmode

int ht_trendmode(Instrument instrument,
                 Period period,
                 OfferSide side,
                 IIndicators.AppliedPrice appliedPrice,
                 int shift)
                 throws JFException
Throws:
JFException

ht_trendmode

int[] ht_trendmode(Instrument instrument,
                   Period period,
                   OfferSide side,
                   IIndicators.AppliedPrice appliedPrice,
                   long from,
                   long to)
                   throws JFException
Throws:
JFException

kama

double kama(Instrument instrument,
            Period period,
            OfferSide side,
            IIndicators.AppliedPrice appliedPrice,
            int timePeriod,
            int shift)
            throws JFException
Throws:
JFException

kama

double[] kama(Instrument instrument,
              Period period,
              OfferSide side,
              IIndicators.AppliedPrice appliedPrice,
              int timePeriod,
              long from,
              long to)
              throws JFException
Throws:
JFException

linearReg

double linearReg(Instrument instrument,
                 Period period,
                 OfferSide side,
                 IIndicators.AppliedPrice appliedPrice,
                 int timePeriod,
                 int shift)
                 throws JFException
Throws:
JFException

linearReg

double[] linearReg(Instrument instrument,
                   Period period,
                   OfferSide side,
                   IIndicators.AppliedPrice appliedPrice,
                   int timePeriod,
                   long from,
                   long to)
                   throws JFException
Throws:
JFException

linearRegAngle

double linearRegAngle(Instrument instrument,
                      Period period,
                      OfferSide side,
                      IIndicators.AppliedPrice appliedPrice,
                      int timePeriod,
                      int shift)
                      throws JFException
Throws:
JFException

linearRegAngle

double[] linearRegAngle(Instrument instrument,
                        Period period,
                        OfferSide side,
                        IIndicators.AppliedPrice appliedPrice,
                        int timePeriod,
                        long from,
                        long to)
                        throws JFException
Throws:
JFException

linearRegIntercept

double linearRegIntercept(Instrument instrument,
                          Period period,
                          OfferSide side,
                          IIndicators.AppliedPrice appliedPrice,
                          int timePeriod,
                          int shift)
                          throws JFException
Throws:
JFException

linearRegIntercept

double[] linearRegIntercept(Instrument instrument,
                            Period period,
                            OfferSide side,
                            IIndicators.AppliedPrice appliedPrice,
                            int timePeriod,
                            long from,
                            long to)
                            throws JFException
Throws:
JFException

linearRegSlope

double linearRegSlope(Instrument instrument,
                      Period period,
                      OfferSide side,
                      IIndicators.AppliedPrice appliedPrice,
                      int timePeriod,
                      int shift)
                      throws JFException
Throws:
JFException

linearRegSlope

double[] linearRegSlope(Instrument instrument,
                        Period period,
                        OfferSide side,
                        IIndicators.AppliedPrice appliedPrice,
                        int timePeriod,
                        long from,
                        long to)
                        throws JFException
Throws:
JFException

ln

double ln(Instrument instrument,
          Period period,
          OfferSide side,
          IIndicators.AppliedPrice appliedPrice,
          int shift)
          throws JFException
Throws:
JFException

ln

double[] ln(Instrument instrument,
            Period period,
            OfferSide side,
            IIndicators.AppliedPrice appliedPrice,
            long from,
            long to)
            throws JFException
Throws:
JFException

log10

double log10(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             int shift)
             throws JFException
Throws:
JFException

log10

double[] log10(Instrument instrument,
               Period period,
               OfferSide side,
               IIndicators.AppliedPrice appliedPrice,
               long from,
               long to)
               throws JFException
Throws:
JFException

ma

double ma(Instrument instrument,
          Period period,
          OfferSide side,
          IIndicators.AppliedPrice appliedPrice,
          int timePeriod,
          IIndicators.MaType maType,
          int shift)
          throws JFException
Throws:
JFException

ma

double[] ma(Instrument instrument,
            Period period,
            OfferSide side,
            IIndicators.AppliedPrice appliedPrice,
            int timePeriod,
            IIndicators.MaType maType,
            long from,
            long to)
            throws JFException
Throws:
JFException

macd

double[] macd(Instrument instrument,
              Period period,
              OfferSide side,
              IIndicators.AppliedPrice appliedPrice,
              int fastPeriod,
              int slowPeriod,
              int signalPeriod,
              int shift)
              throws JFException
Throws:
JFException

macd

double[][] macd(Instrument instrument,
                Period period,
                OfferSide side,
                IIndicators.AppliedPrice appliedPrice,
                int fastPeriod,
                int slowPeriod,
                int signalPeriod,
                long from,
                long to)
                throws JFException
Throws:
JFException

macdExt

double[] macdExt(Instrument instrument,
                 Period period,
                 OfferSide side,
                 IIndicators.AppliedPrice appliedPrice,
                 int fastPeriod,
                 IIndicators.MaType fastMaType,
                 int slowPeriod,
                 IIndicators.MaType slowMaType,
                 int signalPeriod,
                 IIndicators.MaType signalMaType,
                 int shift)
                 throws JFException
Throws:
JFException

macdExt

double[][] macdExt(Instrument instrument,
                   Period period,
                   OfferSide side,
                   IIndicators.AppliedPrice appliedPrice,
                   int fastPeriod,
                   IIndicators.MaType fastMaType,
                   int slowPeriod,
                   IIndicators.MaType slowMaType,
                   int signalPeriod,
                   IIndicators.MaType signalMaType,
                   long from,
                   long to)
                   throws JFException
Throws:
JFException

macdFix

double[] macdFix(Instrument instrument,
                 Period period,
                 OfferSide side,
                 IIndicators.AppliedPrice appliedPrice,
                 int signalPeriod,
                 int shift)
                 throws JFException
Throws:
JFException

macdFix

double[][] macdFix(Instrument instrument,
                   Period period,
                   OfferSide side,
                   IIndicators.AppliedPrice appliedPrice,
                   int signalPeriod,
                   long from,
                   long to)
                   throws JFException
Throws:
JFException

mama

double[] mama(Instrument instrument,
              Period period,
              OfferSide side,
              IIndicators.AppliedPrice appliedPrice,
              double fastLimit,
              double slowLimit,
              int shift)
              throws JFException
Throws:
JFException

mama

double[][] mama(Instrument instrument,
                Period period,
                OfferSide side,
                IIndicators.AppliedPrice appliedPrice,
                double fastLimit,
                double slowLimit,
                long from,
                long to)
                throws JFException
Throws:
JFException

mavp

double mavp(Instrument instrument,
            Period period,
            OfferSide side1,
            IIndicators.AppliedPrice appliedPrice1,
            OfferSide side2,
            IIndicators.AppliedPrice appliedPrice2,
            int minPeriod,
            int maxPeriod,
            IIndicators.MaType maType,
            int shift)
            throws JFException
Throws:
JFException

mavp

double[] mavp(Instrument instrument,
              Period period,
              OfferSide side1,
              IIndicators.AppliedPrice appliedPrice1,
              OfferSide side2,
              IIndicators.AppliedPrice appliedPrice2,
              int minPeriod,
              int maxPeriod,
              IIndicators.MaType maType,
              long from,
              long to)
              throws JFException
Throws:
JFException

max

double max(Instrument instrument,
           Period period,
           OfferSide side,
           IIndicators.AppliedPrice appliedPrice,
           int timePeriod,
           int shift)
           throws JFException
Throws:
JFException

max

double[] max(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             int timePeriod,
             long from,
             long to)
             throws JFException
Throws:
JFException

medPrice

double medPrice(Instrument instrument,
                Period period,
                OfferSide side,
                int shift)
                throws JFException
Throws:
JFException

medPrice

double[] medPrice(Instrument instrument,
                  Period period,
                  OfferSide side,
                  long from,
                  long to)
                  throws JFException
Throws:
JFException

mfi

double mfi(Instrument instrument,
           Period period,
           OfferSide side,
           int timePeriod,
           int shift)
           throws JFException
Throws:
JFException

mfi

double[] mfi(Instrument instrument,
             Period period,
             OfferSide side,
             int timePeriod,
             long from,
             long to)
             throws JFException
Throws:
JFException

midPoint

double midPoint(Instrument instrument,
                Period period,
                OfferSide side,
                IIndicators.AppliedPrice appliedPrice,
                int timePeriod,
                int shift)
                throws JFException
Throws:
JFException

midPoint

double[] midPoint(Instrument instrument,
                  Period period,
                  OfferSide side,
                  IIndicators.AppliedPrice appliedPrice,
                  int timePeriod,
                  long from,
                  long to)
                  throws JFException
Throws:
JFException

midPrice

double midPrice(Instrument instrument,
                Period period,
                OfferSide side,
                int timePeriod,
                int shift)
                throws JFException
Throws:
JFException

midPrice

double[] midPrice(Instrument instrument,
                  Period period,
                  OfferSide side,
                  int timePeriod,
                  long from,
                  long to)
                  throws JFException
Throws:
JFException

min

double min(Instrument instrument,
           Period period,
           OfferSide side,
           IIndicators.AppliedPrice appliedPrice,
           int timePeriod,
           int shift)
           throws JFException
Throws:
JFException

min

double[] min(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             int timePeriod,
             long from,
             long to)
             throws JFException
Throws:
JFException

minMax

double[] minMax(Instrument instrument,
                Period period,
                OfferSide side,
                IIndicators.AppliedPrice appliedPrice,
                int timePeriod,
                int shift)
                throws JFException
Throws:
JFException

minMax

double[][] minMax(Instrument instrument,
                  Period period,
                  OfferSide side,
                  IIndicators.AppliedPrice appliedPrice,
                  int timePeriod,
                  long from,
                  long to)
                  throws JFException
Throws:
JFException

minusDi

double minusDi(Instrument instrument,
               Period period,
               OfferSide side,
               int timePeriod,
               int shift)
               throws JFException
Throws:
JFException

minusDi

double[] minusDi(Instrument instrument,
                 Period period,
                 OfferSide side,
                 int timePeriod,
                 long from,
                 long to)
                 throws JFException
Throws:
JFException

minusDm

double minusDm(Instrument instrument,
               Period period,
               OfferSide side,
               int timePeriod,
               int shift)
               throws JFException
Throws:
JFException

minusDm

double[] minusDm(Instrument instrument,
                 Period period,
                 OfferSide side,
                 int timePeriod,
                 long from,
                 long to)
                 throws JFException
Throws:
JFException

mom

double mom(Instrument instrument,
           Period period,
           OfferSide side,
           IIndicators.AppliedPrice appliedPrice,
           int timePeriod,
           int shift)
           throws JFException
Throws:
JFException

mom

double[] mom(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             int timePeriod,
             long from,
             long to)
             throws JFException
Throws:
JFException

mult

double mult(Instrument instrument,
            Period period,
            OfferSide side1,
            IIndicators.AppliedPrice appliedPrice1,
            OfferSide side2,
            IIndicators.AppliedPrice appliedPrice2,
            int shift)
            throws JFException
Throws:
JFException

mult

double[] mult(Instrument instrument,
              Period period,
              OfferSide side1,
              IIndicators.AppliedPrice appliedPrice1,
              OfferSide side2,
              IIndicators.AppliedPrice appliedPrice2,
              long from,
              long to)
              throws JFException
Throws:
JFException

natr

double natr(Instrument instrument,
            Period period,
            OfferSide side,
            int timePeriod,
            int shift)
            throws JFException
Throws:
JFException

natr

double[] natr(Instrument instrument,
              Period period,
              OfferSide side,
              int timePeriod,
              long from,
              long to)
              throws JFException
Throws:
JFException

obv

double obv(Instrument instrument,
           Period period,
           OfferSide side,
           IIndicators.AppliedPrice appliedPrice,
           OfferSide sideForPriceV,
           int shift)
           throws JFException
Throws:
JFException

obv

double[] obv(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             OfferSide sideForPriceV,
             long from,
             long to)
             throws JFException
Throws:
JFException

plusDi

double plusDi(Instrument instrument,
              Period period,
              OfferSide side,
              int timePeriod,
              int shift)
              throws JFException
Throws:
JFException

plusDi

double[] plusDi(Instrument instrument,
                Period period,
                OfferSide side,
                int timePeriod,
                long from,
                long to)
                throws JFException
Throws:
JFException

plusDm

double plusDm(Instrument instrument,
              Period period,
              OfferSide side,
              int timePeriod,
              int shift)
              throws JFException
Throws:
JFException

plusDm

double[] plusDm(Instrument instrument,
                Period period,
                OfferSide side,
                int timePeriod,
                long from,
                long to)
                throws JFException
Throws:
JFException

ppo

double ppo(Instrument instrument,
           Period period,
           OfferSide side,
           IIndicators.AppliedPrice appliedPrice,
           int fastPeriod,
           int slowPeriod,
           IIndicators.MaType maType,
           int shift)
           throws JFException
Throws:
JFException

ppo

double[] ppo(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             int fastPeriod,
             int slowPeriod,
             IIndicators.MaType maType,
             long from,
             long to)
             throws JFException
Throws:
JFException

roc

double roc(Instrument instrument,
           Period period,
           OfferSide side,
           IIndicators.AppliedPrice appliedPrice,
           int timePeriod,
           int shift)
           throws JFException
Throws:
JFException

roc

double[] roc(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             int timePeriod,
             long from,
             long to)
             throws JFException
Throws:
JFException

rocp

double rocp(Instrument instrument,
            Period period,
            OfferSide side,
            IIndicators.AppliedPrice appliedPrice,
            int timePeriod,
            int shift)
            throws JFException
Throws:
JFException

rocp

double[] rocp(Instrument instrument,
              Period period,
              OfferSide side,
              IIndicators.AppliedPrice appliedPrice,
              int timePeriod,
              long from,
              long to)
              throws JFException
Throws:
JFException

rocr

double rocr(Instrument instrument,
            Period period,
            OfferSide side,
            IIndicators.AppliedPrice appliedPrice,
            int timePeriod,
            int shift)
            throws JFException
Throws:
JFException

rocr

double[] rocr(Instrument instrument,
              Period period,
              OfferSide side,
              IIndicators.AppliedPrice appliedPrice,
              int timePeriod,
              long from,
              long to)
              throws JFException
Throws:
JFException

rocr100

double rocr100(Instrument instrument,
               Period period,
               OfferSide side,
               IIndicators.AppliedPrice appliedPrice,
               int timePeriod,
               int shift)
               throws JFException
Throws:
JFException

rocr100

double[] rocr100(Instrument instrument,
                 Period period,
                 OfferSide side,
                 IIndicators.AppliedPrice appliedPrice,
                 int timePeriod,
                 long from,
                 long to)
                 throws JFException
Throws:
JFException

rsi

double rsi(Instrument instrument,
           Period period,
           OfferSide side,
           IIndicators.AppliedPrice appliedPrice,
           int timePeriod,
           int shift)
           throws JFException
Throws:
JFException

rsi

double[] rsi(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             int timePeriod,
             long from,
             long to)
             throws JFException
Throws:
JFException

sar

double sar(Instrument instrument,
           Period period,
           OfferSide side,
           double acceleration,
           double maximum,
           int shift)
           throws JFException
Throws:
JFException

sar

double[] sar(Instrument instrument,
             Period period,
             OfferSide side,
             double acceleration,
             double maximum,
             long from,
             long to)
             throws JFException
Throws:
JFException

sarExt

double sarExt(Instrument instrument,
              Period period,
              OfferSide side,
              double startValue,
              double offsetOnReverse,
              double accelerationInitLong,
              double accelerationLong,
              double accelerationMaxLong,
              double accelerationInitShort,
              double accelerationShort,
              double accelerationMaxShort,
              int shift)
              throws JFException
Note! function returns negative values to show that position is short

Throws:
JFException

sarExt

double[] sarExt(Instrument instrument,
                Period period,
                OfferSide side,
                double startValue,
                double offsetOnReverse,
                double accelerationInitLong,
                double accelerationLong,
                double accelerationMaxLong,
                double accelerationInitShort,
                double accelerationShort,
                double accelerationMaxShort,
                long from,
                long to)
                throws JFException
Note! function returns negative values to show that position is short

Throws:
JFException

sin

double sin(Instrument instrument,
           Period period,
           OfferSide side,
           IIndicators.AppliedPrice appliedPrice,
           int shift)
           throws JFException
Throws:
JFException

sin

double[] sin(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             long from,
             long to)
             throws JFException
Throws:
JFException

sinh

double sinh(Instrument instrument,
            Period period,
            OfferSide side,
            IIndicators.AppliedPrice appliedPrice,
            int shift)
            throws JFException
Throws:
JFException

sinh

double[] sinh(Instrument instrument,
              Period period,
              OfferSide side,
              IIndicators.AppliedPrice appliedPrice,
              long from,
              long to)
              throws JFException
Throws:
JFException

sma

double sma(Instrument instrument,
           Period period,
           OfferSide side,
           IIndicators.AppliedPrice appliedPrice,
           int timePeriod,
           int shift)
           throws JFException
Throws:
JFException

sma

double[] sma(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             int timePeriod,
             long from,
             long to)
             throws JFException
Throws:
JFException

sqrt

double sqrt(Instrument instrument,
            Period period,
            OfferSide side,
            IIndicators.AppliedPrice appliedPrice,
            int shift)
            throws JFException
Throws:
JFException

sqrt

double[] sqrt(Instrument instrument,
              Period period,
              OfferSide side,
              IIndicators.AppliedPrice appliedPrice,
              long from,
              long to)
              throws JFException
Throws:
JFException

stdDev

double stdDev(Instrument instrument,
              Period period,
              OfferSide side,
              IIndicators.AppliedPrice appliedPrice,
              int timePeriod,
              double nbDev,
              int shift)
              throws JFException
Throws:
JFException

stdDev

double[] stdDev(Instrument instrument,
                Period period,
                OfferSide side,
                IIndicators.AppliedPrice appliedPrice,
                int timePeriod,
                double nbDev,
                long from,
                long to)
                throws JFException
Throws:
JFException

stoch

double[] stoch(Instrument instrument,
               Period period,
               OfferSide side,
               int fastKPeriod,
               int slowKPeriod,
               IIndicators.MaType slowKMaType,
               int slowDPeriod,
               IIndicators.MaType slowDMaType,
               int shift)
               throws JFException
Throws:
JFException

stoch

double[][] stoch(Instrument instrument,
                 Period period,
                 OfferSide side,
                 int fastKPeriod,
                 int slowKPeriod,
                 IIndicators.MaType slowKMaType,
                 int slowDPeriod,
                 IIndicators.MaType slowDMaType,
                 long from,
                 long to)
                 throws JFException
Throws:
JFException

stochF

double[] stochF(Instrument instrument,
                Period period,
                OfferSide side,
                int fastKPeriod,
                int fastDPeriod,
                IIndicators.MaType fastDMaType,
                int shift)
                throws JFException
Throws:
JFException

stochF

double[][] stochF(Instrument instrument,
                  Period period,
                  OfferSide side,
                  int fastKPeriod,
                  int fastDPeriod,
                  IIndicators.MaType fastDMaType,
                  long from,
                  long to)
                  throws JFException
Throws:
JFException

stochRsi

double[] stochRsi(Instrument instrument,
                  Period period,
                  OfferSide side,
                  IIndicators.AppliedPrice appliedPrice,
                  int timePeriod,
                  int fastKPeriod,
                  int fastDPeriod,
                  IIndicators.MaType fastDMaType,
                  int shift)
                  throws JFException
Throws:
JFException

stochRsi

double[][] stochRsi(Instrument instrument,
                    Period period,
                    OfferSide side,
                    IIndicators.AppliedPrice appliedPrice,
                    int timePeriod,
                    int fastKPeriod,
                    int fastDPeriod,
                    IIndicators.MaType fastDMaType,
                    long from,
                    long to)
                    throws JFException
Throws:
JFException

sub

double sub(Instrument instrument,
           Period period,
           OfferSide side1,
           IIndicators.AppliedPrice appliedPrice1,
           OfferSide side2,
           IIndicators.AppliedPrice appliedPrice2,
           int shift)
           throws JFException
Throws:
JFException

sub

double[] sub(Instrument instrument,
             Period period,
             OfferSide side1,
             IIndicators.AppliedPrice appliedPrice1,
             OfferSide side2,
             IIndicators.AppliedPrice appliedPrice2,
             long from,
             long to)
             throws JFException
Throws:
JFException

sum

double sum(Instrument instrument,
           Period period,
           OfferSide side,
           IIndicators.AppliedPrice appliedPrice,
           int timePeriod,
           int shift)
           throws JFException
Throws:
JFException

sum

double[] sum(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             int timePeriod,
             long from,
             long to)
             throws JFException
Throws:
JFException

t3

double t3(Instrument instrument,
          Period period,
          OfferSide side,
          IIndicators.AppliedPrice appliedPrice,
          int timePeriod,
          double vFactor,
          int shift)
          throws JFException
Throws:
JFException

t3

double[] t3(Instrument instrument,
            Period period,
            OfferSide side,
            IIndicators.AppliedPrice appliedPrice,
            int timePeriod,
            double vFactor,
            long from,
            long to)
            throws JFException
Throws:
JFException

tan

double tan(Instrument instrument,
           Period period,
           OfferSide side,
           IIndicators.AppliedPrice appliedPrice,
           int shift)
           throws JFException
Throws:
JFException

tan

double[] tan(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             long from,
             long to)
             throws JFException
Throws:
JFException

tanh

double tanh(Instrument instrument,
            Period period,
            OfferSide side,
            IIndicators.AppliedPrice appliedPrice,
            int shift)
            throws JFException
Throws:
JFException

tanh

double[] tanh(Instrument instrument,
              Period period,
              OfferSide side,
              IIndicators.AppliedPrice appliedPrice,
              long from,
              long to)
              throws JFException
Throws:
JFException

td_i

double[] td_i(Instrument instrument,
              Period period,
              OfferSide side,
              int timePeriod,
              int shift)
              throws JFException
Throws:
JFException

td_i

double[][] td_i(Instrument instrument,
                Period period,
                OfferSide side,
                int timePeriod,
                long from,
                long to)
                throws JFException
Throws:
JFException

tema

double tema(Instrument instrument,
            Period period,
            OfferSide side,
            IIndicators.AppliedPrice appliedPrice,
            int timePeriod,
            int shift)
            throws JFException
Throws:
JFException

tema

double[] tema(Instrument instrument,
              Period period,
              OfferSide side,
              IIndicators.AppliedPrice appliedPrice,
              int timePeriod,
              long from,
              long to)
              throws JFException
Throws:
JFException

trange

double trange(Instrument instrument,
              Period period,
              OfferSide side,
              int shift)
              throws JFException
Throws:
JFException

trange

double[] trange(Instrument instrument,
                Period period,
                OfferSide side,
                long from,
                long to)
                throws JFException
Throws:
JFException

trima

double trima(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             int timePeriod,
             int shift)
             throws JFException
Throws:
JFException

trima

double[] trima(Instrument instrument,
               Period period,
               OfferSide side,
               IIndicators.AppliedPrice appliedPrice,
               int timePeriod,
               long from,
               long to)
               throws JFException
Throws:
JFException

trix

double trix(Instrument instrument,
            Period period,
            OfferSide side,
            IIndicators.AppliedPrice appliedPrice,
            int timePeriod,
            int shift)
            throws JFException
Throws:
JFException

trix

double[] trix(Instrument instrument,
              Period period,
              OfferSide side,
              IIndicators.AppliedPrice appliedPrice,
              int timePeriod,
              long from,
              long to)
              throws JFException
Throws:
JFException

tsf

double tsf(Instrument instrument,
           Period period,
           OfferSide side,
           IIndicators.AppliedPrice appliedPrice,
           int timePeriod,
           int shift)
           throws JFException
Throws:
JFException

tsf

double[] tsf(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             int timePeriod,
             long from,
             long to)
             throws JFException
Throws:
JFException

typPrice

double typPrice(Instrument instrument,
                Period period,
                OfferSide side,
                int shift)
                throws JFException
Throws:
JFException

typPrice

double[] typPrice(Instrument instrument,
                  Period period,
                  OfferSide side,
                  long from,
                  long to)
                  throws JFException
Throws:
JFException

ultOsc

double ultOsc(Instrument instrument,
              Period period,
              OfferSide side,
              int timePeriod1,
              int timePeriod2,
              int timePeriod3,
              int shift)
              throws JFException
Throws:
JFException

ultOsc

double[] ultOsc(Instrument instrument,
                Period period,
                OfferSide side,
                int timePeriod1,
                int timePeriod2,
                int timePeriod3,
                long from,
                long to)
                throws JFException
Throws:
JFException

var

double var(Instrument instrument,
           Period period,
           OfferSide side,
           IIndicators.AppliedPrice appliedPrice,
           int timePeriod,
           double nbDev,
           int shift)
           throws JFException
Throws:
JFException

var

double[] var(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             int timePeriod,
             double nbDev,
             long from,
             long to)
             throws JFException
Throws:
JFException

wclPrice

double wclPrice(Instrument instrument,
                Period period,
                OfferSide side,
                int shift)
                throws JFException
Throws:
JFException

wclPrice

double[] wclPrice(Instrument instrument,
                  Period period,
                  OfferSide side,
                  long from,
                  long to)
                  throws JFException
Throws:
JFException

willr

double willr(Instrument instrument,
             Period period,
             OfferSide side,
             int timePeriod,
             int shift)
             throws JFException
Throws:
JFException

willr

double[] willr(Instrument instrument,
               Period period,
               OfferSide side,
               int timePeriod,
               long from,
               long to)
               throws JFException
Throws:
JFException

wma

double wma(Instrument instrument,
           Period period,
           OfferSide side,
           IIndicators.AppliedPrice appliedPrice,
           int timePeriod,
           int shift)
           throws JFException
Throws:
JFException

wma

double[] wma(Instrument instrument,
             Period period,
             OfferSide side,
             IIndicators.AppliedPrice appliedPrice,
             int timePeriod,
             long from,
             long to)
             throws JFException
Throws:
JFException


Copyright © 2009. All Rights Reserved.