#include <FI.h>


Public Member Functions | |
| FI () | |
| virtual | ~FI () |
| Indicator * | calculate () |
| int | indicatorPrefDialog (QWidget *) |
| void | setDefaults () |
| PlotLine * | calculateCustom (QString &, QPtrList< PlotLine > &) |
| void | getIndicatorSettings (Setting &) |
| void | setIndicatorSettings (Setting &) |
| void | formatDialog (QStringList &vl, QString &rv, QString &rs) |
| PlotLine * | getFI () |
Private Attributes | |
| QColor | color |
| PlotLine::LineType | lineType |
| QString | label |
| int | smoothing |
| int | maType |
| QString | colorLabel |
| QString | lineTypeLabel |
| QString | smoothingLabel |
| QString | labelLabel |
| QString | maTypeLabel |
| QString | pluginLabel |
Definition at line 24 of file FI.h.
| FI::FI | ( | ) |
Definition at line 27 of file FI.cpp.
References colorLabel, IndicatorPlugin::FormatInteger, IndicatorPlugin::formatList, IndicatorPlugin::FormatMAType, IndicatorPlugin::helpFile, labelLabel, lineTypeLabel, maTypeLabel, pluginLabel, IndicatorPlugin::pluginName, setDefaults(), and smoothingLabel.
| Indicator * FI::calculate | ( | ) | [virtual] |
Reimplemented from IndicatorPlugin.
Definition at line 58 of file FI.cpp.
References Indicator::addLine(), color, IndicatorPlugin::dateFlag, getFI(), IndicatorPlugin::getMA(), label, lineType, IndicatorPlugin::logScale, maType, PlotLine::setColor(), Indicator::setDateFlag(), PlotLine::setLabel(), Indicator::setLogScale(), PlotLine::setType(), and smoothing.
| int FI::indicatorPrefDialog | ( | QWidget * | w | ) | [virtual] |
Reimplemented from IndicatorPlugin.
Definition at line 99 of file FI.cpp.
References PrefDialog::addColorItem(), PrefDialog::addComboItem(), PrefDialog::addIntItem(), PrefDialog::addTextItem(), color, PrefDialog::createPage(), PrefDialog::getColor(), PrefDialog::getComboIndex(), PrefDialog::getInt(), IndicatorPlugin::getMATypes(), PrefDialog::getText(), IndicatorPlugin::helpFile, label, lineType, IndicatorPlugin::lineTypes, maType, PrefDialog::setHelpFile(), and smoothing.
| void FI::setDefaults | ( | ) |
Definition at line 49 of file FI.cpp.
References color, PlotLine::HistogramBar, label, lineType, maType, IndicatorPlugin::pluginName, and smoothing.
Referenced by FI(), and setIndicatorSettings().
Reimplemented from IndicatorPlugin.
Definition at line 181 of file FI.cpp.
References IndicatorPlugin::checkFormat(), IndicatorPlugin::formatStringList, getFI(), IndicatorPlugin::getMA(), IndicatorPlugin::getMATypes(), maType, and smoothing.
| void FI::getIndicatorSettings | ( | Setting & | dict | ) | [virtual] |
Reimplemented from IndicatorPlugin.
Definition at line 167 of file FI.cpp.
References color, colorLabel, label, labelLabel, lineType, lineTypeLabel, maType, maTypeLabel, pluginLabel, IndicatorPlugin::pluginName, Setting::setData(), smoothing, and smoothingLabel.
| void FI::setIndicatorSettings | ( | Setting & | dict | ) | [virtual] |
Reimplemented from IndicatorPlugin.
Definition at line 138 of file FI.cpp.
References color, colorLabel, Setting::count(), Setting::getData(), label, labelLabel, lineType, lineTypeLabel, maType, maTypeLabel, setDefaults(), smoothing, and smoothingLabel.
| void FI::formatDialog | ( | QStringList & | vl, | |
| QString & | rv, | |||
| QString & | rs | |||
| ) | [virtual] |
Reimplemented from IndicatorPlugin.
Definition at line 200 of file FI.cpp.
References PrefDialog::addComboItem(), PrefDialog::addIntItem(), PrefDialog::addTextItem(), PrefDialog::createPage(), PrefDialog::getCombo(), PrefDialog::getInt(), IndicatorPlugin::getMATypes(), PrefDialog::getText(), IndicatorPlugin::helpFile, maType, PrefDialog::setHelpFile(), and smoothing.
| PlotLine * FI::getFI | ( | ) |
Definition at line 84 of file FI.cpp.
References PlotLine::append(), BarData::count(), IndicatorPlugin::data, BarData::getClose(), and BarData::getVolume().
Referenced by calculate(), and calculateCustom().
QColor FI::color [private] |
Definition at line 39 of file FI.h.
Referenced by calculate(), getIndicatorSettings(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().
PlotLine::LineType FI::lineType [private] |
Definition at line 40 of file FI.h.
Referenced by calculate(), getIndicatorSettings(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().
QString FI::label [private] |
Definition at line 41 of file FI.h.
Referenced by calculate(), getIndicatorSettings(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().
int FI::smoothing [private] |
Definition at line 42 of file FI.h.
Referenced by calculate(), calculateCustom(), formatDialog(), getIndicatorSettings(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().
int FI::maType [private] |
Definition at line 43 of file FI.h.
Referenced by calculate(), calculateCustom(), formatDialog(), getIndicatorSettings(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().
QString FI::colorLabel [private] |
Definition at line 45 of file FI.h.
Referenced by FI(), getIndicatorSettings(), and setIndicatorSettings().
QString FI::lineTypeLabel [private] |
Definition at line 46 of file FI.h.
Referenced by FI(), getIndicatorSettings(), and setIndicatorSettings().
QString FI::smoothingLabel [private] |
Definition at line 47 of file FI.h.
Referenced by FI(), getIndicatorSettings(), and setIndicatorSettings().
QString FI::labelLabel [private] |
Definition at line 48 of file FI.h.
Referenced by FI(), getIndicatorSettings(), and setIndicatorSettings().
QString FI::maTypeLabel [private] |
Definition at line 49 of file FI.h.
Referenced by FI(), getIndicatorSettings(), and setIndicatorSettings().
QString FI::pluginLabel [private] |