#include <IndicatorSummary.h>
Signals | |
void | signalWakeup () |
Public Member Functions | |
IndicatorSummary (QStringList &, int, BarData::BarLength, DBIndex *) | |
~IndicatorSummary () | |
void | run () |
void | loadIndicators () |
void | createDataWindow (QPtrList< Setting > &, QString &group) |
Protected Attributes | |
Config | config |
QStringList | indicatorList |
int | minBars |
BarData::BarLength | barLength |
QPtrList< Indicator > | indicators |
DBIndex * | chartIndex |
Private Attributes | |
QString | helpFile |
Definition at line 34 of file IndicatorSummary.h.
IndicatorSummary::IndicatorSummary | ( | QStringList & | l, | |
int | mb, | |||
BarData::BarLength | bl, | |||
DBIndex * | i | |||
) |
Definition at line 37 of file IndicatorSummary.cpp.
References barLength, chartIndex, helpFile, indicatorList, indicators, and minBars.
IndicatorSummary::~IndicatorSummary | ( | ) |
Definition at line 48 of file IndicatorSummary.cpp.
void IndicatorSummary::signalWakeup | ( | ) | [signal] |
Referenced by run().
void IndicatorSummary::run | ( | ) |
Definition at line 52 of file IndicatorSummary.cpp.
References PrefDialog::addComboItem(), PlotLine::Bar, barLength, IndicatorPlugin::calculate(), PlotLine::Candle, chartIndex, DBBase::close(), config, createDataWindow(), PrefDialog::createPage(), Traverse::Dir, PrefDialog::getCombo(), PlotLine::getData(), Config::getData(), Indicator::getFile(), DbPlugin::getHistory(), Config::getIndicatorPlugin(), PlotLine::getLabel(), Indicator::getLine(), Indicator::getLines(), Traverse::getList(), PlotLine::getSize(), PlotLine::getType(), Indicator::getType(), Config::GroupPath, helpFile, PlotLine::Horizontal, indicators, PlotLine::Invisible, loadIndicators(), IndicatorPlugin::loadIndicatorSettings(), minBars, DbPlugin::open(), DbPlugin::setBarLength(), DbPlugin::setBarRange(), Setting::setData(), PrefDialog::setHelpFile(), IndicatorPlugin::setIndicatorInput(), signalWakeup(), PlotLine::strip(), and Traverse::traverse().
void IndicatorSummary::loadIndicators | ( | ) |
Definition at line 170 of file IndicatorSummary.cpp.
References config, Indicator::getEnable(), Config::getIndicator(), Config::getIndicatorPlugin(), Indicator::getType(), indicatorList, indicators, and Indicator::setIndicator().
Referenced by run().
void IndicatorSummary::createDataWindow | ( | QPtrList< Setting > & | list, | |
QString & | group | |||
) |
Definition at line 201 of file IndicatorSummary.cpp.
References barLength, config, BarData::getBarLengthList(), Config::getData(), Config::Home, XmlWriter::newLine(), XmlWriter::setAutoNewLine(), DataWindow::setData(), DataWindow::setHeader(), XmlWriter::setIndentSize(), XmlWriter::writeCloseTag(), XmlWriter::writeOpenTag(), XmlWriter::writeRaw(), and XmlWriter::writeTaggedString().
Referenced by run().
QString IndicatorSummary::helpFile [private] |
Config IndicatorSummary::config [protected] |
Definition at line 52 of file IndicatorSummary.h.
Referenced by createDataWindow(), loadIndicators(), and run().
QStringList IndicatorSummary::indicatorList [protected] |
Definition at line 53 of file IndicatorSummary.h.
Referenced by IndicatorSummary(), and loadIndicators().
int IndicatorSummary::minBars [protected] |
BarData::BarLength IndicatorSummary::barLength [protected] |
Definition at line 55 of file IndicatorSummary.h.
Referenced by createDataWindow(), IndicatorSummary(), and run().
QPtrList<Indicator> IndicatorSummary::indicators [protected] |
Definition at line 56 of file IndicatorSummary.h.
Referenced by IndicatorSummary(), loadIndicators(), and run().
DBIndex* IndicatorSummary::chartIndex [protected] |