Chart Indicators

net.sourceforge.eclipsetrader.charts.indicators

1.0

This extension point is used to define additional indicator objects for the charts view.

<!ELEMENT extension (indicator+ , group+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT indicator (preferencePage+)>

<!ATTLIST indicator

id    CDATA #REQUIRED

name  CDATA #REQUIRED

class CDATA #REQUIRED

group CDATA #IMPLIED>


<!ELEMENT preferencePage EMPTY>

<!ATTLIST preferencePage

title       CDATA #IMPLIED

description CDATA #IMPLIED

class       CDATA #REQUIRED>


<!ELEMENT group EMPTY>

<!ATTLIST group

id   CDATA #REQUIRED

name CDATA #REQUIRED>


The following is an example of the extension point:

   

<extension point=

"net.sourceforge.eclipsetrader.charts.indicators"

>

<indicator class=

"net.sourceforge.eclipsetrader.charts.indicators.AccumulationDistribution"

id=

"net.sourceforge.eclipsetrader.indicators.ad"

name=

"Accumulation / Distribution - AD"

>

<preferencePage class=

"net.sourceforge.eclipsetrader.charts.indicators.AccumulationDistributionPreferencePage"

title=

"Accumulation / Distribution"

/>

</indicator>

</extension>

The value of the indicator's class attribute must be a fully qualified name of the class that implements net.sourceforge.eclipsetrader.charts.IIndicatorPlugin. It is common practice to subclass net.sourceforge.eclipsetrader.charts.IndicatorPlugin when developing a new indicator.

The value of the preferencePage's class attribute must be a fully qualified name of the class that extends net.sourceforge.eclipsetrader.charts.IndicatorPluginPreferencePage.