FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools, designed for interactive exploration and data-driven decision-making in a user-friendly environment.
C++ ai-agentsalgorithmic-tradingbloomberg-terminalcppfinancefinancial-marketsfintechgood-first-issueinvestmentinvestment-researchmachine-learningopensourcepythonqtquantitative-financestock-markettrading
#pragma once
#include "ui/charts/ChartIndicators.h"
#include "ui/charts/HorizontalLineLayer.h"
namespace fincept::ui {
class PivotLayer : public HorizontalLineLayer {
Q_OBJECT
public:
explicit PivotLayer(PivotType type = PivotType::Standard, QObject* parent = nullptr);
void compute(const QVector<CandleData>& candles) override;
PivotType pivot_type() const { return type_; }
void set_pivot_type(PivotType t);
private:
PivotType type_;
};
} // namespace fincept::ui