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
Naked Forex - Phương Pháp Price Action Tinh Gọn
Naked Forex được đánh giá cao trên toàn cầu (theo Amazon) vì đã cung cấp một cẩm nang thực thụ cho những nhà giao dịch theo trường phái Price Action
Bài viết liên quan