hoàng quốc tuấn
Active Member
- 61
- 16
Ý tôi muốn kết thúc 1 Bar thì kiểm tra vào 1 lệnh, Max 10 lệnh
int bars=0;
HiPrice = High[iHighest(NULL,0,MODE_HIGH,Period1,1)];
LoPrice = Low[iLowest(NULL,0,MODE_LOW,Period1,1)];
double a = NormalizeDouble(GetLots(),2);
//Code Như thế này thì nó không vào lệnh-----------
if(Bars>bars && CalculateCurrentOrders() < 10 && Close[1] > HiPrice) mua;
if(Bars>bars && CalculateCurrentOrders() < 10 && Close[1] < HiPrice) ban;
//Code Như thế này thì nó vào lệnh liên tục-----------
if(Bars>bars && CalculateCurrentOrders() < 10 && Bid > HiPrice) mua;
if(Bars>bars && CalculateCurrentOrders() < 10 && Bid < HiPrice) ban;
Nhờ các cao thủ sửa giúp
Chân thành cảm ơn
int bars=0;
HiPrice = High[iHighest(NULL,0,MODE_HIGH,Period1,1)];
LoPrice = Low[iLowest(NULL,0,MODE_LOW,Period1,1)];
double a = NormalizeDouble(GetLots(),2);
//Code Như thế này thì nó không vào lệnh-----------
if(Bars>bars && CalculateCurrentOrders() < 10 && Close[1] > HiPrice) mua;
if(Bars>bars && CalculateCurrentOrders() < 10 && Close[1] < HiPrice) ban;
//Code Như thế này thì nó vào lệnh liên tục-----------
if(Bars>bars && CalculateCurrentOrders() < 10 && Bid > HiPrice) mua;
if(Bars>bars && CalculateCurrentOrders() < 10 && Bid < HiPrice) ban;
Nhờ các cao thủ sửa giúp
Chân thành cảm ơn
Giới thiệu sách Trading hay
Thực Hành Phân tích Fibonacci
Tác giả sách là cựu trader quản lý quỹ kiêm học giả CMT. Sách đoạt giải và được xuất bản bởi Bloomberg Press. Sách khái quát từ cơ bản đến chuyên sâu về FIbonacci Trading
Bài viết liên quan