Swing Points

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
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
Declinazione di responsabilità
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.