WaveRiders

The Zone Trades v1.0

The Zone is mention in New Trading Dimensions by Bill Williams,PhD.
The Zone is used for Entry Signal
Green Zone are painting Green Bars when Awesome Oscillator (AO) and Accelerater/Decelerator (AC) are both increasing.
Red Zone are painting Red Bars when Awesome Oscillator (AO) and Accelerater/Decelerator (AC) are both decreasing.
Gray Zone are painting Gray Bars AO and AC in difference changing
Gray Zone are indicate the indecision between bulls and bears.
Bill Williams, PhD. mention that Green Zone or Red Zone usually happen 6-8 bars Continuously.
The First Bar that change to be Green or Red color is the Signal Bar.
Entry Signal is the second bar in the same color as the Signal bar happen with Volume
Price go higher the high of previous Green Bar is Buy Signal. Entry Buy (Long) and place Stop at 1 tick lower the Low of previous bar.
Price go ;ower the Low of previous Red Bars is Sell Signal. Entry Sell (Short) and place Stop at 1 tick higher the High of previous bar.
Do not Entry if Green Bars or Red Bars completed 5 bars continuously.

Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?
//The Zone is mention in New Trading Dimensions by Bill Williams,PhD.
//The Zone is used for Entry Signal 
//Green Zone are painting Green Bars when Awesome Oscillator (AO) and Accelerater/Decelerator (AC) are both increasing.
//Red Zone are painting Red Bars when Awesome Oscillator (AO) and Accelerater/Decelerator (AC) are both decreasing.
//Gray Zone are painting Gray Bars AO and AC in difference changing 
//Gray Zone are indicate the indecision between bulls and bears. 
//Bill Williams, PhD. mention that Green Zone or Red Zone usually happen 6-8 bars Continuously. 
//The First Bar that change to be Green or Red color is the Signal Bar. 
//Entry Signal is the second bar in the same color as the Signal bar happen with Volume 
//Price go higher the high of previous Green Bar is Buy Signal. Entry Buy (Long) and place Stop at 1 tick lower the Low of previous bar.
//Price go ;ower the Low of previous Red Bars is Sell Signal. Entry Sell (Short) and place Stop at 1 tick higher the High of previous bar.
//Do not Entry if Green Bars or Red Bars completed 5 bars continuously.
//
// The Zone v.1.0

study(title="TheZone", overlay = true)
//calculate AO, AC
ao = sma(hl2,5) - sma(hl2,34)
ac = ao - sma(ao,5)

//Green Zone , Red Zone and Gray Zone 
zGreen() => ao > ao[1] and ac > ac[1]
zRed() => ao < ao[1] and ac < ac[1]
barcolor(zGreen() ? green : zRed() ? red : gray)

//Entry Signal