|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Allows other parts of the application to access parameters and values of an indicator. It's up to the classes implementing this interface to decide what parameters and values that are exposed. The intended use of this interface is to present all avaliable paramters to the user, so that (s)he can set up a list of rules that would trigger events like a sell or buy signal. Examples: RSI < 20 triggers buy signal MACD < MACD.triggerline triggers sell signal
Method Summary | |
java.lang.String[] |
parameters()
Gives the calling class a list of parameters that is available. |
java.lang.String[] |
parametersToolTip()
Gives the calling class a string array with tool tips that can be presented to the user. |
java.lang.Double |
parameterValue(java.lang.String parameter)
Returns the value for the last day of the requested parameter. |
java.lang.Double |
parameterValue(java.lang.String parameter,
int index)
Returns the value for the last day minus index of the requested parameter. |
Method Detail |
public java.lang.String[] parameters()
public java.lang.String[] parametersToolTip()
public java.lang.Double parameterValue(java.lang.String parameter)
parameter
- The name of the parameter
public java.lang.Double parameterValue(java.lang.String parameter, int index)
parameter
- The name of the parameterindex
- The index
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |