johnswede

3 Day Trailing Stop Rule

Peter L. Brandt's 3 Day Trailing Stop Rule

This indicator implements Peter's 3DTSR on daily price movements.

A long exit signal following 3DTSR works as follows:

1. Identify the Highest High Day since the last 3DTSR Long Signal was triggered.
2. A close below the low of that High Hay triggers a Setup Day.
3. Any penetration of the low of the Setup Day triggers the rule - sell to close.

A short exit signal following 3DTSR works as follows:

1. Identify the Lowest Low Day since the 3DTSR was last triggered.
2. A close above the high of that Lowest Low Day triggers a Setup Day.
3. Any penetration of the high of the Setup Day triggers the rule - buy to close.

The signals can be used in reverse to enter positions.

Intraday

This indicator sources data from daily price bars so the integrity of the signals is maintained even when looking at intraday charts.

Settings

The long and short signals can be enabled or disabled in the settings.

The 3DTSR can look very busy on a daily chart so price cutoff point settings are available to hide any instances above or below a price.

Example

In the example above, a long position is entered in USDBRL after a breakout.

The 3-Day Trailing Stop Rule becomes active when 70% to the price target. The cutoff setting is useful here to make the chart look less busy.

The Setup Day and subsequent Trigger day occur a few days later signaling an exit from the trade.
Script protegido
Este script é publicado como de código fechado e você pode usá-lo livremente. Você pode favoritá-lo para utilizá-lo em um gráfico. Você não pode visualizar ou modificar seu código fonte.
Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?