OPEN-SOURCE SCRIPT

Swing Points

已更新
An indicator that identifies Swing Points (highs and lows) and then determines highs and lows of those swings. Works on all timeframes.
This is not my invention. It is a generic concept that I picked up from the trading world.

First level swings are termed as Short term Highs and Short term Lows (STH and STL)
The second level swings are termed as Long term Highs and Long term Lows (ITH and ITL)

An STH is formed when the 2nd high is higher than the highs on either side.
An ITH is formed when the 2nd STH is higher than the STH on either side.
Likewise logic for lows.

An example, A bullish trend can be expected if an ITH level is taken out after a ITL is formed after the ITH.

Inside bars: Inside bars are ignored. They can be marked, turned off by default.

Also, a "X" is placed over a swing point if two consecutive swings form simultaneously. This is turned off by default.
版本注释
  • Fixed bug that missed marking a STH or STL right after an opposite one was discovered

swingtradingTrend Analysis

开源脚本

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

想在图表上使用此脚本?


更多:

免责声明