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
Phương Pháp Thực Chiến Hiệu Suất Cao Của Nhà Quán Quân Giao Dịch Tài Chính
Sách hướng dẫn phương pháp giao dịch hiệu suất cao của tác giả Robert Miner, người đã từng nhiều lần vô địch và đạt thứ hạng cao tại các cuộc thi trading toàn thế giới
Bài viết liên quan