Untitled
public text v1 · immutable#include "indicators.h"
#include <vector>
#include <cmath>
using namespace std;
Indicators::Indicators (int BarReserve, int TickReserve)
{
...
double Indicators::hma (int offset, unsigned count, int price)
{
int first = static_cast<int>(floor(sqrt(count)));