OPEN-SOURCE SCRIPT

Pookies SL/TP Lines

This indicator calculates Stop-loss and Take-profit limits and plots them on the chart based on the daily ATR value for a given instrument.

The Stop-loss is calculated at the current close price minus 1x ATR and is plotted as a red line by default.
The Take-profit is calculated at the current close price plus 1.5x ATR and is plotted as a green line by default.

The colors for each line can be changed, as well as the default ATR values (length, smoothing).

To use:
When you see a long or short signal (your own preference), enter your position and set your take-profit and stop-loss limits at the current red/green lines, based on whatever Risk-Reward you've set it to.

This is also helpful in determining whether or not a trade offers enough potential to risk prior to entering the trade.

When the lines are far apart, the ATR is high. When the lines are close together, the ATR is low. This can be used to determine volatility and allow traders to buy during consolidation and sell into strength.

Thank you.
riskrewardstoplosstakeprofitTrend Analysis

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?

Exención de responsabilidad