OPEN-SOURCE SCRIPT

Swing High/Swing Low

161
Swing High/Swing Low shows levels where market recently turned up, producing a new swing low (red dots) or turned down, leaving a new swing high (green dots).

This indicator finds market turns based on at least 3 candles.

To detect a swing low, this indicator is looking for two candles with lower highs and lower lows. Then, if the third or any subsequent candle closes above the high of the first candle, market has turned up producing a swing low.

Similarly, to detect a swing high, the indicator is looking for two candles with higher highs and higher lows. Then, if the third or any subsequent candle closes below the low of the first candle, market has turned down producing a swing high.

Additionally, if there are inside candles after first candle, those are skipped and and overall pattern is analyzed without them.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.