Tìm cơ hội cược BO với Trend line

Tìm cơ hội cược BO với Trend line

Tìm cơ hội cược BO với Trend line
hóng hehe lại có cái để test:D:D
Hihih, đây nhé, chưa tút lại code, chưa viết mô tả thuật toán nên chưa xuất bản lên tradingview được, muốn xuất bản thì phải chuẩn chỉ, còn anh em mình chơi ở đây cứ có copy & paste là được nhé :D
Mã:
//@version=4
//BO - EU M15 Signal
//author: anhnguyen14
study(title="BO - EU M15 Signal Live", overlay=false)

hline1=hline(100)
//hline08=hline(70)
//hline02=hline(30)
hline0=hline(0)
hline05=hline(50)
//fill(hline1,hline08,color=color.new(color.red,40))
//fill(hline02,hline0,color=color.new(color.blue,40))
//Currency Strength Index Function
rsi_period=input(14)
M15_RSI(sym) =>
    M15_RSI = security(sym, "15", rsi(close,rsi_period))
H1_RSI(sym) =>
    H1_RSI = security(sym, "60", rsi(close,rsi_period))
H4_RSI(sym) =>
    H4_RSI = security(sym, "240", rsi(close,rsi_period))
//============================================\\
//Color
H4_col=color.new(color.green,40)
H1_col=color.new(color.orange,40)
M15_col=color.new(color.purple,40)
//DXY - USD Index - U.S. Dollar Index
sym1=input("TVC:DXY")
rsi_m15_dxy=M15_RSI(sym1)
rsi_h1_dxy=H1_RSI(sym1)
rsi_h4_dxy=H4_RSI(sym1)
plot(rsi_m15_dxy, color=M15_col, transp=40, linewidth=2)
plot(rsi_h1_dxy, color=H1_col, transp=40, linewidth=3)
plot(rsi_h4_dxy, color=H4_col, transp=40, linewidth=4)
//============================================\\
//EXY - EUR Index - Euro Currency Index
sym2=input("TVC:EXY")
rsi_m15_exy=M15_RSI(sym2)
rsi_h1_exy=H1_RSI(sym2)
rsi_h4_exy=H4_RSI(sym2)
//plot(rsi_m15_exy, color=color.orange, transp=40, linewidth=2)
//plot(rsi_h1_exy, color=color.orange, transp=50, linewidth=3)
//plot(rsi_h4_exy, color=color.orange, transp=60, linewidth=2)
//============================================\\
DnT=
       (rsi_m15_dxy>rsi_h1_dxy
       and rsi_h1_dxy>rsi_h4_dxy)
      

UpT=
       (rsi_m15_dxy<rsi_h1_dxy
       and rsi_h1_dxy<rsi_h4_dxy)
      

//Signal
x1 =
       DnT[0]
       and close[1]<open[1]
       and crossover(close,open[1])
       and close<high[1]
y1 =
       UpT[0]
       and close[1]>open[1]
       and crossunder(close,open[1])
       and close>low[1]

//Signal
xTech=
       x1
      
      

yTech=
       y1
      
      
//--------------------------------------\\
// - /FUNCTIONS

//--------------------------------------\\
//plot Signal
putcol = xTech? color.red : na
callcol = yTech? color.blue : na
PutSignal= xTech?-100:na
CallSignal= yTech?-100:na
hsignalm1=hline(-100)
plot(PutSignal, title='Put Signal', style=plot.style_columns, color=color.red, offset=0, transp=0, show_last=1)
plot(CallSignal, title='Call Signal', style=plot.style_columns, color=color.blue, offset=0, transp=0, show_last=1)
plotshape(PutSignal, title='Put', text="Put", style=shape.labeldown, location=location.bottom, color=color.orange, textcolor=color.black, offset=0, transp=0, show_last=1)
plotshape(CallSignal, title='Call', text="Call", style=shape.labelup, location=location.bottom, color=color.orange, textcolor=color.black, offset=0, transp=0, show_last=1)

// Alert
mms1="Signal alert"
mms2="Put alert"
mms3="Call alert"
PutAlert=
       (xTech)
      
CallAlert=
       (yTech)
      

alertcondition(PutAlert or CallAlert, title="Signal alert", message=mms1)
alertcondition(PutAlert, title="Put alert", message=mms2)
alertcondition(CallAlert, title="Call alert", message=mms3)

//EOF
 
@vĩnh0902 list hôm nay rất đẹp :D
chrome_ctWDn7tMgE.png
 
@vĩnh0902 cuối năm bận quá xá, may là cũng tuyển đc em macro ngon lành, keke, mình bận thì cứ bận, mà em nó vẫn chăm chỉ canh chart :D Vẫn chưa rãnh để viết mô tả thuật toán signal để xuất bản lên tradingview nữa, keke, profile TradingView đã vượt 100 like hồi nào mình cũng ko biết luôn :D
 
win hêt à bác hjhj chúc mừng bác. chúc bác năm mới vui ve hp ben gd va nhiều itm keke:D
Cái dxy này đánh tay iq cực kỳ tốt, hiệu quả hơn macro rất nhiều, Tradingview mở chart Eu idc M15, khi dxy có trend giảm m15<h1<h4 là canh 1 cây nến xanh 15m, cây ngay sau là cây vào lệnh, giá hồi về bóng nến dưới của cây xanh là vào lệnh call đáo hạn nến M15 đang chạy đóng cửa :)
 

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

  • Mạc An trong Phân tích Forex - Vàng - Hàng hóa 1,623 Xem / 96 Trả lời
  • DuongHuy trong Hệ thống giao dịch - Trading system 37,507 Xem / 18 Trả lời
  • DuongHuy trong Phân tích Forex - Vàng - Hàng hóa 372 Xem / 29 Trả lời
  • Quíc Óp trong Phân tích Forex - Vàng - Hàng hóa 390 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