Jewel Nguyen
Active Member
- 3,974
- 3,975
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
Khám phá Nghệ thuật Giao dịch Tiền tệ Chuyên nghiệp
Sách được viết bởi FX Trader chuyên nghiệp, có gần 30 năm giao dịch Forex cho các ngân hàng lớn thế giới như Citi, Nomura hay HSBC, đồng thời từng trading cho quỹ đầu cơ có vốn hàng chục triệu đô la
Bài viết liên quan