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
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
// 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

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

Miễn trừ trách nhiệm

Tất cả nội dung trên website này đều vì mục đích cung cấp thông tin và không phải lời khuyên đầu tư.

Tại Việt Nam, giao dịch CFD forex có các rủi ro nhất định, trong đó bao gồm rủi ro về pháp lý. Độc giả nên tìm hiểu kỹ trước khi đưa ra quyết định tham gia.