Mong các cao nhân đi qua giúp đỡ. !!!

Mong các cao nhân đi qua giúp đỡ. !!!

Mong các cao nhân đi qua giúp đỡ. !!!

Hung939

Member
7
0
Các cao nhân cho e hỏi xíu .

E muốn phát cảnh báo mỗi khi giá chạm vao dải trên với dải dươi cua bolinger band ở traidingwei nhung e khong biet cài đặt sao . E mong các cao nhân giúp đỡ ạ.
 

Giới thiệu sách Trading hay
Phương Pháp Mới Để Giao Dịch Kiếm Sống

Quyển sách của Tiến sỹ Alexander Elder đề cập đến những vấn đề cơ bản và cần thiết nhất với các trader. Sách được đánh giá rất cao trên toàn cầu
// Input options
maLen = input(title=" SMA Length", type=input.integer, defval=20)
stdLen = input(title="StdDev Length", type=input.integer, defval=20)
offset = input(title="StdDev Offset", type=input.float, defval=2.0)
// Calculate values
maValue = sma(close, maLen)
stdValue = stdev(close, stdLen)
upperBand = maValue + stdValue * offset
lowerBand = maValue - stdValue * offset
// Plot values
plot(series=maValue, color=color.white)
plot(series=upperBand, color=color.red, linewidth=2)
plot(series=lowerBand, color=color.green, linewidth=2)
// Determine alert conditions
lowSignal = low <= lowerBand and close >= lowerBand

highSignal = high >= upperBand and close <= upperBand

// Create alert conditions
alertcondition(condition=lowSignal, message="Cham lower Bollinger band;")
alertcondition(condition=highSignal, message="Cham upper Bollinger band;")


Nôm na là vậy nhé bạn. Tôi không chuyên tradingview chỉ biết chút ít thôi à.
 
// Input options
maLen = input(title="SMA Length", type=input.integer, defval=20)
stdLen = input(title="StdDev Length", type=input.integer, defval=20)
offset = input(title="StdDev Offset", type=input.float, defval=2.0)
// Calculate values
maValue = sma(close, maLen)
stdValue = stdev(close, stdLen)
upperBand = maValue + stdValue * offset
lowerBand = maValue - stdValue * offset
// Plot values
plot(series=maValue, color=color.white)
plot(series=upperBand, color=color.red, linewidth=2)
plot(series=lowerBand, color=color.green, linewidth=2)
// Determine alert conditions
lowSignal = low <= lowerBand and close >= lowerBand

highSignal = high >= upperBand and close <= upperBand

// Create alert conditions
alertcondition(condition=lowSignal, message="Cham lower Bollinger band;")
alertcondition(condition=highSignal, message="Cham upper Bollinger band;")


Nôm na là vậy nhé bạn. Tôi không chuyên tradingview chỉ biết chút ít thôi à.


Anh có the huong dan e cài dat chi tiet duoc không ạ
 

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

  • DuongHuy trong Phân tích Forex - Vàng - Hàng hóa 144 Xem / 8 Trả lời
  • Mạc An trong Phân tích Forex - Vàng - Hàng hóa 330 Xem / 15 Trả lời
  • DuongHuy trong Phân tích Bitcoin - Altcoins - Cryptocurrency 2,445 Xem / 104 Trả lời
  • KAKALAT trong Kiến thức Trading - Kinh nghiệm Trading 15,700 Xem / 50 Trả lời
  • ngoi_sao_co_doc trong Phân tích Forex - Vàng - Hàng hóa 24,910 Xem / 90 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