#include <VOL.h>
Definition at line 24 of file VOL.h.
VOL::VOL | ( | ) |
Definition at line 27 of file VOL.cpp.
References downColorLabel, IndicatorPlugin::formatList, IndicatorPlugin::FormatString, IndicatorPlugin::helpFile, labelLabel, maColorLabel, maLabelLabel, maLineTypeLabel, maPeriodLabel, maTypeLabel, methodLabel, methodList, pluginLabel, IndicatorPlugin::pluginName, setDefaults(), upColorLabel, volLabelLabel, volLineTypeLabel, vtColorLabel, and vtLineTypeLabel.
Indicator * VOL::calculate | ( | ) | [virtual] |
Reimplemented from IndicatorPlugin.
Definition at line 79 of file VOL.cpp.
References Indicator::addLine(), calculateNVI(), calculatePVI(), calculatePVT(), calculateVOL(), IndicatorPlugin::dateFlag, IndicatorPlugin::getMA(), IndicatorPlugin::logScale, maColor, maLabel, maLineType, maType, method, period, PlotLine::setColor(), Indicator::setDateFlag(), PlotLine::setLabel(), Indicator::setLogScale(), and PlotLine::setType().
int VOL::indicatorPrefDialog | ( | QWidget * | w | ) | [virtual] |
Reimplemented from IndicatorPlugin.
Definition at line 211 of file VOL.cpp.
References PrefDialog::addColorItem(), PrefDialog::addComboItem(), PrefDialog::addIntItem(), PrefDialog::addTextItem(), PrefDialog::createPage(), downColor, PrefDialog::getColor(), PrefDialog::getCombo(), PrefDialog::getComboIndex(), PrefDialog::getInt(), IndicatorPlugin::getMATypes(), PrefDialog::getText(), IndicatorPlugin::helpFile, label, IndicatorPlugin::lineTypes, maColor, maLabel, maLineType, maType, method, methodList, period, PrefDialog::setHelpFile(), upColor, volLabel, volLineType, vtColor, and vtLineType.
void VOL::setDefaults | ( | ) |
Definition at line 62 of file VOL.cpp.
References downColor, PlotLine::HistogramBar, label, PlotLine::Line, maColor, maLabel, maLineType, maType, method, period, upColor, volLabel, volLineType, vtColor, and vtLineType.
Referenced by setIndicatorSettings(), and VOL().
void VOL::getIndicatorSettings | ( | Setting & | dict | ) | [virtual] |
Reimplemented from IndicatorPlugin.
Definition at line 339 of file VOL.cpp.
References downColor, downColorLabel, label, labelLabel, maColor, maColorLabel, maLabel, maLabelLabel, maLineType, maLineTypeLabel, maPeriodLabel, maType, maTypeLabel, method, methodLabel, period, pluginLabel, IndicatorPlugin::pluginName, Setting::setData(), upColor, upColorLabel, volLabel, volLabelLabel, volLineType, volLineTypeLabel, vtColor, vtColorLabel, vtLineType, and vtLineTypeLabel.
void VOL::setIndicatorSettings | ( | Setting & | dict | ) | [virtual] |
Reimplemented from IndicatorPlugin.
Definition at line 278 of file VOL.cpp.
References Setting::count(), downColor, downColorLabel, Setting::getData(), label, labelLabel, maColor, maColorLabel, maLabel, maLabelLabel, maLineType, maLineTypeLabel, maPeriodLabel, maType, maTypeLabel, method, methodLabel, period, setDefaults(), upColor, upColorLabel, volLabel, volLabelLabel, volLineType, volLineTypeLabel, vtColor, vtColorLabel, vtLineType, and vtLineTypeLabel.
PlotLine * VOL::calculateVOL | ( | ) |
Definition at line 115 of file VOL.cpp.
References BarData::count(), IndicatorPlugin::data, downColor, BarData::getClose(), BarData::getInput(), PlotLine::setColorBar(), PlotLine::setColorFlag(), PlotLine::setLabel(), PlotLine::setType(), upColor, volLabel, volLineType, and BarData::Volume.
Referenced by calculate(), and calculateCustom().
PlotLine * VOL::calculateNVI | ( | ) |
Definition at line 139 of file VOL.cpp.
References PlotLine::append(), BarData::count(), IndicatorPlugin::data, BarData::getClose(), BarData::getVolume(), label, PlotLine::setColor(), PlotLine::setLabel(), PlotLine::setType(), vtColor, and vtLineType.
Referenced by calculate(), and calculateCustom().
PlotLine * VOL::calculatePVI | ( | ) |
Definition at line 164 of file VOL.cpp.
References PlotLine::append(), BarData::count(), IndicatorPlugin::data, BarData::getClose(), BarData::getVolume(), label, PlotLine::setColor(), PlotLine::setLabel(), PlotLine::setType(), vtColor, and vtLineType.
Referenced by calculate(), and calculateCustom().
PlotLine * VOL::calculatePVT | ( | ) |
Definition at line 189 of file VOL.cpp.
References PlotLine::append(), BarData::count(), IndicatorPlugin::data, BarData::getClose(), BarData::getVolume(), label, PlotLine::setColor(), PlotLine::setLabel(), PlotLine::setType(), vtColor, and vtLineType.
Referenced by calculate(), and calculateCustom().
Reimplemented from IndicatorPlugin.
Definition at line 366 of file VOL.cpp.
References calculateNVI(), calculatePVI(), calculatePVT(), calculateVOL(), IndicatorPlugin::checkFormat(), IndicatorPlugin::formatStringList, method, and methodList.
void VOL::formatDialog | ( | QStringList & | vl, | |
QString & | rv, | |||
QString & | rs | |||
) | [virtual] |
Reimplemented from IndicatorPlugin.
Definition at line 399 of file VOL.cpp.
References PrefDialog::addComboItem(), PrefDialog::addTextItem(), PrefDialog::createPage(), PrefDialog::getCombo(), PrefDialog::getText(), IndicatorPlugin::helpFile, method, methodList, and PrefDialog::setHelpFile().
QColor VOL::upColor [private] |
Definition at line 42 of file VOL.h.
Referenced by calculateVOL(), getIndicatorSettings(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().
QColor VOL::downColor [private] |
Definition at line 43 of file VOL.h.
Referenced by calculateVOL(), getIndicatorSettings(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().
QColor VOL::maColor [private] |
Definition at line 44 of file VOL.h.
Referenced by calculate(), getIndicatorSettings(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().
QColor VOL::vtColor [private] |
Definition at line 45 of file VOL.h.
Referenced by calculateNVI(), calculatePVI(), calculatePVT(), getIndicatorSettings(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().
PlotLine::LineType VOL::volLineType [private] |
Definition at line 46 of file VOL.h.
Referenced by calculateVOL(), getIndicatorSettings(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().
PlotLine::LineType VOL::maLineType [private] |
Definition at line 47 of file VOL.h.
Referenced by calculate(), getIndicatorSettings(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().
PlotLine::LineType VOL::vtLineType [private] |
Definition at line 48 of file VOL.h.
Referenced by calculateNVI(), calculatePVI(), calculatePVT(), getIndicatorSettings(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().
QString VOL::volLabel [private] |
Definition at line 49 of file VOL.h.
Referenced by calculateVOL(), getIndicatorSettings(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().
QString VOL::label [private] |
Definition at line 50 of file VOL.h.
Referenced by calculateNVI(), calculatePVI(), calculatePVT(), getIndicatorSettings(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().
QString VOL::maLabel [private] |
Definition at line 51 of file VOL.h.
Referenced by calculate(), getIndicatorSettings(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().
int VOL::period [private] |
Definition at line 52 of file VOL.h.
Referenced by calculate(), getIndicatorSettings(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().
int VOL::maType [private] |
Definition at line 53 of file VOL.h.
Referenced by calculate(), getIndicatorSettings(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().
QStringList VOL::methodList [private] |
Definition at line 54 of file VOL.h.
Referenced by calculateCustom(), formatDialog(), indicatorPrefDialog(), and VOL().
QString VOL::method [private] |
Definition at line 55 of file VOL.h.
Referenced by calculate(), calculateCustom(), formatDialog(), getIndicatorSettings(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().
QString VOL::upColorLabel [private] |
Definition at line 57 of file VOL.h.
Referenced by getIndicatorSettings(), setIndicatorSettings(), and VOL().
QString VOL::downColorLabel [private] |
Definition at line 58 of file VOL.h.
Referenced by getIndicatorSettings(), setIndicatorSettings(), and VOL().
QString VOL::vtColorLabel [private] |
Definition at line 59 of file VOL.h.
Referenced by getIndicatorSettings(), setIndicatorSettings(), and VOL().
QString VOL::volLabelLabel [private] |
Definition at line 60 of file VOL.h.
Referenced by getIndicatorSettings(), setIndicatorSettings(), and VOL().
QString VOL::volLineTypeLabel [private] |
Definition at line 61 of file VOL.h.
Referenced by getIndicatorSettings(), setIndicatorSettings(), and VOL().
QString VOL::vtLineTypeLabel [private] |
Definition at line 62 of file VOL.h.
Referenced by getIndicatorSettings(), setIndicatorSettings(), and VOL().
QString VOL::maColorLabel [private] |
Definition at line 63 of file VOL.h.
Referenced by getIndicatorSettings(), setIndicatorSettings(), and VOL().
QString VOL::maPeriodLabel [private] |
Definition at line 64 of file VOL.h.
Referenced by getIndicatorSettings(), setIndicatorSettings(), and VOL().
QString VOL::maLabelLabel [private] |
Definition at line 65 of file VOL.h.
Referenced by getIndicatorSettings(), setIndicatorSettings(), and VOL().
QString VOL::maLineTypeLabel [private] |
Definition at line 66 of file VOL.h.
Referenced by getIndicatorSettings(), setIndicatorSettings(), and VOL().
QString VOL::maTypeLabel [private] |
Definition at line 67 of file VOL.h.
Referenced by getIndicatorSettings(), setIndicatorSettings(), and VOL().
QString VOL::labelLabel [private] |
Definition at line 68 of file VOL.h.
Referenced by getIndicatorSettings(), setIndicatorSettings(), and VOL().
QString VOL::methodLabel [private] |
Definition at line 69 of file VOL.h.
Referenced by getIndicatorSettings(), setIndicatorSettings(), and VOL().
QString VOL::pluginLabel [private] |