Decam9

Swing High Swing Low

Decam9 Zaktualizowano   
This tool is the swing high swing low indicator. A swing high/low is a technical pattern that describes a local peak or trough on a chart. By connecting these peaks and troughs, we can determine the general direction the asset is trading. This indicator can be used on all time frames and in any market.

To use it, declare how many candles are needed to determine a swing level. By default, the indicator is set to two candles. This means that a candle must have two candles to the right AND left (totaling 5 consecutive candles) to be considered a swing level. If the middle candle has the highest high of the 5 consecutive candles, it will be classified as a Swing High. If the middle candle has the lowest low, it will be a Swing Low. Otherwise, it will be ignored.

Once a swing number is declared, the indicator will look for a starting swing high and swing low. The asset will trade inside the range established by the swing high/low lines. When the lines are parallel, it is considered a form of consolidation. You will likely see a lot of whipsaw action or chart patterns like bullflags or head-shoulders. Wait patiently for a break of this consolidation. The indicator will identify the new swing levels when the asset breaks out of this range.

Depending on the direction of the break, it will turn green for an uptrend or red for a downtrend. You should look to take long positions when the lines are green and short when the lines are red. You can use old swing levels as support or resistance in the future. The longer the line, the greater the likelihood that it will be support or resistance. This can help you identify potential entries.

The goal of this script is to make it easier to determine trends. Sometimes, we take the wrong trade because we don't understand which way the market is trending and what levels are important. This indicator is meant to take the guesswork out and make the trade easy and emotionless. This indicator works well on its own, but I suggest pairing it with another to add an extra confirmation before taking a trade. Happy Trading!

**Please note: Assets that have traded parabolically (steep inclines or declines) will have wide ranges that may not be broken. (see GME 2021)**
Informacje o Wersji:
Added a "Wiggle Room" feature. Sometimes a swing level will be broken without continuing trend. Adding wiggle room to the swing levels will allow traders to withstand some of that volatility. I recommend using 0.5 which represents half of 1% of wiggle room. On a $100 stock, that would allow 50c of wiggle room. on a $1,000 stock, that allows $5 of wiggle room.
Informacje o Wersji:
In using this indicator, I learned that it had less than ideal success when taking the breakout trade. It had much better success after a pullback. I have added 3 fib retracements to this indicator to show better entry opportunities after a breakout.

EX. If the trend is up (green), and it breaks above the swing high, you should then look for a buy opportunity at the fib retracement levels for trend continuation. You can also extend the feb levels or turn them negative to simulate fib extensions for profit levels or stop losses.

Skrypt chroniony
Ten skrypt został opublikowany z zamkniętym kodem źródłowym i możesz z niego dowolnie korzystać. Możesz go dodać do ulubionych, żeby używać go na wykresie. Nie możesz przeglądać ani modyfikować jego kodu źródłowego.
Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?