#include <CUS.h>


Public Member Functions | |
| CUS () | |
| virtual | ~CUS () |
| Indicator * | calculate () |
| void | getIndicatorSettings (Setting &) |
| void | setIndicatorSettings (Setting &) |
| int | indicatorPrefDialog (QWidget *) |
| void | setCustomFunction (QStringList &) |
| void | createPlot (QString &, QDict< PlotLine > &, Indicator *) |
| void | includeCUS (QString &, QStringList &) |
| void | checkIncludes () |
Protected Attributes | |
| QStringList | formulaList |
| double | version |
Definition at line 25 of file CUS.h.
| CUS::CUS | ( | ) |
Definition at line 30 of file CUS.cpp.
References IndicatorPlugin::helpFile, IndicatorPlugin::pluginName, and version.
| Indicator * CUS::calculate | ( | ) | [virtual] |
Reimplemented from IndicatorPlugin.
Definition at line 41 of file CUS.cpp.
References IndicatorPlugin::calculateCustom(), checkIncludes(), Config::closePlugin(), createPlot(), IndicatorPlugin::data, IndicatorPlugin::dateFlag, formulaList, Config::getIndicatorPlugin(), BarData::getInput(), IndicatorPlugin::inputTypeList, IndicatorPlugin::logScale, Indicator::setDateFlag(), IndicatorPlugin::setIndicatorInput(), and Indicator::setLogScale().
| void CUS::getIndicatorSettings | ( | Setting & | dict | ) | [virtual] |
Reimplemented from IndicatorPlugin.
Definition at line 221 of file CUS.cpp.
References formulaList, IndicatorPlugin::pluginName, Setting::setData(), and version.
| void CUS::setIndicatorSettings | ( | Setting & | dict | ) | [virtual] |
Reimplemented from IndicatorPlugin.
Definition at line 233 of file CUS.cpp.
References Setting::count(), formulaList, Setting::getData(), and version.
| int CUS::indicatorPrefDialog | ( | QWidget * | ) | [virtual] |
Reimplemented from IndicatorPlugin.
Definition at line 192 of file CUS.cpp.
References formulaList, CUSDialog::getList(), IndicatorPlugin::helpFile, and CUSDialog::setLine().
| void CUS::setCustomFunction | ( | QStringList & | d | ) | [virtual] |
Definition at line 145 of file CUS.cpp.
References Indicator::addLine(), PlotLine::copy(), PlotLine::setColor(), PlotLine::setLabel(), and PlotLine::setType().
Referenced by calculate().
| void CUS::includeCUS | ( | QString & | d, | |
| QStringList & | rl | |||
| ) |
Definition at line 252 of file CUS.cpp.
References Setting::count(), Setting::getData(), Config::getData(), Config::getIndicator(), Config::IndicatorGroup, and Config::IndicatorPath.
Referenced by checkIncludes().
| void CUS::checkIncludes | ( | ) |
Definition at line 277 of file CUS.cpp.
References formulaList, and includeCUS().
Referenced by calculate().
QStringList CUS::formulaList [protected] |
Definition at line 40 of file CUS.h.
Referenced by calculate(), checkIncludes(), getIndicatorSettings(), indicatorPrefDialog(), setCustomFunction(), and setIndicatorSettings().
double CUS::version [protected] |
Definition at line 41 of file CUS.h.
Referenced by CUS(), getIndicatorSettings(), and setIndicatorSettings().