net.sourceforge.eclipsetrader.charts
Interface IIndicatorPlugin

All Known Implementing Classes:
IndicatorPlugin

public interface IIndicatorPlugin

Interface that must be implemented by all indicator plugins.

Since:
1.0
See Also:
IndicatorPlugin

Method Summary
 void calculate()
          Calculate the output values.
 void clearOutput()
          Clear the output collection.
 void dispose()
          Disposes of all resources allocated by the receiver.
 Indicator getOutput()
          Return the collection of output data generated by the plugin.
 void setInput(BarData barData)
          Set the input data.
 void setParameters(Settings settings)
          Set the parameters used by the plugin to do the calculations.
 

Method Detail

dispose

public void dispose()
Disposes of all resources allocated by the receiver.


setInput

public void setInput(BarData barData)
Set the input data.


getOutput

public Indicator getOutput()
Return the collection of output data generated by the plugin.


clearOutput

public void clearOutput()
Clear the output collection.


calculate

public void calculate()
Calculate the output values.


setParameters

public void setParameters(Settings settings)
Set the parameters used by the plugin to do the calculations.