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.

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?
//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