PROTECTED SOURCE SCRIPT
[DEM] Donchian Oscillator

[DEM] Donchian Oscillator is designed to measure the relative position of recent price action within the Donchian Channel by calculating how many bars have passed since the most recent highest high versus the most recent lowest low over a specified lookback period. The indicator computes the difference between bars since the last low and bars since the last high, then applies smoothing using an RMA to create an oscillator that fluctuates around a zero centerline displayed in a separate pane below the main chart. The oscillator uses gradient coloring from red (negative values indicating recent lows dominate) through purple (neutral) to green (positive values indicating recent highs dominate), helping traders identify momentum shifts and potential overbought/oversold conditions based on whether price is closer to making new highs or new lows within the specified range.
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。