OPEN-SOURCE SCRIPT

Slope Vortex

I stumbled upon creating this and thought it was cool and worth sharing. If anyone has ever dabbled with the Aroon or Vortex Indicators, there is some similarity to how it can be used visually.

The indicator basically takes two slopes from the trailing time period you indicate- one from the highest point in that time period, and one from the lowest point. It then plots both.

Here are some of the ways I think this indicator can be used--
  • Crossover This is the most obvious way, visually. If the blue line crosses under the red, an uptrend has ended or is testing support here. The opposite can be used as well. When the blue line crosses above the red an uptrend is starting or it is testing resistance.
  • Trending or Ranging If the two bands are moving away from each other/increasing the width between them, there is definite trending action going on. If the two are very narrow or keep crossing each other, whatever symbol you're looking at is likely ranging or consolidating. The black "midpoint" line can also be used to help identify-- if this line is moving up, regardless of if the blue or red band is above, the trend has momentum; if it is going down or flat the previous trend is either slowing greatly or we are ranging.
  • Support & Resistance Crosses can identify meaningful support and resistance. Having both lines kiss or get very close to the black midpoint line but not cross can also indicate S/R or confirm trend strength.


Here are some snippets of examples I outlined-
ảnh chụp nhanh
ảnh chụp nhanh
ảnh chụp nhanh
ảnh chụp nhanh

I purposely kept this indicator as clean and simple as possible for publication. But I already have tinkered around with taking the output and putting it through the likes of RSI, Stoch, etc. and I think the outcomes are pretty intriguing as well for something so simple. I think dropping the length too much makes it too noisy, so 20, 50, 100 look most useful.
Trend AnalysisVortex Indicator (VI)

Mã nguồn mở

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

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

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