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
Trading In The Zone - Thực hành Kiểm soát Cảm xúc bằng Tâm lý học Hành vi trong Đầu tư và Giao dịch Tài chính
Là quyển sách Top 1 toàn cầu về chủ đề đầu tư/trading, Trading In The Zone giúp thấu hiểu và quản trị cảm xúc cũng như giữ vững kỷ luật khi tham gia thị trường tài chính, nhằm nâng cao trình độ và hiệu quả đầu tư lên mức cao nhất có thể
Bài viết liên quan