public interface IIndicatorContext
Modifier and Type | Method and Description |
---|---|
void |
addChartInstrumentsListener(IChartFinancialInstrumentsListener listener)
Deprecated.
|
void |
addChartInstrumentsListener(IChartInstrumentsListener listener)
Registers listener to chart instruments changes.
|
<V> java.util.concurrent.Future<V> |
calculateAsynchronously(java.util.concurrent.Callable<V> task)
Executes task asynchronously.
|
IAccount |
getAccount()
Provides access to various account information
|
IFinancialInstrument[] |
getChartFinancialInstruments()
Deprecated.
|
Instrument[] |
getChartInstruments()
Returns all chart instruments
|
IConsole |
getConsole()
Returns interface that allows to write messages into the Messages table
|
ICurrencyConverter |
getCurrencyConverter()
Provides access to
ICurrencyConverter |
IDataService |
getDataService()
Provides access to
IDataService |
IFeedDescriptor |
getFeedDescriptor() |
IFeedInfo |
getFeedInfo()
Deprecated.
|
java.io.File |
getFilesDir()
Returns directory where reading and writing is allowed.
|
IHistory |
getHistory()
Provides access to history from indicators
|
IIndicatorChartPanel |
getIndicatorChartPanel()
Provides access to
IIndicatorChartPanel |
IIndicatorsProvider |
getIndicatorsProvider()
Returns interface that can be used to get indicators registered in the system
|
Instrument |
getInstrument()
Deprecated.
Use
getFeedDescriptor() .getInstrument() instead |
JFTimeZone |
getJFTimeZone()
Returns time zone of the chart.
|
OfferSide |
getOfferSide()
Deprecated.
Use
getFeedDescriptor() .getOfferSide() instead |
Period |
getPeriod()
Deprecated.
Use
getFeedDescriptor() .getPeriod() instead |
boolean |
isLive()
Returns true when indicator is used on Live account, false otherwise
|
void |
updateCalculationProgress(int percent)
Updates progress status of pending task execution.
|
IConsole getConsole()
IIndicatorsProvider getIndicatorsProvider()
@Deprecated Instrument getInstrument()
getFeedDescriptor()
.getInstrument() insteadIIndicator.calculate(int, int)
or IIndicator.setInputParameter(int, java.lang.Object)
methods@Deprecated Period getPeriod()
getFeedDescriptor()
.getPeriod() insteadIIndicator.calculate(int, int)
or IIndicator.setInputParameter(int, java.lang.Object)
methods@Deprecated OfferSide getOfferSide()
getFeedDescriptor()
.getOfferSide() insteadIIndicator.calculate(int, int)
or IIndicator.setInputParameter(int, java.lang.Object)
methodsIHistory getHistory()
IAccount getAccount()
IAccount
interfaceIFeedDescriptor getFeedDescriptor()
IFeedDescriptor
@Deprecated IFeedInfo getFeedInfo()
IFeedInfo
JFTimeZone getJFTimeZone()
Instrument[] getChartInstruments()
@Deprecated IFinancialInstrument[] getChartFinancialInstruments()
void addChartInstrumentsListener(IChartInstrumentsListener listener)
listener
- listener to chart instruments changes@Deprecated void addChartInstrumentsListener(IChartFinancialInstrumentsListener listener)
listener
- listener to chart instruments changesIDataService getDataService()
IDataService
IIndicatorChartPanel getIndicatorChartPanel()
IIndicatorChartPanel
ICurrencyConverter getCurrencyConverter()
ICurrencyConverter
ICurrencyConverter
implementationboolean isLive()
java.io.File getFilesDir()
<V> java.util.concurrent.Future<V> calculateAsynchronously(java.util.concurrent.Callable<V> task)
V
- Type of returned valuetask
- Task for executionvoid updateCalculationProgress(int percent)
percent
- Percent of completed workCopyright © 2024. All rights reserved.