Decam9

Swing High Swing Low

Decam9 已更新   
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)**
發布通知:
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.
發布通知:
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.

受保護腳本
該腳本是閉源發佈的,您可以自由使用。您可以把它加入到常用以在圖表上使用它。您無法查看或修改其原始碼。
免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?