|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IIndicators
Contains a set of functions to calculate indicator data
| 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[][] |
ac(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Accelerator/Decelerator Oscillator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
ac(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
Filter filter,
long from,
long to)
Calculates the Accelerator/Decelerator Oscillator for ticks or bars in the specified period. |
double[] |
ac(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
int shift)
Calculates the Accelerator/Decelerator Oscillator for a bar specified with the shift parameter. |
double[][] |
ac(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
long from,
long to)
Calculates the Accelerator/Decelerator Oscillator for ticks or bars in the specified period. |
double[] |
acos(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Vector Trigonometric ACos for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
acos(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
Calculates the Vector Trigonometric ACos for ticks or bars in the specified period. |
double |
acos(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Vector Trigonometric ACos for a bar specified with the shift parameter. |
double[] |
acos(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
Calculates the Vector Trigonometric ACos for ticks or bars in the specified period. |
double[] |
ad(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Chaikin A/D Line for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
ad(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Chaikin A/D Line for ticks or bars in the specified period. |
double |
ad(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Chaikin A/D Line for a bar specified with the shift parameter. |
double[] |
ad(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Chaikin A/D Line for ticks or bars in the specified period. |
double[] |
add(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Vector Arithmetic Add for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
add(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
Filter filter,
long from,
long to)
Calculates the Vector Arithmetic Add for ticks or bars in the specified period. |
double |
add(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int shift)
Calculates the Vector Arithmetic Add for a bar specified with the shift parameter. |
double[] |
add(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
long from,
long to)
Calculates the Vector Arithmetic Add for ticks or bars in the specified period. |
double[] |
adOsc(Instrument instrument,
Period period,
OfferSide side,
int fastPeriod,
int slowPeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Chaikin A/D Oscillator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
adOsc(Instrument instrument,
Period period,
OfferSide side,
int fastPeriod,
int slowPeriod,
Filter filter,
long from,
long to)
Calculates the Chaikin A/D Oscillator for ticks or bars in the specified period. |
double |
adOsc(Instrument instrument,
Period period,
OfferSide side,
int fastPeriod,
int slowPeriod,
int shift)
Calculates the Chaikin A/D Oscillator for a bar specified with the shift parameter. |
double[] |
adOsc(Instrument instrument,
Period period,
OfferSide side,
int fastPeriod,
int slowPeriod,
long from,
long to)
Calculates the Chaikin A/D Oscillator for ticks or bars in the specified period. |
double[] |
adx(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Average Directional Movement Index for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
adx(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Average Directional Movement Index for ticks or bars in the specified period. |
double |
adx(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Average Directional Movement Index for a bar specified with the shift parameter. |
double[] |
adx(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Average Directional Movement Index for ticks or bars in the specified period. |
double[] |
adxr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Average Directional Movement Index Rating for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
adxr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Average Directional Movement Index Rating for ticks or bars in the specified period. |
double |
adxr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Average Directional Movement Index Rating for a bar specified with the shift parameter. |
double[] |
adxr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Average Directional Movement Index Rating for ticks or bars in the specified period. |
double[][] |
alligator(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int jawTimePeriod,
int teethTimePeriod,
int lipsTimePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Alligator indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
alligator(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int jawTimePeriod,
int teethTimePeriod,
int lipsTimePeriod,
Filter filter,
long from,
long to)
Calculates the Alligator indicator for ticks or bars in the specified period. |
double[] |
alligator(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int jawTimePeriod,
int teethTimePeriod,
int lipsTimePeriod,
int shift)
Calculates the Alligator indicator for a bar specified with the shift parameter. |
double[][] |
alligator(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int jawTimePeriod,
int teethTimePeriod,
int lipsTimePeriod,
long from,
long to)
Calculates the Alligator indicator for ticks or bars in the specified period. |
double[] |
apo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Absolute Price Oscillator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
apo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
Filter filter,
long from,
long to)
Calculates the Absolute Price Oscillator for ticks or bars in the specified period. |
double |
apo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
int shift)
Calculates the Absolute Price Oscillator for a bar specified with the shift parameter. |
double[] |
apo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
long from,
long to)
Calculates the Absolute Price Oscillator for ticks or bars in the specified period. |
double[][] |
aroon(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Aroon indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
aroon(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Aroon indicator for ticks or bars in the specified period. |
double[] |
aroon(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Aroon indicator for a bar specified with the shift parameter. |
double[][] |
aroon(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Aroon indicator for ticks or bars in the specified period. |
double[] |
aroonOsc(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Aroon Oscillator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
aroonOsc(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Aroon Oscillator for ticks or bars in the specified period. |
double |
aroonOsc(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Aroon Oscillator for a bar specified with the shift parameter. |
double[] |
aroonOsc(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Aroon Oscillator for ticks or bars in the specified period. |
double[] |
asin(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Vector Trigonometric ASin for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
asin(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
Calculates the Vector Trigonometric ASin for ticks or bars in the specified period. |
double |
asin(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Vector Trigonometric ASin for a bar specified with the shift parameter. |
double[] |
asin(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
Calculates the Vector Trigonometric ASin for ticks or bars in the specified period. |
double[] |
atan(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Vector Trigonometric ATan for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
atan(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
Calculates the Vector Trigonometric ATan for ticks or bars in the specified period. |
double |
atan(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Vector Trigonometric ATan for a bar specified with the shift parameter. |
double[] |
atan(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
Calculates the Vector Trigonometric ATan for ticks or bars in the specified period. |
double[] |
atr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Average True Range for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
atr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Average True Range for ticks or bars in the specified period. |
double |
atr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Average True Range for a bar specified with the shift parameter. |
double[] |
atr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Average True Range for ticks or bars in the specified period. |
double[] |
avgPrice(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Average Price for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
avgPrice(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Average Price for ticks or bars in the specified period. |
double |
avgPrice(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Average Price for a bar specified with the shift parameter. |
double[] |
avgPrice(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Average Price for ticks or bars in the specified period. |
double[][] |
awesome(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fasterMaTimePeriod,
IIndicators.MaType fasterMaType,
int slowerMaTimePeriod,
IIndicators.MaType slowerMaType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Awesome Oscillator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
awesome(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fasterMaTimePeriod,
IIndicators.MaType fasterMaType,
int slowerMaTimePeriod,
IIndicators.MaType slowerMaType,
Filter filter,
long from,
long to)
Calculates the Awesome Oscillator for ticks or bars in the specified period. |
double[] |
awesome(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fasterMaTimePeriod,
IIndicators.MaType fasterMaType,
int slowerMaTimePeriod,
IIndicators.MaType slowerMaType,
int shift)
Calculates the Awesome Oscillator for a bar specified with the shift parameter. |
double[][] |
awesome(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fasterMaTimePeriod,
IIndicators.MaType fasterMaType,
int slowerMaTimePeriod,
IIndicators.MaType slowerMaType,
long from,
long to)
Calculates the Awesome Oscillator for ticks or bars in the specified period. |
double[][] |
bbands(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDevUp,
double nbDevDn,
IIndicators.MaType maType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Bollinger Bands indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
bbands(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDevUp,
double nbDevDn,
IIndicators.MaType maType,
Filter filter,
long from,
long to)
Calculates the Bollinger Bands indicator for ticks or bars in the specified period. |
double[] |
bbands(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDevUp,
double nbDevDn,
IIndicators.MaType maType,
int shift)
Calculates the Bollinger Bands indicator for a bar specified with the shift parameter. |
double[][] |
bbands(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDevUp,
double nbDevDn,
IIndicators.MaType maType,
long from,
long to)
Calculates the Bollinger Bands indicator for ticks or bars in the specified period. |
double[] |
bear(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Bear Power indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
bear(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Bear Power indicator for ticks or bars in the specified period. |
double |
bear(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Bear Power indicator for a bar specified with the shift parameter. |
double[] |
bear(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Bear Power indicator for ticks or bars in the specified period. |
double[] |
beta(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Beta indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
beta(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Beta indicator for ticks or bars in the specified period. |
double |
beta(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int timePeriod,
int shift)
Calculates the Beta indicator for a bar specified with the shift parameter. |
double[] |
beta(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int timePeriod,
long from,
long to)
Calculates the Beta indicator for ticks or bars in the specified period. |
double[] |
bop(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Balance Of Power indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
bop(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Balance Of Power indicator for ticks or bars in the specified period. |
double |
bop(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Balance Of Power indicator for a bar specified with the shift parameter. |
double[] |
bop(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Balance Of Power indicator for ticks or bars in the specified period. |
double[] |
bull(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Bull Power indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
bull(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Bull Power indicator for ticks or bars in the specified period. |
double |
bull(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Bull Power indicator for a bar specified with the shift parameter. |
double[] |
bull(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Bull Power indicator for ticks or bars in the specified period. |
double[] |
butterworthFilter(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Butterworth Filter indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
butterworthFilter(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Butterworth Filter indicator for ticks or bars in the specified period. |
double |
butterworthFilter(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Butterworth Filter indicator for a bar specified with the shift parameter. |
double[] |
butterworthFilter(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Butterworth Filter indicator for ticks or bars in the specified period. |
double[][] |
bwmfi(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Market Facilitation Index for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
bwmfi(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Market Facilitation Index for ticks or bars in the specified period. |
double[] |
bwmfi(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Market Facilitation Index for a bar specified with the shift parameter. |
double[][] |
bwmfi(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Market Facilitation Index for ticks or bars in the specified period. |
java.lang.Object[] |
calculateIndicator(IFeedDescriptor feedDescriptor,
OfferSide[] offerSides,
java.lang.String functionName,
IIndicators.AppliedPrice[] inputTypes,
java.lang.Object[] optParams,
int shift)
This is a universal function that allows getting values for any indicator available based on any DataType supported by JForex, including user indicators. |
java.lang.Object[] |
calculateIndicator(IFeedDescriptor feedDescriptor,
OfferSide[] offerSides,
java.lang.String functionName,
IIndicators.AppliedPrice[] inputTypes,
java.lang.Object[] optParams,
int numberOfBarsBefore,
long time,
int numberOfBarsAfter)
This is a universal function that allows getting values for any indicator available based on any DataType supported by JForex, including user indicators. |
java.lang.Object[] |
calculateIndicator(IFeedDescriptor feedDescriptor,
OfferSide[] offerSides,
java.lang.String functionName,
IIndicators.AppliedPrice[] inputTypes,
java.lang.Object[] optParams,
long from,
long to)
This is a universal function that allows getting values for any indicator available based on any DataType supported by JForex, including user indicators. |
java.lang.Object[] |
calculateIndicator(Instrument instrument,
Period period,
OfferSide[] side,
java.lang.String functionName,
IIndicators.AppliedPrice[] inputTypes,
java.lang.Object[] optParams,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
This is a universal function that allows getting values for any indicator available, including user indicators. |
java.lang.Object[] |
calculateIndicator(Instrument instrument,
Period period,
OfferSide[] offerSides,
java.lang.String functionName,
IIndicators.AppliedPrice[] inputTypes,
java.lang.Object[] optParams,
Filter filter,
long from,
long to)
This is a universal function that allows to get values for any indicator available including user indicators. |
java.lang.Object[] |
calculateIndicator(Instrument instrument,
Period period,
OfferSide[] side,
java.lang.String functionName,
IIndicators.AppliedPrice[] inputTypes,
java.lang.Object[] optParams,
int shift)
This is a universal function that allows getting values for any indicator available, including user indicators. |
java.lang.Object[] |
calculateIndicator(Instrument instrument,
Period period,
OfferSide[] side,
java.lang.String functionName,
IIndicators.AppliedPrice[] inputTypes,
java.lang.Object[] optParams,
long from,
long to)
This is a universal function that allows getting values for any indicator available, including user indicators. |
double[][] |
camPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Camarilla Pivot Points for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
camPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Camarilla Pivot Points for ticks or bars in the specified period. |
double[] |
camPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Camarilla Pivot Points for a bar specified with the shift parameter. |
double[][] |
camPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Camarilla Pivot Points for ticks or bars in the specified period. |
double[] |
cci(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Commodity Channel Index for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
cci(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Commodity Channel Index for ticks or bars in the specified period. |
double |
cci(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Commodity Channel Index for a bar specified with the shift parameter. |
double[] |
cci(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Commodity Channel Index for ticks or bars in the specified period. |
int[] |
cdl2Crows(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Two Crows indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdl2Crows(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Two Crows indicator for ticks or bars in the specified period. |
int |
cdl2Crows(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Two Crows indicator for a bar specified with the shift parameter. |
int[] |
cdl2Crows(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Two Crows indicator for ticks or bars in the specified period. |
int[] |
cdl3BlackCrows(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Three Black Crows indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdl3BlackCrows(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Three Black Crows indicator for ticks or bars in the specified period. |
int |
cdl3BlackCrows(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Three Black Crows indicator for a bar specified with the shift parameter. |
int[] |
cdl3BlackCrows(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Three Black Crows indicator for ticks or bars in the specified period. |
int[] |
cdl3Inside(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Three Inside Up/Down indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdl3Inside(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Three Inside Up/Down indicator for ticks or bars in the specified period. |
int |
cdl3Inside(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Three Inside Up/Down indicator for a bar specified with the shift parameter. |
int[] |
cdl3Inside(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Three Inside Up/Down indicator for ticks or bars in the specified period. |
int[] |
cdl3LineStrike(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Three-Line Strike indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdl3LineStrike(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Three-Line Strike indicator for ticks or bars in the specified period. |
int |
cdl3LineStrike(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Three-Line Strike indicator for a bar specified with the shift parameter. |
int[] |
cdl3LineStrike(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Three-Line Strike indicator for ticks or bars in the specified period. |
int[] |
cdl3Outside(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Three Outside Up/Down indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdl3Outside(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Three Outside Up/Down indicator for ticks or bars in the specified period. |
int |
cdl3Outside(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Three Outside Up/Down indicator for a bar specified with the shift parameter. |
int[] |
cdl3Outside(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Three Outside Up/Down indicator for ticks or bars in the specified period. |
int[] |
cdl3StarsInSouth(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Three Stars In The South indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdl3StarsInSouth(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Three Stars In The South indicator for ticks or bars in the specified period. |
int |
cdl3StarsInSouth(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Three Stars In The South indicator for a bar specified with the shift parameter. |
int[] |
cdl3StarsInSouth(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Three Stars In The South indicator for ticks or bars in the specified period. |
int[] |
cdl3WhiteSoldiers(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Three Advancing White Soldiers indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdl3WhiteSoldiers(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Three Advancing White Soldiers indicator for ticks or bars in the specified period. |
int |
cdl3WhiteSoldiers(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Three Advancing White Soldiers indicator for a bar specified with the shift parameter. |
int[] |
cdl3WhiteSoldiers(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Three Advancing White Soldiers indicator for ticks or bars in the specified period. |
int[] |
cdlAbandonedBaby(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Abandoned Baby indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlAbandonedBaby(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
long from,
long to)
Calculates the Abandoned Baby indicator for ticks or bars in the specified period. |
int |
cdlAbandonedBaby(Instrument instrument,
Period period,
OfferSide side,
double penetration,
int shift)
Calculates the Abandoned Baby indicator for a bar specified with the shift parameter. |
int[] |
cdlAbandonedBaby(Instrument instrument,
Period period,
OfferSide side,
double penetration,
long from,
long to)
Calculates the Abandoned Baby indicator for ticks or bars in the specified period. |
int[] |
cdlAdvanceBlock(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Advance Block indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlAdvanceBlock(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Advance Block indicator for ticks or bars in the specified period. |
int |
cdlAdvanceBlock(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Advance Block indicator for a bar specified with the shift parameter. |
int[] |
cdlAdvanceBlock(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Advance Block indicator for ticks or bars in the specified period. |
int[] |
cdlBeltHold(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Belt-hold indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlBeltHold(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Belt-hold indicator for ticks or bars in the specified period. |
int |
cdlBeltHold(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Belt-hold indicator for a bar specified with the shift parameter. |
int[] |
cdlBeltHold(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Belt-hold indicator for ticks or bars in the specified period. |
int[] |
cdlBreakAway(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Breakaway indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlBreakAway(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Breakaway indicator for ticks or bars in the specified period. |
int |
cdlBreakAway(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Breakaway indicator for a bar specified with the shift parameter. |
int[] |
cdlBreakAway(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Breakaway indicator for ticks or bars in the specified period. |
int[] |
cdlClosingMarubozu(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Closing Marubozu indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlClosingMarubozu(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Closing Marubozu indicator for ticks or bars in the specified period. |
int |
cdlClosingMarubozu(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Closing Marubozu indicator for a bar specified with the shift parameter. |
int[] |
cdlClosingMarubozu(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Closing Marubozu indicator for ticks or bars in the specified period. |
int[] |
cdlConcealBabySwall(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Concealing Baby Swallow indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlConcealBabySwall(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Concealing Baby Swallow indicator for ticks or bars in the specified period. |
int |
cdlConcealBabySwall(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Concealing Baby Swallow indicator for a bar specified with the shift parameter. |
int[] |
cdlConcealBabySwall(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Concealing Baby Swallow indicator for ticks or bars in the specified period. |
int[] |
cdlCounterattack(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Counterattack indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlCounterattack(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Counterattack indicator for ticks or bars in the specified period. |
int |
cdlCounterattack(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Counterattack indicator for a bar specified with the shift parameter. |
int[] |
cdlCounterattack(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Counterattack indicator for ticks or bars in the specified period. |
int[] |
cdlDarkCloudCover(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Dark Cloud Cover indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlDarkCloudCover(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
long from,
long to)
Calculates the Dark Cloud Cover indicator for ticks or bars in the specified period. |
int |
cdlDarkCloudCover(Instrument instrument,
Period period,
OfferSide side,
double penetration,
int shift)
Calculates the Dark Cloud Cover indicator for a bar specified with the shift parameter. |
int[] |
cdlDarkCloudCover(Instrument instrument,
Period period,
OfferSide side,
double penetration,
long from,
long to)
Calculates the Dark Cloud Cover indicator for ticks or bars in the specified period. |
int[] |
cdlDoji(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Doji indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlDoji(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Doji indicator for ticks or bars in the specified period. |
int |
cdlDoji(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Doji indicator for a bar specified with the shift parameter. |
int[] |
cdlDoji(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Doji indicator for ticks or bars in the specified period. |
int[] |
cdlDojiStar(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Doji Star indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlDojiStar(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Doji Star indicator for ticks or bars in the specified period. |
int |
cdlDojiStar(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Doji Star indicator for a bar specified with the shift parameter. |
int[] |
cdlDojiStar(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Doji Star indicator for ticks or bars in the specified period. |
int[] |
cdlDragonflyDoji(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Dragonfly Doji indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlDragonflyDoji(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Dragonfly Doji indicator for ticks or bars in the specified period. |
int |
cdlDragonflyDoji(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Dragonfly Doji indicator for a bar specified with the shift parameter. |
int[] |
cdlDragonflyDoji(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Dragonfly Doji indicator for ticks or bars in the specified period. |
int[] |
cdlEngulfing(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Engulfing Pattern indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlEngulfing(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Engulfing Pattern indicator for ticks or bars in the specified period. |
int |
cdlEngulfing(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Engulfing Pattern indicator for a bar specified with the shift parameter. |
int[] |
cdlEngulfing(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Engulfing Pattern indicator for ticks or bars in the specified period. |
int[] |
cdlEveningDojiStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Evening Doji Star indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlEveningDojiStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
long from,
long to)
Calculates the Evening Doji Star indicator for ticks or bars in the specified period. |
int |
cdlEveningDojiStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
int shift)
Calculates the Evening Doji Star indicator for a bar specified with the shift parameter. |
int[] |
cdlEveningDojiStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
long from,
long to)
Calculates the Evening Doji Star indicator for ticks or bars in the specified period. |
int[] |
cdlEveningStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Evening Star indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlEveningStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
long from,
long to)
Calculates the Evening Star indicator for ticks or bars in the specified period. |
int |
cdlEveningStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
int shift)
Calculates the Evening Star indicator for a bar specified with the shift parameter. |
int[] |
cdlEveningStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
long from,
long to)
Calculates the Evening Star indicator for ticks or bars in the specified period. |
int[] |
cdlGapSideSideWhite(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Up/Down-gap side-by-side white lines indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlGapSideSideWhite(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Up/Down-gap side-by-side white lines indicator for ticks or bars in the specified period. |
int |
cdlGapSideSideWhite(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Up/Down-gap side-by-side white lines indicator for a bar specified with the shift parameter. |
int[] |
cdlGapSideSideWhite(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Up/Down-gap side-by-side white lines indicator for ticks or bars in the specified period. |
int[] |
cdlGravestoneDoji(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Gravestone Doji indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlGravestoneDoji(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Gravestone Doji indicator for ticks or bars in the specified period. |
int |
cdlGravestoneDoji(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Gravestone Doji indicator for a bar specified with the shift parameter. |
int[] |
cdlGravestoneDoji(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Gravestone Doji indicator for ticks or bars in the specified period. |
int[] |
cdlHammer(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Hammer indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlHammer(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Hammer indicator for ticks or bars in the specified period. |
int |
cdlHammer(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Hammer indicator for a bar specified with the shift parameter. |
int[] |
cdlHammer(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Hammer indicator for ticks or bars in the specified period. |
int[] |
cdlHangingMan(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Hanging Man indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlHangingMan(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Hanging Man indicator for ticks or bars in the specified period. |
int |
cdlHangingMan(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Hanging Man indicator for a bar specified with the shift parameter. |
int[] |
cdlHangingMan(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Hanging Man indicator for ticks or bars in the specified period. |
int[] |
cdlHarami(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Harami Pattern for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlHarami(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Harami Pattern for ticks or bars in the specified period. |
int |
cdlHarami(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Harami Pattern for a bar specified with the shift parameter. |
int[] |
cdlHarami(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Harami Pattern for ticks or bars in the specified period. |
int[] |
cdlHaramiCross(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Harami Cross Pattern for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlHaramiCross(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Harami Cross Pattern for ticks or bars in the specified period. |
int |
cdlHaramiCross(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Harami Cross Pattern for a bar specified with the shift parameter. |
int[] |
cdlHaramiCross(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Harami Cross Pattern for ticks or bars in the specified period. |
int[] |
cdlHighWave(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the High-Wave Candle indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlHighWave(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the High-Wave Candle indicator for ticks or bars in the specified period. |
int |
cdlHighWave(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the High-Wave Candle indicator a bar specified with the shift parameter. |
int[] |
cdlHighWave(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the High-Wave Candle indicator for ticks or bars in the specified period. |
int[] |
cdlHikkake(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Hikkake Pattern for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlHikkake(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Hikkake Pattern for ticks or bars in the specified period. |
int |
cdlHikkake(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Hikkake Pattern for a bar specified with the shift parameter. |
int[] |
cdlHikkake(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Hikkake Pattern for ticks or bars in the specified period. |
int[] |
cdlHikkakeMod(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Modified Hikkake Pattern for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlHikkakeMod(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Modified Hikkake Pattern for ticks or bars in the specified period. |
int |
cdlHikkakeMod(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Modified Hikkake Pattern for a bar specified with the shift parameter. |
int[] |
cdlHikkakeMod(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Modified Hikkake Pattern for ticks or bars in the specified period. |
int[] |
cdlHomingPigeon(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Homing Pigeon indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlHomingPigeon(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Homing Pigeon indicator for ticks or bars in the specified period. |
int |
cdlHomingPigeon(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Homing Pigeon indicator for a bar specified with the shift parameter. |
int[] |
cdlHomingPigeon(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Homing Pigeon indicator for ticks or bars in the specified period. |
int[] |
cdlIdentical3Crows(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Identical Three Crows indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlIdentical3Crows(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Identical Three Crows indicator for ticks or bars in the specified period. |
int |
cdlIdentical3Crows(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Identical Three Crows indicator for a bar specified with the shift parameter. |
int[] |
cdlIdentical3Crows(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Identical Three Crows indicator for ticks or bars in the specified period. |
int[] |
cdlInNeck(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the In-Neck Pattern for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlInNeck(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the In-Neck Pattern for ticks or bars in the specified period. |
int |
cdlInNeck(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the In-Neck Pattern for a bar specified with the shift parameter. |
int[] |
cdlInNeck(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the In-Neck Pattern for ticks or bars in the specified period. |
int[] |
cdlInvertedHammer(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Inverted Hammer indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlInvertedHammer(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Inverted Hammer indicator for ticks or bars in the specified period. |
int |
cdlInvertedHammer(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Inverted Hammer indicator for a bar specified with the shift parameter. |
int[] |
cdlInvertedHammer(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Inverted Hammer indicator for ticks or bars in the specified period. |
int[] |
cdlKicking(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Kicking indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlKicking(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Kicking indicator for ticks or bars in the specified period. |
int |
cdlKicking(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Kicking indicator for a bar specified with the shift parameter. |
int[] |
cdlKicking(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Kicking indicator for ticks or bars in the specified period. |
int[] |
cdlKickingByLength(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Kicking - bull/bear determined by the longer marubozu indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlKickingByLength(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Kicking - bull/bear determined by the longer marubozu indicator for ticks or bars in the specified period. |
int |
cdlKickingByLength(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Kicking - bull/bear determined by the longer marubozu indicator for a bar specified with the shift parameter. |
int[] |
cdlKickingByLength(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Kicking - bull/bear determined by the longer marubozu indicator for ticks or bars in the specified period. |
int[] |
cdlLadderBottom(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Ladder Bottom indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlLadderBottom(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Ladder Bottom indicator for ticks or bars in the specified period. |
int |
cdlLadderBottom(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Ladder Bottom indicator for a bar specified with the shift parameter. |
int[] |
cdlLadderBottom(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Ladder Bottom indicator for ticks or bars in the specified period. |
int[] |
cdlLadderBotton(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Deprecated. replaced by cdlLadderBottom(Instrument instrument, Period period, OfferSide side, Filter filter, int numberOfCandlesBefore, long time, int numberOfCandlesAfter) |
int[] |
cdlLadderBotton(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Deprecated. replaced by cdlLadderBottom(Instrument instrument, Period period, OfferSide side, Filter filter, long from, long to) |
int |
cdlLadderBotton(Instrument instrument,
Period period,
OfferSide side,
int shift)
Deprecated. replaced by cdlLadderBottom(Instrument instrument, Period period, OfferSide side, int shift) |
int[] |
cdlLadderBotton(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Deprecated. replaced by cdlLadderBottom(Instrument instrument, Period period, OfferSide side, long from, long to) |
int[] |
cdlLongLeggedDoji(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Long Legged Doji indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlLongLeggedDoji(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Long Legged Doji indicator for ticks or bars in the specified period. |
int |
cdlLongLeggedDoji(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Long Legged Doji indicator for a bar specified with the shift parameter. |
int[] |
cdlLongLeggedDoji(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Long Legged Doji indicator for ticks or bars in the specified period. |
int[] |
cdlLongLine(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Long Line Candle indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlLongLine(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Long Line Candle indicator for ticks or bars in the specified period. |
int |
cdlLongLine(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Long Line Candle indicator for a bar specified with the shift parameter. |
int[] |
cdlLongLine(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Long Line Candle indicator for ticks or bars in the specified period. |
int[] |
cdlMarubozu(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Marubozu indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlMarubozu(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Marubozu indicator for ticks or bars in the specified period. |
int |
cdlMarubozu(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Marubozu indicator for a bar specified with the shift parameter. |
int[] |
cdlMarubozu(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Marubozu indicator for ticks or bars in the specified period. |
int[] |
cdlMatchingLow(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Matching Low indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlMatchingLow(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Matching Low indicator for ticks or bars in the specified period. |
int |
cdlMatchingLow(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Matching Low indicator for a bar specified with the shift parameter. |
int[] |
cdlMatchingLow(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Matching Low indicator for ticks or bars in the specified period. |
int[] |
cdlMathold(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Mat Hold indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlMathold(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
long from,
long to)
Calculates the Mat Hold indicator for ticks or bars in the specified period. |
int |
cdlMathold(Instrument instrument,
Period period,
OfferSide side,
double penetration,
int shift)
Calculates the Mat Hold indicator for a bar specified with the shift parameter. |
int[] |
cdlMathold(Instrument instrument,
Period period,
OfferSide side,
double penetration,
long from,
long to)
Calculates the Mat Hold indicator for ticks or bars in the specified period. |
int[] |
cdlMorningDojiStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Morning Doji Star indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlMorningDojiStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
long from,
long to)
Calculates the Morning Doji Star indicator for ticks or bars in the specified period. |
int |
cdlMorningDojiStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
int shift)
Calculates the Morning Doji Star indicator for a bar specified with the shift parameter. |
int[] |
cdlMorningDojiStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
long from,
long to)
Calculates the Morning Doji Star indicator for ticks or bars in the specified period. |
int[] |
cdlMorningStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Morning Star indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlMorningStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
long from,
long to)
Calculates the Morning Star indicator for ticks or bars in the specified period. |
int |
cdlMorningStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
int shift)
Calculates the Morning Star indicator for a bar specified with the shift parameter. |
int[] |
cdlMorningStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
long from,
long to)
Calculates the Morning Star indicator for ticks or bars in the specified period. |
int[] |
cdlOnNeck(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the On-Neck Pattern for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlOnNeck(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the On-Neck Pattern for ticks or bars in the specified period. |
int |
cdlOnNeck(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the On-Neck Pattern for a bar specified with the shift parameter. |
int[] |
cdlOnNeck(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the On-Neck Pattern for ticks or bars in the specified period. |
int[] |
cdlPiercing(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Piercing Pattern for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlPiercing(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Piercing Pattern for ticks or bars in the specified period. |
int |
cdlPiercing(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Piercing Pattern for a bar specified with the shift parameter. |
int[] |
cdlPiercing(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Piercing Pattern for ticks or bars in the specified period. |
int[] |
cdlRickshawMan(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Rickshaw Man indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlRickshawMan(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Rickshaw Man indicator for ticks or bars in the specified period. |
int |
cdlRickshawMan(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Rickshaw Man indicator for a bar specified with the shift parameter. |
int[] |
cdlRickshawMan(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Rickshaw Man indicator for ticks or bars in the specified period. |
int[] |
cdlRiseFall3Methods(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Rising/Falling Three Methods indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlRiseFall3Methods(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Rising/Falling Three Methods indicator for ticks or bars in the specified period. |
int |
cdlRiseFall3Methods(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Rising/Falling Three Methods indicator for a bar specified with the shift parameter. |
int[] |
cdlRiseFall3Methods(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Rising/Falling Three Methods indicator for ticks or bars in the specified period. |
int[] |
cdlSeparatingLines(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Separating Lines indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlSeparatingLines(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Separating Lines indicator for ticks or bars in the specified period. |
int |
cdlSeparatingLines(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Separating Lines indicator for a bar specified with the shift parameter. |
int[] |
cdlSeparatingLines(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Separating Lines indicator for ticks or bars in the specified period. |
int[] |
cdlShootingStar(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Shooting Star indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlShootingStar(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Shooting Star indicator for ticks or bars in the specified period. |
int |
cdlShootingStar(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Shooting Star indicator for a bar specified with the shift parameter. |
int[] |
cdlShootingStar(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Shooting Star indicator for ticks or bars in the specified period. |
int[] |
cdlShortLine(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Short Line Candle indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlShortLine(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Short Line Candle indicator for ticks or bars in the specified period. |
int |
cdlShortLine(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Short Line Candle indicator for a bar specified with the shift parameter. |
int[] |
cdlShortLine(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Short Line Candle indicator for ticks or bars in the specified period. |
int[] |
cdlSpinningTop(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Spinning Top indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlSpinningTop(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Spinning Top indicator for ticks or bars in the specified period. |
int |
cdlSpinningTop(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Spinning Top indicator for a bar specified with the shift parameter. |
int[] |
cdlSpinningTop(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Spinning Top indicator for ticks or bars in the specified period. |
int[] |
cdlStalledPattern(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Stalled Pattern indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlStalledPattern(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Stalled Pattern indicator for ticks or bars in the specified period. |
int |
cdlStalledPattern(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Stalled Pattern indicator for a bar specified with the shift parameter. |
int[] |
cdlStalledPattern(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Stalled Pattern indicator for ticks or bars in the specified period. |
int[] |
cdlStickSandwich(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Stick Sandwich indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlStickSandwich(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Stick Sandwich indicator for ticks or bars in the specified period. |
int |
cdlStickSandwich(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Stick Sandwich indicator for a bar specified with the shift parameter. |
int[] |
cdlStickSandwich(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Stick Sandwich indicator for ticks or bars in the specified period. |
int[] |
cdlTakuri(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Takuri indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlTakuri(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Takuri indicator for ticks or bars in the specified period. |
int |
cdlTakuri(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Takuri indicator for a bar specified with the shift parameter. |
int[] |
cdlTakuri(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Takuri indicator for ticks or bars in the specified period. |
int[] |
cdlTasukiGap(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Tasuki Gap indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlTasukiGap(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Tasuki Gap indicator for ticks or bars in the specified period. |
int |
cdlTasukiGap(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Tasuki Gap indicator for a bar specified with the shift parameter. |
int[] |
cdlTasukiGap(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Tasuki Gap indicator for ticks or bars in the specified period. |
int[] |
cdlThrusting(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Thrusting Pattern for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlThrusting(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Thrusting Pattern for ticks or bars in the specified period. |
int |
cdlThrusting(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Thrusting Pattern for a bar specified with the shift parameter. |
int[] |
cdlThrusting(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Thrusting Pattern for ticks or bars in the specified period. |
int[] |
cdlTristar(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Tristar Pattern for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlTristar(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Tristar Pattern for ticks or bars in the specified period. |
int |
cdlTristar(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Tristar Pattern for a bar specified with the shift parameter. |
int[] |
cdlTristar(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Tristar Pattern for ticks or bars in the specified period. |
int[] |
cdlUnique3River(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Unique 3 River indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlUnique3River(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Unique 3 River indicator for ticks or bars in the specified period. |
int |
cdlUnique3River(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Unique 3 River indicator for a bar specified with the shift parameter. |
int[] |
cdlUnique3River(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Unique 3 River indicator for ticks or bars in the specified period. |
int[] |
cdlUpsideGap2Crows(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Upside Gap Two Crows indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlUpsideGap2Crows(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Upside Gap Two Crows indicator for ticks or bars in the specified period. |
int |
cdlUpsideGap2Crows(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Upside Gap Two Crows indicator for a bar specified with the shift parameter. |
int[] |
cdlUpsideGap2Crows(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Upside Gap Two Crows indicator for ticks or bars in the specified period. |
int[] |
cdlXsideGap3Methods(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Upside/Downside Gap Three Methods for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
cdlXsideGap3Methods(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Upside/Downside Gap Three Methods for ticks or bars in the specified period. |
int |
cdlXsideGap3Methods(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Upside/Downside Gap Three Methods for a bar specified with the shift parameter. |
int[] |
cdlXsideGap3Methods(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Upside/Downside Gap Three Methods for ticks or bars in the specified period. |
double[] |
ceil(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Vector Ceil indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
ceil(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
Calculates the Vector Ceil indicator for ticks or bars in the specified period. |
double |
ceil(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Vector Ceil indicator for a bar specified with the shift parameter. |
double[] |
ceil(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
Calculates the Vector Ceil indicator for ticks or bars in the specified period. |
double[] |
cmo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Chande Momentum Oscillator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
cmo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Chande Momentum Oscillator for ticks or bars in the specified period. |
double |
cmo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Chande Momentum Oscillator for a bar specified with the shift parameter. |
double[] |
cmo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Chande Momentum Oscillator for ticks or bars in the specified period. |
double[][] |
cog(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int smoothPeriod,
IIndicators.MaType maType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Center Of Gravity indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
cog(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int smoothPeriod,
IIndicators.MaType maType,
Filter filter,
long from,
long to)
Calculates the Center Of Gravity indicator for ticks or bars in the specified period. |
double[] |
cog(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int smoothPeriod,
IIndicators.MaType maType,
int shift)
Calculates the Center Of Gravity indicator for a bar specified with the shift parameter. |
double[][] |
cog(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int smoothPeriod,
IIndicators.MaType maType,
long from,
long to)
Calculates the Center Of Gravity indicator for ticks or bars in the specified period. |
double[] |
correl(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Pearson's Correlation Coefficient for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
correl(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Pearson's Correlation Coefficient for ticks or bars in the specified period. |
double |
correl(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int timePeriod,
int shift)
Calculates the Pearson's Correlation Coefficient for a bar specified with the shift parameter. |
double[] |
correl(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int timePeriod,
long from,
long to)
Calculates the Pearson's Correlation Coefficient for ticks or bars in the specified period. |
double[] |
cos(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Vector Trigonometric Cos for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
cos(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
Calculates the Vector Trigonometric Cos for ticks or bars in the specified period. |
double |
cos(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Vector Trigonometric Cos for a bar specified with the shift parameter. |
double[] |
cos(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
Calculates the Vector Trigonometric Cos for ticks or bars in the specified period. |
double[] |
cosh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Vector Trigonometric Cosh for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
cosh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
Calculates the Vector Trigonometric Cosh for ticks or bars in the specified period. |
double |
cosh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Vector Trigonometric Cosh for a bar specified with the shift parameter. |
double[] |
cosh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
Calculates the Vector Trigonometric Cosh for ticks or bars in the specified period. |
double[] |
dema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Double Exponential Moving Average for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
dema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Double Exponential Moving Average for ticks or bars in the specified period. |
double |
dema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Double Exponential Moving Average for a bar specified with the shift parameter. |
double[] |
dema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Double Exponential Moving Average for ticks or bars in the specified period. |
double[] |
div(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Vector Arithmetic Div for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
div(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
Filter filter,
long from,
long to)
Calculates the Vector Arithmetic Div for ticks or bars in the specified period. |
double |
div(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int shift)
Calculates the Vector Arithmetic Div for a bar specified with the shift parameter. |
double[] |
div(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
long from,
long to)
Calculates the Vector Arithmetic Div for ticks or bars in the specified period. |
double[][] |
dmi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Average Directional Movement Index for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
dmi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Average Directional Movement Index for ticks or bars in the specified period. |
double[] |
dmi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Average Directional Movement Index for a bar specified with the shift parameter. |
double[][] |
dmi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Average Directional Movement Index for ticks or bars in the specified period. |
double[][] |
donchian(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Donchian Channel indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
donchian(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Donchian Channel indicator for ticks or bars in the specified period. |
double[] |
donchian(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Donchian Channel indicator for a bar specified with the shift parameter. |
double[][] |
donchian(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Donchian Channel indicator for ticks or bars in the specified period. |
double[] |
dx(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Directional Movement Index for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
dx(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Directional Movement Index for ticks or bars in the specified period. |
double |
dx(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Directional Movement Index for a bar specified with the shift parameter. |
double[] |
dx(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Directional Movement Index for ticks or bars in the specified period. |
double[] |
ema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Exponential Moving Average for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
ema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Exponential Moving Average for ticks or bars in the specified period. |
double |
ema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Exponential Moving Average for a bar specified with the shift parameter. |
double[] |
ema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Exponential Moving Average for ticks or bars in the specified period. |
double[][] |
emaEnvelope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double deviation,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the EMA Envelope indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
emaEnvelope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double deviation,
Filter filter,
long from,
long to)
Calculates the EMA Envelope indicator for ticks or bars in the specified period. |
double[] |
emaEnvelope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double deviation,
int shift)
Calculates the EMA Envelope indicator for a bar specified with the shift parameter. |
double[][] |
emaEnvelope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double deviation,
long from,
long to)
Calculates the EMA Envelope indicator for ticks or bars in the specified period. |
double[] |
exp(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Vector Arithmetic Exp indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
exp(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
Calculates the Vector Arithmetic Exp indicator for ticks or bars in the specified period. |
double |
exp(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Vector Arithmetic Exp indicator for a bar specified with the shift parameter. |
double[] |
exp(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
Calculates the Vector Arithmetic Exp indicator for ticks or bars in the specified period. |
double[][] |
fibPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Fibonacci Pivot Points for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
fibPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Fibonacci Pivot Points for ticks or bars in the specified period. |
double[] |
fibPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Fibonacci Pivot Points for a bar specified with the shift parameter. |
double[][] |
fibPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Fibonacci Pivot Points for ticks or bars in the specified period. |
double[] |
floor(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Vector Floor indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
floor(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
Calculates the Vector Floor indicator for ticks or bars in the specified period. |
double |
floor(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Vector Floor indicator for a bar specified with the shift parameter. |
double[] |
floor(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
Calculates the Vector Floor indicator for ticks or bars in the specified period. |
double[] |
force(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Force Index for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
force(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
Filter filter,
long from,
long to)
Calculates the Force Index for ticks or bars in the specified period. |
double |
force(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
int shift)
Calculates the Force Index for a bar specified with the shift parameter. |
double[] |
force(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
long from,
long to)
Calculates the Force Index for ticks or bars in the specified period. |
double[][] |
fractal(Instrument instrument,
Period period,
OfferSide side,
int barsOnSides,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Fractal indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
fractal(Instrument instrument,
Period period,
OfferSide side,
int barsOnSides,
Filter filter,
long from,
long to)
Calculates the Fractal indicator for ticks or bars in the specified period. |
double[] |
fractal(Instrument instrument,
Period period,
OfferSide side,
int barsOnSides,
int shift)
Calculates the Fractal indicator for a bar specified with the shift parameter. |
double[][] |
fractal(Instrument instrument,
Period period,
OfferSide side,
int barsOnSides,
long from,
long to)
Calculates the Fractal indicator for ticks or bars in the specified period. |
double[][] |
fractalLines(Instrument instrument,
Period period,
OfferSide side,
int barsOnSides,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Fractal lines indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
fractalLines(Instrument instrument,
Period period,
OfferSide side,
int barsOnSides,
Filter filter,
long from,
long to)
Calculates the Fractal lines indicator for ticks or bars in the specified period. |
double[] |
fractalLines(Instrument instrument,
Period period,
OfferSide side,
int barsOnSides,
int shift)
Calculates the Fractal lines indicator for a bar specified with the shift parameter. |
double[][] |
fractalLines(Instrument instrument,
Period period,
OfferSide side,
int barsOnSides,
long from,
long to)
Calculates the Fractal lines indicator for ticks or bars in the specified period. |
double[][] |
gator(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int jawTimePeriod,
int teethTimePeriod,
int lipsTimePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Gator Oscillator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
gator(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int jawTimePeriod,
int teethTimePeriod,
int lipsTimePeriod,
Filter filter,
long from,
long to)
Calculates the Gator Oscillator for ticks or bars in the specified period. |
double[] |
gator(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int jawTimePeriod,
int teethTimePeriod,
int lipsTimePeriod,
int shift)
Calculates the Gator Oscillator for a bar specified with the shift parameter. |
double[][] |
gator(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int jawTimePeriod,
int teethTimePeriod,
int lipsTimePeriod,
long from,
long to)
Calculates the Gator Oscillator for ticks or bars in the specified period. |
java.util.Collection<java.lang.String> |
getAllNames()
Returns a list of all indicator names |
java.util.Collection<java.lang.String> |
getGroups()
Returns a list of indicator groups |
IIndicator |
getIndicator(java.lang.String name)
Returns the indicator with the specified name |
java.util.Collection<java.lang.String> |
getNames(java.lang.String groupName)
Returns indicator names that belong to the specified group |
double[][] |
heikenAshi(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Deprecated. replaced by heikinAshi(Instrument instrument, Period period, OfferSide side, Filter filter, int numberOfCandlesBefore, long time, int numberOfCandlesAfter) |
double[] |
heikenAshi(Instrument instrument,
Period period,
OfferSide side,
int shift)
Deprecated. replaced by heikinAshi(Instrument instrument, Period period, OfferSide side, int shift) |
double[][] |
heikenAshi(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Deprecated. replaced by heikinAshi(Instrument instrument, Period period, OfferSide side, long from, long to) |
double[][] |
heikinAshi(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Heikin Ashi indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
heikinAshi(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Heikin Ashi indicator for ticks or bars in the specified period. |
double[] |
heikinAshi(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Heikin Ashi indicator for a bar specified with the shift parameter. |
double[][] |
heikinAshi(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Heikin Ashi indicator for ticks or bars in the specified period. |
double[] |
hma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Hull Moving Average indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
hma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Hull Moving Average indicator for ticks or bars in the specified period. |
double |
hma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Hull Moving Average indicator for a bar specified with the shift parameter. |
double[] |
hma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Hull Moving Average indicator for ticks or bars in the specified period. |
double[] |
ht_dcperiod(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Hilbert Transform - Dominant Cycle Period indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
ht_dcperiod(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
Calculates the Hilbert Transform - Dominant Cycle Period indicator for ticks or bars in the specified period. |
double |
ht_dcperiod(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Hilbert Transform - Dominant Cycle Period indicator for a bar specified with the shift parameter. |
double[] |
ht_dcperiod(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
Calculates the Hilbert Transform - Dominant Cycle Period indicator for ticks or bars in the specified period. |
double[] |
ht_dcphase(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Hilbert Transform - Dominant Cycle Phase for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
ht_dcphase(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
Calculates the Hilbert Transform - Dominant Cycle Phase for ticks or bars in the specified period. |
double |
ht_dcphase(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Hilbert Transform - Dominant Cycle Phase for a bar specified with the shift parameter. |
double[] |
ht_dcphase(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
Calculates the Hilbert Transform - Dominant Cycle Phase for ticks or bars in the specified period. |
double[][] |
ht_phasor(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Hilbert Transform - Phasor Components indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
ht_phasor(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
Calculates the Hilbert Transform - Phasor Components indicator for ticks or bars in the specified period. |
double[] |
ht_phasor(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Hilbert Transform - Phasor Components indicator for a bar specified with the shift parameter. |
double[][] |
ht_phasor(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
Calculates the Hilbert Transform - Phasor Components indicator for ticks or bars in the specified period. |
double[][] |
ht_sine(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Hilbert Transform - SineWave indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
ht_sine(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
Calculates the Hilbert Transform - SineWave indicator for ticks or bars in the specified period. |
double[] |
ht_sine(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Hilbert Transform - SineWave indicator for a bar specified with the shift parameter. |
double[][] |
ht_sine(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
Calculates the Hilbert Transform - SineWave indicator for ticks or bars in the specified period. |
double[] |
ht_trendline(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Hilbert Transform - Instantaneous Trendline indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
ht_trendline(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
Calculates the Hilbert Transform - Instantaneous Trendline indicator for ticks or bars in the specified period. |
double |
ht_trendline(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Hilbert Transform - Instantaneous Trendline indicator for a bar specified with the shift parameter. |
double[] |
ht_trendline(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
Calculates the Hilbert Transform - Instantaneous Trendline indicator for ticks or bars in the specified period. |
int[] |
ht_trendmode(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Hilbert Transform - Trend vs Cycle Mode indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[] |
ht_trendmode(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
Calculates the Hilbert Transform - Trend vs Cycle Mode indicator for ticks or bars in the specified period. |
int |
ht_trendmode(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Hilbert Transform - Trend vs Cycle Mode indicator for a bar specified with the shift parameter. |
int[] |
ht_trendmode(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
Calculates the Hilbert Transform - Trend vs Cycle Mode indicator for ticks or bars in the specified period. |
double[][] |
ichimoku(Instrument instrument,
Period period,
OfferSide side,
int tenkan,
int kijun,
int senkou,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Ichimoku indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
ichimoku(Instrument instrument,
Period period,
OfferSide side,
int tenkan,
int kijun,
int senkou,
Filter filter,
long from,
long to)
Calculates the Ichimoku indicator for ticks or bars in the specified period. |
double[] |
ichimoku(Instrument instrument,
Period period,
OfferSide side,
int tenkan,
int kijun,
int senkou,
int shift)
Calculates the Ichimoku indicator for a bar specified with the shift parameter. |
double[][] |
ichimoku(Instrument instrument,
Period period,
OfferSide side,
int tenkan,
int kijun,
int senkou,
long from,
long to)
Calculates the Ichimoku indicator for ticks or bars in the specified period. |
double[] |
kairi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Kairi indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
kairi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
Filter filter,
long from,
long to)
Calculates the Kairi indicator for ticks or bars in the specified period. |
double |
kairi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
int shift)
Calculates the Kairi indicator for a bar specified with the shift parameter. |
double[] |
kairi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
long from,
long to)
Calculates the Kairi indicator for ticks or bars in the specified period. |
double[] |
kama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Deprecated. replaced by kama(Instrument instrument, Period period, OfferSide side, AppliedPrice appliedPrice, int timePeriod, int fastMAPeriod, int slowMAPeriod, Filter filter, int numberOfCandlesBefore, long time, int numberOfCandlesAfter) |
double[] |
kama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Deprecated. replaced by kama(Instrument instrument, Period period, OfferSide side, AppliedPrice appliedPrice, int timePeriod, int fastMAPeriod, int slowMAPeriod, Filter filter, long from, long to) |
double |
kama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Deprecated. replaced by kama(Instrument instrument, Period period, OfferSide side, AppliedPrice appliedPrice, int timePeriod, int fastMAPeriod, int slowMAPeriod, int shift) |
double[] |
kama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int fastMAPeriod,
int slowMAPeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Kaufman Adaptive Moving Average for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
kama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int fastMAPeriod,
int slowMAPeriod,
Filter filter,
long from,
long to)
Calculates the Kaufman Adaptive Moving Average for ticks or bars in the specified period. |
double |
kama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int fastMAPeriod,
int slowMAPeriod,
int shift)
Calculates the Kaufman Adaptive Moving Average for a bar specified with the shift parameter. |
double[] |
kama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int fastMAPeriod,
int slowMAPeriod,
long from,
long to)
Calculates the Kaufman Adaptive Moving Average for ticks or bars in the specified period. |
double[] |
kama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Deprecated. replaced by kama(Instrument instrument, Period period, OfferSide side, AppliedPrice appliedPrice, int timePeriod, int fastMAPeriod, int slowMAPeriod, long from, long to) |
double[][] |
keltner(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Keltner Channel indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
keltner(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Keltner Channel indicator for ticks or bars in the specified period. |
double[] |
keltner(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Keltner Channel indicator for a bar specified with the shift parameter. |
double[][] |
keltner(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Keltner Channel indicator for ticks or bars in the specified period. |
double[] |
lagACS1(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int ma,
double gamma,
int lookback,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Laguerre-ACS1 indicator for ticks or bars in the specified period. |
double[] |
lagACS1(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int ma,
double gamma,
int lookback,
Filter filter,
long from,
long to)
Calculates the Laguerre-ACS1 indicator for ticks or bars in the specified period. |
double |
lagACS1(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int ma,
double gamma,
int lookback,
int shift)
Calculates the Laguerre-ACS1 indicator for a bar specified with the shift parameter. |
double[] |
lagACS1(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int ma,
double gamma,
int lookback,
long from,
long to)
Calculates the Laguerre-ACS1 indicator for ticks or bars in the specified period. |
double[] |
lasacs1(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int ma,
double gamma,
int lookback,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Deprecated. replaced by lagACS1(Instrument instrument, Period period, OfferSide side, AppliedPrice appliedPrice, int ma, double gamma, int lookback, Filter filter, int numberOfCandlesBefore, long time, int numberOfCandlesAfter) |
double |
lasacs1(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int ma,
double gamma,
int lookback,
int shift)
Deprecated. replaced by lagACS1(Instrument instrument, Period period, OfferSide side, AppliedPrice appliedPrice, int ma, double gamma, int lookback, int shift) |
double[] |
lasacs1(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int ma,
double gamma,
int lookback,
long from,
long to)
Deprecated. replaced by lagACS1(Instrument instrument, Period period, OfferSide side, AppliedPrice appliedPrice, int ma, double gamma, int lookback, long from, long to) |
double[] |
linearReg(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Linear Regression indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
linearReg(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Linear Regression indicator for ticks or bars in the specified period. |
double |
linearReg(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Linear Regression indicator for a bar specified with the shift parameter. |
double[] |
linearReg(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Linear Regression indicator for ticks or bars in the specified period. |
double[] |
linearRegAngle(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Linear Regression Angle indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
linearRegAngle(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Linear Regression Angle indicator for ticks or bars in the specified period. |
double |
linearRegAngle(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Linear Regression Angle indicator for a bar specified with the shift parameter. |
double[] |
linearRegAngle(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Linear Regression Angle indicator for ticks or bars in the specified period. |
double[] |
linearRegIntercept(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Linear Regression Intercept indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
linearRegIntercept(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Linear Regression Intercept indicator for ticks or bars in the specified period. |
double |
linearRegIntercept(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Linear Regression Intercept indicator for a bar specified with the shift parameter. |
double[] |
linearRegIntercept(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Linear Regression Intercept indicator for ticks or bars in the specified period. |
double[] |
linearRegSlope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Linear Regression Slope indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
linearRegSlope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Linear Regression Slope indicator for ticks or bars in the specified period. |
double |
linearRegSlope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Linear Regression Slope indicator for a bar specified with the shift parameter. |
double[] |
linearRegSlope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Linear Regression Slope indicator for ticks or bars in the specified period. |
double[] |
ln(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Vector Log Natural for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
ln(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
Calculates the Vector Log Natural for ticks or bars in the specified period. |
double |
ln(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Vector Log Natural for a bar specified with the shift parameter. |
double[] |
ln(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
Calculates the Vector Log Natural for ticks or bars in the specified period. |
double[] |
log10(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Vector Log10 for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
log10(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
Calculates the Vector Log10 for ticks or bars in the specified period. |
double |
log10(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Vector Log10 for a bar specified with the shift parameter. |
double[] |
log10(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
Calculates the Vector Log10 for ticks or bars in the specified period. |
double[] |
lwma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Linear Weighted Moving Average indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
lwma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Linear Weighted Moving Average indicator for ticks or bars in the specified period. |
double |
lwma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Linear Weighted Moving Average indicator for a bar specified with the shift parameter. |
double[] |
lwma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Linear Weighted Moving Average indicator for ticks or bars in the specified period. |
double[] |
ma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Moving Average for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
ma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
Filter filter,
long from,
long to)
Calculates the Moving Average for ticks or bars in the specified period. |
double |
ma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
int shift)
Calculates the Moving Average for a bar specified with the shift parameter. |
double[] |
ma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
long from,
long to)
Calculates the Moving Average for ticks or bars in the specified period. |
double[][] |
macd(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
int signalPeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Moving Average Convergence/Divergence indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
macd(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
int signalPeriod,
Filter filter,
long from,
long to)
Calculates the Moving Average Convergence/Divergence indicator for ticks or bars in the specified period. |
double[] |
macd(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
int signalPeriod,
int shift)
Calculates the Moving Average Convergence/Divergence indicator for a bar specified with the shift parameter. |
double[][] |
macd(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
int signalPeriod,
long from,
long to)
Calculates the Moving Average Convergence/Divergence indicator for ticks or bars in the specified period. |
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,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the MACD with controllable MA type indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
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,
Filter filter,
long from,
long to)
Calculates the MACD with controllable MA type indicator for ticks or bars in the specified period. |
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)
Calculates the MACD with controllable MA type indicator for a bar specified with the shift parameter. |
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)
Calculates the MACD with controllable MA type indicator for ticks or bars in the specified period. |
double[][] |
macdFix(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int signalPeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Moving Average Convergence/Divergence Fix indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
macdFix(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int signalPeriod,
Filter filter,
long from,
long to)
Calculates the Moving Average Convergence/Divergence Fix indicator for ticks or bars in the specified period. |
double[] |
macdFix(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int signalPeriod,
int shift)
Calculates the Moving Average Convergence/Divergence Fix indicator for a bar specified with the shift parameter. |
double[][] |
macdFix(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int signalPeriod,
long from,
long to)
Calculates the Moving Average Convergence/Divergence Fix indicator for ticks or bars in the specified period. |
double[][] |
maEnvelope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double deviation,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the MA Envelope indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
maEnvelope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double deviation,
Filter filter,
long from,
long to)
Calculates the MA Envelope indicator for ticks or bars in the specified period. |
double[] |
maEnvelope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double deviation,
int shift)
Calculates the MA Envelope indicator for a bar specified with the shift parameter. |
double[][] |
maEnvelope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double deviation,
long from,
long to)
Calculates the MA Envelope indicator for ticks or bars in the specified period. |
double[][] |
mama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
double fastLimit,
double slowLimit,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the MESA Adaptive Moving Average indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
mama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
double fastLimit,
double slowLimit,
Filter filter,
long from,
long to)
Calculates the MESA Adaptive Moving Average indicator for ticks or bars in the specified period. |
double[] |
mama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
double fastLimit,
double slowLimit,
int shift)
Calculates the MESA Adaptive Moving Average indicator for a bar specified with the shift parameter. |
double[][] |
mama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
double fastLimit,
double slowLimit,
long from,
long to)
Calculates the MESA Adaptive Moving Average indicator for ticks or bars in the specified period. |
double[] |
mavp(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int minPeriod,
int maxPeriod,
IIndicators.MaType maType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Moving average with variable period indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
mavp(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int minPeriod,
int maxPeriod,
IIndicators.MaType maType,
Filter filter,
long from,
long to)
Calculates the Moving average with variable period indicator for ticks or bars in the specified period. |
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)
Calculates the Moving average with variable period indicator for a bar specified with the shift parameter. |
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)
Calculates the Moving average with variable period indicator for ticks or bars in the specified period. |
double[] |
max(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Highest value over a specified period for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
max(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Highest value over a specified period for ticks or bars in the specified period. |
double |
max(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Highest value over a specified period for a bar specified with the shift parameter. |
double[] |
max(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Highest value over a specified period for ticks or bars in the specified period. |
double[] |
medPrice(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Median Price for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
medPrice(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Median Price for ticks or bars in the specified period. |
double |
medPrice(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Median Price for a bar specified with the shift parameter. |
double[] |
medPrice(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Median Price for ticks or bars in the specified period. |
double[] |
mfi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Money Flow Index for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
mfi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Money Flow Index for ticks or bars in the specified period. |
double |
mfi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Money Flow Index for a bar specified with the shift parameter. |
double[] |
mfi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Money Flow Index for ticks or bars in the specified period. |
double[] |
midPoint(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the MidPoint over period for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
midPoint(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the MidPoint over period for ticks or bars in the specified period. |
double |
midPoint(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the MidPoint over period for a bar specified with the shift parameter. |
double[] |
midPoint(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the MidPoint over period for ticks or bars in the specified period. |
double[] |
midPrice(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Midpoint Price over period for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
midPrice(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Midpoint Price over period for ticks or bars in the specified period. |
double |
midPrice(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Midpoint Price over period for a bar specified with the shift parameter. |
double[] |
midPrice(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Midpoint Price over period for ticks or bars in the specified period. |
double[] |
min(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the lowest value over a specified period for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
min(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the lowest value over a specified period for ticks or bars in the specified period. |
double |
min(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the lowest value over a specified period for a bar specified with the shift parameter. |
double[] |
min(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the lowest value over a specified period for ticks or bars in the specified period. |
double[][] |
minMax(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the lowest and the highest values over a specified period for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
minMax(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the lowest and the highest values over a specified period for ticks or bars in the specified period. |
double[] |
minMax(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the lowest and the highest values over a specified period for a bar specified with the shift parameter. |
double[][] |
minMax(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the lowest and the highest values over a specified period for ticks or bars in the specified period. |
double[] |
minusDi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Minus Directional Indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
minusDi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Minus Directional Indicator for ticks or bars in the specified period. |
double |
minusDi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Minus Directional Indicator for a bar specified with the shift parameter. |
double[] |
minusDi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Minus Directional Indicator for ticks or bars in the specified period. |
double[] |
minusDm(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Minus Directional Movement indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
minusDm(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Minus Directional Movement indicator for ticks or bars in the specified period. |
double |
minusDm(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Minus Directional Movement indicator for a bar specified with the shift parameter. |
double[] |
minusDm(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Minus Directional Movement indicator for ticks or bars in the specified period. |
double[] |
mom(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Momentum indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
mom(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Momentum indicator for ticks or bars in the specified period. |
double |
mom(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Momentum indicator for a bar specified with the shift parameter. |
double[] |
mom(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Momentum indicator for ticks or bars in the specified period. |
double[] |
mult(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Vector Arithmetic Mult for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
mult(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
Filter filter,
long from,
long to)
Calculates the Vector Arithmetic Mult for ticks or bars in the specified period. |
double |
mult(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int shift)
Calculates the Vector Arithmetic Mult for a bar specified with the shift parameter. |
double[] |
mult(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
long from,
long to)
Calculates the Vector Arithmetic Mult for ticks or bars in the specified period. |
double[][] |
murrey(Instrument instrument,
Period period,
OfferSide side,
int nPeriod,
int timePeriod,
int stepBack,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Murrey Channels indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
murrey(Instrument instrument,
Period period,
OfferSide side,
int nPeriod,
int timePeriod,
int stepBack,
Filter filter,
long from,
long to)
Calculates the Murrey Channels indicator for ticks or bars in the specified period. |
double[] |
murrey(Instrument instrument,
Period period,
OfferSide side,
int nPeriod,
int timePeriod,
int stepBack,
int shift)
Calculates the Murrey Channels indicator for a bar specified with the shift parameter. |
double[][] |
murrey(Instrument instrument,
Period period,
OfferSide side,
int nPeriod,
int timePeriod,
int stepBack,
long from,
long to)
Calculates the Murrey Channels indicator for ticks or bars in the specified period. |
double[] |
natr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Normalized Average True Range indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
natr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Normalized Average True Range indicator for ticks or bars in the specified period. |
double |
natr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Normalized Average True Range indicator for a bar specified with the shift parameter. |
double[] |
natr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Normalized Average True Range indicator for ticks or bars in the specified period. |
double[] |
obv(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
OfferSide sideForPriceV,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the On Balance Volume for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
obv(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
OfferSide sideForPriceV,
Filter filter,
long from,
long to)
Calculates the On Balance Volume for ticks or bars in the specified period. |
double |
obv(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
OfferSide sideForPriceV,
int shift)
Calculates the On Balance Volume for a bar specified with the shift parameter. |
double[] |
obv(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
OfferSide sideForPriceV,
long from,
long to)
Calculates the On Balance Volume for ticks or bars in the specified period. |
double[] |
osma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fast_ema_period,
int slow_ema_period,
int signal_period,
Filter filter,
long from,
long to)
Calculates the Moving Average of Oscillator for ticks or bars in the specified period. |
double |
osma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fast_ema_period,
int slow_ema_period,
int signal_period,
int shift)
Calculates the Moving Average of Oscillator for a bar specified with the shift parameter. |
double[] |
osma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fast_ema_period,
int slow_ema_period,
int signal_period,
long from,
long to)
Calculates the Moving Average of Oscillator for ticks or bars in the specified period. |
double[] |
osma(Instrument instrument,
Period period,
OfferSide side,
int fast_ema_period,
int slow_ema_period,
int signal_period,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Moving Average of Oscillator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
pivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
boolean showHistoricalLevels,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Deprecated. replaced by pivot(Instrument instrument, Period period, OfferSide side, int timePeriod, Filter filter, int numberOfCandlesBefore, long time, int numberOfCandlesAfter) |
double[][] |
pivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
boolean showHistoricalLevels,
Filter filter,
long from,
long to)
Deprecated. replaced by pivot(Instrument instrument, Period period, OfferSide side, int timePeriod, Filter filter, long from, long to) |
double[] |
pivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
boolean showHistoricalLevels,
int shift)
Deprecated. replaced by pivot(Instrument instrument, Period period, OfferSide side, int timePeriod, int shift) |
double[][] |
pivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
boolean showHistoricalLevels,
long from,
long to)
Deprecated. replaced by pivot(Instrument instrument, Period period, OfferSide side, int timePeriod, long from, long to) |
double[][] |
pivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Pivot points indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
pivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Pivot points indicator for ticks or bars in the specified period. |
double[] |
pivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Pivot points indicator for a bar specified with the shift parameter. |
double[][] |
pivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Pivot points indicator for ticks or bars in the specified period. |
double[] |
plusDi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Plus Directional Indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
plusDi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Plus Directional Indicator for ticks or bars in the specified period. |
double |
plusDi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Plus Directional Indicator for a bar specified with the shift parameter. |
double[] |
plusDi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Plus Directional Indicator for ticks or bars in the specified period. |
double[] |
plusDm(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Plus Directional Movement indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
plusDm(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Plus Directional Movement indicator for ticks or bars in the specified period. |
double |
plusDm(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Plus Directional Movement indicator for a bar specified with the shift parameter. |
double[] |
plusDm(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Plus Directional Movement indicator for ticks or bars in the specified period. |
double[] |
ppo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Percentage Price Oscillator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
ppo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
Filter filter,
long from,
long to)
Calculates the Percentage Price Oscillator for ticks or bars in the specified period. |
double |
ppo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
int shift)
Calculates the Percentage Price Oscillator for a bar specified with the shift parameter. |
double[] |
ppo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
long from,
long to)
Calculates the Percentage Price Oscillator for ticks or bars in the specified period. |
double[] |
prchannel(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Deprecated. replaced by prchannel(Instrument instrument, Period period, OfferSide side, int timePeriod, Filter filter, int numberOfCandlesBefore, long time, int numberOfCandlesAfter) |
double |
prchannel(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
int shift)
Deprecated. replaced by prchannel(Instrument instrument, Period period, OfferSide side, int timePeriod, int shift) |
double[] |
prchannel(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
long from,
long to)
Deprecated. replaced by prchannel(Instrument instrument, Period period, OfferSide side, int timePeriod, long from, long to) |
double[] |
prchannel(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Price Channel indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
prchannel(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Price Channel indicator for ticks or bars in the specified period. |
double |
prchannel(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Price Channel indicator for a bar specified with the shift parameter. |
double[] |
prchannel(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Price Channel indicator for ticks or bars in the specified period. |
double[] |
rci(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Rank Correlation Index for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
rci(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Rank Correlation Index for ticks or bars in the specified period. |
double |
rci(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Rank Correlation Index for a bar specified with the shift parameter. |
double[] |
rci(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Rank Correlation Index for ticks or bars in the specified period. |
java.lang.String |
registerCustomIndicator(java.lang.Class<? extends IIndicator> indicatorClass)
Register custom indicator by class |
java.lang.String |
registerCustomIndicator(java.io.File compiledCustomIndcatorFile)
Attempts to open and register a custom indicator in the system. |
void |
registerDownloadableIndicator(java.lang.String id,
java.lang.String name)
Attempts to open and register a downloadable indicator in the system. |
double[] |
rmi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int momentumPeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Relative Momentum Index for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
rmi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int momentumPeriod,
Filter filter,
long from,
long to)
Calculates the Relative Momentum Index for ticks or bars in the specified period. |
double |
rmi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int momentumPeriod,
int shift)
Calculates the Relative Momentum Index for a bar specified with the shift parameter. |
double[] |
rmi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int momentumPeriod,
long from,
long to)
Calculates the Relative Momentum Index for ticks or bars in the specified period. |
double[] |
roc(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Rate of change indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
roc(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Rate of change indicator for ticks or bars in the specified period. |
double |
roc(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Rate of change indicator for a bar specified with the shift parameter. |
double[] |
roc(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Rate of change indicator for ticks or bars in the specified period. |
double[] |
rocp(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Rate of change Percentage indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
rocp(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Rate of change Percentage indicator for ticks or bars in the specified period. |
double |
rocp(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Rate of change Percentage indicator for a bar specified with the shift parameter. |
double[] |
rocp(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Rate of change Percentage indicator for ticks or bars in the specified period. |
double[] |
rocr(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Rate of change ratio: (price/prevPrice) for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
rocr(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Rate of change ratio: (price/prevPrice) for ticks or bars in the specified period. |
double |
rocr(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Rate of change ratio: (price/prevPrice) for a bar specified with the shift parameter. |
double[] |
rocr(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Rate of change ratio: (price/prevPrice) for ticks or bars in the specified period. |
double[] |
rocr100(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Rate of change ratio 100 scale indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
rocr100(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Rate of change ratio 100 scale indicator for ticks or bars in the specified period. |
double |
rocr100(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Rate of change ratio 100 scale indicator for a bar specified with the shift parameter. |
double[] |
rocr100(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Rate of change ratio 100 scale indicator for ticks or bars in the specified period. |
double[] |
rsi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Relative Strength Index for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
rsi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Relative Strength Index for ticks or bars in the specified period. |
double |
rsi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Relative Strength Index for a bar specified with the shift parameter. |
double[] |
rsi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Relative Strength Index for ticks or bars in the specified period. |
double[][] |
rvi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Relative Vigor Index for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
rvi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Relative Vigor Index for ticks or bars in the specified period. |
double[] |
rvi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Relative Vigor Index for a bar specified with the shift parameter. |
double[][] |
rvi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Relative Vigor Index for ticks or bars in the specified period. |
double[] |
sar(Instrument instrument,
Period period,
OfferSide side,
double acceleration,
double maximum,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Parabolic SAR indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double |
sar(Instrument instrument,
Period period,
OfferSide side,
double acceleration,
double maximum,
int shift)
Calculates the Parabolic SAR indicator for a bar specified with the shift parameter. |
double[] |
sar(Instrument instrument,
Period period,
OfferSide side,
double acceleration,
double maximum,
long from,
long to)
Calculates the Parabolic SAR indicator for ticks or bars in the specified period. |
double[] |
sarExt(Instrument instrument,
Period period,
OfferSide side,
double startValue,
double offsetOnReverse,
double accelerationInitLong,
double accelerationLong,
double accelerationMaxLong,
double accelerationInitShort,
double accelerationShort,
double accelerationMaxShort,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Parabolic SAR - Extended indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
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)
Calculates the Parabolic SAR - Extended indicator for a bar specified with the shift parameter. |
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)
Calculates the Parabolic SAR - Extended indicator for ticks or bars in the specified period. |
double[] |
sin(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Vector Trigonometric Sin for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
sin(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
Calculates the Vector Trigonometric Sin for ticks or bars in the specified period. |
double |
sin(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Vector Trigonometric Sin for a bar specified with the shift parameter. |
double[] |
sin(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
Calculates the Vector Trigonometric Sin for ticks or bars in the specified period. |
double[] |
sinh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Vector Trigonometric Sinh for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
sinh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
Calculates the Vector Trigonometric Sinh for ticks or bars in the specified period. |
double |
sinh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Vector Trigonometric Sinh for a bar specified with the shift parameter. |
double[] |
sinh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
Calculates the Vector Trigonometric Sinh for ticks or bars in the specified period. |
double[] |
sma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Simple Moving Average for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
sma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Simple Moving Average for ticks or bars in the specified period. |
double |
sma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Simple Moving Average for a bar specified with the shift parameter. |
double[] |
sma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Simple Moving Average for ticks or bars in the specified period. |
double[][] |
smi(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int slowKPeriod,
int slowDPeriod,
int smoothingPeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Stochastic Momentum Index for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
smi(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int slowKPeriod,
int slowDPeriod,
int smoothingPeriod,
Filter filter,
long from,
long to)
Calculates the Stochastic Momentum Index for ticks or bars in the specified period. |
double[] |
smi(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int slowKPeriod,
int slowDPeriod,
int smoothingPeriod,
int shift)
Calculates the Stochastic Momentum Index for a bar specified with the shift parameter. |
double[][] |
smi(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int slowKPeriod,
int slowDPeriod,
int smoothingPeriod,
long from,
long to)
Calculates the Stochastic Momentum Index for ticks or bars in the specified period. |
double[] |
smma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Smoothed Moving Average for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
smma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Smoothed Moving Average for ticks or bars in the specified period. |
double |
smma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Smoothed Moving Average indicator for a bar specified with the shift parameter. |
double[] |
smma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Smoothed Moving Average for ticks or bars in the specified period. |
double[] |
sqrt(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Vector Square Root for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
sqrt(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
Calculates the Vector Square Root for ticks or bars in the specified period. |
double |
sqrt(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Vector Square Root for a bar specified with the shift parameter. |
double[] |
sqrt(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
Calculates the Vector Square Root for ticks or bars in the specified period. |
double[] |
stdDev(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDev,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Standard Deviation for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
stdDev(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDev,
Filter filter,
long from,
long to)
Calculates the Standard Deviation for ticks or bars in the specified period. |
double |
stdDev(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDev,
int shift)
Calculates the Standard Deviation for a bar specified with the shift parameter. |
double[] |
stdDev(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDev,
long from,
long to)
Calculates the Standard Deviation for ticks or bars in the specified period. |
double[][] |
stoch(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int slowKPeriod,
IIndicators.MaType slowKMaType,
int slowDPeriod,
IIndicators.MaType slowDMaType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Stochastic indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
stoch(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int slowKPeriod,
IIndicators.MaType slowKMaType,
int slowDPeriod,
IIndicators.MaType slowDMaType,
Filter filter,
long from,
long to)
Calculates the Stochastic indicator for ticks or bars in the specified period. |
double[] |
stoch(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int slowKPeriod,
IIndicators.MaType slowKMaType,
int slowDPeriod,
IIndicators.MaType slowDMaType,
int shift)
Calculates the Stochastic indicator for a bar specified with the shift parameter. |
double[][] |
stoch(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int slowKPeriod,
IIndicators.MaType slowKMaType,
int slowDPeriod,
IIndicators.MaType slowDMaType,
long from,
long to)
Calculates the Stochastic indicator for ticks or bars in the specified period. |
double[][] |
stochF(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int fastDPeriod,
IIndicators.MaType fastDMaType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Stochastic Fast indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
stochF(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int fastDPeriod,
IIndicators.MaType fastDMaType,
Filter filter,
long from,
long to)
Calculates the Stochastic Fast indicator for ticks or bars in the specified period. |
double[] |
stochF(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int fastDPeriod,
IIndicators.MaType fastDMaType,
int shift)
Calculates the Stochastic Fast indicator for a bar specified with the shift parameter. |
double[][] |
stochF(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int fastDPeriod,
IIndicators.MaType fastDMaType,
long from,
long to)
Calculates the Stochastic Fast indicator for ticks or bars in the specified period. |
double[][] |
stochRsi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int fastKPeriod,
int fastDPeriod,
IIndicators.MaType fastDMaType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Stochastic Relative Strength Index for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
stochRsi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int fastKPeriod,
int fastDPeriod,
IIndicators.MaType fastDMaType,
Filter filter,
long from,
long to)
Calculates the Stochastic Relative Strength Index for ticks or bars in the specified period. |
double[] |
stochRsi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int fastKPeriod,
int fastDPeriod,
IIndicators.MaType fastDMaType,
int shift)
Calculates the Stochastic Relative Strength Index for a bar specified with the shift parameter. |
double[][] |
stochRsi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int fastKPeriod,
int fastDPeriod,
IIndicators.MaType fastDMaType,
long from,
long to)
Calculates the Stochastic Relative Strength Index for ticks or bars in the specified period. |
double[] |
sub(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Vector Arithmetic Substraction for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
sub(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
Filter filter,
long from,
long to)
Calculates the Vector Arithmetic Substraction for ticks or bars in the specified period. |
double |
sub(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int shift)
Calculates the Vector Arithmetic Substraction for a bar specified with the shift parameter. |
double[] |
sub(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
long from,
long to)
Calculates the Vector Arithmetic Substraction for ticks or bars in the specified period. |
double[] |
sum(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Summation for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
sum(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Summation for ticks or bars in the specified period. |
double |
sum(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Summation for a bar specified with the shift parameter. |
double[] |
sum(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Summation for ticks or bars in the specified period. |
double[][] |
supportResistance(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Support and Resistance indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
supportResistance(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Support and Resistance indicator for ticks or bars in the specified period. |
double[] |
supportResistance(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Support and Resistance indicator for a bar specified with the shift parameter. |
double[][] |
supportResistance(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Support and Resistance indicator for ticks or bars in the specified period. |
double[] |
t3(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double vFactor,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Triple Exponential Moving Average for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
t3(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double vFactor,
Filter filter,
long from,
long to)
Calculates the Triple Exponential Moving Average for ticks or bars in the specified period. |
double |
t3(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double vFactor,
int shift)
Calculates the Triple Exponential Moving Average for a bar specified with the shift parameter. |
double[] |
t3(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double vFactor,
long from,
long to)
Calculates the Triple Exponential Moving Average for ticks or bars in the specified period. |
double[] |
tan(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Vector Trigonometric Tan for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
tan(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
Calculates the Vector Trigonometric Tan for ticks or bars in the specified period. |
double |
tan(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Vector Trigonometric Tan for a bar specified with the shift parameter. |
double[] |
tan(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
Calculates the Vector Trigonometric Tan for ticks or bars in the specified period. |
double[] |
tanh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Vector Trigonometric Tanh for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
tanh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
Calculates the Vector Trigonometric Tanh for ticks or bars in the specified period. |
double |
tanh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Vector Trigonometric Tanh for a bar specified with the shift parameter. |
double[] |
tanh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
Calculates the Vector Trigonometric Tanh for ticks or bars in the specified period. |
double[] |
tbop(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Thrust Outside Bar indicator for a bar specified with the shift parameter. |
double[] |
tbp(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
Calculates the Thrust Bar indicator for a bar specified with the shift parameter. |
double[][] |
td_i(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Tom DeMark Indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
td_i(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Tom DeMark Indicator for ticks or bars in the specified period. |
double[] |
td_i(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Tom DeMark Indicator for a bar specified with the shift parameter. |
double[][] |
td_i(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Tom DeMark Indicator for ticks or bars in the specified period. |
int[][] |
td_s(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the TD Sequential indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
int[][] |
td_s(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the TD Sequential indicator for ticks or bars in the specified period. |
int[] |
td_s(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the TD Sequential indicator for a bar specified with the shift parameter. |
int[][] |
td_s(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the TD Sequential indicator for ticks or bars in the specified period. |
double[] |
tema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Triple Exponential Moving Average indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
tema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Triple Exponential Moving Average indicator for ticks or bars in the specified period. |
double |
tema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Triple Exponential Moving Average indicator for a bar specified with the shift parameter. |
double[] |
tema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Triple Exponential Moving Average indicator for ticks or bars in the specified period. |
double[] |
trange(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the True Range indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
trange(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the True Range indicator for ticks or bars in the specified period. |
double |
trange(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the True Range indicator for a bar specified with the shift parameter. |
double[] |
trange(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the True Range indicator for ticks or bars in the specified period. |
double[][] |
trendEnv(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
double deviation,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Trend Envelope indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
trendEnv(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
double deviation,
Filter filter,
long from,
long to)
Calculates the Trend Envelope indicator for ticks or bars in the specified period. |
double[] |
trendEnv(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
double deviation,
int shift)
Calculates the Trend Envelope indicator for a bar specified with the shift parameter. |
double[][] |
trendEnv(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
double deviation,
long from,
long to)
Calculates the Trend Envelope indicator for ticks or bars in the specified period. |
double[] |
trima(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Triangular Moving Average indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
trima(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Triangular Moving Average indicator for ticks or bars in the specified period. |
double |
trima(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Triangular Moving Average indicator for a bar specified with the shift parameter. |
double[] |
trima(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Triangular Moving Average indicator for ticks or bars in the specified period. |
double[] |
trix(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the 1-day Rate-Of-Change (ROC) of a Triple Smooth EMA indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
trix(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the 1-day Rate-Of-Change (ROC) of a Triple Smooth EMA indicator for ticks or bars in the specified period. |
double |
trix(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the 1-day Rate-Of-Change (ROC) of a Triple Smooth EMA indicator for a bar specified with the shift parameter. |
double[] |
trix(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the 1-day Rate-Of-Change (ROC) of a Triple Smooth EMA indicator for ticks or bars in the specified period. |
double[] |
tsf(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Time Series Forecast indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
tsf(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Time Series Forecast indicator for ticks or bars in the specified period. |
double |
tsf(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Time Series Forecast indicator for a bar specified with the shift parameter. |
double[] |
tsf(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Time Series Forecast indicator for ticks or bars in the specified period. |
double[] |
tvs(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Time Segmented Volume for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
tvs(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Time Segmented Volume for ticks or bars in the specified period. |
double |
tvs(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Time Segmented Volume for a bar specified with the shift parameter. |
double[] |
tvs(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Time Segmented Volume for ticks or bars in the specified period. |
double[] |
typPrice(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Typical Price for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
typPrice(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Typical Price for ticks or bars in the specified period. |
double |
typPrice(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Typical Price for a bar specified with the shift parameter. |
double[] |
typPrice(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Typical Price for ticks or bars in the specified period. |
double[] |
ultOsc(Instrument instrument,
Period period,
OfferSide side,
int timePeriod1,
int timePeriod2,
int timePeriod3,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Ultimate Oscillator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
ultOsc(Instrument instrument,
Period period,
OfferSide side,
int timePeriod1,
int timePeriod2,
int timePeriod3,
Filter filter,
long from,
long to)
Calculates the Ultimate Oscillator for ticks or bars in the specified period. |
double |
ultOsc(Instrument instrument,
Period period,
OfferSide side,
int timePeriod1,
int timePeriod2,
int timePeriod3,
int shift)
Calculates the Ultimate Oscillator for a bar specified with the shift parameter. |
double[] |
ultOsc(Instrument instrument,
Period period,
OfferSide side,
int timePeriod1,
int timePeriod2,
int timePeriod3,
long from,
long to)
Calculates the Ultimate Oscillator for ticks or bars in the specified period. |
double[] |
var(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDev,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Variance indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
var(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDev,
Filter filter,
long from,
long to)
Calculates the Variance indicator for ticks or bars in the specified period. |
double |
var(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDev,
int shift)
Calculates the Variance indicator for a bar specified with the shift parameter. |
double[] |
var(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDev,
long from,
long to)
Calculates the Variance indicator for ticks or bars in the specified period. |
double[] |
volume(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates volume for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
volume(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates volume for ticks or bars in the specified period. |
double |
volume(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates volume for a bar specified with the shift parameter. |
double[] |
volume(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates volume for ticks or bars in the specified period. |
double[] |
volumeWAP(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Volume Weighted Average Price for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
volumeWAP(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Volume Weighted Average Price for ticks or bars in the specified period. |
double |
volumeWAP(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Volume Weighted Average Price for a bar specified with the shift parameter. |
double[] |
volumeWAP(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Volume Weighted Average Price for ticks or bars in the specified period. |
double[] |
waddahAttar(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Waddah Attar Trend indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
waddahAttar(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Waddah Attar Trend indicator for ticks or bars in the specified period. |
double |
waddahAttar(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Waddah Attar Trend indicator for a bar specified with the shift parameter. |
double[] |
waddahAttar(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Waddah Attar Trend indicator for ticks or bars in the specified period. |
double[] |
wclPrice(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Weighted Close Price indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
wclPrice(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the Weighted Close Price indicator for ticks or bars in the specified period. |
double |
wclPrice(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the Weighted Close Price indicator for a bar specified with the shift parameter. |
double[] |
wclPrice(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the Weighted Close Price indicator for ticks or bars in the specified period. |
double[] |
willr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Williams' %R indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
willr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Williams' %R indicator for ticks or bars in the specified period. |
double |
willr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Williams' %R indicator for a bar specified with the shift parameter. |
double[] |
willr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Williams' %R indicator for ticks or bars in the specified period. |
double[] |
wma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Weighted Moving Average for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
wma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Weighted Moving Average for ticks or bars in the specified period. |
double |
wma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
Calculates the Weighted Moving Average indicator for a bar specified with the shift parameter. |
double[] |
wma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
Calculates the Weighted Moving Average for ticks or bars in the specified period. |
double[][] |
woodPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the Woodie Pivot indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[][] |
woodPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
Calculates the Woodie Pivot indicator for ticks or bars in the specified period. |
double[] |
woodPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
Calculates the Woodie Pivot indicator for a bar specified with the shift parameter. |
double[][] |
woodPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
Calculates the Woodie Pivot indicator for ticks or bars in the specified period. |
java.lang.Object[] |
wsmTime(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the World Stock Market Time indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
java.lang.Object[] |
wsmTime(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
Calculates the World Stock Market Time indicator for ticks or bars in the specified period. |
java.lang.Object[] |
wsmTime(Instrument instrument,
Period period,
OfferSide side,
int shift)
Calculates the World Stock Market Time indicator for a bar specified with the shift parameter. |
java.lang.Object[] |
wsmTime(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
Calculates the World Stock Market Time indicator for ticks or bars in the specified period. |
double[] |
zigzag(Instrument instrument,
Period period,
OfferSide side,
int extDepth,
int extDeviation,
int extBackstep,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
Calculates the ZigZag indicator for bars specified with numberOfCandlesBefore, time and numberOfCandlesAfter parameters. |
double[] |
zigzag(Instrument instrument,
Period period,
OfferSide side,
int extDepth,
int extDeviation,
int extBackstep,
Filter filter,
long from,
long to)
Calculates the ZigZag indicator for ticks or bars in the specified period. |
double |
zigzag(Instrument instrument,
Period period,
OfferSide side,
int extDepth,
int extDeviation,
int extBackstep,
int shift)
Calculates the ZigZag indicator for a bar specified with the shift parameter. |
double[] |
zigzag(Instrument instrument,
Period period,
OfferSide side,
int extDepth,
int extDeviation,
int extBackstep,
long from,
long to)
Calculates the ZigZag indicator for ticks or bars in the specified period. |
| Method Detail |
|---|
java.util.Collection<java.lang.String> getGroups()
java.util.Collection<java.lang.String> getNames(java.lang.String groupName)
groupName - indicator group
java.util.Collection<java.lang.String> getAllNames()
IIndicator getIndicator(java.lang.String name)
name - name of the indicator
java.lang.String registerCustomIndicator(java.io.File compiledCustomIndcatorFile)
throws JFException
getAllNames() method and can be called by calculateIndicator(com.dukascopy.api.Instrument, com.dukascopy.api.Period, com.dukascopy.api.OfferSide[], java.lang.String, com.dukascopy.api.IIndicators.AppliedPrice[], java.lang.Object[], int) functions
compiledCustomIndcatorFile - file with the compiled indicator (the one with .jfx extension)
JFException - when the indicator does not exist or can not be instantiated or does not pass the validation
java.lang.String registerCustomIndicator(java.lang.Class<? extends IIndicator> indicatorClass)
throws JFException
indicatorClass - - indicator class must implement IIndicator interface
JFException - in case of any error
void registerDownloadableIndicator(java.lang.String id,
java.lang.String name)
throws JFException
getAllNames() method and can be called by calculateIndicator(com.dukascopy.api.Instrument, com.dukascopy.api.Period, com.dukascopy.api.OfferSide[], java.lang.String, com.dukascopy.api.IIndicators.AppliedPrice[], java.lang.Object[], int) functions
id - indicator version identifiername - name of the indicator
JFException - when the given indicator version does not exist or can not be downloaded or can not be instantiated or does not pass the validation
java.lang.Object[] calculateIndicator(Instrument instrument,
Period period,
OfferSide[] side,
java.lang.String functionName,
IIndicators.AppliedPrice[] inputTypes,
java.lang.Object[] optParams,
int shift)
throws JFException
instrument - bar instrumentperiod - bar periodside - Bid or Ask side of the barfunctionName - name of the indicatorinputTypes - type of the input data for every input that indicator requires or null if input is PRICEoptParams - array of optional parameters consisting of Doubles and Integersshift - number of candles 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
JFException - when parameters are not validNote: type conversion may be used in order to work with the result of indicator calculation. For example,
Object[] result = indicators.calculateIndicator(Instrument.EURUSD,
Period.ONE_HOUR, new OfferSide[] {OfferSide.ASK}, "MINMAX",
new AppliedPrice[]{AppliedPrice.CLOSE},
new Object[]{5}, 1);
double min = (Double)(result[0]);
double max = (Double)(result[1]);
java.lang.Object[] calculateIndicator(Instrument instrument,
Period period,
OfferSide[] side,
java.lang.String functionName,
IIndicators.AppliedPrice[] inputTypes,
java.lang.Object[] optParams,
long from,
long to)
throws JFException
instrument - bar instrumentperiod - bar periodside - Bid or Ask side of the barsfunctionName - name of the functioninputTypes - type of the input data for every input that indicator requires or null if input is PRICEoptParams - array of optional parameters consisting of Doubles and Integersfrom - start time of the first barto - start time of the last bar that should be included in calculation
JFException - when parameters are not validNote: type conversion may be used in order to work with the result of indicator calculation. For example,
long from = history.getBar(Instrument.EURUSD, Period.ONE_HOUR, OfferSide.ASK, 2).getTime();
long to = history.getBar(Instrument.EURUSD, Period.ONE_HOUR, OfferSide.ASK, 1).getTime();
Object[] result = indicators.calculateIndicator(Instrument.EURUSD,
Period.ONE_HOUR, new OfferSide[] {OfferSide.ASK}, "MINMAX",
new AppliedPrice[]{AppliedPrice.CLOSE}, new Object[]{5}, from, to);
double minFrom = ((double[])result[0])[0];
double maxFrom = ((double[])result[1])[0];
double minTo = ((double[])result[0])[1];
double maxTo = ((double[])result[1])[1];
java.lang.Object[] calculateIndicator(Instrument instrument,
Period period,
OfferSide[] side,
java.lang.String functionName,
IIndicators.AppliedPrice[] inputTypes,
java.lang.Object[] optParams,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
instrument - instrument of the barsperiod - period of the barsside - Bid or Ask side of the barsfunctionName - name of the functioninputTypes - type of the input data for every input that indicator requires or null if input is PRICEoptParams - array of optional parameters consisting of Doubles and Integersfilter - filter allows to filter candlesnumberOfCandlesBefore - how much candles to load before and including candle with time specified in time parametertime - time of the last candles in period specified in numberOfCandlesBefore parameter or/and
time of the candle prior first candle in period specified with numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (not including) candle with time specified in time parameter
JFException - when parameters are not validNote: type conversion may be used in order to work with the result of indicator calculation. For example,
long time = history.getBar(Instrument.EURUSD, Period.ONE_HOUR, OfferSide.ASK, 1).getTime();
Object[] result = indicators.calculateIndicator(Instrument.EURUSD,
Period.ONE_HOUR, new OfferSide[] {OfferSide.ASK}, "MINMAX",
new AppliedPrice[]{AppliedPrice.CLOSE}, new Object[]{5}, Filter.ALL_FLATS, 2, time, 0);
double minFrom = ((double[])result[0])[0];
double maxFrom = ((double[])result[1])[0];
double minTo = ((double[])result[0])[1];
double maxTo = ((double[])result[1])[1];
java.lang.Object[] calculateIndicator(IFeedDescriptor feedDescriptor,
OfferSide[] offerSides,
java.lang.String functionName,
IIndicators.AppliedPrice[] inputTypes,
java.lang.Object[] optParams,
long from,
long to)
throws JFException
DataType supported by JForex, including user indicators.
feedDescriptor - feed descriptor IFeedDescriptor which will be used to calculate indicatorofferSides - bid or ask side of the barsfunctionName - name of the functioninputTypes - type of the input data for every input that indicator requires or null if input is PRICEoptParams - array of optional parameters consisting of Doubles and Integersfrom - start time of the first barto - start time of the last bar that should be included in calculation
JFException - when parameters are not validNote: type conversion may be used in order to work with the result of indicator calculation. For example,
FeedDescriptor feedDescriptor = new FeedDescriptor();
feedDescriptor.setDataType(DataType.TIME_PERIOD_AGGREGATION);
feedDescriptor.setFilter(Filter.NO_FILTER);
feedDescriptor.setInstrument(Instrument.EURUSD);
feedDescriptor.setPeriod(Period.ONE_HOUR);
long timeFrom = history.getBar(Instrument.EURUSD, Period.ONE_HOUR, OfferSide.ASK, 2).getTime();
long timeTo = history.getBar(Instrument.EURUSD, Period.ONE_HOUR, OfferSide.ASK, 1).getTime();
Object[] result = indicators.calculateIndicator(feedDescriptor,
new OfferSide[] {OfferSide.ASK}, "MINMAX",
new AppliedPrice[]{AppliedPrice.CLOSE}, new Object[]{5}, timeFrom, timeTo);
double minFrom = ((double[])result[0])[0];
double maxFrom = ((double[])result[1])[0];
double minTo = ((double[])result[0])[1];
double maxTo = ((double[])result[1])[1];
java.lang.Object[] calculateIndicator(IFeedDescriptor feedDescriptor,
OfferSide[] offerSides,
java.lang.String functionName,
IIndicators.AppliedPrice[] inputTypes,
java.lang.Object[] optParams,
int shift)
throws JFException
DataType supported by JForex, including user indicators.
feedDescriptor - feed descriptor IFeedDescriptor which will be used to calculate indicatorofferSides - bid or ask side of the barfunctionName - name of the functioninputTypes - type of the input data for every input that indicator requires or null if input is PRICEoptParams - array of optional parameters consisting of Doubles and Integersshift - number of candles 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
JFException - when parameters are not validNote: type conversion may be used in order to work with the result of indicator calculation. For example,
FeedDescriptor feedDescriptor = new FeedDescriptor();
feedDescriptor.setDataType(DataType.TIME_PERIOD_AGGREGATION);
feedDescriptor.setFilter(Filter.NO_FILTER);
feedDescriptor.setInstrument(Instrument.EURUSD);
feedDescriptor.setPeriod(Period.ONE_HOUR);
Object[] result = indicators.calculateIndicator(feedDescriptor,
new OfferSide[] {OfferSide.ASK}, "MINMAX",
new AppliedPrice[]{AppliedPrice.CLOSE}, new Object[]{5}, 1);
double min = (Double)(result[0]);
double max = (Double)(result[1]);
java.lang.Object[] calculateIndicator(IFeedDescriptor feedDescriptor,
OfferSide[] offerSides,
java.lang.String functionName,
IIndicators.AppliedPrice[] inputTypes,
java.lang.Object[] optParams,
int numberOfBarsBefore,
long time,
int numberOfBarsAfter)
throws JFException
DataType supported by JForex, including user indicators.
feedDescriptor - feed descriptor IFeedDescriptor which will be used to calculate indicatorofferSides - bid or ask side of the barfunctionName - name of the functioninputTypes - type of the input data for every input that indicator requires or null if input is PRICEoptParams - array of optional parameters consisting of Doubles and IntegersnumberOfBarsBefore - how much candles to load before and including bar with time specified in time parametertime - of the last bar in period specified in numberOfBarsBefore parameter or/and
time of the bar prior to the first bar in period specified with numberOfBarsAfter parameternumberOfBarsAfter - how much bars to load after (not including) bar with time specified in time parameter
JFException - when parameters are not validNote: type conversion may be used in order to work with the result of indicator calculation. For example,
FeedDescriptor feedDescriptor = new FeedDescriptor();
feedDescriptor.setDataType(DataType.TIME_PERIOD_AGGREGATION);
feedDescriptor.setFilter(Filter.NO_FILTER);
feedDescriptor.setInstrument(Instrument.EURUSD);
feedDescriptor.setPeriod(Period.ONE_HOUR);
long time = history.getBar(Instrument.EURUSD, Period.ONE_HOUR, OfferSide.ASK, 1).getTime();
Object[] result = indicators.calculateIndicator(feedDescriptor,
new OfferSide[] {OfferSide.ASK}, "MINMAX",
new AppliedPrice[]{AppliedPrice.CLOSE}, new Object[]{5}, 2, time, 0);
double minFrom = ((double[])result[0])[0];
double maxFrom = ((double[])result[1])[0];
double minTo = ((double[])result[0])[1];
double maxTo = ((double[])result[1])[1];
java.lang.Object[] calculateIndicator(Instrument instrument,
Period period,
OfferSide[] offerSides,
java.lang.String functionName,
IIndicators.AppliedPrice[] inputTypes,
java.lang.Object[] optParams,
Filter filter,
long from,
long to)
throws JFException
instrument - instrument of the barsperiod - period of the barsofferSides - bid or ask side of the barsfunctionName - name of the functioninputTypes - type of the input data for every input that indicator requires or null if input is PRICEfilter - filter allows to filter candlesoptParams - array of optional parameters consisting of Doubles and Integersfrom - start time of the first bar that should be included in calculationto - start time of the last bar that should be included in calculation
JFException - when parameters are not validNote: type conversion may be used in order to work with the result of indicator calculation. For example,
long timeFrom = history.getBar(Instrument.EURUSD, Period.ONE_HOUR, OfferSide.ASK, 2).getTime();
long timeTo = history.getBar(Instrument.EURUSD, Period.ONE_HOUR, OfferSide.ASK, 1).getTime();
Object[] result = indicators.calculateIndicator(Instrument.EURUSD,
Period.ONE_HOUR, new OfferSide[] {OfferSide.ASK}, "MINMAX",
new AppliedPrice[]{AppliedPrice.CLOSE}, new Object[]{5}, Filter.ALL_FLATS, timeFrom, timeTo);
double minFrom = ((double[])result[0])[0];
double maxFrom = ((double[])result[1])[0];
double minTo = ((double[])result[0])[1];
double maxTo = ((double[])result[1])[1];
double acos(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - bar instrumentperiod - bar periodside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[] acos(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - bar instrumentperiod - bar periodside - Bid or Ask side of the barappliedPrice - type of input datafrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] acos(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - bar instrumentperiod - bar periodside - Bid or Ask side of the barappliedPrice - type of input datafilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] acos(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - bar instrumentperiod - bar periodside - Bid or Ask side of the barappliedPrice - type of input datafilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] ac(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
int shift)
throws JFException
shift parameter.
instrument - bar instrumentperiod - bar periodside - Bid or Ask side of the barappliedPrice - type of input datafastPeriod - fast periodslowPeriod - slow periodshift - number of candles 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
JFException - when parameters are not valid
double[][] ac(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars. The resulting array for ticks is an array of values for 1 second bars.
instrument - bar instrumentperiod - bar periodside - Bid or Ask side of the barappliedPrice - type of input datafastPeriod - fast periodslowPeriod - slow periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] ac(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - bar instrumentperiod - bar periodside - Bid or Ask side of the barappliedPrice - type of input datafastPeriod - fast periodslowPeriod - slow periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] ac(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars. The resulting array for ticks is an array of values for 1 second bars.
instrument - bar instrumentperiod - bar periodside - Bid or Ask side of the barappliedPrice - type of input datafastPeriod - fast periodslowPeriod - slow periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double ad(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
double[] ad(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] ad(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] ad(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double add(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parametershift - number of candles 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
JFException - when parameters are not valid
double[] add(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parameterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] add(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parameterfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] add(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parameterfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double adOsc(Instrument instrument,
Period period,
OfferSide side,
int fastPeriod,
int slowPeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfastPeriod - fast period valueslowPeriod - slow period valueshift - number of candles 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
JFException - when parameters are not valid
double[] adOsc(Instrument instrument,
Period period,
OfferSide side,
int fastPeriod,
int slowPeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfastPeriod - fast period valueslowPeriod - slow period valuefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] adOsc(Instrument instrument,
Period period,
OfferSide side,
int fastPeriod,
int slowPeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfastPeriod - fast period valueslowPeriod - slow period valuefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] adOsc(Instrument instrument,
Period period,
OfferSide side,
int fastPeriod,
int slowPeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfastPeriod - fast period valueslowPeriod - slow period valuefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double adx(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time period valueshift - number of candles 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
JFException - when parameters are not valid
double[] adx(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time period valuefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] adx(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time period valuefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] adx(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time period valuefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double adxr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time period valueshift - number of candles 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
JFException - when parameters are not valid
double[] adxr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time period valuefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] adxr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time period valuefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] adxr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time period valuefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] alligator(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int jawTimePeriod,
int teethTimePeriod,
int lipsTimePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datajawTimePeriod - jaw time periodteethTimePeriod - teeth time periodlipsTimePeriod - lips time periodtimePeriod - time period valueshift - number of candles 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
JFException - when parameters are not valid
double[][] alligator(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int jawTimePeriod,
int teethTimePeriod,
int lipsTimePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datajawTimePeriod - jaw time periodteethTimePeriod - teeth time periodlipsTimePeriod - lips time periodtimePeriod - time period valuefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] alligator(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int jawTimePeriod,
int teethTimePeriod,
int lipsTimePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datajawTimePeriod - jaw time periodteethTimePeriod - teeth time periodlipsTimePeriod - lips time periodtimePeriod - time period valuefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] alligator(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int jawTimePeriod,
int teethTimePeriod,
int lipsTimePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datajawTimePeriod - jaw time periodteethTimePeriod - teeth time periodlipsTimePeriod - lips time periodtimePeriod - time period valuefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double apo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafastPeriod - fast period valueslowPeriod - slow period valuemaType - moving average typeshift - number of candles 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
JFException - when parameters are not valid
double[] apo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafastPeriod - fast period valueslowPeriod - slow period valuemaType - moving average typefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] apo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafastPeriod - fast period valueslowPeriod - slow period valuemaType - moving average typefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] apo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafastPeriod - fast period valueslowPeriod - slow period valuemaType - moving average typefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] aroon(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time period valueshift - number of candles 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
JFException - when parameters are not valid
double[][] aroon(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time period valuefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] aroon(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time period valuefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] aroon(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time period valuefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double aroonOsc(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time period valueshift - number of candles 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
JFException - when parameters are not valid
double[] aroonOsc(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time period valuefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] aroonOsc(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time period valuefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] aroonOsc(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time period valuefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double asin(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[] asin(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] asin(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] asin(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double atan(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[] atan(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] atan(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] atan(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double atr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time period valueshift - number of candles 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
JFException - when parameters are not valid
double[] atr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time period valuefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] atr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time period valuefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] atr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time period valuefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double avgPrice(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
double[] avgPrice(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] avgPrice(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] avgPrice(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.s
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] awesome(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fasterMaTimePeriod,
IIndicators.MaType fasterMaType,
int slowerMaTimePeriod,
IIndicators.MaType slowerMaType,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafasterMaTimePeriod - faster moving average time periodfasterMaType - faster moving average typeslowerMaTimePeriod - slower moving average time periodslowerMaType - slower moving average typeshift - number of candles 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
JFException - when parameters are not valid
double[][] awesome(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fasterMaTimePeriod,
IIndicators.MaType fasterMaType,
int slowerMaTimePeriod,
IIndicators.MaType slowerMaType,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafasterMaTimePeriod - faster moving average time periodfasterMaType - faster moving average typeslowerMaTimePeriod - slower moving average time periodslowerMaType - slower moving average typefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] awesome(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fasterMaTimePeriod,
IIndicators.MaType fasterMaType,
int slowerMaTimePeriod,
IIndicators.MaType slowerMaType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafasterMaTimePeriod - faster moving average time periodfasterMaType - faster moving average typeslowerMaTimePeriod - slower moving average time periodslowerMaType - slower moving average typefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] awesome(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fasterMaTimePeriod,
IIndicators.MaType fasterMaType,
int slowerMaTimePeriod,
IIndicators.MaType slowerMaType,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafasterMaTimePeriod - faster moving average time periodfasterMaType - faster moving average typeslowerMaTimePeriod - slower moving average time periodslowerMaType - slower moving average typefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] bbands(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDevUp,
double nbDevDn,
IIndicators.MaType maType,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodnbDevUp - number of standard deviations upnbDevDn - number of standard deviations downmaType - type of moving averageshift - number of candles 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
JFException - when parameters are not valid
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
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodnbDevUp - number of standard deviations upnbDevDn - number of standard deviations downmaType - type of moving averagefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] bbands(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDevUp,
double nbDevDn,
IIndicators.MaType maType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodnbDevUp - number of standard deviations upnbDevDn - number of standard deviations downmaType - type of moving averagefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] bbands(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDevUp,
double nbDevDn,
IIndicators.MaType maType,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodnbDevUp - number of standard deviations upnbDevDn - number of standard deviations downmaType - type of moving averagefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double beta(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parametertimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] beta(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parametertimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] beta(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parametertimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] beta(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parametertimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double bear(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] bear(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] bear(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] bear(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double bull(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] bull(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] bull(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] bull(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double butterworthFilter(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] butterworthFilter(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] butterworthFilter(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] butterworthFilter(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] bwmfi(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
double[][] bwmfi(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] bwmfi(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] bwmfi(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double bop(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
double[] bop(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] bop(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] bop(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] camPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - value form 0 to 9 that describes the period used in the indicator. Periods are as follows:
ONE_MIN, FIVE_MINS, TEN_MINS, FIFTEEN_MINS, THIRTY_MINS, ONE_HOUR, FOUR_HOURS, DAILY, WEEKLY, MONTHLYshift - number of candles 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
JFException - when parameters are not valid
double[][] camPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - value form 0 to 9 that describes the period used in the indicator. Periods are as follows:
ONE_MIN, FIVE_MINS, TEN_MINS, FIFTEEN_MINS, THIRTY_MINS, ONE_HOUR, FOUR_HOURS, DAILY, WEEKLY, MONTHLYfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] camPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - value form 0 to 9 that describes the period used in the indicator. Periods are as follows:
ONE_MIN, FIVE_MINS, TEN_MINS, FIFTEEN_MINS, THIRTY_MINS, ONE_HOUR, FOUR_HOURS, DAILY, WEEKLY, MONTHLYfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] camPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - value form 0 to 9 that describes the period used in the indicator. Periods are as follows:
ONE_MIN, FIVE_MINS, TEN_MINS, FIFTEEN_MINS, THIRTY_MINS, ONE_HOUR, FOUR_HOURS, DAILY, WEEKLY, MONTHLYfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double cci(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] cci(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] cci(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] cci(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdl2Crows(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdl2Crows(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdl2Crows(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdl2Crows(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdl3BlackCrows(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdl3BlackCrows(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdl3BlackCrows(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdl3BlackCrows(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdl3Inside(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdl3Inside(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdl3Inside(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdl3Inside(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdl3LineStrike(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdl3LineStrike(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdl3LineStrike(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdl3LineStrike(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdl3Outside(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdl3Outside(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdl3Outside(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdl3Outside(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdl3StarsInSouth(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdl3StarsInSouth(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdl3StarsInSouth(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdl3StarsInSouth(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdl3WhiteSoldiers(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdl3WhiteSoldiers(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdl3WhiteSoldiers(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdl3WhiteSoldiers(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlAbandonedBaby(Instrument instrument,
Period period,
OfferSide side,
double penetration,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - percentage of penetration of a candle within another candleshift - number of candles 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
JFException - when parameters are not valid
int[] cdlAbandonedBaby(Instrument instrument,
Period period,
OfferSide side,
double penetration,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - percentage of penetration of a candle within another candlefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlAbandonedBaby(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - percentage of penetration of a candle within another candlefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlAbandonedBaby(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - percentage of penetration of a candle within another candlefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlAdvanceBlock(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlAdvanceBlock(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlAdvanceBlock(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlAdvanceBlock(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlBeltHold(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlBeltHold(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlBeltHold(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlBeltHold(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlBreakAway(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlBreakAway(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlBreakAway(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlBreakAway(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlClosingMarubozu(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlClosingMarubozu(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlClosingMarubozu(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlClosingMarubozu(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlConcealBabySwall(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlConcealBabySwall(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlConcealBabySwall(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlConcealBabySwall(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlCounterattack(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlCounterattack(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlCounterattack(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlCounterattack(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlDarkCloudCover(Instrument instrument,
Period period,
OfferSide side,
double penetration,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candleshift - number of candles 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
JFException - when parameters are not valid
int[] cdlDarkCloudCover(Instrument instrument,
Period period,
OfferSide side,
double penetration,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candlefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlDarkCloudCover(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candlefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlDarkCloudCover(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candlefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlDoji(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlDoji(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlDoji(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlDoji(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlDojiStar(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlDojiStar(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlDojiStar(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlDojiStar(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlDragonflyDoji(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlDragonflyDoji(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlDragonflyDoji(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlDragonflyDoji(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlEngulfing(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlEngulfing(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlEngulfing(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlEngulfing(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlEveningDojiStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candleshift - number of candles 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
JFException - when parameters are not valid
int[] cdlEveningDojiStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candlefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlEveningDojiStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candlefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlEveningDojiStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candlefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlEveningStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candleshift - number of candles 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
JFException - when parameters are not valid
int[] cdlEveningStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candlefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlEveningStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candlefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlEveningStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candlefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlGapSideSideWhite(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlGapSideSideWhite(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlGapSideSideWhite(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlGapSideSideWhite(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlGravestoneDoji(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlGravestoneDoji(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlGravestoneDoji(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlGravestoneDoji(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlHammer(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlHammer(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlHammer(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlHammer(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlHangingMan(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlHangingMan(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlHangingMan(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlHangingMan(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlHarami(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlHarami(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlHarami(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlHarami(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlHaramiCross(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlHaramiCross(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlHaramiCross(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlHaramiCross(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlHighWave(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlHighWave(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlHighWave(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlHighWave(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlHikkake(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlHikkake(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlHikkake(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlHikkake(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlHikkakeMod(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlHikkakeMod(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlHikkakeMod(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlHikkakeMod(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlHomingPigeon(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlHomingPigeon(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlHomingPigeon(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlHomingPigeon(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlIdentical3Crows(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlIdentical3Crows(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlIdentical3Crows(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlIdentical3Crows(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlInNeck(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlInNeck(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlInNeck(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlInNeck(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlInvertedHammer(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlInvertedHammer(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlInvertedHammer(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlInvertedHammer(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlKicking(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlKicking(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlKicking(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlKicking(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlKickingByLength(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlKickingByLength(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlKickingByLength(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlKickingByLength(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlLadderBotton(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
cdlLadderBottom(Instrument instrument, Period period, OfferSide side, int shift)
JFException
int[] cdlLadderBotton(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
cdlLadderBottom(Instrument instrument, Period period, OfferSide side, long from, long to)
JFException
int[] cdlLadderBotton(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
cdlLadderBottom(Instrument instrument, Period period, OfferSide side, Filter filter, int numberOfCandlesBefore, long time, int numberOfCandlesAfter)
JFException
int[] cdlLadderBotton(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
cdlLadderBottom(Instrument instrument, Period period, OfferSide side, Filter filter, long from, long to)
JFException
int cdlLadderBottom(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlLadderBottom(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlLadderBottom(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlLadderBottom(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlLongLeggedDoji(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlLongLeggedDoji(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlLongLeggedDoji(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlLongLeggedDoji(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlLongLine(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlLongLine(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlLongLine(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlLongLine(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlMarubozu(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlMarubozu(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlMarubozu(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlMarubozu(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlMatchingLow(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlMatchingLow(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlMatchingLow(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlMatchingLow(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlMathold(Instrument instrument,
Period period,
OfferSide side,
double penetration,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candleshift - number of candles 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
JFException - when parameters are not valid
int[] cdlMathold(Instrument instrument,
Period period,
OfferSide side,
double penetration,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candlefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlMathold(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candlefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlMathold(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candlefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlMorningDojiStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candleshift - number of candles 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
JFException - when parameters are not valid
int[] cdlMorningDojiStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candlefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlMorningDojiStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candlefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlMorningDojiStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candlefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlMorningStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candleshift - number of candles 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
JFException - when parameters are not valid
int[] cdlMorningStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candlefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlMorningStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candlefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlMorningStar(Instrument instrument,
Period period,
OfferSide side,
double penetration,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barpenetration - Percentage of penetration of a candle within another candlefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlOnNeck(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlOnNeck(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlOnNeck(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlOnNeck(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlPiercing(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlPiercing(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.s
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlPiercing(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlPiercing(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlRickshawMan(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlRickshawMan(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlRickshawMan(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlRickshawMan(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlRiseFall3Methods(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlRiseFall3Methods(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlRiseFall3Methods(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlRiseFall3Methods(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlSeparatingLines(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlSeparatingLines(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlSeparatingLines(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlSeparatingLines(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlShootingStar(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlShootingStar(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlShootingStar(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlShootingStar(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlShortLine(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlShortLine(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlShortLine(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlShortLine(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlSpinningTop(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlSpinningTop(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlSpinningTop(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlSpinningTop(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlStalledPattern(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlStalledPattern(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlStalledPattern(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlStalledPattern(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlStickSandwich(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlStickSandwich(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlStickSandwich(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlStickSandwich(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlTakuri(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlTakuri(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlTakuri(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlTakuri(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlTasukiGap(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlTasukiGap(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlTasukiGap(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlTasukiGap(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlThrusting(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlThrusting(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlThrusting(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlThrusting(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlTristar(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlTristar(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlTristar(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlTristar(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlUnique3River(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlUnique3River(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlUnique3River(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlUnique3River(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlUpsideGap2Crows(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlUpsideGap2Crows(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlUpsideGap2Crows(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlUpsideGap2Crows(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int cdlXsideGap3Methods(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
int[] cdlXsideGap3Methods(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] cdlXsideGap3Methods(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] cdlXsideGap3Methods(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double ceil(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[] ceil(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] ceil(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] ceil(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double cmo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] cmo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] cmo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] cmo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] cog(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int smoothPeriod,
IIndicators.MaType maType,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodsmoothPeriod - smoothing periodmaType - type of moving averageshift - number of candles 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
JFException - when parameters are not valid
double[][] cog(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int smoothPeriod,
IIndicators.MaType maType,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodsmoothPeriod - smoothing periodmaType - type of moving averagefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] cog(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int smoothPeriod,
IIndicators.MaType maType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodsmoothPeriod - smoothing periodmaType - type of moving averagefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] cog(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int smoothPeriod,
IIndicators.MaType maType,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodsmoothPeriod - smoothing periodmaType - type of moving averagefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double correl(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parametertimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] correl(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parametertimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] correl(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parametertimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] correl(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parametertimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double cos(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[] cos(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] cos(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] cos(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double cosh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[] cosh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] cosh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] cosh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double dema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] dema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] dema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] dema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double div(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parametershift - number of candles 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
JFException - when parameters are not valid
double[] div(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parameterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] div(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parameterfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] div(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parameterfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] dmi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[][] dmi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] dmi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] dmi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] donchian(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[][] donchian(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] donchian(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] donchian(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double dx(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] dx(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] dx(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] dx(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double ema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time period valueshift - number of candles 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
JFException - when parameters are not valid
double[] ema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
sideparameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the bar or tickperiod - period of the bar or TICKside - Bid or Ask side of the bar which price to take for 1sec bars generation for ticks or side for barsappliedPrice - type of input datatimePeriod - time period valuefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] ema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time period valuefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] ema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time period valuefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] emaEnvelope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double deviation,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time perioddeviation - deviationshift - number of candles 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
JFException - when parameters are not valid
double[][] emaEnvelope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double deviation,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time perioddeviation - deviationfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] emaEnvelope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double deviation,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time perioddeviation - deviationfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] emaEnvelope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double deviation,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time perioddeviation - deviationfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double exp(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[] exp(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] exp(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] exp(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] fibPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - value form 0 to 9 that describes the period used in the indicator. Periods are as follows:
ONE_MIN, FIVE_MINS, TEN_MINS, FIFTEEN_MINS, THIRTY_MINS, ONE_HOUR, FOUR_HOURS, DAILY, WEEKLY, MONTHLYshift - number of candles 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
JFException - when parameters are not valid
double[][] fibPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - value form 0 to 9 that describes the period used in the indicator. Periods are as follows:
ONE_MIN, FIVE_MINS, TEN_MINS, FIFTEEN_MINS, THIRTY_MINS, ONE_HOUR, FOUR_HOURS, DAILY, WEEKLY, MONTHLYfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] fibPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - value form 0 to 9 that describes the period used in the indicator. Periods are as follows:
ONE_MIN, FIVE_MINS, TEN_MINS, FIFTEEN_MINS, THIRTY_MINS, ONE_HOUR, FOUR_HOURS, DAILY, WEEKLY, MONTHLYfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] fibPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - value form 0 to 9 that describes the period used in the indicator. Periods are as follows:
ONE_MIN, FIVE_MINS, TEN_MINS, FIFTEEN_MINS, THIRTY_MINS, ONE_HOUR, FOUR_HOURS, DAILY, WEEKLY, MONTHLYfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double floor(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[] floor(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] floor(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] floor(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double force(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodmaType - type of moving averageshift - number of candles 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
JFException - when parameters are not valid
double[] force(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodmaType - type of moving averagefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] force(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodmaType - type of moving averagefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] force(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodmaType - type of moving averagefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] fractal(Instrument instrument,
Period period,
OfferSide side,
int barsOnSides,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barbarsOnSides - number of bars on the sidesshift - number of candles 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
JFException - when parameters are not valid
double[][] fractal(Instrument instrument,
Period period,
OfferSide side,
int barsOnSides,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barbarsOnSides - number of bars on the sidesfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] fractal(Instrument instrument,
Period period,
OfferSide side,
int barsOnSides,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barbarsOnSides - number of bars on the sidesfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] fractal(Instrument instrument,
Period period,
OfferSide side,
int barsOnSides,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barbarsOnSides - number of bars on the sidesfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] fractalLines(Instrument instrument,
Period period,
OfferSide side,
int barsOnSides,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barbarsOnSides - number of bars on the sidesshift - number of candles 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
JFException - when parameters are not valid
double[][] fractalLines(Instrument instrument,
Period period,
OfferSide side,
int barsOnSides,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barbarsOnSides - number of bars on the sidesfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] fractalLines(Instrument instrument,
Period period,
OfferSide side,
int barsOnSides,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barbarsOnSides - number of bars on the sidesfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] fractalLines(Instrument instrument,
Period period,
OfferSide side,
int barsOnSides,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barbarsOnSides - number of bars on the sidesfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] gator(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int jawTimePeriod,
int teethTimePeriod,
int lipsTimePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datajawTimePeriod - jaw time periodteethTimePeriod - teeth time periodlipsTimePeriod - lips time periodshift - number of candles 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
JFException - when parameters are not valid
double[][] gator(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int jawTimePeriod,
int teethTimePeriod,
int lipsTimePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datajawTimePeriod - jaw time periodteethTimePeriod - teeth time periodlipsTimePeriod - lips time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] gator(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int jawTimePeriod,
int teethTimePeriod,
int lipsTimePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datajawTimePeriod - jaw time periodteethTimePeriod - teeth time periodlipsTimePeriod - lips time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] gator(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int jawTimePeriod,
int teethTimePeriod,
int lipsTimePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datajawTimePeriod - jaw time periodteethTimePeriod - teeth time periodlipsTimePeriod - lips time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] heikenAshi(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
heikinAshi(Instrument instrument, Period period, OfferSide side, int shift)
JFException
double[][] heikenAshi(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
heikinAshi(Instrument instrument, Period period, OfferSide side, long from, long to)
JFException
double[][] heikenAshi(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
heikinAshi(Instrument instrument, Period period, OfferSide side, Filter filter, int numberOfCandlesBefore, long time, int numberOfCandlesAfter)
JFException
double[] heikinAshi(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
double[][] heikinAshi(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] heikinAshi(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameterfilter - filter
JFException
double[][] heikinAshi(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double hma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] hma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] hma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] hma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double ht_dcperiod(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[] ht_dcperiod(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] ht_dcperiod(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] ht_dcperiod(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double ht_dcphase(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[] ht_dcphase(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] ht_dcphase(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] ht_dcphase(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] ht_phasor(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[][] ht_phasor(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] ht_phasor(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] ht_phasor(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] ht_sine(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[][] ht_sine(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] ht_sine(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] ht_sine(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double ht_trendline(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[] ht_trendline(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] ht_trendline(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] ht_trendline(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int ht_trendmode(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
int[] ht_trendmode(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] ht_trendmode(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[] ht_trendmode(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] ichimoku(Instrument instrument,
Period period,
OfferSide side,
int tenkan,
int kijun,
int senkou,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartenkan - tenkankijun - kijunsenkou - senkoushift - number of candles 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
JFException - when parameters are not valid
double[][] ichimoku(Instrument instrument,
Period period,
OfferSide side,
int tenkan,
int kijun,
int senkou,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartenkan - tenkankijun - kijunsenkou - senkoufrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] ichimoku(Instrument instrument,
Period period,
OfferSide side,
int tenkan,
int kijun,
int senkou,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartenkan - tenkankijun - kijunsenkou - senkoufilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] ichimoku(Instrument instrument,
Period period,
OfferSide side,
int tenkan,
int kijun,
int senkou,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartenkan - tenkankijun - kijunsenkou - senkoufilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double kairi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodmaType - type of moving averageshift - number of candles 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
JFException - when parameters are not valid
double[] kairi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodmaType - type of moving averagefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] kairi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodmaType - type of moving averagefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] kairi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodmaType - type of moving averagefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double kama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
kama(Instrument instrument, Period period, OfferSide side, AppliedPrice appliedPrice, int timePeriod, int fastMAPeriod, int slowMAPeriod, int shift)
JFException
double[] kama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
kama(Instrument instrument, Period period, OfferSide side, AppliedPrice appliedPrice, int timePeriod, int fastMAPeriod, int slowMAPeriod, long from, long to)
JFException
double[] kama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
kama(Instrument instrument, Period period, OfferSide side, AppliedPrice appliedPrice, int timePeriod, int fastMAPeriod, int slowMAPeriod, Filter filter, int numberOfCandlesBefore, long time, int numberOfCandlesAfter)
JFException
double[] kama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
kama(Instrument instrument, Period period, OfferSide side, AppliedPrice appliedPrice, int timePeriod, int fastMAPeriod, int slowMAPeriod, Filter filter, long from, long to)
JFException
double kama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int fastMAPeriod,
int slowMAPeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfastMAPeriod - fast moving average periodslowMAPeriod - slow moving average periodshift - number of candles 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
JFException - when parameters are not valid
double[] kama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int fastMAPeriod,
int slowMAPeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfastMAPeriod - fast moving average periodslowMAPeriod - slow moving average periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] kama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int fastMAPeriod,
int slowMAPeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfastMAPeriod - fast moving average periodslowMAPeriod - slow moving average periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] kama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int fastMAPeriod,
int slowMAPeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfastMAPeriod - fast moving average periodslowMAPeriod - slow moving average periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] keltner(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[][] keltner(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] keltner(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] keltner(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double lasacs1(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int ma,
double gamma,
int lookback,
int shift)
throws JFException
lagACS1(Instrument instrument, Period period, OfferSide side, AppliedPrice appliedPrice, int ma, double gamma, int lookback, int shift)
JFException
double[] lasacs1(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int ma,
double gamma,
int lookback,
long from,
long to)
throws JFException
lagACS1(Instrument instrument, Period period, OfferSide side, AppliedPrice appliedPrice, int ma, double gamma, int lookback, long from, long to)
JFException
double[] lasacs1(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int ma,
double gamma,
int lookback,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
lagACS1(Instrument instrument, Period period, OfferSide side, AppliedPrice appliedPrice, int ma, double gamma, int lookback, Filter filter, int numberOfCandlesBefore, long time, int numberOfCandlesAfter)
JFException
double lagACS1(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int ma,
double gamma,
int lookback,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datama - magamma - gammalookback - lookbackshift - number of candles 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
JFException - when parameters are not valid
double[] lagACS1(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int ma,
double gamma,
int lookback,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datama - magamma - gammalookback - lookbackfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] lagACS1(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int ma,
double gamma,
int lookback,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datama - magamma - gammalookback - lookbackfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] lagACS1(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int ma,
double gamma,
int lookback,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datama - magamma - gammalookback - lookbackfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double linearReg(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] linearReg(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] linearReg(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] linearReg(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double linearRegAngle(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] linearRegAngle(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] linearRegAngle(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] linearRegAngle(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double linearRegIntercept(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] linearRegIntercept(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] linearRegIntercept(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] linearRegIntercept(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double linearRegSlope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] linearRegSlope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] linearRegSlope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] linearRegSlope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double ln(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[] ln(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] ln(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] ln(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double log10(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[] log10(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] log10(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] log10(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double lwma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] lwma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] lwma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] lwma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double ma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodmaType - type of moving averageshift - number of candles 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
JFException - when parameters are not valid
double[] ma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodmaType - type of moving averagefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] ma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodmaType - type of moving averagefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] ma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
IIndicators.MaType maType,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodmaType - type of moving averagefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] macd(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
int signalPeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafastPeriod - period for the fast MAslowPeriod - period for the slow MAsignalPeriod - smoothing for the signal lineshift - number of candles 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
JFException - when parameters are not valid
double[][] macd(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
int signalPeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafastPeriod - period for the fast MAslowPeriod - period for the slow MAsignalPeriod - smoothing for the signal linefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] macd(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
int signalPeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafastPeriod - period for the fast MAslowPeriod - period for the slow MAsignalPeriod - smoothing for the signal linefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] macd(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
int signalPeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafastPeriod - period for the fast MAslowPeriod - period for the slow MAsignalPeriod - smoothing for the signal linefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
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
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafastPeriod - period for the fast MAfastMaType - type of fast moving averageslowPeriod - period for the slow MAslowMaType - type of slow moving averagesignalPeriod - smoothing for the signal linesignalMaType - type of signal moving averageshift - number of candles 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
JFException - when parameters are not valid
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,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafastPeriod - period for the fast MAfastMaType - type of fast moving averageslowPeriod - period for the slow MAslowMaType - type of slow moving averagesignalPeriod - smoothing for the signal linesignalMaType - type of signal moving averagefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
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
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafastPeriod - period for the fast MAfastMaType - type of fast moving averageslowPeriod - period for the slow MAslowMaType - type of slow moving averagesignalPeriod - smoothing for the signal linesignalMaType - type of signal moving averagefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
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,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafastPeriod - period for the fast MAfastMaType - type of fast moving averageslowPeriod - period for the slow MAslowMaType - type of slow moving averagesignalPeriod - smoothing for the signal linesignalMaType - type of signal moving averagefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] macdFix(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int signalPeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datasignalPeriod - smoothing for the signal lineshift - number of candles 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
JFException - when parameters are not valid
double[][] macdFix(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int signalPeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datasignalPeriod - smoothing for the signal linefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] macdFix(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int signalPeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datasignalPeriod - smoothing for the signal linefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] macdFix(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int signalPeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datasignalPeriod - smoothing for the signal linefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] maEnvelope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double deviation,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time perioddeviation - deviationshift - number of candles 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
JFException - when parameters are not valid
double[][] maEnvelope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double deviation,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time perioddeviation - deviationfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] maEnvelope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double deviation,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time perioddeviation - deviationfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] maEnvelope(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double deviation,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time perioddeviation - deviationfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] mama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
double fastLimit,
double slowLimit,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafastLimit - upper limit use in the adaptive algorithmslowLimit - lower limit use in the adaptive algorithmshift - number of candles 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
JFException - when parameters are not valid
double[][] mama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
double fastLimit,
double slowLimit,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafastLimit - upper limit use in the adaptive algorithmslowLimit - lower limit use in the adaptive algorithmfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] mama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
double fastLimit,
double slowLimit,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafastLimit - upper limit use in the adaptive algorithmslowLimit - lower limit use in the adaptive algorithmfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] mama(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
double fastLimit,
double slowLimit,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafastLimit - upper limit use in the adaptive algorithmslowLimit - lower limit use in the adaptive algorithmfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
java.lang.Object[] wsmTime(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
WSMTimeIndicator.Market)
and the second element is a string which describes the market event: open or close
JFException - when parameters are not valid
java.lang.Object[] wsmTime(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
WSMTimeIndicator.Market)
and the second element is a string which describes the market event: open or close
JFException - when parameters are not valid
java.lang.Object[] wsmTime(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
WSMTimeIndicator.Market)
and the second element is a string which describes the market event: open or close
JFException - when parameters are not valid
java.lang.Object[] wsmTime(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
WSMTimeIndicator.Market)
and the second element is a string which describes the market event: open or close
JFException - when parameters are not valid
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
shift parameter.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parameterminPeriod - value less than minimum will be changed to Minimum periodmaxPeriod - value higher than maximum will be changed to Maximum periodmaType - type of moving averageshift - number of candles 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
JFException - when parameters are not valid
double[] mavp(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int minPeriod,
int maxPeriod,
IIndicators.MaType maType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parameterminPeriod - value less than minimum will be changed to Minimum periodmaxPeriod - value higher than maximum will be changed to Maximum periodmaType - type of moving averagefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
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
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parameterminPeriod - value less than minimum will be changed to Minimum periodmaxPeriod - value higher than maximum will be changed to Maximum periodmaType - type of moving averagefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] mavp(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int minPeriod,
int maxPeriod,
IIndicators.MaType maType,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parameterminPeriod - value less than minimum will be changed to Minimum periodmaxPeriod - value higher than maximum will be changed to Maximum periodmaType - type of moving averagefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double max(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] max(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] max(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] max(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double medPrice(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
double[] medPrice(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] medPrice(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] medPrice(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double mfi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] mfi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] mfi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] mfi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double midPoint(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] midPoint(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] midPoint(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] midPoint(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double midPrice(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] midPrice(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] midPrice(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] midPrice(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double min(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] min(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] min(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] min(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] minMax(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[][] minMax(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] minMax(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] minMax(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double minusDi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] minusDi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] minusDi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] minusDi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double minusDm(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] minusDm(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] minusDm(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] minusDm(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double mom(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] mom(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] mom(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] mom(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double mult(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parametershift - number of candles 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
JFException - when parameters are not valid
double[] mult(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parameterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] mult(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parameterfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] mult(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parameterfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] murrey(Instrument instrument,
Period period,
OfferSide side,
int nPeriod,
int timePeriod,
int stepBack,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barnPeriod - value form 0 to 9 that describes the period used in the indicator. Periods are as follows:
ONE_MIN, FIVE_MINS, TEN_MINS, FIFTEEN_MINS, THIRTY_MINS, ONE_HOUR, FOUR_HOURS, DAILY, WEEKLY, MONTHLYtimePeriod - time periodstepBack - step backshift - number of candles 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
JFException - when parameters are not valid
double[][] murrey(Instrument instrument,
Period period,
OfferSide side,
int nPeriod,
int timePeriod,
int stepBack,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barnPeriod - value form 0 to 9 that describes the period used in the indicator. Periods are as follows:
ONE_MIN, FIVE_MINS, TEN_MINS, FIFTEEN_MINS, THIRTY_MINS, ONE_HOUR, FOUR_HOURS, DAILY, WEEKLY, MONTHLYtimePeriod - time periodstepBack - step backfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] murrey(Instrument instrument,
Period period,
OfferSide side,
int nPeriod,
int timePeriod,
int stepBack,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barnPeriod - value form 0 to 9 that describes the period used in the indicator. Periods are as follows:
ONE_MIN, FIVE_MINS, TEN_MINS, FIFTEEN_MINS, THIRTY_MINS, ONE_HOUR, FOUR_HOURS, DAILY, WEEKLY, MONTHLYtimePeriod - time periodstepBack - step backfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] murrey(Instrument instrument,
Period period,
OfferSide side,
int nPeriod,
int timePeriod,
int stepBack,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barnPeriod - value form 0 to 9 that describes the period used in the indicator. Periods are as follows:
ONE_MIN, FIVE_MINS, TEN_MINS, FIFTEEN_MINS, THIRTY_MINS, ONE_HOUR, FOUR_HOURS, DAILY, WEEKLY, MONTHLYtimePeriod - time periodstepBack - step backfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double natr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] natr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] natr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] natr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double obv(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
OfferSide sideForPriceV,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datasideForPriceV - Bid or Ask side for price volumeshift - number of candles 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
JFException - when parameters are not valid
double[] obv(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
OfferSide sideForPriceV,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datasideForPriceV - Bid or Ask side for price volumefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] obv(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
OfferSide sideForPriceV,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datasideForPriceV - Bid or Ask side for price volumefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] obv(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
OfferSide sideForPriceV,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datasideForPriceV - Bid or Ask side for price volumefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double osma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fast_ema_period,
int slow_ema_period,
int signal_period,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafast_ema_period - period for fast EMAslow_ema_period - period for slow EMAsignal_period - signal periodshift - number of candles 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
JFException - when parameters are not valid
double[] osma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fast_ema_period,
int slow_ema_period,
int signal_period,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafast_ema_period - period for fast EMAslow_ema_period - period for slow EMAsignal_period - signal periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] osma(Instrument instrument,
Period period,
OfferSide side,
int fast_ema_period,
int slow_ema_period,
int signal_period,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafast_ema_period - period for fast EMAslow_ema_period - period for slow EMAsignal_period - signal periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] osma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fast_ema_period,
int slow_ema_period,
int signal_period,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafast_ema_period - period for fast EMAslow_ema_period - period for slow EMAsignal_period - signal periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] pivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
boolean showHistoricalLevels,
int shift)
throws JFException
pivot(Instrument instrument, Period period, OfferSide side, int timePeriod, int shift)
JFException
double[][] pivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
boolean showHistoricalLevels,
long from,
long to)
throws JFException
pivot(Instrument instrument, Period period, OfferSide side, int timePeriod, long from, long to)
JFException
double[][] pivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
boolean showHistoricalLevels,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
pivot(Instrument instrument, Period period, OfferSide side, int timePeriod, Filter filter, int numberOfCandlesBefore, long time, int numberOfCandlesAfter)
JFException
double[][] pivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
boolean showHistoricalLevels,
Filter filter,
long from,
long to)
throws JFException
pivot(Instrument instrument, Period period, OfferSide side, int timePeriod, Filter filter, long from, long to)
JFException
double[] pivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - value form 0 to 9 that describes the period used in the indicator. Periods are as follows:
ONE_MIN, FIVE_MINS, TEN_MINS, FIFTEEN_MINS, THIRTY_MINS, ONE_HOUR, FOUR_HOURS, DAILY, WEEKLY, MONTHLYshift - number of candles 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
JFException - when parameters are not valid
double[][] pivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - value form 0 to 9 that describes the period used in the indicator. Periods are as follows:
ONE_MIN, FIVE_MINS, TEN_MINS, FIFTEEN_MINS, THIRTY_MINS, ONE_HOUR, FOUR_HOURS, DAILY, WEEKLY, MONTHLYfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] pivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - value form 0 to 9 that describes the period used in the indicator. Periods are as follows:
ONE_MIN, FIVE_MINS, TEN_MINS, FIFTEEN_MINS, THIRTY_MINS, ONE_HOUR, FOUR_HOURS, DAILY, WEEKLY, MONTHLYfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] pivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - value form 0 to 9 that describes the period used in the indicator. Periods are as follows:
ONE_MIN, FIVE_MINS, TEN_MINS, FIFTEEN_MINS, THIRTY_MINS, ONE_HOUR, FOUR_HOURS, DAILY, WEEKLY, MONTHLYfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double plusDi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] plusDi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] plusDi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] plusDi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double plusDm(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] plusDm(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] plusDm(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] plusDm(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double ppo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafastPeriod - period for fast MAslowPeriod - period for slow MAmaType - type of moving averageshift - number of candles 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
JFException - when parameters are not valid
double[] ppo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafastPeriod - period for fast MAslowPeriod - period for slow MAmaType - type of moving averagefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] ppo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafastPeriod - period for fast MAslowPeriod - period for slow MAmaType - type of moving averagefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] ppo(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafastPeriod - period for fast MAslowPeriod - period for slow MAmaType - type of moving averagefilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double prchannel(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
int shift)
throws JFException
prchannel(Instrument instrument, Period period, OfferSide side, int timePeriod, int shift)
JFException
double[] prchannel(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
long from,
long to)
throws JFException
prchannel(Instrument instrument, Period period, OfferSide side, int timePeriod, long from, long to)
JFException
double[] prchannel(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int fastPeriod,
int slowPeriod,
IIndicators.MaType maType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
prchannel(Instrument instrument, Period period, OfferSide side, int timePeriod, Filter filter, int numberOfCandlesBefore, long time, int numberOfCandlesAfter)
JFException
double prchannel(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] prchannel(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] prchannel(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] prchannel(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double rci(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] rci(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] rci(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] rci(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double rmi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int momentumPeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodmomentumPeriod - momentum periodshift - number of candles 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
JFException - when parameters are not valid
double[] rmi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int momentumPeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodmomentumPeriod - momentum periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] rmi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int momentumPeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodmomentumPeriod - momentum periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] rmi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int momentumPeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodmomentumPeriod - momentum periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double roc(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] roc(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] roc(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] roc(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double rocp(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] rocp(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] rocp(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] rocp(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double rocr(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] rocr(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] rocr(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] rocr(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double rocr100(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] rocr100(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] rocr100(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] rocr100(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double rsi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] rsi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] rsi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] rsi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] rvi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[][] rvi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] rvi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] rvi(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double sar(Instrument instrument,
Period period,
OfferSide side,
double acceleration,
double maximum,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the baracceleration - Acceleration Factor used up to the Maximum valuemaximum - Acceleration Factor Maximum valueshift - number of candles 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
JFException - when parameters are not valid
double[] sar(Instrument instrument,
Period period,
OfferSide side,
double acceleration,
double maximum,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the baracceleration - Acceleration Factor used up to the Maximum valuemaximum - Acceleration Factor Maximum valuefrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] sar(Instrument instrument,
Period period,
OfferSide side,
double acceleration,
double maximum,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the baracceleration - Acceleration Factor used up to the Maximum valuemaximum - Acceleration Factor Maximum valuefilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
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
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barstartValue - Start value and direction. 0 for Auto, >0 for Long, <0 for ShortoffsetOnReverse - Percent offset added/removed to initial stop on short/long reversalaccelerationInitLong - Acceleration Factor initial value for the Long directionaccelerationLong - Acceleration Factor for the Long directionaccelerationMaxLong - Acceleration Factor maximum value for the Long directionaccelerationInitShort - Acceleration Factor initial value for the Short directionaccelerationShort - Acceleration Factor for the Short directionaccelerationMaxShort - Acceleration Factor maximum value for the Short directionshift - number of candles 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
Note! function returns negative values to show that position is short
JFException - when parameters are not valid
JFException - when parameters are not valid
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
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loadedstartValue - Start value and direction. 0 for Auto, >0 for Long, <0 for ShortoffsetOnReverse - Percent offset added/removed to initial stop on short/long reversalaccelerationInitLong - Acceleration Factor initial value for the Long directionaccelerationLong - Acceleration Factor for the Long directionaccelerationMaxLong - Acceleration Factor maximum value for the Long directionaccelerationInitShort - Acceleration Factor initial value for the Short directionaccelerationShort - Acceleration Factor for the Short directionaccelerationMaxShort - Acceleration Factor maximum value for the Short direction
Note! function returns negative values to show that position is short
JFException - when parameters are not valid
double[] sarExt(Instrument instrument,
Period period,
OfferSide side,
double startValue,
double offsetOnReverse,
double accelerationInitLong,
double accelerationLong,
double accelerationMaxLong,
double accelerationInitShort,
double accelerationShort,
double accelerationMaxShort,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barstartValue - Start value and direction. 0 for Auto, >0 for Long, <0 for ShortoffsetOnReverse - Percent offset added/removed to initial stop on short/long reversalaccelerationInitLong - Acceleration Factor initial value for the Long directionaccelerationLong - Acceleration Factor for the Long directionaccelerationMaxLong - Acceleration Factor maximum value for the Long directionaccelerationInitShort - Acceleration Factor initial value for the Short directionaccelerationShort - Acceleration Factor for the Short directionaccelerationMaxShort - Acceleration Factor maximum value for the Short directionfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double sin(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[] sin(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] sin(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] sin(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double sinh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[] sinh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] sinh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] sinh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double sma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] sma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] sma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] sma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] smi(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int slowKPeriod,
int slowDPeriod,
int smoothingPeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfastKPeriod - fast K periodslowKPeriod - slow K periodslowDPeriod - slow D periodsmoothingPeriod - smoothing periodshift - number of candles 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
JFException - when parameters are not valid
double[][] smi(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int slowKPeriod,
int slowDPeriod,
int smoothingPeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfastKPeriod - fast K periodslowKPeriod - slow K periodslowDPeriod - slow D periodsmoothingPeriod - smoothing periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] smi(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int slowKPeriod,
int slowDPeriod,
int smoothingPeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfastKPeriod - fast K periodslowKPeriod - slow K periodslowDPeriod - slow D periodsmoothingPeriod - smoothing periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] smi(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int slowKPeriod,
int slowDPeriod,
int smoothingPeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfastKPeriod - fast K periodslowKPeriod - slow K periodslowDPeriod - slow D periodsmoothingPeriod - smoothing periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double smma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] smma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] smma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] smma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double sqrt(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[] sqrt(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] sqrt(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] sqrt(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double stdDev(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDev,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodnbDev - number of deviationsshift - number of candles 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
JFException - when parameters are not valid
double[] stdDev(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDev,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodnbDev - number of deviationsfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] stdDev(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDev,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodnbDev - number of deviationsfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] stdDev(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDev,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodnbDev - number of deviationsfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] stoch(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int slowKPeriod,
IIndicators.MaType slowKMaType,
int slowDPeriod,
IIndicators.MaType slowDMaType,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfastKPeriod - time period for building the Fast-K lineslowKPeriod - smoothing for making the Slow-K line. Usually set to 3slowKMaType - type of moving average for Slow-KslowDPeriod - smoothing for making the Slow-D lineslowDMaType - type of moving average for Slow-Dshift - number of candles 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
JFException - when parameters are not valid
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
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfastKPeriod - time period for building the Fast-K lineslowKPeriod - smoothing for making the Slow-K line. Usually set to 3slowKMaType - type of moving average for Slow-KslowDPeriod - smoothing for making the Slow-D lineslowDMaType - type of moving average for Slow-Dfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] stoch(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int slowKPeriod,
IIndicators.MaType slowKMaType,
int slowDPeriod,
IIndicators.MaType slowDMaType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfastKPeriod - time period for building the Fast-K lineslowKPeriod - smoothing for making the Slow-K line. Usually set to 3slowKMaType - type of moving average for Slow-KslowDPeriod - smoothing for making the Slow-D lineslowDMaType - type of moving average for Slow-Dfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] stoch(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int slowKPeriod,
IIndicators.MaType slowKMaType,
int slowDPeriod,
IIndicators.MaType slowDMaType,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfastKPeriod - time period for building the Fast-K lineslowKPeriod - smoothing for making the Slow-K line. Usually set to 3slowKMaType - type of moving average for Slow-KslowDPeriod - smoothing for making the Slow-D lineslowDMaType - type of moving average for Slow-Dfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] stochF(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int fastDPeriod,
IIndicators.MaType fastDMaType,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfastKPeriod - time period for building the Fast-K linefastDPeriod - smoothing for making the Fast-D line. Usually set to 3fastDMaType - type of moving average for Fast-Dshift - number of candles 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
JFException - when parameters are not valid
double[][] stochF(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int fastDPeriod,
IIndicators.MaType fastDMaType,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfastKPeriod - time period for building the Fast-K linefastDPeriod - smoothing for making the Fast-D line. Usually set to 3fastDMaType - type of moving average for Fast-Dfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] stochF(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int fastDPeriod,
IIndicators.MaType fastDMaType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfastKPeriod - time period for building the Fast-K linefastDPeriod - smoothing for making the Fast-D line. Usually set to 3fastDMaType - type of moving average for Fast-Dfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] stochF(Instrument instrument,
Period period,
OfferSide side,
int fastKPeriod,
int fastDPeriod,
IIndicators.MaType fastDMaType,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfastKPeriod - time period for building the Fast-K linefastDPeriod - smoothing for making the Fast-D line. Usually set to 3fastDMaType - type of moving average for Fast-Dfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] stochRsi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int fastKPeriod,
int fastDPeriod,
IIndicators.MaType fastDMaType,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfastKPeriod - time period for building the Fast-K linefastDPeriod - smoothing for making the Fast-D line. Usually set to 3fastDMaType - type of moving average for Fast-Dshift - number of candles 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
JFException - when parameters are not valid
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
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfastKPeriod - time period for building the Fast-K linefastDPeriod - smoothing for making the Fast-D line. Usually set to 3fastDMaType - type of moving average for Fast-Dfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] stochRsi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int fastKPeriod,
int fastDPeriod,
IIndicators.MaType fastDMaType,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfastKPeriod - time period for building the Fast-K linefastDPeriod - smoothing for making the Fast-D line. Usually set to 3fastDMaType - type of moving average for Fast-Dfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] stochRsi(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int fastKPeriod,
int fastDPeriod,
IIndicators.MaType fastDMaType,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfastKPeriod - time period for building the Fast-K linefastDPeriod - smoothing for making the Fast-D line. Usually set to 3fastDMaType - type of moving average for Fast-Dfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double sub(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parametershift - number of candles 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
JFException - when parameters are not valid
double[] sub(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parameterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] sub(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parameterfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] sub(Instrument instrument,
Period period,
OfferSide side1,
IIndicators.AppliedPrice appliedPrice1,
OfferSide side2,
IIndicators.AppliedPrice appliedPrice2,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside1 - Bid or Ask side of the bar for the first input parameterappliedPrice1 - type of input data for the first input parameterside2 - Bid or Ask side of the bar for the second input parameterappliedPrice2 - type of input data for the second input parameterfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double sum(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] sum(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] sum(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] sum(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] supportResistance(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
double[][] supportResistance(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] supportResistance(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] supportResistance(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double t3(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double vFactor,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodvFactor - volume Factorshift - number of candles 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
JFException - when parameters are not valid
double[] t3(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double vFactor,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodvFactor - volume Factorfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] t3(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double vFactor,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodvFactor - volume Factorfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] t3(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double vFactor,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodvFactor - volume Factorfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double tan(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[] tan(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] tan(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] tan(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double tanh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[] tanh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] tanh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] tanh(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datafilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] tbp(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[] tbop(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datashift - number of candles 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
JFException - when parameters are not valid
double[] td_i(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[][] td_i(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] td_i(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] td_i(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[] td_s(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
int[][] td_s(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
int[][] td_s(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
int[][] td_s(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double tema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] tema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] tema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] tema(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double trange(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
double[] trange(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] trange(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] trange(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] trendEnv(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
double deviation,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time perioddeviation - deviationshift - number of candles 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
JFException - when parameters are not valid
double[][] trendEnv(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
double deviation,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time perioddeviation - deviationfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] trendEnv(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
double deviation,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time perioddeviation - deviationfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] trendEnv(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
double deviation,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time perioddeviation - deviationfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double trima(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] trima(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] trima(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] trima(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double trix(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] trix(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] trix(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] trix(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double tsf(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] tsf(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] tsf(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] tsf(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double tvs(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] tvs(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] tvs(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] tvs(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double typPrice(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
double[] typPrice(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] typPrice(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] typPrice(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double ultOsc(Instrument instrument,
Period period,
OfferSide side,
int timePeriod1,
int timePeriod2,
int timePeriod3,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod1 - number of bars for 1st periodtimePeriod2 - number of bars fro 2nd periodtimePeriod3 - number of bars for 3rd periodshift - number of candles 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
JFException - when parameters are not valid
double[] ultOsc(Instrument instrument,
Period period,
OfferSide side,
int timePeriod1,
int timePeriod2,
int timePeriod3,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod1 - number of bars for 1st periodtimePeriod2 - number of bars fro 2nd periodtimePeriod3 - number of bars for 3rd periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] ultOsc(Instrument instrument,
Period period,
OfferSide side,
int timePeriod1,
int timePeriod2,
int timePeriod3,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod1 - number of bars for 1st periodtimePeriod2 - number of bars fro 2nd periodtimePeriod3 - number of bars for 3rd periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] ultOsc(Instrument instrument,
Period period,
OfferSide side,
int timePeriod1,
int timePeriod2,
int timePeriod3,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod1 - number of bars for 1st periodtimePeriod2 - number of bars fro 2nd periodtimePeriod3 - number of bars for 3rd periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double var(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDev,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodnbDev - number of deviationsshift - number of candles 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
JFException - when parameters are not valid
double[] var(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDev,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodnbDev - number of deviationsfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] var(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDev,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodnbDev - number of deviationsfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] var(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
double nbDev,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodnbDev - number of deviationsfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double volume(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
double[] volume(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] volume(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] volume(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double volumeWAP(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] volumeWAP(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] volumeWAP(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] volumeWAP(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double waddahAttar(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
double[] waddahAttar(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] waddahAttar(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] waddahAttar(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double wclPrice(Instrument instrument,
Period period,
OfferSide side,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barshift - number of candles 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
JFException - when parameters are not valid
double[] wclPrice(Instrument instrument,
Period period,
OfferSide side,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] wclPrice(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] wclPrice(Instrument instrument,
Period period,
OfferSide side,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double willr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] willr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] willr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] willr(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double wma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodshift - number of candles 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
JFException - when parameters are not valid
double[] wma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] wma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] wma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barappliedPrice - type of input datatimePeriod - time periodfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] woodPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - value form 0 to 9 that describes the period used in the indicator. Periods are as follows:
ONE_MIN, FIVE_MINS, TEN_MINS, FIFTEEN_MINS, THIRTY_MINS, ONE_HOUR, FOUR_HOURS, DAILY, WEEKLY, MONTHLYshift - number of candles 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
JFException - when parameters are not valid
double[][] woodPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - value form 0 to 9 that describes the period used in the indicator. Periods are as follows:
ONE_MIN, FIVE_MINS, TEN_MINS, FIFTEEN_MINS, THIRTY_MINS, ONE_HOUR, FOUR_HOURS, DAILY, WEEKLY, MONTHLYfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[][] woodPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - value form 0 to 9 that describes the period used in the indicator. Periods are as follows:
ONE_MIN, FIVE_MINS, TEN_MINS, FIFTEEN_MINS, THIRTY_MINS, ONE_HOUR, FOUR_HOURS, DAILY, WEEKLY, MONTHLYfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[][] woodPivot(Instrument instrument,
Period period,
OfferSide side,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the bartimePeriod - value form 0 to 9 that describes the period used in the indicator. Periods are as follows:
ONE_MIN, FIVE_MINS, TEN_MINS, FIFTEEN_MINS, THIRTY_MINS, ONE_HOUR, FOUR_HOURS, DAILY, WEEKLY, MONTHLYfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double zigzag(Instrument instrument,
Period period,
OfferSide side,
int extDepth,
int extDeviation,
int extBackstep,
int shift)
throws JFException
shift parameter.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barextDepth - depthextDeviation - deviationextBackstep - backstepshift - number of candles 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
JFException - when parameters are not valid
double[] zigzag(Instrument instrument,
Period period,
OfferSide side,
int extDepth,
int extDeviation,
int extBackstep,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barextDepth - depthextDeviation - deviationextBackstep - backstepfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
double[] zigzag(Instrument instrument,
Period period,
OfferSide side,
int extDepth,
int extDeviation,
int extBackstep,
Filter filter,
int numberOfCandlesBefore,
long time,
int numberOfCandlesAfter)
throws JFException
numberOfCandlesBefore, time and numberOfCandlesAfter parameters.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barextDepth - depthextDeviation - deviationextBackstep - backstepfilter - filternumberOfCandlesBefore - how much candles to load before and including the candle with time specified in the time parametertime - time of the last candle in the period specified with the numberOfCandlesBefore parameter or/and
time of the candle prior to the first candle in the period specified with the numberOfCandlesAfter parameternumberOfCandlesAfter - how much candles to load after (and not including) the candle with time specified in the time parameter
JFException - when parameters are not valid
double[] zigzag(Instrument instrument,
Period period,
OfferSide side,
int extDepth,
int extDeviation,
int extBackstep,
Filter filter,
long from,
long to)
throws JFException
side parameter, resulting data is calculated from these bars.
The resulting array for ticks is an array of values for 1 second bars.
instrument - instrument of the barperiod - period of the barside - Bid or Ask side of the barextDepth - depthextDeviation - deviationextBackstep - backstepfilter - filterfrom - start of the time interval for which bars or ticks should be loaded. The value must be equal to the exact starting time of the bar for
the specified period. Method IHistory.getBarStart(Period, long) returns the starting time of the bar that includes
the specified timeto - end time of the time interval for which bars or ticks should be loaded.
This is the starting time of the last bar/tick that should be loaded
JFException - when parameters are not valid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||