OPEN-SOURCE SCRIPT

PA Swings [TTA]

Hello traders!

This script helps identify swing high levels of resistance and swing low levels of support via price action.

The indicator is designed to help identify support and resistance by measuring retracements. When the retracement has reached the threshold, the indicator identifies the high or low with a horizontal, solid line.

快照
快照

This line will continue until it is violated. Once it is violated it will adjust to a dashed line and continue until it is violated again (retested).

Therefore, a solid line resembles an unviolated swing level; a dashed line resembles a violated swing level that has yet to be retested.

快照

Ideally, this script will filter some movements by identifying impulses in the market. Knowing that price is in a trending move rather than bouncing around in a range can help traders in their analysis. In range bound conditions the indicator will show small impulses, sometimes trapped by a support and/or resistance line. In trending markets there will be separation between the support and resistance lines.

Retests are also identified by the indicator.


快照

Retests of swing highs and lows may induce precise, repeatable price moves - something a trader might find advantageous. A log is included to help identify potential price levels based on historical actions when an impulse or a retest occurs.

快照

Consequently, this may help traders identify take-profit targets and avoid stop losses that are too close to the entry point.

The indicator has a color identity panel to help you get familiar with the colored lines, line types, and what they mean. The color panel is concealable. Additional customization options are available, such as toggling the chart labels. These labels distinguish impulses up and down, retests, and the distance price has traveled since breaking or creating a support or resistance level.

快照

This can be toggled off. A High-Volume Swings only option is available for those that wish to filter out low volume movements (such as extended market hours).


快照


You also have the option of hiding far away lines and can define what is “far away” for them % wise. It is defaulted to 15% which may need to be adjusted on lower timeframes.

快照

Inactive lines can be shown or they can be removed in the settings as well. While this indicator can find some great levels of support or resistance it is important to remember that, should you find this script helpful, it is a tool in your toolbox!! (:

Hope you enjoy and thank you for checking this out!
priceactionresistancessupportSupport and Resistanceswinghighlow

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明