The client has made the following changes to the job.
Client prefers freelancers from:
You are still able to submit a proposal for this job.
The client prefers freelancers from
a different location.
class ExponentialMovingAverageModel : public QSortFilterProxyModel
After QSortFilterProxyModel subclass that will calculate Exponential Moving Average from a source model that has four columns ( in order: Open, High, Low, Close ).
So getting the close value from the source model would look like:
double close = sourceModel()->index(mapToSource(index).row(), 0).data().toDouble();
Sign in or Register to see more