Jewel Nguyen
Active Member
- 3,974
- 3,967
Mình gặp 1 lỗi biên dịch mà mãi chưa sửa được
void IndicatorDRSI::Refresh(const int limit, const int newBars, const int startbar)
{
doubleRsiLine->RefeshDRsi( my_symbol, limit, newBars, startbar);
}
void IndicatorDRSI::RefreshRate(const int limit, const int newBars, const int startbar)
{
auto x = &IndicatorDRSI::Refresh;
int mlimit = limit;
int mnew = newBars;
int mstartbar = startbar;
mainPool->push_task(x, &mlimit, &mnew, &mstartbar);
}
template <typename F, typename... A>
void push_task(const F& task, const A &...args)
{
push_task([task, args...]
{ task(args...); });
}
Lỗi như sau
Ai biết giúp mình với
void IndicatorDRSI::Refresh(const int limit, const int newBars, const int startbar)
{
doubleRsiLine->RefeshDRsi( my_symbol, limit, newBars, startbar);
}
void IndicatorDRSI::RefreshRate(const int limit, const int newBars, const int startbar)
{
auto x = &IndicatorDRSI::Refresh;
int mlimit = limit;
int mnew = newBars;
int mstartbar = startbar;
mainPool->push_task(x, &mlimit, &mnew, &mstartbar);
}
template <typename F, typename... A>
void push_task(const F& task, const A &...args)
{
push_task([task, args...]
{ task(args...); });
}
Lỗi như sau
Ai biết giúp mình với
Đính kèm
Giới thiệu sách Trading hay
Mô Hình Biểu Đồ - Phương Pháp Hiệu Quả Để Tìm Kiếm Lợi Nhuận
Được xem là cẩm nang về mô hình biểu đồ của các nhà đầu tư, giao dich tài chính toàn cầu và là kiến thức bắt buộc phải nắm về Phân Tích Kỹ Thuật
Bài viết liên quan