[Binary Options] Chiến lược Heiken Ashi đơn giản nhất quả đất

[Binary Options] Chiến lược Heiken Ashi đơn giản nhất quả đất

[Binary Options] Chiến lược Heiken Ashi đơn giản nhất quả đất

Thống

Active Member
1,920
8,374
Heiken Ashi là loại nến đặc biệt, được áp dụng cũng khá phổ biến sau các loại biểu đồ thường dùng nên candle stick hay bar. Đương nhiên, Binary Options cũng thế, cũng có không ít các chiến lược dùng Heiken Ashi. Nếu bạn muốn bắt đầu trade BO với loại nến này thì chiến lược mà mình sắp giới thiệu chắc chắn sẽ là 1 lựa chọn đáng để tham khảo vì tính đơn giản và hiệu quả của nó.

Các chỉ báo cần có trong chiến lược


Trước hết để có thể áp dụng chiến lược này, bạn cần có 2 chỉ báo như sau:
  • BB Alert Arrows
  • Heiken Ashi
Hai chỉ báo này mình đã upload lên bài viết, bạn có thể tải ở mục file đính kèm cuối bài và cài đặt vào MT4 để dùng.

Bây giờ đến quy tắc giao dịch


Quy tắc giao dịch


Không hề quảng cáo, chiến lược này có quy tắc vào lệnh hết sức đơn giản, cụ thể như sau.


Quy tắc vào Put


Để vào lệnh Put, bạn cần thỏa đồng thời 3 điều kiện này:
  • Mũi tên xuống
  • Nến Heiken Ashi xanh
  • Nến thường (nến mặc định - candle stick) đỏ
Đủ 3 điều kiện trên thì vào 1 put. Quá đơn giản.

post-7151-0-57801300-1505142282.png

Bạn có thể nhìn minh họa trên để hình dung rõ hơn quy tắc Put.


Quy tắc vào lệnh Call


Biết cách Put thì sẽ biết cách Call, ngược lại thôi mà.
  • Mũi tên hướng lên
  • Heiken Ashi màu đỏ
  • Nến thường màu xanh
post-7151-0-60507300-1505142193.png

Đây là minh họa cho Call. Lưu ý: Mặc dù có 3 trade trong minh họa, nhưng chỉ có 2 lệnh đầu là Call, trade Call thứ 2 bị tạch.


Tạm kết


Chiến lược này rất đơn giản, phù hợp với các bạn newbie hoặc các trader muốn thử Heiken cho BO. Các chỉ báo bạn có thể tải phía dưới.

Just Trade It
 

Đính kèm

  • bb-alert-arrows.ex4
    4.9 KB · Xem: 42
  • Heiken Ashi.mq4
    4.8 KB · Xem: 25

Giới thiệu sách Trading hay
Đánh Bại Thị Trường Forex - Tư duy khác biệt và các kỹ thuật giao dịch của chuyên gia quản lý quỹ triệu đô

Sách chia sẻ kiến thức và kinh nghiệm trading từ một chuyên gia quản lý quỹ, cùng các kỹ thuật giao dịch giúp quỹ này đứng trong top nhiều năm
Thân tặng anh em code backtest của chiến lược này. Chúc anh em tuần mới nhiều ITM nhé. Lucky trading
I. Code backtest
Mã:
//@version=4
//BO BB Arrows & HA
//author: anhnguyen14

strategy(title="BO BB Arrows & HA", overlay=true, pyramiding=10)

Date = input(true, title="Date Option")
// === INPUT BACKTEST RANGE ===
FromDay   = input(defval = 1, title = "From Day", minval = 1, maxval = 31)
FromMonth = input(defval = 1, title = "From Month", minval = 1, maxval = 12)
FromYear  = input(defval = 2019, title = "From Year", minval = 2017)

ToDay     = input(defval = 1, title = "To Day", minval = 1, maxval = 31)
ToMonth   = input(defval = 1, title = "To Month", minval = 1, maxval = 12)
ToYear    = input(defval = 9999, title = "To Year", minval = 2017)

