LonesomeTheBlue

Indicators Overlay

Hello All,

This script shows the indicators in separate windows on the main chart. Included indicators are RSI , CCI , OBV, Stochastic , Money Flow Index, Average True Range and Chande Momentum Oscillator . indicator windows are located at the top or bottom of the chart according to last moves of the Closing price. Different colors are used for each indicator. Horizontal levels are shown as dashed line and label as well.

Using the options;
You can enable/disable the indicators you want to see or not
You can change source and length for each indicator
You can set window length. using this length indicator windows are located on the chart

After you added this indicator to your chart I recommend: right click on any of the indicator windows => "Visual Order" => "Bring to front" as seen screenshot below:

in this example only 3 indicators enabled and period is set as 80:

indicator windows moves to the top or bottom of the chart according to the close price:


P.S. if you want to see any other indicator in the options then leave a comment under the indicator ;)


Enjoy!
版本注释: Code improved.
Two new indicators added:
==> Chaikin Money Flow
==> Stochastic RSI
版本注释: Directional Movement Index (DMI) added.
Line Width option added for the indicator lines
3 Color options added
D line added for Stoch RSI
版本注释: "Different Colors for Indicators?" option added. if you enable it then all indicators are shown in different colors as seen:
版本注释: fixed max_bars_back issue.

开源脚本

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

想在图表上使用此脚本?