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.

captura
captura

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.

captura

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.


captura

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.

captura

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.

captura

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).


captura


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.

captura

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

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


Também em:

Aviso legal