// === DATE RANGE ===
start     = timestamp(FromYear, FromMonth, FromDay, 00, 00)  // backtest start window
finish    = timestamp(ToYear, ToMonth, ToDay, 23, 59)        // backtest finish window
window()  => time >= start and time <= finish ? true : false // create function "within window of time"
//

heikinashi_open = security(heikinashi(syminfo.tickerid), timeframe.period, open)
heikinashi_high = security(heikinashi(syminfo.tickerid), timeframe.period, high)
heikinashi_low = security(heikinashi(syminfo.tickerid), timeframe.period, low)
heikinashi_close = security(heikinashi(syminfo.tickerid), timeframe.period, close)
heikinashi_color = heikinashi_open < heikinashi_close ? color.new(color.blue,60): color.new(color.red,60)
plotcandle(heikinashi_open, heikinashi_high, heikinashi_low, heikinashi_close, title="Heikin Ashi candle", color=heikinashi_color, bordercolor=color.black)


//Bollinger Bands - 20,2.0
BBtt   = input(true, title = "=== BB Arrows option ===")
len20 = input(20,title="BB period")
mult20 = input(2.0,title="BB dev")
sma_20 = sma(close, len20)
basis20 = sma_20
dev20 = mult20 * stdev(close, len20)
upper20 = basis20 + dev20
lower20 = basis20 - dev20
plot(basis20, title="BB mid band", color=color.black, linewidth=2)
plot(upper20, title="BB upper band", color=color.black, linewidth=2)
plot(lower20, title="BB lower band", color=color.black, linewidth=2)
//%B
pB = ((close - lower20) / (upper20 - lower20))
//%B over
pBovb=
      pB>1
     
     
pBovs=
       pB<0
     
plotshape(pBovb, title="BB Arrow Down", style=shape.arrowdown, location=location.abovebar, color=color.red, offset=0, transp=0)
plotshape(pBovs, title="BB Arrow Up", style=shape.arrowup, location=location.belowbar, color=color.blue, offset=0, transp=0)
//Put Condition

x1=
       
       pBovb
       and heikinashi_close>heikinashi_open
       and close<open
     
//Call Condition


y1=
     
       pBovs
       and heikinashi_close<heikinashi_open
       and close>open
     
// - /FUNCTIONS

x=
       x1
     

y=
       y1


// - /FUNCTIONS

//--------------------------------------\\


//Custom Trading Time
Cputcol = x ? color.red : na
Ccallcol = y ? color.blue : na
plotshape(x, title='Put', style=shape.labeldown, location=location.top, color=color.orange, text="Put", textcolor=color.black, offset=1, transp=0)
plotshape(y, title='Call', style=shape.labelup, location=location.bottom, color=color.orange, text="Call", textcolor=color.black, offset=1, transp=0)
bgcolor(Cputcol, transp=70, offset=0, title="Put Signal")
bgcolor(Ccallcol, transp=70, offset=0, title="Call Signal")


strategy.entry("Call", strategy.long, when=(y) and window())


strategy.entry("Put", strategy.short, when=(x) and window())


strategy.close_all(when=barstate.isnew)


   
//EOF

II. Ảnh minh họa
chrome_3d4sLS74IS.png
chrome_Uy294IRQMX.png
 
Cái BB file EX kia là repaint hả các bác
Chế độ backtest của Tradingview không có repaint :)
Còn mt4 theo mình biết thì tất cả các loại arrows hầu hết là repaint, do đó số lượng arrow chart quá khứ luôn ít hơn số lượng arrow quan sát được
 
Chỉnh sửa lần cuối:

BÌNH LUẬN MỚI NHẤT

  • Mạc An trong Phân tích Forex - Vàng - Hàng hóa 1,660 Xem / 96 Trả lời
  • DuongHuy trong Hệ thống giao dịch - Trading system 37,517 Xem / 18 Trả lời
  • DuongHuy trong Phân tích Forex - Vàng - Hàng hóa 379 Xem / 29 Trả lời
  • Quíc Óp trong Phân tích Forex - Vàng - Hàng hóa 395 Xem / 18 Trả lời
  • AdBlock Detected

    We get it, advertisements are annoying!

    Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

    Back
    Bên trên